* {
  font-family: 'Ubuntu', sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Base paragraph weight */
p {
  font-weight: 300;
  font-size: 15px;
}

/* Preserve explicit bold overrides inside paragraphs */
p strong,
p.font-bold {
  font-weight: 700;
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: fadeInUp 1s ease 0.5s both;
  z-index: 20;
}

@media(max-width: 1023.98px) {
.scroll-indicator{
  display: none!important;
}
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollDown 1.6s ease-in-out infinite;
}

.scroll-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
  animation: chevronFade 1.6s ease-in-out infinite;
}
.chevron:nth-child(2) { animation-delay: 0.2s; opacity: 0.6; }
.chevron:nth-child(3) { animation-delay: 0.4s; opacity: 0.35; }

@keyframes scrollDown {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(10px); opacity: 0; }
  61%  { transform: translateY(0); opacity: 0; }
  100% { opacity: 1; }
}
@keyframes chevronFade {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 0.2; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-bg {
  /* Replace with your actual background photo */
  background-image: url('images/header-mobile.jpg');
  background-size: cover;
  background-position: center center;
}

@media(min-width: 768px) {
  .hero-bg {
    background-image: url('images/header-desktop.png');
  }
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.33);
}

.btn-global {
  background-color: #F82394;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.20);
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  padding: 6px;
  display: inline-block;
}

.btn-global:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .btn-global {
    font-size: 20px;
    padding: 10px 20px;
  }
}

@media (min-width: 1280px) {
  .btn-global {
    font-size: 20px;
    padding: 16px 31px;
  }
}

/* ══════════════════════════════════════
       MOBILE: single flex-column layout
       top: main-logo (right-aligned)
       middle: spacer
       bottom: be-ageas logo + headline + CTA
    ══════════════════════════════════════ */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 60vh;
  min-height: 60dvh;
  padding: 29px 24px;
}

@media(min-width: 1024px) {
  .hero-content {
    min-height: 100vh;
    min-height: 100dvh;
  }
}


/* Main logo: top-right on mobile, top-left on desktop */
.main-logo-wrap {
  display: flex;
  justify-content: flex-end;
}

.main-logo-wrap img {
  width: 72px;
  height: auto;
}

/* Bottom block: be-ageas logo + headline + CTA */
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.be-ageas-logo img {
  height: 70px;
  width: auto;
}

.hero-headline {
  color: white;
  font-weight: 700;
  font-size: 1.875rem;
  /* text-3xl */
  line-height: 1.2;
  margin-bottom: 20px;
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .hero-headline {
        font-size: 1.25rem;
        margin-bottom: 10px;
  }
  .be-ageas-logo {
    margin-top: -20px;
}
.hero-bottom {

    align-items: flex-start!important;

}
}

/* .hero-cta {

  display: block;
} */

.hero-overlay-lower {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
  min-height: 15%;
  width: 100%;
  bottom: 0;
  height: 70%;
}

/* ══════════════════════════════════════
       DESKTOP (md+): reposition elements
    ══════════════════════════════════════ */
@media (min-width: 768px) {


  .hero-content {
    padding: 40px 80px 48px;
  }

  /* Main logo: top-left on desktop */
  .main-logo-wrap {
    justify-content: flex-start;
  }

  .main-logo-wrap img {
    width: 100px;
  }

  /* Bottom block: be-ageas logo LEFT, headline+CTA RIGHT */
  .hero-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }

  .be-ageas-logo img {
    height: clamp(70px, 10vw, 120px);
    width: clamp(240px, 28vw, 420px);
    object-fit: contain;
    object-position: left;
  }

  /* Headline + CTA right-aligned */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
  }

  .hero-headline {
    text-align: right;

  }

  .hero-cta {
    width: auto;

  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 40px 80px 64px;
  }
}

@media(min-width: 1280px) {
  .hero-headline {
    font-size: 2.25rem;
  }
  .hero-cta {

    font-size: 24px;
  }

  .main-logo-wrap img {
    width: 130px;
  }

  .hero-content {
    padding: 80px 80px 130px;
  }

  .be-ageas-logo img {
    height: clamp(70px, 16vw, 180px);
    width: clamp(240px, 32vw, 460px);

  }
}

