/* ============================================================
   EMPA-T — HOMEPAGE
   ============================================================ */

:root {
  --red: #ad3030;
  --red-dark: #8a2222;
  --red-light: #c94040;
  --orange: #ef7a0d;
  --orange-dark: #c9620a;
  --peach: #fde6d3;
  --salmon: #f6b383;
  --grad: linear-gradient(135deg, #ad3030 0%, #ef7a0d 100%);
  --grad-hero: linear-gradient(135deg, #8a2222 0%, #ad3030 45%, #ef7a0d 100%);
  --grad-soft: linear-gradient(135deg, #fde6d3 0%, #f6b383 100%);
  --white: #ffffff;
  --off-white: #fafaf8;
  --bg: #f7f5f2;
  --text: #1a1a1a;
  --text-mid: #3d3d3d;
  --text-muted: #6b6b6b;
  --border: #e8e2dc;
  --border-mid: #d0c8c0;
  --font-d: "Plus Jakarta Sans", sans-serif;
  --font-b: "DM Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.3s var(--ease);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
  /* Mesma historia: usada 8x no ficheiro e nunca definida, por isso todas
     essas sombras nao apareciam. Valor recuperado do mockup. */
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-red: 0 8px 28px rgba(173, 48, 48, 0.32);
}
.section-sub {
  max-width: 560px;
}
/* Num cabecalho centrado, centrar tambem a CAIXA e nao so o texto la dentro. */
.services-header .section-sub,
.expertise-header .section-sub {
  margin-inline: auto;
}

.btn {
  text-decoration: none;
}
.btn-primary:active {
  transform: translateY(0);
}
/* Botao a toda a largura do contentor — os de submeter formulario. Vivia no
   vaga-detalhe.css, que nao carrega na /carreiras/: a classe estava no HTML
   e a regra nao chegava la. */
.btn-bloco {
  width: 100%;
  justify-content: center;
  font-size: 15px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo .logo-white {
  position: absolute;
}
.nav-logo .logo-color {
  position: absolute;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
#navbar:not(.scrolled) .nav-link.active::after {
  opacity: 0;
}
.hero-hexagons {
  animation: hexFloat 30s linear infinite;
}
@keyframes hexFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100px);
  }
}

.hero-nodes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-node {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  animation: nodePulse 4s ease-in-out infinite;
}
@keyframes nodePulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.3;
  }
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 580px;
}
.hero-stat-number {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
}

.hero-image-wrap {
  position: relative;
  z-index: 2;
  animation: heroImgReveal 1s var(--ease) 0.3s both;
}
@keyframes heroImgReveal {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.hero-img-container {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
  position: relative;
}
.hero-img-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: 24px;
}
.hero-img-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 3;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: badgeReveal 0.8s var(--ease) 0.8s both;
}
@keyframes badgeReveal {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.badge-title {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.badge-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.hero-stats {
  animation-delay: 0.5s;
}
@keyframes heroContentReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#tech-areas {
  padding: 56px 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}
.tech-areas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tech-areas-title {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.slider-nav {
  display: flex;
  gap: 8px;
}
.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  color: var(--text-muted);
}
@media (hover: hover) {
  .slider-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--peach);
}
}
.tech-slider-wrapper {
  overflow: hidden;
}
.tech-slider {
  display: flex;
  gap: 16px;
  padding-top: 4px;
  transition: transform 0.5s var(--ease);
}
/* Faixa das areas tecnologicas. Estava em estilo inline no template, tal
   como a largura dos cartoes — por isso ficavam a 180px em telemovel,
   metade dos outros cartoes da pagina. */
.tech-areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.tech-areas-grid .tech-card {
  width: calc(25% - 12px);
  min-width: 180px;
}

.tech-card {
  flex-shrink: 0;
  width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  cursor: default;
  transition: all var(--t);
}
@media (hover: hover) {
  .tech-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
}
@media (hover: hover) {
  .tech-card:hover .tech-icon-wrap {
  background: var(--grad);
}
}
@media (hover: hover) {
  .tech-card:hover .tech-icon-wrap svg {
  stroke: #fff;
}
}
.tech-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--peach);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.tech-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  transition: stroke var(--t);
}
.tech-label {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}
.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--t);
}
.slider-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--red);
}

#apart {
  background: var(--off-white);
}
.apart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.apart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.apart-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid var(--border);
  transition: all var(--t);
  cursor: default;
}
@media (hover: hover) {
  .apart-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}
}
@media (hover: hover) {
  .apart-item:hover .apart-check {
  background: var(--grad);
}
}
@media (hover: hover) {
  .apart-item:hover .apart-check svg {
  stroke: #fff;
}
}
.apart-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}
.apart-check svg {
  width: 16px;
  height: 16px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
  transition: stroke var(--t);
}
.apart-text-title {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.apart-text-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.apart-image {
  position: relative;
}
.apart-img-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.apart-img-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.apart-img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(
    --grad-overlay,
    linear-gradient(135deg, rgba(173, 48, 48, 0.15), rgba(239, 122, 13, 0.1))
  );
  z-index: 1;
  border-radius: 24px;
}
.apart-float-card {
  position: absolute;
  top: -24px;
  right: -24px;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
}
/* Variante em baixo, usada na homepage. Estava em estilo inline no
   template e, por isso, ganhava as media queries: o cartao mantinha
   right:-24px em telemovel e empurrava a pagina 8px para fora do ecra. */
.apart-float-card.is-baixo {
  top: auto;
  bottom: 24px;
  right: -24px;
}
.apart-float-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 6px;
}
.apart-float-val {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.apart-float-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
/* Grelha, e nao flex: as media queries desta faixa mandam-lhe
   grid-template-columns, que num contentor flex nao faz nada. Com
   flex-wrap:nowrap os seis itens ficavam numa linha de 725px e a homepage
   deslizava para o lado em telemovel. */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-content: space-between;
  align-items: center;
  gap: 0;
}

.kpi-item {
  flex: 1;
}
.services-header {
  text-align: center;
  margin: 0 auto 56px;
}
.services-header .section-label {
  justify-content: center;
}
.services-header .section-label::before {
  display: none;
}
.service-icon {
  margin-bottom: 20px;
}

#blog {
  background: var(--off-white);
}
.blog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Bloco da newsletter do blog. Estava em estilo inline nos templates, que
   uma media query nao anula. */
.nl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.blog-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
@media (hover: hover) {
  .blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: transparent;
}
}
.blog-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}
.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) {
  .blog-card:hover .blog-img img {
  transform: scale(1.05);
}
}
.blog-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}
.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.blog-title {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 14px;
  flex: 1;
}
.blog-cta {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t);
  margin-top: auto;
}
@media (hover: hover) {
  .blog-card:hover .blog-cta {
  gap: 10px;
}
}
.cta-action {
  flex-shrink: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 160px 200px;
  gap: 0;
  margin-bottom: 48px;
  justify-items: start;
}
.footer-top > div:last-child {
  justify-self: end;
}

.footer-top > div:nth-child(2) {
  justify-self: center;
}
.footer-brand img {
  height: 44px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.social-btn {
  text-decoration: none;
}
.footer-col-title {
  margin-right: 0px;
}
.footer-local {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}

.img-placeholder {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.4;
}
.img-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.2;
}
.img-placeholder span {
  font-size: 13px;
  color: #fff;
  font-family: var(--font-d);
  font-weight: 500;
}
.hero-img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(173, 48, 48, 0.12) 0%,
    rgba(239, 122, 13, 0.08) 100%
  );
  border-radius: 24px;
}

