:root {
  --fx-bg: #001e50;
  --fx-bg-2: #0a2d5d;
  --fx-card: rgba(0, 30, 80, 0.82);
  --fx-line: rgba(255, 255, 255, 0.12);
  --fx-text: #ffffff;
  --fx-muted: #dfeeff;
  --fx-accent: #4e95e3;
  --fx-accent-2: #7bb8f6;
  --fx-green: #25d366;
  --fx-danger: #ff5e5b;
}

body.fx {
  background: linear-gradient(180deg, #f4f8ff 0%, #edf4ff 100%);
  color: #12304a;
  font-family: 'Exo 2', sans-serif;
}

body.fx,
body.fx h1,
body.fx h2,
body.fx h3,
body.fx h4,
body.fx h5,
body.fx h6,
body.fx p,
body.fx span,
body.fx a,
body.fx button,
body.fx input,
body.fx select,
body.fx label {
  font-family: 'Exo 2', sans-serif;
}

body.fx a:focus-visible,
body.fx button:focus-visible,
body.fx input:focus-visible,
body.fx select:focus-visible {
  outline: 3px solid rgba(106, 209, 255, 0.7);
  outline-offset: 2px;
}

/* Le flou est porté par un pseudo-élément : un backdrop-filter directement sur
   .header transforme celui-ci en bloc conteneur des éléments position:fixed,
   ce qui écrasait le menu mobile (.navmenu en fixed) en un simple trait blanc. */
body.fx .header {
  background: rgba(0, 30, 80, 0.28);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(3, 15, 26, 0.12);
}

body.fx .header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 30, 80, 0.28);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: none;
}

body.fx .scrolled .header,
body.fx .scrolled .header::before {
  background: rgba(0, 30, 80, 0.95);
}

body.fx .header .logo,
body.fx .header .logo h1,
body.fx .header .navmenu a {
  color: #f4f7ff;
}

body.fx .header .navmenu a {
  font-weight: 600;
  opacity: 0.85;
}

body.fx .header .navmenu a:hover,
body.fx .header .navmenu a.active {
  color: #fff;
}

body.fx .header .btn-getstarted,
body.fx .fx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .9rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  transition: .25s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

body.fx .header .btn-getstarted,
body.fx .fx-btn.go {
  background: linear-gradient(135deg, var(--fx-accent), #7bb8f6);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(78, 149, 227, 0.28);
  font-weight: 800;
}

body.fx .header .btn-getstarted:hover,
body.fx .fx-btn.go:hover {
  box-shadow: 0 18px 30px rgba(78, 149, 227, 0.32);
  transform: translateY(-2px);
}

body.fx .fx-btn.ghost,
body.fx .fx-btn.line {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  color: #fff;
}

body.fx .fx-btn.line {
  border-color: rgba(13, 34, 52, 0.12);
  background: #fff;
  color: #0f2236;
}

body.fx .fx-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(0,0,0,.18);
}

.fx-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  background:
    linear-gradient(135deg, rgba(3, 14, 28, 0.82), rgba(11, 39, 80, 0.62)),
    url('../img/travel/misc-5.webp') center/cover no-repeat;
  color: var(--fx-text);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.09);
}

.fx-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(0,0,0,0.55), transparent 30%);
}

.fx-hero::after {
  content: "";
  position: absolute;
  inset: auto 10% 8% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78,149,227,0.22), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.fx-hero .container,
.fx-sec .container,
.fx-warn .container,
.fx-final .container {
  position: relative;
  z-index: 1;
}

.fx-hero h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2.7rem, 4vw, 5rem);
  line-height: 1.02;
  max-width: 760px;
  margin-bottom: 1.2rem;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 25px rgba(0,0,0,0.22);
  color: #ffffff;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

.fx-rot {
  position: relative;
  display: block;
  min-height: 4.7rem;
  margin-bottom: .3rem;
}

.fx-rot b {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(14px);
  animation: fxRotate 12s infinite;
  font-size: clamp(2.2rem, 3.4vw, 4rem);
  line-height: 1.06;
  color: #ffffff;
}

.fx-rot b:nth-child(1) { animation-delay: 0s; }
.fx-rot b:nth-child(2) { animation-delay: 3s; }
.fx-rot b:nth-child(3) { animation-delay: 6s; }
.fx-rot b:nth-child(4) { animation-delay: 9s; }

@keyframes fxRotate {
  0%, 18% { opacity: 0; transform: translateY(14px); }
  20%, 35% { opacity: 1; transform: translateY(0); }
  40%, 100% { opacity: 0; transform: translateY(-12px); }
}

.fx-sol {
  color: #edf5ff;
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 1.8rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.fx-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-top: 2rem;
}