/* Rainbow gradient border around the image */
.rainbow-border {
  padding: 5px;
  background: linear-gradient(135deg, #D30773 0%, #f97316 30%, #22c55e 65%, #06b6d4 100%);
  border-radius: 6px;
}

.rainbow-border img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

/* -------------- Os Nossos Valores CSS ----------- */

/* Custom valores arrows — remove all Swiper default styling */
.valores-prev,
.valores-next {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-top: -94px;
}

/* Hide Swiper's ::after pseudo arrow */
.valores-prev::after,
.valores-next::after {
  display: none;
}

.valores-prev.swiper-button-disabled,
.valores-next.swiper-button-disabled {
  opacity: 0.2;
  cursor: default;
}

.swiper {
  flex: 1;
  min-width: 0;
}

.valoresSwiper .swiper-slide p {
  font-size: 15px;
}

@media(min-width: 768px) and (max-width: 1279.98px) {
.valoresSwiper .swiper-wrapper {
    flex-wrap: wrap;
    gap: 50px;
}

.valoresSwiper .swiper-slide {
    width: calc(50% - 25px) !important;
}
}
/* ----------------- Quem procuramos ------------------ */


.rainbow-circle img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* ══════════════════════════════════════════
       SHARED: outer wrapper is always a flex column
       On desktop we switch the inner .radial to a row
    ══════════════════════════════════════════ */
.quem-wrapper {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.quem-wrapper h3 {
  font-size: 21px;
}

.quem-wrapper p {
  font-size: 17px;
}

@media (min-width: 1280px) {
  .quem-wrapper h3 {
    font-size: 24px;
  }

  .quem-wrapper .col-left p {
    width: 124%;
    margin-left: -12%;
  }

  .quem-wrapper .col-right p {
    width: 153%;
    margin-left: -26.5%;
  }
}

@media (min-width: 768px) and (max-width: 1279.98px) {
  .quem-wrapper h3 {
    font-size: 18px;
  }

  .quem-wrapper p {
    font-size: 14px;
    line-height: 1.4;
    max-width: 236px;
    margin: 0 auto;
  }
}

/* ── All direct children get an order for mobile ── */
.item-image {
  /* order: 1; */
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
  max-width: 73%;
  margin-left: auto;
  margin-right: auto;
}

.item-formacao {
  order: 2;
}

.item-areas {
  order: 3;
}

.item-idiomas {
  order: 4;
}

.item-disponib {
  order: 5;
}

.item-softskills {
  order: 6;
}

.item-cta {
  order: 7;
  margin-top: 24px;
}

/* Mobile: items are simple left-aligned blocks */
.item-formacao,
.item-areas,
.item-idiomas,
.item-disponib,
.item-softskills {
  padding: 0;
  margin-bottom: 20px;
}

/* Connectors hidden on mobile */
.conn-left,
.conn-right,
.vertical-conn {
  display: none;
}

/* ══════════════════════════════════════════
       DESKTOP (md+): switch to radial layout
    ══════════════════════════════════════════ */
@media (min-width: 768px) {

  /* Wrapper becomes a flex row for the radial section */
  .quem-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;

    padding-top: 0;
  }

  /* Reset mobile order — let DOM order apply */
  .item-image,
  .item-formacao,
  .item-areas,
  .item-idiomas,
  .item-disponib,
  .item-softskills,
  .item-cta {
    order: unset;
    margin-bottom: 0;
  }

  /* Hide image from the radial row (shown separately above) */
  .item-image {
    display: none;
  }

  /* Left column: Áreas + Formação stacked, right-aligned */
  .col-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
    padding-top: 62px;
    text-align: center;
    padding-right: 8px;
  }

  /* Right column: Disponib + SoftSkills stacked, left-aligned */
  .col-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 80px;
    padding-top: 60px;
    text-align: center;
    padding-left: 8px;
  }

  /* Center column: image + vertical connector */
  .col-center {
    flex-shrink: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  /* Connector columns */
  .conn-left,
  .conn-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 55px;
    padding-top: 50px;
    flex-shrink: 0;
    width: 72px;
  }

  .vertical-conn {
    display: block;
  }

  .c-row-left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 52px;
    position: relative;
  }

  .c-row-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 52px;
    position: relative;
  }

  .c-line {
    height: 2px;
    width: 82px;
    position: absolute;
    right: -25px;
    z-index: 0;
  }

  .c-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
  }

  .c-row-left .c-dot {
    left: -24px;
  }

  .c-row-right .c-dot {
    right: -25px;
  }

  /* Idiomas: taken out of flow, shown below center via absolute-like trick */
  /* We wrap it inside col-center instead — see HTML structure */
}