#quem-somos {
  background: var(--off-white);
}
.quem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.quem-text .section-sub {
  margin-bottom: 28px;
}
.quem-text p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.quem-text p:last-of-type {
  margin-bottom: 0;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.quem-image {
  position: relative;
}
.quem-img-wrap {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.quem-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.quem-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--grad);
  border-radius: 18px;
  padding: 20px 24px;
  color: #fff;
  box-shadow: var(--shadow-red);
  text-align: center;
}
.quem-badge-label {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 4px;
}
.quem-badge-val {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

#fundadora {
  background: var(--bg);
}
.fundadora-inner {
  background: var(--grad);
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 420px 1fr;
  box-shadow: 0 20px 60px rgba(173, 48, 48, 0.25);
  position: relative;
}
.fundadora-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}
.fundadora-img {
  position: relative;
  overflow: hidden;
}
.fundadora-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 480px;
  filter: brightness(0.9);
  mix-blend-mode: luminosity;
  opacity: 0.7;
}
.fundadora-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 60%,
    rgba(173, 48, 48, 0.4) 100%
  );
}
.fundadora-content {
  padding: 56px 56px 56px 48px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fundadora-tag {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 20px;
}
.fundadora-title {
  font-family: var(--font-d);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.fundadora-bio {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 32px;
}
.quote-block {
  position: relative;
  padding: 24px 28px;
  border-left: 3px solid var(--salmon);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0 14px 14px 0;
  margin-bottom: 32px;
}
.quote-mark {
  font-family: Georgia, serif;
  font-size: 64px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 0.5;
  position: absolute;
  top: 20px;
  left: 18px;
}
.quote-text {
  font-size: 17px;
  color: #fff;
  font-style: italic;
  line-height: 1.6;
  padding-left: 32px;
}
.quote-author {
  margin-top: 16px;
  padding-left: 32px;
}
.quote-name {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.quote-role {
  font-size: 13px;
  color: var(--salmon);
  margin-top: 2px;
}

#essencia {
  background: var(--off-white);
}
.essencia-inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.essencia-inner .section-label::before {
  display: none;
}
.essencia-inner .section-label {
  justify-content: center;
}
.essencia-statement {
  font-family: var(--font-d);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 28px 0 40px;
}
.essencia-statement em {
  font-style: normal;
  color: var(--red);
}

.network-wrap {
  position: relative;
  width: 100%;
  margin: 0 auto 40px;
}
.essencia-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  margin-top: 48px;
}
@media (max-width: 768px) {
  /* Duas colunas a 412px deixavam cada cartao com metade da largura. */
  .essencia-desc-grid {
    grid-template-columns: 1fr;
  }
}

.essencia-item {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all var(--t);
}
@media (hover: hover) {
  .essencia-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}
}
.essencia-item-tag {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.essencia-item-title {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.essencia-item-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

#mvv {
  background: var(--bg);
}
.mvv-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.mvv-card {
  border-radius: 20px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--t);
}
@media (hover: hover) {
  .mvv-card:hover {
  transform: translateY(-4px);
}
}
.mvv-card.missao {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.mvv-card.visao {
  background: var(--text);
  color: #fff;
}
@media (hover: hover) {
  .mvv-card.missao:hover {
  box-shadow: 0 20px 50px rgba(173, 48, 48, 0.38);
}
}
@media (hover: hover) {
  .mvv-card.visao:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
}
.mvv-card-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.mvv-icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.mvv-card-tag {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}
.mvv-card-title {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}
.mvv-card-text {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.85;
}
.mvv-valores-title {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.mvv-valores-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

#kpi {
  background: var(--grad);
  padding: 56px 0;
}
.kpi-grid-about {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.kpi-item {
  text-align: center;
  padding: 16px;
  position: relative;
}
.kpi-item + .kpi-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.kpi-icon {
  font-size: 24px;
  margin-bottom: 10px;
}
.kpi-number {
  font-family: var(--font-d);
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

#onde-estamos {
  background: var(--off-white);
}
/* Intro na linha toda; locais e mapa lado a lado por baixo. */
.onde-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  column-gap: 72px;
  row-gap: 48px;
  align-items: center;
}
.onde-intro {
  grid-column: 1 / -1;
}
.onde-intro .section-sub {
  /* O espaco ate a linha de baixo vem do row-gap da grelha. */
  margin-bottom: 0;
  /* Medida de leitura: o titulo aproveita a largura toda, mas um paragrafo
     a 1200px daria linhas longas de mais para se lerem com conforto. */
  max-width: 760px;
}
.onde-locations {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.loc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all var(--t);
}
@media (hover: hover) {
  .loc-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}
}
.loc-detail {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}
.onde-map {
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg);
  border: 1.5px solid var(--border);
  padding: 32px;
  position: relative;
}

.map-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.map-logo img {
  height: 22px;
}
.map-label {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.map-pt {
  flex-shrink: 0;
  position: relative;
}
.map-pin {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  position: absolute;
  white-space: nowrap;
}
.map-pin::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(173, 48, 48, 0.2);
}
#cta-careers::before {
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.cta-title {
  max-width: 720px;
}
.btn-cta-white {
  background: #fff;
  color: var(--red);
  font-size: 16px;
  padding: 16px 36px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}
@media (hover: hover) {
  .btn-cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}
}

/* ══ OUR APPROACH ══ */
#approach {
  background: var(--text);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
#approach::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.approach-header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}
.approach-label {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 12px;
}
.approach-title {
  font-family: var(--font-d);
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 800;
  color: #fff;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.approach-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 32px 28px;
  text-align: center;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.approach-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: var(--grad);
  opacity: 0;
  transition: opacity var(--t);
}
@media (hover: hover) {
  .approach-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 122, 13, 0.4);
}
}
@media (hover: hover) {
  .approach-card:hover::before {
  opacity: 0.12;
}
}
@media (hover: hover) {
  .approach-card:hover .approach-icon-wrap {
  background: var(--grad);
}
}
@media (hover: hover) {
  .approach-card:hover .approach-icon-wrap svg {
  stroke: #fff;
}
}
.approach-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: all var(--t);
}
.approach-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--salmon);
  fill: none;
  stroke-width: 1.8;
  transition: stroke var(--t);
}
.approach-name {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}
.approach-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ══ SERVICES GRID ══ */
#services {
  background: var(--off-white);
}
.services-header {
  max-width: 640px;
  margin-bottom: 56px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) {
  .service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
}
@media (hover: hover) {
  .service-card:hover::after {
  transform: scaleX(1);
}
}
@media (hover: hover) {
  .service-card:hover .service-icon {
  background: var(--grad);
}
}
@media (hover: hover) {
  .service-card:hover .service-icon svg {
  stroke: #fff;
}
}
@media (hover: hover) {
  .service-card:hover .service-num {
  color: var(--red);
}
}
.service-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--peach);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  flex-shrink: 0;
}
.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  transition: stroke var(--t);
}
.service-num {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--border);
  transition: color var(--t);
}
.service-name {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}
.service-link {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t);
  margin-top: auto;
}
@media (hover: hover) {
  .service-card:hover .service-link {
  gap: 10px;
}
}

/* ══ EXPERTISE / SECTORES ══ */
#expertise {
  background: var(--bg);
}
.expertise-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.expertise-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 220px;
  cursor: default;
  transition: all var(--t);
}
@media (hover: hover) {
  .expertise-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
}
@media (hover: hover) {
  .expertise-card:hover .expertise-img {
  transform: scale(1.08);
}
}
@media (hover: hover) {
  .expertise-card:hover .expertise-name {
  transform: translateY(-4px);
}
}
.expertise-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.expertise-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0.65;
  transition: opacity var(--t);
}
.expertise-overlay-hover {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.1) 60%
  );
}
.expertise-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
}
.expertise-icon {
  font-size: 22px;
  margin-bottom: 6px;
  transition: transform var(--t);
}
@media (hover: hover) {
  .expertise-card:hover .expertise-icon {
  transform: scale(1.2);
}
}
.expertise-name {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  transition: transform var(--t);
}

/* ══ TECH SOLUTIONS SLIDER ══ */
#tech-solutions {
  background: var(--off-white);
}
.tech-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}
.slider-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}
.sl-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  color: var(--text-muted);
}
@media (hover: hover) {
  .sl-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--peach);
}
}
.tech-slider-outer {
  overflow: hidden;
  border-radius: 24px;
}
.tech-slider-inner {
  display: flex;
  transition: transform 0.55s var(--ease);
}
.tech-slide {
  flex-shrink: 0;
  width: 100%;
  background: var(--grad);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 380px;
  position: relative;
}
.tech-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25' fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}
.tech-slide-content {
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.tech-slide-tag {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 18px;
}
.tech-slide-title {
  font-family: var(--font-d);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.tech-slide-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
}
.tech-slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tech-slide-tag-item {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
}
.tech-slide-img {
  position: relative;
  overflow: hidden;
}
.tech-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  mix-blend-mode: luminosity;
}
.tech-slide-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(173, 48, 48, 0.3) 0%,
    transparent 80%
  );
}
.tech-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.ts-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--t);
}
.ts-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--red);
}