.fx-trust > div {
  min-width: 130px;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.fx-trust strong {
  font-size: clamp(1.8rem, 2vw, 2.4rem);
  color: #fff;
  font-family: 'Exo 2', sans-serif;
}

.fx-trust span {
  font-size: .83rem;
  color: var(--fx-muted);
}

.fx-pick {
  background: linear-gradient(180deg, rgba(0,30,80,0.94), rgba(10,43,86,0.96));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: 0 32px 72px rgba(0,30,80,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  max-width: 560px;
  width: 100%;
  margin-left: auto;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fx-pick:hover {
  transform: translateY(-3px);
  box-shadow: 0 38px 80px rgba(0,30,80,0.34), inset 0 1px 0 rgba(255,255,255,0.1);
  border-color: rgba(123,184,246,0.54);
}

.fx-pick h2 {
  font-size: clamp(2rem, 2.1vw, 2.8rem);
  margin-bottom: 1rem;
  color: var(--fx-text);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.fx-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1rem;
}

.fx-chips button {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: #edf5ff;
  border-radius: 999px;
  padding: .75rem 1rem;
  font-size: .96rem;
  transition: .2s ease;
  font-weight: 600;
}

.fx-chips button.on,
.fx-chips button:hover {
  background: linear-gradient(135deg, rgba(78,149,227,0.26), rgba(123,184,246,0.18));
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 12px 22px rgba(78,149,227,0.18);
}

.fx-ans {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  border-radius: 14px;
}

.fx-ans small {
  display: block;
  font-size: .78rem;
  color: var(--fx-accent-2);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .6rem;
}

.fx-ans p {
  color: #edf5ff;
  opacity: .9;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.55;
}

.fx-sec {
  padding: 100px 0;
}

.fx-sec.alt {
  background: linear-gradient(180deg, #edf4ff, #f8fbff 30%, #f5f7fb 100%);
}

.fx-sec h2,
.fx-final h2 {
  font-family: 'Exo 2', sans-serif;
  color: #0c2236;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.fx-lead {
  color: #3a5673;
  font-size: 1.08rem;
  line-height: 1.7;
}

.fx-row {
  display: grid;
  grid-template-columns: 1.2fr 30px 2.2fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fx-row:nth-child(odd) {
  transform: translateY(0);
}

.fx-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fx-row:nth-child(2n) .fx-p,
.fx-row:nth-child(2n) .fx-s {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fx-row:nth-child(2n+1) .fx-p,
.fx-row:nth-child(2n+1) .fx-s {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fx-row.is-visible .fx-p,
.fx-row.is-visible .fx-s {
  opacity: 1;
  transform: translateX(0);
}

.fx-p,
.fx-s {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(11, 35, 59, 0.08);
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 18px 35px rgba(10, 36, 49, 0.08);
  opacity: 1;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fx-p {
  display: flex;
  align-items: center;
  min-height: 100px;
  background: linear-gradient(135deg, #001e50, #0d3e7d);
  color: #fff;
  border-color: transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 42px rgba(0, 30, 80, 0.18);
}

.fx-p::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--fx-accent), var(--fx-accent-2));
}

.fx-p span {
  font-weight: 700;
  font-size: 1.02rem;
}

.fx-arrow {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 auto;
}

.fx-arrow::before {
  content: "";
  position: absolute;
  inset: 9px 7px 9px 7px;
  border-top: 2px solid rgba(12, 34, 54, 0.5);
  border-right: 2px solid rgba(12, 34, 54, 0.5);
  transform: rotate(45deg);
}

.fx-s h3 {
  font-size: 1.35rem;
  margin-bottom: .5rem;
  color: #132c45;
}

.fx-s p {
  color: #4e657e;
  margin-bottom: .8rem;
}

.fx-s a {
  color: #0f7ad9;
  text-decoration: none;
  font-weight: 700;
}

.fx-s:hover {
  box-shadow: 0 22px 40px rgba(10, 36, 49, 0.12);
  transform: translateY(-2px);
  border-color: rgba(78, 149, 227, 0.2);
}

.fx-s a:hover {
  color: #0a5ea8;
}

.fx-warn {
  background: linear-gradient(135deg, #001e50, #0b2f62 60%, #114c9c);
  color: #fff;
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 30px 65px rgba(0, 30, 80, 0.10);
}

.fx-warn .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.fx-warn h2 {
  margin: 0 auto 1.2rem;
  max-width: 820px;
  color: #fff;
  text-align: center;
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.2;
}

.fx-warn .fx-btn {
  display: inline-flex;
  margin: 0 auto;
}

.fx-img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 25px 50px rgba(10, 19, 27, 0.15);
  max-height: 540px;
  object-fit: cover;
}

.fx-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.fx-steps li {
  position: relative;
  padding: 1rem 1rem 1rem 4.2rem;
  border-left: 3px solid rgba(15,122,217,0.35);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 30px rgba(19,40,58,0.06);
}

.fx-steps li::before {
  content: attr(data-n);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fx-accent), #ffde75);
  color: #082336;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fx-steps h3 {
  margin: 0 0 .35rem;
  font-size: 1.2rem;
  color: #132b43;
}

.fx-steps p {
  margin: 0;
  color: #4e657e;
}

.fx-quote {
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  border-radius: 22px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 20px 40px rgba(12, 19, 28, 0.08);
  height: 100%;
  min-height: 180px;
  border: 1px solid rgba(12, 34, 54, 0.04);
}

.fx-quote p {
  font-size: 1.05rem;
  color: #1a2d3e;
  margin-bottom: 1rem;
}

.fx-ceo {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.6rem 1.7rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f4f9ff);
  box-shadow: 0 20px 40px rgba(10, 17, 27, 0.06);
  border: 1px solid rgba(12, 34, 54, 0.04);
}

.fx-ceo img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}

.fx-ceo strong {
  color: #0c2236;
}

.accordion-item {
  overflow: hidden;
  border-radius: 18px !important;
}

.accordion-button {
  border-radius: 18px;
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background: rgba(78,149,227,0.08);
  color: #001e50;
  box-shadow: none;
}

.fx-final {
  background: linear-gradient(180deg, #edf4ff 0%, #fafcff 100%);
  padding-top: 110px;
  padding-bottom: 110px;
}

.fx-form {
  background: linear-gradient(180deg, #ffffff, #f6faff);
  border: 1px solid rgba(13, 34, 52, 0.08);
  border-radius: 26px;
  padding: 1.8rem;
  box-shadow: 0 24px 48px rgba(17, 34, 52, 0.1);
  border-top: 4px solid rgba(78, 151, 227, 0.9);
  transform: translateY(-6px);
}

.fx-form .form-control,
.fx-form .form-select {
  min-height: 52px;
  border-radius: 14px;
  border-color: rgba(13, 34, 52, 0.12);
  margin-bottom: 1rem;
  background: #f9fbff;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fx-form .form-control:focus,
.fx-form .form-select:focus {
  border-color: rgba(78, 149, 227, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(78, 149, 227, 0.12);
}

.fx-form .fx-btn {
  width: 100%;
  border: 0;
}

.fx-wabtn {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: linear-gradient(135deg, var(--fx-green), #32c96d);
  color: #fff;
  border-radius: 999px;
  padding: .8rem 1rem;
  box-shadow: 0 16px 28px rgba(37,211,102,0.28);
  text-decoration: none;
  font-weight: 700;
}

.fx-wabtn i {
  font-size: 1.2rem;
}

@media (max-width: 1199px) {
  body.fx .header .container {
    gap: 0.75rem;
  }

  body.fx .navmenu {
    margin-left: auto;
  }

  body.fx .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.7rem;
    margin-right: 0;
  }

  body.fx .header .btn-getstarted {
    padding: 0.7rem 0.95rem;
    font-size: 0.72rem;
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .fx-row {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    grid-template-columns: none;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .fx-row .fx-p,
  .fx-row .fx-s {
    width: 100%;
    opacity: 1;
    transform: none;
    animation: none;
  }

  .fx-arrow {
    transform: rotate(90deg);
  }
}

@media (max-width: 576px) {
  .fx-hero {
    padding-top: 130px;
    padding-bottom: 72px;
  }

  .fx-sec {
    padding: 72px 0;
  }

  .fx-wabtn {
    bottom: 18px;
    right: 12px;
    padding: .7rem .85rem;
  }

  .fx-wabtn span {
    display: none;
  }

  .fx-pick {
    padding: 1.35rem 1rem 1.2rem;
  }

  .fx-hero h1 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }
}

/* ===== Menu mobile (burger) ===== */
@media (max-width: 1199px) {
  body.fx.mobile-nav-active .navmenu {
    background: rgba(3, 15, 26, 0.88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }

  body.fx.mobile-nav-active .navmenu > ul {
    background: linear-gradient(180deg, #0a2d5d 0%, #001e50 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    inset: 76px 16px auto 16px;
    max-height: calc(100dvh - 92px);
    padding: 0.6rem 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  }

  body.fx.mobile-nav-active .header .navmenu a {
    color: #f4f7ff;
    opacity: 1;
    padding: 14px 24px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  body.fx.mobile-nav-active .navmenu li:last-child a {
    border-bottom: 0;
  }

  body.fx.mobile-nav-active .header .navmenu a:hover,
  body.fx.mobile-nav-active .header .navmenu a.active {
    color: var(--fx-accent-2);
    background: rgba(255, 255, 255, 0.05);
  }

  body.fx.mobile-nav-active .mobile-nav-toggle {
    top: 14px;
    right: 16px;
    font-size: 1.7rem;
  }
}