
html, body {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}
body {
     background-color: #FFFBF9;
     font-family: "Montserrat", sans-serif;
     
}
.fs-pattaya {
    font-family: "Pattaya", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.blue-primary {
    color: #375EA9;
}
.blue-secondary {
    color: #009CDC;
}

.bg-blue-primary {
    background-color: #375EA9;
}
.bg-blue-secondary {
    background-color: #009CDC;
}
.bg-navbar-uvpo {
    background-color: rgba(255, 255, 255, 0.9);
}

:root {
  --uvpo-blue-primary: #375EA9;
  --uvpo-blue-secondary: #009CDC;
  --uvpo-red: #E30614;
  --bs-red: #e61e1c;
  --bs-yellow: #ffce04;
  --bs-danger: #e61e1c;
  --bs-warning: #ffce04;
  --bs-danger-rgb: 230, 30, 28;
  --bs-warning-rgb: 255, 206, 4;
  --bs-form-invalid-color: #e61e1c;
  --bs-form-invalid-border-color: #e61e1c;
  --bs-font-sans-serif: system-ui, -apple-system, "Montserrat", "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-body-font-family: "Open Sans", sans-serif;
  --bs-body-font-weight: 300;
}

.uvpo-title-xl {
  font-size: 4rem;
  font-weight: 600;
}

.uvpo-title-shadow {
  text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
}

.uvpo-title-section {
  color: var(--uvpo-blue-secondary);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
}

.uvpo-text-primary {
  color: var(--uvpo-blue-primary);
}

.uvpo-card-max {
  background: transparent;
  max-width: 524px;
}

.uvpo-card-title-lg {
  font-size: 2rem;
  font-weight: 400;
}

.uvpo-card-text {
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
}

.uvpo-counter-value {
  font-size: 2.75rem;
  font-weight: 800;
}

.uvpo-counter-label {
  font-size: 1.25rem;
  font-weight: 600;
}

.uvpo-select-port {
  min-width: 320px;
}

.uvpo-select-placeholder {
  color: #385EA9;
  text-transform: uppercase;
  font-weight: 600;
}

.uvpo-section-partners-bg {
  background: url("../images/background-partenaires-bottom-64242f222e263a72b36173e26cb24243.webp") no-repeat center bottom;
  background-size: contain;
  padding-bottom: 160px;
}

.uvpo-section-partners-bg-compact {
  background: url("../images/background-partenaires-bottom-64242f222e263a72b36173e26cb24243.webp") no-repeat center bottom;
  background-size: contain;
  min-height: 450px;
  padding-bottom: 96px;
}

.uvpo-section-partners-bg-full {
  background: url("../images/background-partenaires-bottom-64242f222e263a72b36173e26cb24243.webp") no-repeat center bottom;
  background-size: contain;
  min-height: 100vh;
  padding-bottom: 160px;
}

.uvpo-section-experiences-bg {
  background: url("../images/experiences-background-h-540-bottom-4d8769595b19d1438086b637f78050e1.webp") no-repeat center bottom;
  background-size: contain;
  min-height: 250px;
}

.uvpo-map {
  border-radius: 0.75rem;
  min-height: 540px;
}

.uvpo-btn-full {
  font-weight: 500;
  width: 100%;
}

.uvpo-select-filter {
  border: solid 1px var(--uvpo-blue-primary);
  color: var(--uvpo-blue-primary);
}

.uvpo-steps-border {
  border-right: solid 0.09375rem var(--uvpo-blue-secondary);
}

.uvpo-steps-title {
  color: var(--uvpo-blue-primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.uvpo-steps-text {
  color: var(--uvpo-blue-primary);
  font-size: 1.1rem;
  font-weight: 500;
}

.uvpo-btn-weight {
  font-weight: 500;
}

.uvpo-card-overlay-title {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}

.uvpo-nearby-title {
  font-weight: 600;
}

.uvpo-nearby-btn {
  border: 0;
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.uvpo-nearby-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.uvpo-nearby-name {
  font-weight: 600;
}

.uvpo-nearby-port {
  font-size: 0.85rem;
}

.uvpo-nearby-meta {
  font-size: 0.9rem;
}

.uvpo-copy-muted {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
}

.uvpo-copy-muted-narrow {
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  max-width: 238px;
}

.uvpo-contact-text {
  color: var(--uvpo-blue-primary);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0;
}

.uvpo-intro-lead {
  color: var(--uvpo-blue-primary);
  font-size: 1.4rem;
  font-weight: 600;
}

.uvpo-mission-icon {
  height: 85px;
}

.uvpo-mission-title {
  color: var(--uvpo-blue-primary);
  font-size: 1.25rem;
  font-weight: 700;
}

.uvpo-middle-banner {
  background: url("../images/middle-banner-equipe-uvpo-7a917439e5081bf261e5af382bcee607.webp") no-repeat center bottom;
  background-size: cover;
  min-height: 690px;
}

.uvpo-partner-filter-btn {
  width: 240px;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
}

.uvpo-partner-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ccc;
}

.uvpo-link-strong {
  font-weight: 600;
}

.uvpo-partner-trigger {
  background: transparent;
  border: 0;
  display: block;
  padding: 0;
  text-align: inherit;
  width: 100%;
}

.uvpo-partner-trigger .card,
.route-partner-single .card,
.route-haltes-fluviales .card,
.route-customer-archive .customer-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(55, 94, 169, 0.12);
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(16, 32, 61, 0.08);
  overflow: hidden;
}

.route-partner-single .card-body,
.route-haltes-fluviales .card-body,
.route-customer-archive .customer-card {
  padding: 1.25rem;
}

.route-partner-single .card-body a,
.route-haltes-fluviales .card-body a {
  color: var(--uvpo-blue-primary);
}

.route-partner-single .card-body a:hover,
.route-haltes-fluviales .card-body a:hover {
  color: var(--uvpo-blue-secondary);
}

.route-partner-single .card h3,
.route-haltes-fluviales .card h5,
.route-customer-archive .customer-card h2 {
  color: var(--uvpo-blue-primary);
}

.route-customer-archive .customer-card {
  padding: 1.25rem;
}

.route-customer-archive .customer-card p,
.route-partner-single .card-body p,
.route-haltes-fluviales .card-body p {
  margin-top: 0;
}

.route-haltes-fluviales .badge {
  margin-top: 0.25rem;
}

.uvpo-modal {
  align-items: center;
  inset: 0;
  justify-content: center;
  padding: 1.5rem;
  position: fixed;
  width: 100%;
  z-index: 1300;
}

.uvpo-modal[hidden] {
  display: none;
}

.uvpo-modal:not([hidden]) {
  display: flex;
}

.uvpo-modal__backdrop {
  background: rgba(56, 94, 169, 0.925);
  inset: 0;
  position: absolute;
}

.uvpo-modal__dialog {
  max-height: calc(100vh - 3rem);
  max-width: 960px;
  position: relative;
  width: min(960px, 100%);
}

.uvpo-modal__content {
  background: #fffbf9;
  border-radius: 1rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.uvpo-modal__header {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1rem 0;
}

.uvpo-modal__close {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--uvpo-blue-primary);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0.25rem;
}

.uvpo-modal__body {
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding: 0 3rem 2rem;
}

.uvpo-modal__title {
  color: var(--uvpo-blue-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

body.uvpo-modal-open {
  overflow: hidden;
}

.uvpo-iframe-reset {
  border: 0;
}

.section-banner {
  position: relative;
  overflow: hidden;
}

/* Image collée en haut */
.section-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 284px; /* ajuste selon la hauteur de ton image */
  background: url("../images/banner-events-bgd-top-3159b6b23d3fa05195fcace5b60369b8.webp") no-repeat top center;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 2;
}

/* Member space and backoffice layout cleanup */
.app-shell-offset {
  margin-top: 72px;
}

.account-nav-link {
  color: #375ea9;
}

.account-nav-link-strong {
  font-weight: 500;
}

.account-nav-link-light {
  font-weight: 300;
}

.back-nav-link-strong {
  font-weight: 500;
}

.back-nav-link-light {
  font-weight: 300;
}

.contact-card {
  max-width: 540px;
}

.contact-card-title {
  font-size: 1rem;
}

.contact-card-type {
  font-size: 1rem;
  font-weight: 300;
}

.account-member-content h3 {
  font-size: 1.25rem;
}

.member-info-box {
  font-weight: 500;
}

.member-address {
  max-width: 460px;
}

.member-map-frame {
  border: 0;
  border-radius: 8px;
}

.article-content img {
  height: auto;
  max-width: 100%;
}

.article-content figure {
  margin: 1.25rem 0;
  max-width: 100%;
}

/* Image collée en bas */
.section-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 286px; /* ajuste selon la hauteur de ton image */
  background: url("../images/banner-events-bgd-bottom-63c1941e69b2dc20a2c227ed743d3e75.webp") no-repeat bottom center;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 2;
}
.hero-video {
  position: relative;
  height: 100vh;
  max-height: 850px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* fallback si la vidéo ne charge pas */
}

.hero-video .video-wrapper {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    background: #000;
}

.hero-video .video-wrapper .video-poster {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

/* --- Vidéo de fond --- */
.hero-video .video-wrapper video {
  position: absolute;
  top: 50%; left: 50%;
  width: 125%; height: 125%; /* un peu plus grand pour éviter bandes noires */
  transform: translate(-50%, -50%);
  object-fit: cover;          /* recadre pour toujours remplir */
  pointer-events: none;       /* empêche tout clic */
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
  z-index: 1 !important;
}

.hero-video .video-wrapper.is-video-ready video {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 767.98px), (prefers-reduced-motion: reduce) {
  .hero-video .video-wrapper video {
    display: none;
  }
}

/* --- Image vagues en bas --- */
.hero-video::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  min-height: 300px; /* hauteur réelle de l’image */
  background: url("../images/header-video-background-bottom-45bb55324b4539adab27a0170623bcd1.webp") no-repeat bottom center;
  background-size: 100% 100%; /* étire toujours en largeur */
  z-index: 1; /* au-dessus de la vidéo, mais derrière le contenu */
  pointer-events: none;
}

/* --- Contenu (logo, texte, etc.) --- */
.hero-video .hero-content {
    position: relative !important;
    z-index: 10 !important;
    transform: none !important;   /* ← C’est ça qui te tue */
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.hero-video h1 {
  margin: 0;
  z-index: 9999;
}
.video-item {
  width: 326px;
  height: 326px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;          /* optionnel */
  position: relative;
  color: #fff;
  padding: 1rem;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  transition: transform 0.4s ease, background-size 0.4s ease;
  background-size: 100%;       /* état normal */
}

.video-item:hover {
  background-size: 110%;       /* zoom arrière-plan */
  transform: scale(1.02);      /* léger effet "pop" de la carte entière */
}

.video-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* meilleure lisibilité */
  text-transform: uppercase;
}

.video-featured {
  position: relative;
  width: 100%;
  min-height: 1024px; /* ajuste selon ton design */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.video-featured .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.video-featured .footer-bg {
  z-index: 2; /* au-dessus de la vidéo */
  pointer-events: none; /* ne bloque pas les clics */
}

.video-featured .gradient-top {
  height: 240px;
  background: linear-gradient(to bottom, #FFFBF9 0%, rgba(255,251,249,0) 100%);
  z-index: 3;
  pointer-events: none;
}

.video-featured .overlay {
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.video-featured .container {
  z-index: 4; /* contenu au-dessus de tout */
  position: relative;
}

.video-featured h3 {
    font-size: 4rem;
    font-weight: 300;
    margin: 0 auto;
    max-width: 800px;
    text-transform: uppercase;
}
.video-featured p {
    font-size: 1rem;
    font-weight: 300;
    margin: 2.5rem auto;
    max-width: 768px;
}


.navbar-nav-account .nav-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    background: none;
    border: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.navbar-nav-account .nav-link:hover {
    color: #FF3A16;
}
.navbar-nav-admin .nav-link {
    display: block;
    font-size: 1.1rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    background: none;
    border: 0;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}
.navbar-nav-admin .nav-link:hover {
    color: #000;
}
.bg-yellow {
    background-color: #FFCE00;
}
.bg-orange {
    background-color: #FF7117;
}
.container {
    max-width: 1080px;
}
.port-single .card {
    border: none;
    border-radius: 0;
}
.card-body p {
    text-align: left;
}

.front-wrapper {
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

.front-wrapper > section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-fullscreen {
    height: 100vh;
    display: flex;
    justify-content: center;   /* centre horizontalement */
    align-items: center;       /* centre verticalement */
    text-align: center;
    padding: 2rem;
}

.section-fullscreen-home {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.section-fullscreen-home::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.4); /* Assombrir si besoin */
    z-index: 1;
}

.section-fullscreen-home > .container {
    position: relative;
    z-index: 2;
}


.uvpo-btn {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    box-sizing: border-box;
    border-radius: 0.5rem;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 500;
    gap: 0.5rem;
    justify-content: center;
    line-height: 1.2;
    padding: 0.75rem 1.5rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.uvpo-btn:hover,
.uvpo-btn:focus-visible {
    text-decoration: none;
    transform: translateY(-1px);
}

.uvpo-btn--sm {
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
}

.uvpo-btn--full {
    width: 100%;
}

.uvpo-btn--outline-blue {
    border-color: #009CDC;
    color: #009CDC;
}

.uvpo-btn--outline-blue:hover,
.uvpo-btn--outline-blue:focus-visible,
.uvpo-btn--outline-blue.is-active {
    background: #009CDC;
    color: #fff;
}

.uvpo-btn--outline-blue-dark {
    border-color: #375EA9;
    color: #375EA9;
}

.uvpo-btn--outline-blue-dark:hover,
.uvpo-btn--outline-blue-dark:focus-visible,
.uvpo-btn--outline-blue-dark.is-active {
    background: #375EA9;
    color: #fff;
}

.uvpo-btn--outline-white {
    border-color: #fff;
    color: #fff;
}

.uvpo-btn--outline-white:hover,
.uvpo-btn--outline-white:focus-visible {
    background: #fff;
    color: #375EA9;
}

.uvpo-btn--outline-aqua {
    border-color: #6EC6D8;
    color: #6EC6D8;
}

.uvpo-btn--outline-aqua:hover,
.uvpo-btn--outline-aqua:focus-visible {
    background: #6EC6D8;
    color: #fff;
}

.uvpo-btn--primary {
    background: #375EA9;
    border-color: #375EA9;
    color: #fff;
}

.uvpo-btn--primary:hover,
.uvpo-btn--primary:focus-visible {
    background: #2c4a84;
    border-color: #2c4a84;
    color: #fff;
}

.uvpo-field,
.uvpo-select {
    appearance: none;
    background: #fff;
    border: 1px solid rgba(55, 94, 169, 0.25);
    box-sizing: border-box;
    border-radius: 0.5rem;
    color: #1d2c4a;
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    min-height: 48px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.uvpo-field::placeholder {
    color: rgba(29, 44, 74, 0.55);
}

.uvpo-field:focus,
.uvpo-select:focus {
    border-color: #009CDC;
    box-shadow: 0 0 0 0.25rem rgba(0, 156, 220, 0.16);
    outline: none;
}

.uvpo-field--textarea {
    min-height: 150px;
    resize: vertical;
}

.uvpo-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23009CDC' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 2.75rem;
}

.uvpo-search-group {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(55, 94, 169, 0.25);
    border-radius: 0.5rem;
    display: flex;
    overflow: hidden;
}

.uvpo-search-group:focus-within {
    border-color: #009CDC;
    box-shadow: 0 0 0 0.25rem rgba(0, 156, 220, 0.16);
}

.uvpo-search-icon {
    color: #375EA9;
    display: inline-flex;
    flex: 0 0 auto;
    padding-left: 1rem;
    padding-right: 0.75rem;
}

.uvpo-search-group .uvpo-field {
    border: 0;
    box-shadow: none;
}

.uvpo-choice-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.uvpo-choice-label {
    cursor: pointer;
}

.uvpo-choice-input:checked + .uvpo-choice-label {
    background: #009CDC;
    border-color: #009CDC;
    color: #fff;
}

.uvpo-login-label {
    color: #375EA9;
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.uvpo-form-row {
    margin-bottom: 1rem;
}

.uvpo-form-label {
    color: #375EA9;
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.uvpo-check {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.uvpo-check__input {
    accent-color: #009CDC;
    flex: 0 0 auto;
    margin-top: 0.25rem;
}

.uvpo-check .uvpo-form-label {
    color: rgba(0, 0, 0, 0.65);
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0;
}
.uvpo-check .uvpo-form-label a,
.uvpo-check .uvpo-form-label a:hover,
.uvpo-check .uvpo-form-label a:focus-visible {
    color: #009CDC;
    text-decoration: none;
}

.uvpo-form-errors {
    color: var(--uvpo-red);
    font-size: 0.875rem;
    list-style: none;
    margin: 0.5rem 0 0;
    padding: 0;
}

.uvpo-form-help {
    color: rgba(0, 0, 0, 0.6);
    font-size: 0.875rem;
    margin-top: 0.35rem;
}

/*.btn-burger {
    align-items: center;
    display: flex;
    height: 64px;
    justify-content: center;
    width: 64px;
}*/
.btn-burger,
.btn-close-uvpo {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF1815, #FFCE04);
    color: white;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 transparent;
}

.btn-burger:hover,
.btn-burger:focus,
.btn-close-uvpo:hover,
.btn-close-uvpo:focus{
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

legend {
    display: none;
}
.port-card-link {
    color: transparent !important;
}
.port-single h1 > span {
    display: block;
}
.port-single h1 > span.title-first {
    font-size: 2.5rem;
}
.port-single h1 > span.title-second {
    font-size: 1.5rem;
}

/*** HOMEPAGE ***/
.bg-gradient-white-blue {
    background: linear-gradient(135deg, #ffffff, #A7E6FF);
    color: #000;
}



.front-card-experience {
    aspect-ratio: 1 / 1;
    min-width: 200px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 1.5rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 0 transparent;
}

.front-card-experience:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.front-card-experience i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.select-port {
    appearance: none;
    background-color: #FF1815;
    color: #fff;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    min-width: 220px;
    background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.select-port:focus {
    outline: none;
    background-color: #d31311;
}

.select-port option {
    color: #000;
}

.btn-select-modal {
    background-color: #FF1815;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background-color 0.3s;
}

.btn-select-modal:hover {
    background-color: #d31311;
}

.btn-blue-medium {
    --bs-btn-color: #fff;
    --bs-btn-bg: #009CDC;
    --bs-btn-border-color: #009CDC;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0087DC;
    --bs-btn-hover-border-color: #0087DC;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0087DC;
    --bs-btn-active-border-color: #0087DC;
    --bs-btn-active-shadow
inset 0 3px 5px rgba(0, 0, 0, 0.125)
: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #009CDC;
    --bs-btn-disabled-border-color: #009CDC;
}

.btn-aqua {
    --bs-btn-color: #fff;
    --bs-btn-bg: #6EC6D8;
    --bs-btn-border-color: #6EC6D8;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6DB7D8;
    --bs-btn-hover-border-color: #6DB7D8;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6DB7D8;
    --bs-btn-active-border-color: #6DB7D8;
    --bs-btn-active-shadow
inset 0 3px 5px rgba(0, 0, 0, 0.125)
: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #6EC6D8;
    --bs-btn-disabled-border-color: #6EC6D8;
}


/*.btn-all {
    background: linear-gradient(135deg, #FF1815, #FFCE04);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 transparent;
    display: inline-block;
}

.btn-all:hover,
.btn-all:focus {
    transform: scale(1.05);
    background: linear-gradient(135deg, #FFCE04, #FF1815);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}

.btn-all-blue {
    background: linear-gradient(135deg, #0072ff, #A7E6FF);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 transparent;
    display: inline-block;
}

.btn-all-blue:hover,
.btn-all-blue:focus {
    transform: scale(1.05);
    background: linear-gradient(135deg, #0052cc, #7fd9f3);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
}*/

.collapse-container {
    transition: all 0.3s ease;
}

.toggle-section {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    text-transform: uppercase;
    background: #fff;
    color: #375EA9;;
    border: solid 1px #375EA9;
}

.toggle-section:hover {
    background: #375EA9;
    border: solid 1px #375EA9;
    color: #fff;
}

.card-port-list {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    border: 0;
    border-radius: .5rem; /* optionnel : coins arrondis */
    overflow: hidden;     /* optionnel : empêche le débordement */
}

.card-port-list:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 2;
}

.card-port-list .card-body {
    /* color: #fff; */
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contact-link, .contact-link:hover {
    color: #000;
    text-decoration: none;
}

.page-back h1 {
    color: #878787;
    font-weight: 700;
}



.hero-banner {
  position: relative;
  /*height: 100vh;*/
  max-height: 923px;
  min-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

/* --- Photo de fond --- */
.hero-banner .banner-wrapper .banner-bg {
  position: absolute;
  top: 50%; left: 50%;
  width: 125%; height: 125%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

/* --- Image vagues en bas --- */
.hero-banner::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  min-height: 300px;
  background: url("../images/header-video-background-bottom-45bb55324b4539adab27a0170623bcd1.webp") no-repeat bottom center;
  background-size: 100% 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- Contenu (logo, texte, etc.) --- */
.hero-banner .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  transform: translateY(-60%);
}

.hero-banner h1 {
  margin: 0;
}


.reveal {
  opacity: 0; 
  visibility: hidden; 
  transition: opacity 0.3s ease;
}

.reveal.is-visible {
  opacity: 1;
  visibility: visible;
}

.animate__animated {
  animation-duration: 0.8s;
  animation-delay: var(--animate-delay, 0s);
  animation-fill-mode: both;
}

.animate__zoomIn {
  animation-name: uvpo-zoom-in;
}

@keyframes uvpo-zoom-in {
  from {
    opacity: 0;
    transform: scale3d(0.92, 0.92, 0.92);
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

/* --- POPUP MapLibre : card 300px --- */
.maplibregl-popup.port-popup {
  max-width: 240px !important;
}

.maplibregl-popup.port-popup .maplibregl-popup-content {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* petite flèche plus discrète */
.maplibregl-popup.port-popup .maplibregl-popup-tip {
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
}

/* bouton close plus clean */
.maplibregl-popup.port-popup .maplibregl-popup-close-button {
  font-size: 22px;
  line-height: 1;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
  padding: 8px 10px;
  color: rgba(255,255,255,.95);
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

/* card */
.port-popup-card { width: 240px; }

.port-popup-media {
  height: 140px;              /* “card-top” */
  background: #fff;
  padding: 0.75rem;
}

.port-popup-img {
    border-radius: 0.5rem;
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

/* placeholder si pas d'image */
.port-popup-img--placeholder {
  height: 140px;
  background: linear-gradient(135deg, rgba(56,94,169,.35), rgba(0,195,198,.25));
}

/* body */
.port-popup-body {
  padding: 12px 12px 12px;
}

.port-popup-title {
    color: #009CDC;
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1.15;
  margin: 0.75rem 0;
  text-align: center;
}

.port-popup-city {
  margin-top: 4px;
  color: #4b5563;
  font-size: 13px;
}

.port-popup-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  margin-top: 8px;
}

.port-popup-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
}

.port-popup-badge.is-maritime {
  background: rgba(56,94,169,.14);
  color: #385EA9;
}

.port-popup-badge.is-fluvial {
  background: rgba(0,195,198,.16);
  color: #007e80;
}

.port-popup-link {
    align-items: center;
    background: rgba(242,184,19,.14);
    border-radius: 999px;
    color: #FF7A13;
    display: inline-flex;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    text-decoration: none;
}

.port-popup-link:hover { text-decoration: none; }


/* utils */
#main-contact .form-control {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(55, 94, 169, 0.18);
    border-radius: 0.25rem;
    box-shadow: 0 10px 24px rgba(55, 94, 169, 0.06);
}
#main-contact .form-floating > .form-control,
#main-contact .form-floating > .uvpo-field {
    min-height: 4rem;
    padding: 1.4rem 1.2rem 0.75rem;
}
#main-contact .form-floating > textarea.form-control,
#main-contact .form-floating > textarea.uvpo-field {
    min-height: 11rem;
    padding-top: 1.75rem;
}
#main-contact .form-floating > label {
    color: rgba(55, 94, 169, 0.62);
    font-size: 0.92rem;
    font-weight: 500;
    inset: 0 auto auto 0;
    margin-bottom: 0;
    max-width: 100%;
    overflow: hidden;
    padding: 1rem 1.2rem;
    pointer-events: none;
    position: absolute;
    text-overflow: ellipsis;
    transform-origin: 0 0;
    transition: color .18s ease, opacity .18s ease, transform .18s ease;
    white-space: nowrap;
    z-index: 2;
}
#main-contact .form-floating > .form-control:focus,
#main-contact .form-floating > .uvpo-field:focus {
    background: #fff;
    border-color: rgba(0, 156, 220, 0.55);
    box-shadow: 0 0 0 0.2rem rgba(0, 156, 220, 0.12), 0 14px 32px rgba(55, 94, 169, 0.1);
}
#main-contact .form-floating > .form-control::placeholder,
#main-contact .form-floating > .uvpo-field::placeholder {
    color: transparent;
}
#main-contact .form-floating > .form-control:focus ~ label,
#main-contact .form-floating > .form-control:not(:placeholder-shown) ~ label,
#main-contact .form-floating > .uvpo-field:focus ~ label,
#main-contact .form-floating > .uvpo-field:not(:placeholder-shown) ~ label {
    color: #009CDC;
    transform: scale(.84) translateY(-0.42rem) translateX(0.3rem);
}
.cke_notification_warning {
    display: none;
}
.form-wysiwyg label {
    display: none;
}

footer a.nav-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 400;
    text-transform: uppercase;
}
footer a.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

/* Account area visual system */
.account-panel {
  background: #ffffff;
  border: 1px solid rgba(55, 94, 169, 0.12);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(55, 94, 169, 0.08);
}

.account-panel-title {
  color: #254985;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.account-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.68rem 1rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.account-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.account-btn:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(0, 156, 220, 0.28);
  outline: 0;
}

.account-btn-primary {
  background: linear-gradient(135deg, #375ea9 0%, #009cdc 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 156, 220, 0.28);
}

.account-btn-primary:hover {
  color: #fff;
  filter: brightness(0.97);
}

.account-btn-secondary {
  background: #fff;
  border-color: #375ea9;
  color: #375ea9;
}

.account-btn-secondary:hover {
  background: rgba(55, 94, 169, 0.08);
  color: #375ea9;
}

.account-filter-btn {
  background: #fff;
  border: 1px solid rgba(55, 94, 169, 0.24);
  border-radius: 999px;
  color: #375ea9;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.56rem 0.86rem;
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.account-filter-btn:hover {
  background: rgba(55, 94, 169, 0.08);
}

.account-filter-btn.is-active {
  background: linear-gradient(135deg, #375ea9 0%, #009cdc 100%);
  border-color: transparent;
  color: #fff;
}

.account-search-shell {
  margin-bottom: 1.5rem;
}

.account-search-group {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(55, 94, 169, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(55, 94, 169, 0.06);
  display: flex;
  gap: 0.75rem;
  padding: 0.35rem 1rem;
}

.account-search-group svg {
  color: #375ea9;
  flex-shrink: 0;
}

.account-search-group input,
.account-search-group select {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #254985;
  min-height: 2.5rem;
  padding-left: 0;
  padding-right: 0;
}

.account-search-group input:focus,
.account-search-group select:focus {
  box-shadow: none;
  outline: 0;
}

.account-filters-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 1.5rem;
}

.account-members-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.account-member-card {
  aspect-ratio: 1 / 1;
  border-radius: 0.9rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.account-member-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}

.account-member-link {
  color: inherit;
  display: block;
  height: 100%;
  text-decoration: none;
}

.account-member-image {
  border-radius: 0.9rem;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.account-member-card:hover .account-member-image {
  transform: scale(1.04);
}

.account-member-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #375ea9 0%, #009cdc 100%);
  border-radius: 0.9rem;
  color: #fff;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.contact-card.account-contact-card {
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(55, 94, 169, 0.12);
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgba(55, 94, 169, 0.08);
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  height: 100%;
  overflow: hidden;
}

.account-contact-card__media {
  aspect-ratio: 3 / 2;
  background: linear-gradient(180deg, rgba(55, 94, 169, 0.08), rgba(0, 156, 220, 0.12));
  flex: 0 0 132px;
  min-height: 88px;
  overflow: hidden;
}

.account-contact-card__image {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.account-contact-card__content {
  flex: 1 1 auto;
  min-width: 0;
}

.account-contact-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.15rem 1.2rem;
}

.account-contact-card__title {
  color: #254985;
  font-weight: 700;
  line-height: 1.2;
}

.account-contact-card__type {
  color: #697386;
  font-size: 0.9rem;
  font-weight: 500;
}

.account-contact-card__role {
  color: #1d2c4a;
}

.account-contact-card a {
  color: #375ea9;
}

@media (max-width: 767.98px) {
  .contact-card.account-contact-card {
    display: flex !important;
    flex-direction: row !important;
  }

  .account-contact-card__media {
    aspect-ratio: 3 / 2;
    min-height: auto;
  }
}

.account-resource-list {
  display: grid;
  gap: 1rem;
}

.account-resource-item {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(55, 94, 169, 0.12);
  border-radius: 1rem;
  box-shadow: 0 10px 26px rgba(55, 94, 169, 0.06);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 1rem 1.25rem;
}

.account-resource-title {
  color: #254985;
  font-weight: 700;
}

.account-resource-meta {
  color: #697386;
  font-size: 0.9rem;
}

.account-resource-download {
  color: #375ea9;
  display: inline-flex;
}

.uvpo-password-wrapper {
  position: relative;
}

.uvpo-password-input {
  padding-right: 3rem !important;
}

.uvpo-password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: rgba(55, 94, 169, 0.72);
  cursor: pointer;
  display: inline-flex;
  height: 2.5rem;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  z-index: 3;
}

.uvpo-password-toggle:hover,
.uvpo-password-toggle.is-active {
  color: #375ea9;
}

@media (max-width: 991.98px) {
  .account-filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-members-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .account-filters-grid,
  .account-members-grid {
    grid-template-columns: 1fr;
  }

  .account-resource-item {
    grid-template-columns: 1fr;
  }
}