/* ══ CTA CAREERS ══ */
#cta-careers {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#cta-careers::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 25% 50%,
      rgba(173, 48, 48, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(239, 122, 13, 0.12) 0%,
      transparent 55%
    );
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.hero-image {
  position: relative;
  z-index: 2;
}
.hero-img-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}
.hero-img-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.hero-image {
  animation: fadeRight 0.9s var(--ease) 0.3s both;
}
#cta-strip::before {
  background:
    radial-gradient(
      circle at 25% 50%,
      rgba(173, 48, 48, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(239, 122, 13, 0.12) 0%,
      transparent 55%
    );
}
.cta-sub {
  max-width: 540px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--t);
}
@media (hover: hover) {
  .why-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
}
@media (hover: hover) {
  .why-card:hover .why-icon {
  background: var(--grad);
}
}
@media (hover: hover) {
  .why-card:hover .why-icon svg {
  stroke: #fff;
}
}
.why-icon {
  width: 60px;
  height: 60px;
  background: var(--peach);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all var(--t);
}
.why-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  transition: stroke var(--t);
}
.why-name {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.why-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── VAGAS ── */
#vagas {
  background: var(--off-white);
}
.vagas-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.vagas-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t);
}
.filter-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.05);
}
@media (hover: hover) {
  .filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.05);
}
}
.vagas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vaga-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.vaga-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) {
  .vaga-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
}
@media (hover: hover) {
  .vaga-card:hover::after {
  transform: scaleY(1);
}
}
@media (hover: hover) {
  .vaga-card:hover .vaga-icon {
  background: var(--grad);
}
}
@media (hover: hover) {
  .vaga-card:hover .vaga-icon svg {
  stroke: #fff;
}
}
.vaga-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}
.vaga-icon {
  width: 44px;
  height: 44px;
  background: var(--peach);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t);
}
.vaga-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  transition: stroke var(--t);
}
.vaga-new {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(173, 48, 48, 0.08);
  color: var(--red);
  padding: 3px 10px;
  border-radius: 100px;
}
.vaga-title {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}
.vaga-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}
.tag {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 100px;
}
.tag-outline {
  border: 1px solid var(--border-mid);
  color: var(--text-muted);
}
.tag-red {
  background: rgba(173, 48, 48, 0.08);
  color: var(--red);
}
.tag-orange {
  background: rgba(239, 122, 13, 0.1);
  color: #c9620a;
}
.vaga-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}
.vaga-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.vaga-link {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t);
}
@media (hover: hover) {
  .vaga-card:hover .vaga-link {
  gap: 10px;
}
}
.vaga-date {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── CV ESPONTÂNEO ── */
#cv-espontaneo {
  background: var(--bg);
  padding: 64px 0;
}
.cv-inner {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.cv-inner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: var(--grad-soft, linear-gradient(135deg, #fde6d3, #f6b383));
  opacity: 0.4;
  pointer-events: none;
}
.cv-icon {
  font-size: 48px;
  flex-shrink: 0;
}
.cv-text {
  flex: 1;
}
.cv-title {
  font-family: var(--font-d);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.cv-title em {
  font-style: normal;
  color: var(--red);
}
.cv-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}
.cv-action {
  flex-shrink: 0;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 75% 40%,
      rgba(255, 255, 255, 0.07) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 15% 80%,
      rgba(255, 100, 0, 0.1) 0%,
      transparent 40%
    );
}
.hero-hexagons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,6 94,31 94,69 50,94 6,69 6,31' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}

/* floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}
.hero-desc {
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-ctas {
  animation-delay: 0.5s;
}

/* Hero image stack */
.hero-image-stack {
  position: relative;
  z-index: 2;
  animation: fadeRight 0.9s var(--ease) 0.3s both;
}
.hero-img-main {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}
.hero-img-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.hero-img-secondary {
  position: absolute;
  bottom: -24px;
  left: -28px;
  width: 180px;
  height: 140px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #fff;
  animation: badgeIn 0.7s var(--ease) 0.9s both;
}
@keyframes badgeIn {
  from {
    opacity: 0;
    transform: scale(0.8) translate(-10px, 10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translate(0, 0);
  }
}
.hero-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge-float {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  animation: badgeIn 0.7s var(--ease) 1s both;
}
.hero-badge-icon {
  font-size: 22px;
  margin-bottom: 4px;
}
.hero-badge-title {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.hero-badge-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ══ WHY EMPA-T ══ */
#why {
  background: var(--off-white);
}
.why-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 52px;
}
.why-benefits-grid {
  display: grid;
  /* auto-fit, e não 4 colunas fixas, para não ficar buraco quando o número
     de cartões mudar. */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.benefit-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}
.benefit-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) {
  .benefit-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}
}
@media (hover: hover) {
  .benefit-card:hover::after {
  transform: scaleX(1);
}
}
@media (hover: hover) {
  .benefit-card:hover .benefit-icon {
  background: var(--grad);
}
}
@media (hover: hover) {
  .benefit-card:hover .benefit-icon svg {
  stroke: #fff;
}
}
.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--peach);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all var(--t);
}
.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  transition: stroke var(--t);
}
.benefit-name {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.benefit-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* perks strip */
.perks-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  transition: all var(--t);
}
@media (hover: hover) {
  .perk-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
}
.perk-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}
.perk-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
}

/* ══ LIFE AT EMPA-T ══ */
#life {
  background: var(--bg);
}
.life-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
/* Mosaico partilhado pela seccao "A vida na Empa-T" da Equipa e da Sobre Nos.
   As duas usam estas classes de proposito, para nao voltarem a divergir. */
.life-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  /* Sem isto, as linhas para la das duas primeiras ficam com altura
     automatica e as fotos colapsam. */
  grid-auto-rows: 220px;
  gap: 16px;
}
.life-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}
.life-card.featured {
  grid-row: span 2;
}
.life-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .life-card:hover img {
  transform: scale(1.06);
}
}
.life-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 55%);
  transition: opacity var(--t);
}
@media (hover: hover) {
  .life-card:hover .life-overlay {
  opacity: 0.85;
}
}
.life-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 20px 18px;
  transform: translateY(4px);
  transition: transform var(--t);
}
@media (hover: hover) {
  .life-card:hover .life-label {
  transform: translateY(0);
}
}
.life-label-tag {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 4px;
}
.life-label-title {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.life-label-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

/* ══ TESTIMONIALS ══ */
#testimonials {
  background: var(--off-white);
}
.testi-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 52px;
}
.testi-slider-outer {
  position: relative;
}
/* Deslize nativo do browser, com encaixe: responde ao dedo sem codigo de
   arrasto, e o JS so precisa de mexer no scrollLeft. */
.testi-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: stretch;
}
.testi-track::-webkit-scrollbar {
  display: none;
}
/* Cada slide e um cartao. Quantos se veem de cada vez sai daqui: tres em
   computador, dois em tablet, um em telemovel. O JS mede a largura real,
   por isso nao ha numeros repetidos entre CSS e JS. */
.testi-slide {
  flex-shrink: 0;
  width: calc((100% - 48px) / 3);
  scroll-snap-align: start;
  display: flex;
}
/* Sem isto os cartoes ficam com a altura do proprio texto e a fila fica
   aos degraus. */
.testi-slide > .testi-card {
  flex: 1;
}
.testi-card {
  border-radius: 20px;
  padding: 32px;
  transition: transform var(--t);
  /* Em coluna, o margin-top:auto do .testi-author encosta o autor ao fundo
     e alinha os tres cartoes, tenham os textos o comprimento que tiverem. */
  display: flex;
  flex-direction: column;
}
@media (hover: hover) {
  .testi-card:hover {
  transform: translateY(-4px);
}
}
.testi-card.grad {
  background: var(--grad);
  color: #fff;
}
.testi-card.dark {
  background: var(--text);
  color: #fff;
}
.testi-card.wine {
  background: #6b0f1a;
  color: #fff;
}
.testi-card.light {
  background: #fff;
  border: 1.5px solid var(--border);
}
.testi-quote-mark {
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 0.7;
  margin-bottom: 16px;
}
.testi-card.grad .testi-quote-mark {
  color: rgba(255, 255, 255, 0.3);
}
.testi-card.dark .testi-quote-mark {
  color: rgba(255, 255, 255, 0.2);
}
.testi-card.wine .testi-quote-mark {
  color: rgba(255, 255, 255, 0.2);
}
.testi-card.light .testi-quote-mark {
  color: rgba(173, 48, 48, 0.25);
}
.testi-text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testi-card.light .testi-text {
  color: var(--text-mid);
}
.testi-card:not(.light) .testi-text {
  opacity: 0.92;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Encosta ao fundo do cartão — ver o comentário no .testi-card. */
  margin-top: auto;
}
.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.testi-card.grad .testi-avatar {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.testi-card.dark .testi-avatar {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.testi-card.wine .testi-avatar {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.testi-card.light .testi-avatar {
  background: var(--peach);
  color: var(--red);
}
.testi-name {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
}
.testi-card.light .testi-name {
  color: var(--text);
}
.testi-role {
  font-size: 13px;
  margin-top: 2px;
}
.testi-card.light .testi-role {
  color: var(--text-muted);
}
.testi-card:not(.light) .testi-role {
  opacity: 0.65;
}
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.testi-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
  color: var(--text-muted);
}
@media (hover: hover) {
  .testi-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--peach);
}
}
.testi-dots {
  display: flex;
  gap: 8px;
}
.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--t);
  /* E um <button> criado pelo JS: sem isto vem com borda e padding. */
  border: none;
  padding: 0;
  appearance: none;
  flex-shrink: 0;
}
.t-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--red);
}