@media (min-width: 768px) and (max-width: 1279.98px) {

  .conn-left,
  .conn-right {
    width: 36px;
    gap: 70px;
    padding-top: 35px;
  }

  .col-left,
  .col-right {
    gap: 50px;
    padding-top: 47px;
  }
}

@media(min-width: 1280px) {

  .conn-left,
  .conn-right {

    gap: 96px;
    padding-top: 89px;

    width: 105px;
  }

  .col-left,
  .col-right {

    gap: 50px;

    padding-top: 96px;
  }

  .c-line {

    width: 125px;

    right: -25px;

  }

  .c-row-left .c-dot {
    left: -2px;
  }

  .c-row-right .c-dot {
    right: -10px;
  }

  .c-row-right .c-line {
    right: 0px;
  }


  .conn-left .c-row-left+.c-row-left .c-line {
    width: 167px;
  }

  .conn-left .c-row-left+.c-row-left .c-dot {
    left: -44px;
  }

  .conn-right .c-row-right+.c-row-right .c-line {
    width: 167px;
    right: -35px;
  }

  .conn-right .c-row-right+.c-row-right .c-dot {
    right: -44px;
  }
}

/* =================== A Tua Experiência =================== */

/* ══════════════════════════════════════
       MOBILE: flex column
       Each card = [icon + title-block] row, then description below
    ══════════════════════════════════════ */
.experiencia-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.exp-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Mobile header: icon left, title+date right */
.exp-header {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    flex-direction: column;
}

.exp-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;

}

.exp-icon svg {
  width: 35px;
  height: 35px;
}

.exp-title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.exp-title {
  font-size: 24px;
  line-height: 1.2;
}

.exp-date {
  font-weight: 300;
  color: #3E3E40;
}

.exp-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #3E3E40;
  font-weight: 300;
}


/* ══════════════════════════════════════
       DESKTOP (md+):
       3-col grid, 3 rows: icon / title+date / description
       display:contents dissolves .exp-card and .exp-header
       so their children sit directly in the grid
    ══════════════════════════════════════ */
@media (min-width: 768px) {

  .experiencia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 48px;
    row-gap: 0;
  }

  /* Dissolve card wrapper */
  .exp-card {
    display: contents;
  }

  /* Dissolve header wrapper — icon and title-block go directly into grid */
  .exp-header {
    display: contents;
  }

  /* Row 1: icons */
  .exp-icon {
    grid-row: 1;
    width: 72px;
    height: 72px;
    justify-self: center;
    align-self: end;
    justify-content: center;
  }

  /* .exp-icon svg {
    width: 72px;
    height: 72px;
  } */

  /* Row 2: title + date */
  .exp-title-block {
    grid-row: 2;
    align-items: center;
    text-align: center;
    padding-bottom: 16px;
  }

  .exp-title {
    font-size: 24px;
  }

  /* Row 3: description */
  .exp-desc {
    grid-row: 3;
    text-align: center;
    align-self: start;
  }
}

@media(min-width: 1024px){
  .exp-icon svg {
  width: 55px;
  height: 55px;
}
}

@media (min-width: 1280px) {

  .exp-icon,
  .exp-icon svg {
    width: 75px;
    height: 75px;

  }

  .exp-title-block {

    padding-top: 30px;
  }

  .exp-title {
    font-size: 30px;
  }

  .exp-date {

    font-size: 24px;

  }

}


/* *********** O Que Vais Encontrar *********** */

.encontrar-prev,
.encontrar-next {
  position: static;
  margin: 0;
  width: 36px;
  height: 36px;
  color: #374151;
  flex-shrink: 0;
  margin-top: -25px;
}

.encontrar-prev::after,
.encontrar-next::after {
  font-size: 16px;
  font-weight: 700;
}

.encontrar-prev.swiper-button-disabled,
.encontrar-next.swiper-button-disabled {
  opacity: 0.2 !important;
  cursor: default;
}

