/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  padding: 0px;
}

/* --- BARRE DE NAVIGATION --- */
.navbar {
  width: 100%;
  background-color: white;
  box-shadow: none;
  padding: 10px 0;
}

/* --- CONTENEUR PRINCIPAL --- */
.navbar-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- LOGOS --- */
.logo-img-left {
  height: 50px;
  width: auto;
}

.logo-img-right {
  height: 75px;
  width: auto;
}

footer {
  background-color: white;
  color: black;
  min-height: 15vh;
  text-align: center;
  padding: 10px;
}
footer > p {
  padding: 5px 0;
}
footer > p > a {
  text-decoration: underline;
  color: black;
}
/* ====== LAYOUT GLOBAL ====== */
.layout-portal-page {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  min-height: 70vh;
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.layout-portal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/portal-background.webp") center/cover no-repeat;
  filter: grayscale(100%) opacity(0.45);
  pointer-events: none;
}

/* ====== LEFT SIDE ====== */
.portal-page-left {
  flex: 1;
  /* flex: 1; */
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.portal-title {
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 700;
  color: #1d3f7a;
  margin: 0;
}

.portal-subtitle {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  color: #222;
}

.portal-message {
  font-size: clamp(15px, 1.4vw, 18px);
  color: #444;
  line-height: 1.5;
}

/* ====== BUTTON GROUPS ====== */
.portal-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 12px 12px;
  gap: 16px;
}
.portal-btn-1,
.portal-btn-2,
.portal-btn-ame {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px 26px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: 0.25s;
  width: 100%;
  max-width: 320px;
}
.portal-btn-1 {
  background: #234683;
  color: #fff;
}

.portal-btn-2 {
  border: 2px solid #234683;
  color: #234683;
}

.portal-btn-ame {
  background: #234683;
  color: #fff;
}
/* ====== RIGHT SIDE ====== */
.portal-page-right {
  flex: 1;
  max-width: 520px;
  min-height: 380px;
  position: relative;
}

/* Images */
.portal-image {
  position: absolute;
  width: 46%;
  top: 14%;

  left: 32%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.portal-image.floating {
  width: 46%;
  top: 28%;
  left: 6%;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  z-index: 2;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1200px) {
  .layout-portal-page {
    gap: 40px;
  }
  .portal-btn-group {
    /* justify-content: center; */
    justify-content: flex-start;
  }
}

@media (max-width: 991px) {
  .layout-portal-page {
    flex-wrap: wrap;
    text-align: center;
    justify-content: center;
    padding: 60px 30px;
  }
  .portal-btn-group {
    justify-content: center;
  }
}

@media (max-width: 650px) {
  .layout-portal-page {
    min-height: auto;
    padding: 30px 18px;
  }
  .portal-page-right {
    display: none;
  }
  .portal-btn-group {
    flex-direction: column;
    align-items: center;
    /* width: 100%; */
    gap: 14px;
  }
}

@media (max-width: 360px) {
  .layout-portal-page {
    margin: 50px;
    padding: 0 8px;
    max-width: calc(100% - 16px);
  }
}