/* ══ READY CTA ══ */
#ready {
  background: var(--grad);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#ready::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.ready-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
}
.ready-icon {
  font-size: 64px;
  animation: iconBob 2s ease-in-out infinite;
}
.ready-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.ready-title em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}
.ready-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 10px;
}
.btn-ready {
  background: #fff;
  color: var(--red);
  font-size: 16px;
  padding: 16px 36px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}
@media (hover: hover) {
  .btn-ready:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* ══ FEATURED POST ══ */
#featured {
  background: var(--off-white);
  padding: 64px 0 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.featured-card {
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid var(--border);
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
@media (hover: hover) {
  .featured-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
}
.featured-img {
  position: relative;
  height: 340px;
  overflow: hidden;
  flex-shrink: 0;
}
.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .featured-card:hover .featured-img img {
  transform: scale(1.04);
}
}
.featured-body {
  padding: 28px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-mid);
}
.featured-title {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 12px;
}
.featured-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.post-cta {
  margin-top: auto;
}
@media (hover: hover) {
  .featured-card:hover .post-cta {
  gap: 10px;
}
}

/* Side posts */
.side-posts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--t);
  align-items: stretch;
}
@media (hover: hover) {
  .side-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: transparent;
}
}
.side-img {
  overflow: hidden;
}
.side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) {
  .side-card:hover .side-img img {
  transform: scale(1.08);
}
}
.side-body {
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.side-cat {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.side-title {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 6px;
}
.side-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ══ FILTERS + GRID ══ */
#grid-section {
  background: var(--off-white);
  padding: 56px 0 96px;
}
.grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.grid-header h2 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.cat-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cat-btn {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t);
}
.cat-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.05);
}
@media (hover: hover) {
  .cat-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.05);
}
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.load-more-wrap {
  text-align: center;
}

/* ══ NEWSLETTER ══ */
#newsletter {
  background: var(--text);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(173, 48, 48, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(239, 122, 13, 0.12) 0%,
      transparent 55%
    );
}
.nl-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.nl-title {
  font-family: var(--font-d);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
}
.nl-title em {
  font-style: normal;
  color: var(--salmon);
}
.nl-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nl-input-row {
  display: flex;
  gap: 0;
}
.nl-input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: none;
  border-radius: 12px 0 0 12px;
  outline: none;
}
.nl-input::placeholder {
  color: #9b9b9b;
}
.nl-submit {
  padding: 14px 24px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  transition: filter var(--t);
  white-space: nowrap;
}
@media (hover: hover) {
  .nl-submit:hover {
  filter: brightness(1.1);
}
}
.nl-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.section-label.center {
  justify-content: center;
}
.section-label.center::before {
  display: none;
}
.section-title .accent {
  color: var(--orange);
}
.btn-outline-red {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}
@media (hover: hover) {
  .btn-outline-red:hover {
  background: var(--red);
  color: #fff;
}
}
.btn-white {
  background: #fff;
  color: var(--red);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
@media (hover: hover) {
  .btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}
}

/* ══ POST HERO ══ */
#post-hero {
  background: var(--grad-hero);
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
}
.post-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 70% 40%,
      rgba(255, 255, 255, 0.07) 0%,
      transparent 55%
    ),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,6 94,31 94,69 50,94 6,69 6,31' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}
.post-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 56px;
}
.post-cat-hero {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  animation: fadeUp 0.7s var(--ease) 0.1s both;
}
.post-hero-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  animation: fadeUp 0.7s var(--ease) 0.2s both;
}
.post-hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s var(--ease) 0.3s both;
}
.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.post-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  /* Recorta a foto no círculo. Sem foto, o fundo fica como estava e o que
     se vê são as iniciais. */
  overflow: hidden;
  flex-shrink: 0;
}
.post-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Com foto, o fundo sai da frente — senão espreitava nos cantos enquanto a
   imagem carrega, e em fotos com transparência. */
.post-author-avatar.tem-foto {
  background: none;
}
.post-author-name {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.meta-sep {
  color: rgba(255, 255, 255, 0.4);
}
.post-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.post-read {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.post-hero-img {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  max-height: 480px;
  animation: fadeUp 0.9s var(--ease) 0.4s both;
}
.post-hero-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

/* ══ POST BODY ══ */
#post-body {
  background: var(--off-white);
  padding: 0 0 80px;
}
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: flex-start;
  padding-top: 56px;
}

/* Article */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 36px;
  transition: color var(--t);
}
@media (hover: hover) {
  .back-link:hover {
  color: var(--red);
}
}
.back-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.article {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 48px;
}
.article p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 24px;
}
.article p:last-of-type {
  margin-bottom: 0;
}
.article h2 {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 16px;
  line-height: 1.2;
}
.article h3 {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
}
.article ul,
.article ol {
  padding-left: 20px;
  margin-bottom: 20px;
}
.article li {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 8px;
}
.article blockquote {
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  background: rgba(173, 48, 48, 0.04);
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}
.article blockquote p {
  font-size: 18px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 0;
}
.article-divider {
  height: 1px;
  background: var(--border);
  margin: 36px 0;
}

/* Author card */
.author-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
.author-card-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  /* Sem foto, o circulo mostra as iniciais. */
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
}
.author-card-avatar.tem-foto {
  background: none;
}
.author-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.author-card-tag {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 4px;
}
.author-card-name {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.author-card-role {
  font-size: 13px;
  color: var(--text-muted);
}
.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.share-label {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  background: #fff;
  cursor: pointer;
  transition: all var(--t);
}
@media (hover: hover) {
  .share-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.04);
}
}

/* Sidebar */
.post-sidebar {
  position: sticky;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.sidebar-title {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.related-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.related-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.related-img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
@media (hover: hover) {
  .related-item:hover .related-img img {
  transform: scale(1.08);
}
}
.related-cat {
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red);
  margin-bottom: 4px;
}
.related-title {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 4px;
}
.related-date {
  font-size: 11px;
  color: var(--text-muted);
}
.progress-bar-wrap {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--grad);
  border-radius: 2px;
  width: 0%;
  transition: width 0.2s;
}
.progress-label {
  font-size: 12px;
  color: var(--text-muted);
}
.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.toc-link {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: all var(--t);
}
.toc-link.active {
  color: var(--red);
  border-left-color: var(--red);
}
@media (hover: hover) {
  .toc-link:hover {
  color: var(--red);
  border-left-color: var(--red);
}
}

/* ══ RELATED POSTS ══ */
#related {
  background: var(--bg);
  padding: 72px 0;
}
/* So existia a regra de colapso, dentro da media query: sem base, a grelha
   nao chegava a formar-se em desktop. */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.post-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: all var(--t);
  display: flex;
  flex-direction: column;
}
@media (hover: hover) {
  .post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: transparent;
}
}
.post-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.post-img img {
  transition: transform 0.6s var(--ease);
}
@media (hover: hover) {
  .post-card:hover .post-img img {
  transform: scale(1.06);
}
}
.post-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.post-title {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 10px;
  flex: 1;
}
.post-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.post-cta {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t);
}
@media (hover: hover) {
  .post-card:hover .post-cta {
  gap: 10px;
}
}
.post-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}
.post-cat.orange {
  background: var(--orange);
}
.post-cat.dark {
  background: var(--text);
}

/* CTA strip */
#cta-strip {
  background: var(--grad);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
#cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,5 75,25 75,55 40,75 5,55 5,25' fill='none' stroke='rgba(255,255,255,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}
.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
  position: relative;
}
.cta-title {
  font-family: var(--font-d);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.cta-title em {
  font-style: normal;
  color: var(--red);
}
.cta-sub {
  font-size: 15px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ══ HERO ══ */
#hero {
  min-height: 62vh;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(
      circle at 70% 45%,
      rgba(255, 255, 255, 0.07) 0%,
      transparent 55%
    ),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='50,6 94,31 94,69 50,94 6,69 6,31' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 100px 100px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content > * {
  animation: fadeUp 0.8s var(--ease) both;
}
.breadcrumb {
  animation-delay: 0.1s;
}
.hero-eyebrow {
  animation-delay: 0.2s;
}
.hero-title {
  animation-delay: 0.3s;
}
.hero-desc {
  animation-delay: 0.4s;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--salmon);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--orange);
}
.hero-title {
  font-family: var(--font-d);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--salmon);
}
.hero-desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}
/* Banner com fotografia de fundo. Todos os banners partilham esta altura —
   a excepcao e a homepage, que tem herói proprio a 100vh.

   O selector leva o #hero porque a regra base do #hero tambem define
   min-height, e um id ganha sempre a uma classe.

   65vh a 1512px de largura mostra 75% da altura da imagem, centrada. As
   imagens sao todas 16:9 e tem o assunto ao centro, por isso o corte cai no
   ceu e no primeiro plano desfocado. Ao mexer nesta altura, confirmar que
   nenhuma cara ou horizonte fica cortado. */
#hero.hero-foto {
  min-height: 65vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Veu de leitura para banners com fotografia. Escuro do lado do texto e a
   desvanecer para a direita, para a fotografia continuar a ver-se. Abre aos
   55% porque e ai que acaba a caixa de texto de 580px. */
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    95deg,
    rgba(0, 0, 0, 0.76) 0%,
    rgba(0, 0, 0, 0.66) 30%,
    rgba(0, 0, 0, 0.38) 55%,
    rgba(0, 0, 0, 0.12) 78%,
    rgba(0, 0, 0, 0.06) 100%
  );
}

/* Gemeo claro do .hero-scrim, para os herois de texto escuro sobre foto
   clara (Carreiras). O veu de 10% que aqui estava nao chegava. */
.hero-scrim-claro {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.82) 34%,
    rgba(255, 255, 255, 0.55) 60%,
    rgba(255, 255, 255, 0.22) 82%,
    rgba(255, 255, 255, 0.1) 100%
  );
}
/* Contact info cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeRight 0.9s var(--ease) 0.3s both;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 18px 20px;
  transition: all var(--t);
}
@media (hover: hover) {
  .info-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(4px);
}
}
.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
}
.info-label {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--salmon);
  margin-bottom: 4px;
}
.info-value {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.info-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* ══ CONTACT FORM SECTION ══ */
#contact-section {
  background: var(--off-white);
  padding: 72px 0 96px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}
/* Left: form */
.form-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.form-card-header {
  background: var(--grad);
  padding: 28px 36px;
}
.form-card-header h2 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}
.form-card-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.form-card-body {
  padding: 36px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-label span {
  color: var(--red);
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  outline: none;
  transition:
    border-color var(--t),
    box-shadow var(--t);
}
.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(173, 48, 48, 0.1);
}
.form-input::placeholder {
  color: #c0b8b0;
}
.form-select {
  width: 100%;
  padding: 12px 38px 12px 16px;
  font-family: var(--font-b);
  font-size: 15px;
  color: var(--text);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color var(--t);
}
.form-select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(173, 48, 48, 0.1);
}
/* Upload de CV — partilhado pelos dois formulários de candidatura.
   O <input type="file"> real fica escondido; esta zona é o que se vê. */
.upload-zone {
  /* ⚠️ É um <label>, e label é inline. Sem isto os filhos ficam na mesma linha. */
  display: block;
  border: 1.5px dashed var(--border-mid);
  border-radius: 11px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color var(--t),
    background var(--t);
}
.upload-zone.is-dragover {
  border-color: var(--red);
  background: rgba(173, 48, 48, 0.03);
}
@media (hover: hover) {
  .upload-zone:hover {
  border-color: var(--red);
  background: rgba(173, 48, 48, 0.03);
}
}
/* O foco vem do input escondido, por isso marca-se a zona. */
.upload-zone:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(173, 48, 48, 0.1);
}
.upload-zone.tem-ficheiro {
  border-style: solid;
  border-color: var(--red);
  background: rgba(173, 48, 48, 0.04);
}
.upload-icon {
  /* O margin auto só centra se for bloco. */
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 6px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 1.8;
}
.upload-zone.tem-ficheiro .upload-icon {
  stroke: var(--red);
}
.upload-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  word-break: break-word;
}
.upload-hint {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.char-counter {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}
.submit-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}
.submit-note svg {
  width: 12px;
  height: 12px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2;
  display: inline;
  vertical-align: middle;
  margin-right: 3px;
}
/* Mensagem de erro devolvida pelo servidor. */
.form-erro {
  font-size: 13px;
  color: var(--red);
  background: rgba(173, 48, 48, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
  margin-top: 12px;
}


/* Cartão de formulário e estado de sucesso — partilhado pelos dois. */
.apply-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.apply-header {
  background: var(--grad);
  padding: 24px 28px;
}
.apply-header h3 {
  font-family: var(--font-d);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.apply-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}
.apply-body {
  padding: 28px;
}
.apply-body.hidden {
  display: none;
}
.success-msg {
  display: none;
  text-align: center;
  padding: 32px 20px;
}
.success-msg.show {
  display: block;
}
.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.6;
}
.success-title {
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}
.success-msg p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
}
.form-check input {
  margin-top: 2px;
  accent-color: var(--red);
  flex-shrink: 0;
}
.form-check a {
  color: var(--red);
  text-decoration: underline;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show {
  display: block;
}
.form-body-wrap.hidden {
  display: none;
}
/* Right: map + info */
.map-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.map-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.map-header {
  padding: 20px 24px 0;
}
.map-header h3 {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.map-header p {
  font-size: 14px;
  color: var(--text-muted);
}
.map-visual {
  padding: 24px;
}
.map-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.map-svg-wrap {
  flex-shrink: 0;
  position: relative;
}
.map-pin-label {
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}
.map-benelux {
  flex: 1;
}
.benelux-card {
  background: var(--peach);
  border-radius: 14px;
  padding: 16px 18px;
}
.benelux-title {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.benelux-locs {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.9;
}
.location-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.loc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: all var(--t);
}
@media (hover: hover) {
  .loc-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
}
.loc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
  flex-shrink: 0;
}
.loc-name {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.loc-type {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.loc-flag {
  font-size: 18px;
  margin-left: auto;
}
/* FAQ strip */
/* ══ FAQ ACCORDION ══ */
.faq-box {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.faq-title {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  gap: 12px;
  transition: color 0.2s;
  user-select: none;
}
@media (hover: hover) {
  .faq-question:hover {
  color: var(--red);
}
}
.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.2s,
    transform 0.3s;
}
.faq-icon svg {
  width: 11px;
  height: 11px;
  stroke: var(--red);
  fill: none;
  stroke-width: 2.5;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--red);
  transform: rotate(180deg);
}
.faq-item.open .faq-icon svg {
  stroke: #fff;
}
.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.3s ease,
    opacity 0.3s ease;
  opacity: 0;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 16px;
  opacity: 1;
}

/* === empa-t-404.html === */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--off-white);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
/* Caixa dos herois/banners. Tem de manter a mesma geometria horizontal do
   .container nos quatro breakpoints, senao o banner deixa de alinhar com o
   logotipo e o menu. */
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}
.hero-container.is-curto {
  padding-bottom: 60px;
}
.hero-container.is-grid {
  display: grid;
  /* A coluna do texto leva mais largura do que a do gráfico: é a linha
     "da Consultoria IT" que manda no tamanho possível do título. */
  grid-template-columns: 1.12fr 0.88fr;
  gap: 48px;
  align-items: center;
  padding-top: 120px;
}

/* ── Herói da homepage ──────────────────────────────────────────────── */