.slide-title {
  font-weight: 700;
  font-size: 1.063rem;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  color: #9ca3af;
  padding-bottom: 25px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.slide-title:hover {
  color: rgb(211, 7, 115) !important;
}



@media (min-width: 1280px) {
  .slide-title {
    font-size: 1.5rem;
  }
}

@media(min-width: 768px) and (max-width: 1279.98px) {
  .slide-title {
    font-size: 1rem;

  }
}

#slideDescription {
  transition: opacity 0.2s ease;
}

.swiper {
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .swiper-slide {
    cursor: pointer;
  }
}

/* ------------------ O Processo de Recrutamento --------------- */

/* ══════════════════════════════════════
       MOBILE: vertical list
       Each .step = big number + name + date
    ══════════════════════════════════════ */
.steps-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  font-size: 4rem;
  font-weight: 700;
  color: #3E3E40;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.step-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 6px;
}

.step-name {
  /* font-weight: 700; */
  font-size: 1.5rem;
  line-height: 1.3;
}

.step-date {

  font-size: 15px;
}

/* Step colors */
.step:nth-child(1) .step-name {
  color: #D30773;
}

.step:nth-child(2) .step-name {
  color: #00B39C;
}

.step:nth-child(3) .step-name {
  color: #f97316;
}

.step:nth-child(4) .step-name {
  color: #D30773;
}

.step:nth-child(5) .step-name {
  color: #f97316;
}

.step:nth-child(6) .step-name {
  color: #00B39C;
}

/* ══════════════════════════════════════
       DESKTOP (md+):
       Switch to CSS Grid: 6 columns
       Row 1: numbers
       Row 2: rainbow line via ::after on container
       Row 3: name + date
    ══════════════════════════════════════ */
@media (min-width: 768px) {

  /* Grid: 6 equal cols, 3 rows (number / line / info) */
  .steps-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 3px auto;
    gap: 0;
    column-gap: 16px;
    row-gap: 0;
  }

  /* Each step occupies its column, spans all 3 rows */
  .step {
    display: contents;
    /* dissolve the wrapper, children go into grid */
  }

  /* Numbers sit in row 1 */
  .step-number {
    grid-row: 1;
    font-size: 4rem;
    width: auto;
    padding-bottom: 8px;
    align-self: end;
  }

  /* Info sits in row 3 */
  .step-info {
    grid-row: 3;
    padding-top: 16px;
    padding-right: 15px;
  }

  /* ── Rainbow line spans all 6 columns in row 2 ──
         Injected as a full-width pseudo element on the container */
  .steps-container::after {
    content: '';
    grid-column: 1 / -1;
    grid-row: 2;
    height: 3px;
    background: linear-gradient(90deg, #D30773 0%, #EE5623 53.85%, #00B49D 83.65%, #33D9EC 99.04%);
    border-radius: 2px;
  }
}

@media (min-width: 768px) and (max-width: 1279.98px) {

  /* Step name sizes on desktop */
  .step-name {
    font-size: 1.05rem;
  }
}

@media (min-width: 1280px) {
  .step-number {

    font-size: 4.3rem;
    padding-bottom: 14px;

  }

  .step-name {
    font-size: 1.6rem;
    line-height: 1.1;
  }

  .step-date {

    font-size: 17px;
  }

  .step-info {
    gap: 8px;
    padding-top: 25px;
    padding-right: 33px;
  }

  .steps-container::after {

    height: 5px;

  }
}

/* ---------------------- */



.divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.4);
  align-self: stretch;
  min-height: 56px;
}

.text-sm {
  font-size: 15px !important;
}

@media(min-width: 1280px) {

  .text-sm {
    font-size: 17px !important;
  }

  p {
    font-size: 17px;
  }
}






/* Accordion smooth open/close */
    .faq-answer {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.3s ease;
    }
    .faq-answer.open {
      grid-template-rows: 1fr;
    }
    .faq-answer > div {
      overflow: hidden;
    }

    /* Chevron flip */
    .faq-chevron {
      transition: transform 0.3s ease;
      flex-shrink: 0;
    }
    .faq-item.open .faq-chevron {
      transform: rotate(180deg);
    }

    .faq-item button span {
    font-size: 17px;
}
@media(min-width: 1280px) {
  .faq-item button span {
    font-size: 24px;
  }
}