.home-hero-title {
  font-family: var(--font-d);
  /* Maximo 68px: acima disso a linha "da Consultoria IT" parte-se. */
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.home-hero-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.home-hero-kpi {
  display: flex;
  align-items: center;
  gap: 8px;
  /* Sem isto, "Feedback Proativo" e "Equipa Multilingue" partem-se ao meio
     antes de a linha encher, e a última cai sozinha para baixo. */
  white-space: nowrap;
}
.home-hero-kpi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange, #ef7a0d);
  flex-shrink: 0;
}
.home-hero-kpi-label {
  font-family: var(--font-d);
  font-size: clamp(12px, 1.1vw, 14px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}
.section {
  padding: 96px 0;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-d);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title em {
  font-style: normal;
  color: var(--red);
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all var(--t);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-red);
}
@media (hover: hover) {
  .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 36px rgba(173, 48, 48, 0.4);
}
}
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}
@media (hover: hover) {
  .btn-outline-dark:hover {
  background: var(--text);
  color: #fff;
}
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
@media (hover: hover) {
  .btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
}
.btn-sm {
  font-size: 13px;
  padding: 9px 20px;
}
.btn-lg {
  font-size: 17px;
  padding: 16px 36px;
}
.btn .arrow {
  transition: transform var(--t);
}
@media (hover: hover) {
  .btn:hover .arrow {
  transform: translateX(4px);
}
}
/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
  height: 72px;
}
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.nav-logo-wrap {
  position: relative;
  height: 34px;
  width: 140px;
}
.nav-logo img {
  position: absolute;
  top: 0;
  left: 0;
  height: 34px;
  transition: opacity 0.3s;
}
.nav-logo .logo-white {
  filter: brightness(0) invert(1);
}
#navbar.scrolled .nav-logo .logo-white {
  opacity: 0;
}
#navbar.scrolled .nav-logo .logo-color {
  opacity: 1;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.nav-link {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition:
    color var(--t),
    background var(--t);
  position: relative;
}
#navbar.scrolled .nav-link {
  color: var(--text-mid);
}
@media (hover: hover) {
  .nav-link:hover {
  color: var(--red);
  background: rgba(173, 48, 48, 0.06);
}
}
.nav-link.active {
  color: var(--red) !important;
}
#navbar.scrolled .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.nav-chevron {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  transition: transform var(--t);
}
@media (hover: hover) {
  .nav-link:hover .nav-chevron {
  transform: rotate(180deg);
}
}
/* Criado pelo JS em todas as larguras. Sem isto fica alcancavel por
   teclado em desktop, onde nao abre nada. */
.nav-hamburger {
  display: none;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}
.nav-lang {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.lang-active {
  color: var(--red);
}
#navbar.scrolled .lang-sep {
  color: var(--border);
}
#navbar:not(.scrolled) .nav-lang {
  color: rgba(255, 255, 255, 0.8);
}
#navbar.scrolled .nav-lang {
  color: var(--text-muted);
}
.nav-item {
  position: relative;
}
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--shadow-md);
  min-width: 200px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  transition-delay: 0.2s; 
}
@media (hover: hover) {
  .nav-item:hover .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  transition-delay: 0s; 
}
}
.dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-mid);
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 500;
  transition:
    background var(--t),
    color var(--t);
}
@media (hover: hover) {
  .dd-item:hover {
  background: var(--peach);
  color: var(--red);
}
}
.dd-icon {
  width: 28px;
  height: 28px;
  background: var(--bg);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 28px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--t);
}
@media (hover: hover) {
  .breadcrumb a:hover {
  color: #fff;
}
}
.breadcrumb-sep {
  font-size: 10px;
  opacity: 0.5;
}
.breadcrumb-current {
  color: var(--salmon);
  font-weight: 600;
}
footer {
  background: #111;
  color: #fff;
  padding: 64px 0 28px;
}
.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 8px;
}
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--t);
}
@media (hover: hover) {
  .social-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
}
.footer-col-title {
  font-family: var(--font-d);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 16px;
}
.footer-link {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  transition: color var(--t);
}
@media (hover: hover) {
  .footer-link:hover {
  color: var(--salmon);
}
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  transition: color var(--t);
}
@media (hover: hover) {
  .footer-legal a:hover {
  color: rgba(255, 255, 255, 0.65);
}
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
/* Dentro de um .reveal-group o atraso vem do --reveal-i, posto pelo main.js,
   em vez das classes .reveal-delay-N. Herda para os filhos, o que permite a um
   componente somar a sua propria cadencia — ver .quem-valor. */
.reveal-group .reveal {
  transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
/* Terminada a entrada do grupo, o atraso sai da frente. Um transition-delay
   que fica para tras faz qualquer hover posterior parecer avariado. */
.reveal-group.reveal-done .reveal {
  transition-delay: 0s;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#ticker {
  background: var(--grad);
  padding: 16px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerRoll 30s linear infinite;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 36px;
  white-space: nowrap;
  font-family: var(--font-d);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}
.ticker-item em {
  font-style: normal;
  color: var(--salmon);
}
@keyframes tickerRoll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ══ 404 MAIN ══ */
#not-found {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  position: relative;
  overflow: hidden;
  background: var(--off-white);
}
/* Soft radial gradient background */
#not-found::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(253, 230, 211, 0.6) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(239, 122, 13, 0.07) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 60% 80%,
      rgba(173, 48, 48, 0.05) 0%,
      transparent 40%
    );
  pointer-events: none;
}
.not-found-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 80px;
  max-width: 960px;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Giant 404 */
.num-wrap {
  position: relative;
  flex-shrink: 0;
}
.num-404 {
  font-family: var(--font-d);
  font-size: clamp(160px, 22vw, 240px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: numReveal 1s var(--ease) both;
  user-select: none;
}
@keyframes numReveal {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.num-shadow {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 24px;
  background: radial-gradient(
    ellipse,
    rgba(173, 48, 48, 0.15) 0%,
    transparent 70%
  );
  filter: blur(6px);
  animation: shadowReveal 1s var(--ease) 0.2s both;
}
@keyframes shadowReveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Content card */
.nf-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
  animation: cardReveal 0.9s var(--ease) 0.2s both;
  max-width: 420px;
}
@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nf-icon {
  font-size: 48px;
  margin-bottom: 20px;
  animation: iconBob 2.5s ease-in-out 1s infinite;
}
@keyframes iconBob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.nf-title {
  font-family: var(--font-d);
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
}
.nf-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.nf-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.nf-link {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  transition: all var(--t);
}
@media (hover: hover) {
  .nf-link:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.04);
}
}
.nf-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Floating shapes */
.float-shape {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  animation: shapeFloat ease-in-out infinite;
}
@keyframes shapeFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* Navbar minimal */
#navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  border-bottom-color: var(--border) !important;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06) !important;
}
.nav-link {
  color: var(--text-mid) !important;
}
.nav-logo .logo-white {
  opacity: 0 !important;
}
.nav-logo .logo-color {
  opacity: 1 !important;
}
.lang-sep {
  color: var(--border) !important;
}
.nav-lang {
  color: var(--text-muted) !important;
}

/* ══ WORDPRESS SPECIFIC ══ */
.wp-caption {
  max-width: 100%;
}
.wp-caption img {
  display: block;
}
.wp-caption-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}
.alignleft {
  float: left;
  margin: 0 24px 16px 0;
}
.alignright {
  float: right;
  margin: 0 0 16px 24px;
}
.aligncenter {
  display: block;
  margin: 0 auto 16px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Pagination */
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all var(--t);
  text-decoration: none;
  margin: 4px;
}
.page-numbers.current {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.05);
}
@media (hover: hover) {
  .page-numbers:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(173, 48, 48, 0.05);
}
}
.page-numbers.current {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

/* Post card for archive/single */
.post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-card {
  cursor: pointer;
}
.article img {
  max-width: 100%;
  border-radius: var(--radius-lg, 16px);
  margin: 24px 0;
}
.article a {
  color: var(--red);
  text-decoration: underline;
}
.article strong {
  font-weight: 700;
}
.article em {
  font-style: italic;
}

/* Admin bar offset */
body.admin-bar #navbar {
  top: 32px;
}
@media screen and (max-width: 782px) {
  body.admin-bar #navbar {
    top: 46px;
  }
}

/* ══ RESPONSIVE ══ */

/* ══ TABLET — até 1024px ══ */
@media (max-width: 1024px) {
  /* Container */
  .container {
    padding: 0 24px;
  }
  .hero-container {
    padding-left: 24px;
    padding-right: 24px;
  }
  /* Sem duas colunas, o texto ocupa a largura toda e um véu lateral
     deixava o lado direito das linhas a descoberto. Passa a uniforme. */
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.62) 100%
    );
  }
  /* Sem colunas, o texto ocupa a largura toda: o veu passa a uniforme. */
  .hero-scrim-claro {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.88) 0%,
      rgba(255, 255, 255, 0.8) 100%
    );
  }
  /* O heroi da homepage colapsa para uma coluna aqui. */
  .hero-container.is-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: clamp(32px, 5vw, 48px);
  }
  .hero-image,
  .hero-image-wrap,
  .hero-image-stack {
    display: none;
  }

  /* About — Quem Somos */
  .quem-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* Sem order: o texto vem primeiro, como esta no HTML. A imagem a abrir
     empurrava o "A Empa-T" para baixo do ecra. */
  .quem-badge {
    top: -16px;
    right: 16px;
  }

  /* Apart */
  .apart-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .apart-image {
    order: -1;
  }
  .apart-float-card {
    top: -16px;
    right: 16px;
  }
  .apart-float-card.is-baixo {
    bottom: 16px;
    right: 16px;
  }

  /* Services grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Expertise */
  .expertise-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* KPI */
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  /* Approach */
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* Fundadora */
  .fundadora-inner {
    grid-template-columns: 1fr;
  }
  .fundadora-img {
    min-height: 320px;
  }

  /* MVV */
  .mvv-top {
    grid-template-columns: 1fr;
  }
  .mvv-valores-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Blog grid */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* CTA inner */
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .cta-action {
    text-align: left;
  }
  .ready-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .ready-icon {
    font-size: 48px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
  }
  /* O formulario vem primeiro: e o que a pessoa veio ca fazer. Depois as
     perguntas, e o mapa por ultimo. Sao dois niveis — o bloco inteiro
     deixa de saltar para a frente, e la dentro a FAQ passa a frente do
     mapa. */
  .map-section {
    order: 0;
  }
  .map-section .faq-box {
    order: 1;
  }
  .map-section .map-box {
    order: 2;
  }
  /* Fora em telemovel: e uma ilustracao de 1672px mostrada a menos de 400,
     e nao ajuda quem esta a preencher o formulario. */
  .map-box {
    display: none;
  }

  /* Job layout */

  /* Post layout */
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    position: static;
  }

  /* Onde estamos */
  .onde-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Tech solutions slide */
  .tech-slide {
    grid-template-columns: 1fr;
  }
  .tech-slide-img {
    display: none;
  }

  /* Life grid */
  .life-grid {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }
  .life-card.featured {
    grid-row: span 1;
  }

  /* Testimonials */
  .testi-slide {
    width: calc((100% - 24px) / 2);
  }

  /* Why benefits */
  .why-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Related grid */
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 404 */
  .not-found-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .num-404 {
    font-size: 160px;
  }
}

/* ══════════════════════════════════════════
   MOBILE — até 768px
══════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Secções */
  .section {
    padding: 64px 0;
  }
  .container {
    padding: 0 20px;
  }
  .hero-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ── Navbar mobile ── */
  #navbar {
    height: 64px;
  }
  #navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
  }

  .nav-inner {
    height: 64px;
    gap: 0;
    justify-content: space-between;
  }
  .nav-logo-wrap {
    width: 120px;
  }
  .nav-logo img {
    height: 28px;
  }

  /* Esconder menu desktop */
  .nav-menu {
    display: none;
  }
  /* .nav-end nunca chegou a existir no markup: as regras que dependiam
     dela nao aplicavam e a barra ficava sobreposta em telemovel. */
  .nav-inner > .nav-lang,
  .nav-inner > .btn {
    display: none;
  }

  /* Hamburger button */
  .nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
    background: none;
    border: none;
  }
  @media (hover: hover) {
    .nav-hamburger:hover {
    background: rgba(173, 48, 48, 0.08);
  }
  }
  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s;
  }
  /* Em mobile a navbar e sempre branca (regra acima, com !important), por
     isso o hamburger tem de ser escuro nos dois estados. Branco vinha da
     versao desktop, onde a barra e transparente sobre o heroi. */
  #navbar:not(.scrolled) .nav-hamburger {
    color: var(--text);
  }
  #navbar.scrolled .nav-hamburger {
    color: var(--text);
  }

  /* Menu mobile overlay */
  .nav-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 24px 24px 40px;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  }
  .nav-mobile-menu.open {
    display: flex;
  }
  /* O #navbar desce 46px com a barra de administracao; o painel tem de
     acompanhar, senao entra por baixo do cabecalho e corta o 1.o item. */
  body.admin-bar .nav-mobile-menu {
    top: 110px;
  }

  .nav-mobile-link {
    font-family: var(--font-d);
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    padding: 14px 16px;
    border-radius: 12px;
    display: block;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border);
  }
  .nav-mobile-link:last-child {
    border-bottom: none;
  }
  @media (hover: hover) {
    .nav-mobile-link:hover {
    color: var(--red);
    background: var(--peach);
  }
  }
  .nav-mobile-link.active {
    color: var(--red);
  }
  .nav-mobile-submenu {
    padding-left: 16px;
    margin-top: 2px;
  }
  .nav-mobile-submenu .nav-mobile-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
  }
  .nav-mobile-footer {
    margin-top: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .nav-mobile-footer .btn {
    justify-content: center;
    font-size: 16px;
  }
  .nav-mobile-lang {
    font-family: var(--font-d);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
  }
  /* Eram <span> sem ligacao nenhuma: o idioma nao mudava em telemovel. */
  .nav-mobile-lang-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s;
  }
  @media (hover: hover) {
    .nav-mobile-lang-link:hover {
    background: rgba(173, 48, 48, 0.08);
  }
  }
  .nav-mobile-lang-link.ativo {
    color: var(--red);
    font-weight: 700;
  }
  .nav-mobile-lang-link img {
    width: 18px;
    height: 13px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
  }
  .nav-mobile-lang-sep {
    color: var(--border);
  }

  /* ── Hero ── */
  #hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 40px);
  }
  .hero-desc {
    font-size: 16px;
  }
  .hero-ctas {
    flex-direction: column;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .hero-stat-number {
    font-size: 26px;
  }

  /* Hero blog post */
  .post-hero-content {
    padding: 0 0 32px;
  }
  .post-hero-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .post-hero-img {
    margin-top: 20px;
    border-radius: 16px 16px 0 0;
    height: 680px;
  }
  .post-hero-img img {
    height: 580px;
  }
  /* Em coluna, cada separador "·" ocupava uma linha inteira e a meta ficava
     esticada por seis linhas. Em linha, com quebra, fica uma ou duas. */
  .post-hero-meta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
  }
  /* Ao quebrar a linha sobrava um "·" pendurado no fim. O espaco chega
     para separar os tres. */
  .post-hero-meta .meta-sep {
    display: none;
  }

  /* Job hero */

  /* ── Tipografia ── */
  .section-title {
    font-size: clamp(24px, 6vw, 36px);
  }
  .hero-eyebrow {
    font-size: 10px;
  }

  /* ── Grids → 1 coluna ── */
  .services-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .nl-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .vagas-grid {
    grid-template-columns: 1fr;
  }
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .why-benefits-grid {
    grid-template-columns: 1fr;
  }
  .mvv-valores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-2,
  .form-row {
    grid-template-columns: 1fr;
  }

  /* ── Expertise → 2 colunas ── */
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-card {
    height: 160px;
  }

  /* ── KPI → 2 colunas ── */
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kpi-item + .kpi-item::before {
    display: none;
  }
  .kpi-number {
    font-size: 32px;
  }
  .kpi-bar {
    padding: 32px 24px;
  }

  /* ── Apart ── */
  .apart-items {
    gap: 12px;
  }
  @media (hover: hover) {
    .apart-item:hover {
    transform: none;
  }
  }

  /* ── Fundadora ── */
  .fundadora-content {
    padding: 32px 24px;
  }
  .fundadora-title {
    font-size: clamp(20px, 5vw, 28px);
  }
  .quote-text {
    font-size: 15px;
  }

  /* ── Life grid ── */
  .life-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-auto-rows: auto;
  }
  .life-card.featured {
    grid-column: span 2;
  }

  /* ── Testimonials ── */
  .testi-slide {
    width: 100%;
  }
  .testi-card {
    padding: 24px;
  }

  /* ── MVV ── */
  .mvv-card {
    padding: 28px 24px;
  }
  .mvv-card-title {
    font-size: 18px;
  }

  /* ── Footer ── */
  .footer-top {
    grid-template-columns: 1fr;
  }
  /* Numa so coluna, o justify-self da camada base atirava a ultima coluna
     para a direita e centrava a do meio. */
  .footer-top > div:last-child,
  .footer-top > div:nth-child(2) {
    justify-self: start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
  footer {
    padding: 48px 0 24px;
  }

  /* ── Ticker ── */
  .ticker-item {
    font-size: 13px;
    padding: 0 24px;
  }

  /* ── CTA Careers ── */
  #cta-careers {
    padding: 80px 0;
  }
  .cta-inner {
    text-align: center;
  }
  .cta-inner .btn {
    width: 100%;
    justify-content: center;
  }
  .cta-title {
    font-size: clamp(22px, 5vw, 32px);
  }

  /* ── Contact ── */
  .contact-info {
    gap: 10px;
  }
  .info-card {
    padding: 14px 16px;
  }
  .nl-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .nl-input-row {
    flex-direction: column;
  }
  .nl-input {
    border-radius: 12px;
  }
  .nl-submit {
    border-radius: 12px;
    margin-top: 8px;
  }
  .cv-inner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .cv-icon {
    font-size: 36px;
  }

  /* ── Map ── */
  .map-container {
    flex-direction: column;
  }

  /* ── FAQ ── */
  .faq-question {
    font-size: 13px;
  }

  /* ── Blog ── */
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
    /* Sem isto o botao fica colado ao titulo: o h2 leva margin-bottom:0. */
    gap: 20px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .side-card {
    grid-template-columns: 80px 1fr;
  }

  /* ── Article ── */
  .article {
    padding: 28px 20px;
  }
  .article h2 {
    font-size: 20px;
  }
  .article h3 {
    font-size: 17px;
  }
  .offer-grid {
    grid-template-columns: 1fr;
  }
  .author-card {
    flex-direction: column;
    gap: 12px;
  }
  .share-row {
    flex-wrap: wrap;
  }

  /* ── 404 ── */
  .num-404 {
    font-size: 120px;
  }
  .not-found-inner {
    gap: 24px;
  }
  .nf-card {
    padding: 32px 24px;
  }
  .nf-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* ── Tech slider ── */
  /* A toda a largura, como os restantes cartoes da pagina. Icone ao lado
     do rotulo para nao ficar um quadrado vazio. */
  .tech-areas-grid .tech-card {
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 20px;
    text-align: left;
  }
  .tech-slide-content {
    padding: 36px 28px;
  }
  .tech-slide-title {
    font-size: clamp(22px, 5vw, 30px);
  }

  /* ── Ready section ── */
  #ready {
    padding: 56px 0;
  }
  .ready-title {
    font-size: clamp(22px, 5vw, 32px);
  }
  .btn-ready {
    width: 100%;
    justify-content: center;
  }

  /* ── Onde estamos ── */
  .onde-map {
    padding: 20px;
  }

  /* ── Perks strip ── */
  .perks-strip {
    grid-template-columns: 1fr;
  }

  /* ── Breadcrumb ── */
  .breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
  }
  /* O titulo do artigo nao cabe e passava para a linha de baixo, deixando
     o "Home > Blog >" pendurado. Sai: esta logo a seguir, no <h1>. */
  .breadcrumb-current,
  .breadcrumb-sep:nth-last-of-type(2) {
    display: none;
  }

  /* ── Vagas filters ── */
  .vagas-filters,
  .cat-filters {
    gap: 6px;
  }
  .filter-btn,
  .cat-btn {
    font-size: 12px;
    padding: 6px 13px;
  }
}

/* ══════════════════════════════════════════
   MOBILE PEQUENO — até 480px
══════════════════════════════════════════ */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Hero */
  #hero {
    padding: 88px 0 48px;
  }
  .hero-title {
    font-size: clamp(26px, 7vw, 34px);
  }
  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding-top: 24px;
  }

  /* Grids */
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mvv-valores-grid {
    grid-template-columns: 1fr;
  }
  .why-benefits-grid {
    grid-template-columns: 1fr;
  }

  /* Life grid */
  .life-grid {
    grid-template-columns: 1fr;
  }
  .life-card.featured {
    grid-column: span 1;
  }
  .life-card {
    height: 200px;
  }

  /* Fundadora */
  .fundadora-inner {
    grid-template-columns: 1fr;
  }
  .fundadora-img {
    min-height: 260px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .featured-img {
    height: 220px;
  }

  /* Form */
  .form-card-header {
    padding: 20px 24px;
  }

  /* 404 */
  .num-404 {
    font-size: 96px;
  }
  .nf-links {
    gap: 6px;
  }

  /* Nav logo */
  .nav-logo-wrap {
    width: 100px;
  }
  .nav-logo img {
    height: 24px;
  }

  /* Section title */
  .section-title {
    font-size: clamp(22px, 6vw, 30px);
  }

  /* Buttons */
  .btn {
    font-size: 14px;
    padding: 12px 22px;
  }
  .btn-lg {
    font-size: 15px;
    padding: 14px 28px;
  }
}

/* Animação do hamburger quando aberto */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Previne scroll quando menu mobile está aberto */
body.menu-open {
  overflow: hidden;
}

/* ══ SCROLLBAR ══ */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ad3030 0%, #ef7a0d 100%);
  border-radius: 100px;
}
@media (hover: hover) {
  ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #8a2222 0%, #c9620a 100%);
}
}
* {
  scrollbar-width: thin;
  scrollbar-color: #ad3030 var(--bg);
}
html {
  scroll-behavior: smooth;
}
body {
  -webkit-overflow-scrolling: touch;
}

/* ══ PAGE LOADER ══ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Wrapper do ícone */
.loader-icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anel exterior girando */
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #ad3030;
  border-right-color: #ef7a0d;
  animation: loaderSpin 1.1s linear infinite;
}

/* Anel interior girando ao contrário */
.loader-ring-inner {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(239, 122, 13, 0.35);
  border-left-color: rgba(173, 48, 48, 0.25);
  animation: loaderSpin 1.7s linear infinite reverse;
}

/* Ícone PNG pulsando no centro */
.loader-symbol {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: loaderSymbolPulse 1.8s ease-in-out infinite;
}
.loader-symbol img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  background: transparent;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes loaderSymbolPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

/* Barra de progresso */
.loader-bar-wrap {
  width: 100px;
  height: 3px;
  background: var(--bg, #f7f5f2);
  border-radius: 100px;
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: linear-gradient(90deg, #ad3030, #ef7a0d);
  border-radius: 100px;
  animation: loaderBarFill 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes loaderBarFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Texto discreto */
.loader-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9b9b9b;
  animation: loaderTextBlink 1.8s ease-in-out infinite;
}
@keyframes loaderTextBlink {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

/* ══ SCROLL TO TOP ══ */
#scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ad3030 0%, #ef7a0d 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(173, 48, 48, 0.35);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 998;
}
#scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
@media (hover: hover) {
  #scroll-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 28px rgba(173, 48, 48, 0.45);
}
}
#scroll-top svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

@media (max-width: 768px) {
  #scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  ::-webkit-scrollbar {
    width: 4px;
  }
  .loader-symbol img {
    width: 44px;
    height: 44px;
  }
  .loader-icon-wrap {
    width: 80px;
    height: 80px;
  }
}

/* @keyframes pulse e spin, e .vaga-card-api. Ficam no fim do ficheiro, que e
   a posicao que ja ocupavam na cascata. */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:0.5;transform:scale(0.75);} }

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

  .vaga-card-api {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    transition: all var(--t);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeUp 0.5s ease both;
  }

  .vaga-card-api::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--grad);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease);
  }

  @media (hover: hover) {
    .vaga-card-api:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
  }
  }

  @media (hover: hover) {
    .vaga-card-api:hover::after {
    transform: scaleY(1);
  }
  }

/* O cartao de formulario aperta-se em ecras pequenos. */
@media (max-width: 480px) {
  .apply-header {
    padding: 20px 24px;
  }
  .apply-body {
    padding: 20px 16px;
  }
}

/* Newsletter do blog: a palavra em destaque muda de cor com o fundo da
   seccao — laranja no /blog/, salmao nas categorias. */
.nl-titulo em {
  font-style: normal;
  color: var(--orange, #ef7a0d);
}
.nl-titulo-escuro em {
  color: var(--salmon, #f6b383);
}
