:root {
  /* Palette matched to academy.flexeepay.tn so the whole Flexee ecosystem
     reads as one brand: navy/blue as the dominant color, pink as the accent. */
  --fp-ink: #14204a;
  --fp-muted: #64708d;
  --fp-navy: #1b29a4;
  --fp-pink: #ff1087;
  --fp-pink-dark: #db0f76;
  --fp-pink-soft: #ffe1f0;
  --fp-lilac: #eef1fb;
  --fp-surface: #ffffff;
  --fp-line: #e4e8f2;
  --fp-success: #166534;
  --fp-radius: 22px;
  --fp-shadow: 0 22px 65px rgba(14, 22, 54, 0.13);

  --ft-dark: #14204a;
  --ft-blue: #1b29a4;
  --ft-gray: #64708d;
  --ft-bg-hover: #f4f6fb;

  --font-main: 'Outfit', sans-serif;
  --pink: #ff1087;
  --navy: #1b29a4;
  --navy-dark: #0e1636;
  --navy-light: #2b3fd4;
  --white: #ffffff;
  --off-white: #f8f9ff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-600: #4b5563;
  --shadow-sm: 0 2px 12px rgba(27,41,164,0.08);
  --shadow-pink: 0 8px 32px rgba(245,0,118,0.18);
}

/* ===================================================================
   SITE HEADER / NAV - single shared source for every page (see build.js
   and src/partials/header.*.html). Ported from the original home-page
   header, which is the one design that actually worked at every width.
   =================================================================== */
header {
  background: #ffffff;
  border-bottom: 1px solid #edf2f7;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Outfit', 'Inter', sans-serif;
}
.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo img { height: 32px; display: block; transition: transform 0.3s ease; }
.logo:hover img { transform: scale(1.03); }
#ft-nav { display: flex; align-items: center; gap: 4px; }
.nav-item {
  text-decoration: none;
  color: var(--ft-gray);
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.2s ease;
}
.nav-item:hover { color: var(--ft-dark); background: var(--ft-bg-hover); }
.nav-item.active {
  background: transparent;
  color: var(--ft-blue) !important;
  font-weight: 700;
  box-shadow: inset 0 -2px 0 var(--ft-blue);
  border-radius: 0;
}
.nav-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--gray-600, #4b5563);
  background: var(--gray-100, #f3f4f6);
  border: 1.5px solid var(--gray-200, #e5e7eb);
  transition: all .3s ease;
  margin-left: 5px;
  text-decoration: none;
}
.nav-insta i { font-size: 18px; line-height: 1; }
.nav-insta:hover {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888) !important;
  color: #fff !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 39, 67, 0.3);
}
.lang-box {
  display: flex;
  background: #f8fafc;
  padding: 3px;
  border-radius: 8px;
  margin-left: 10px;
  border: 1px solid #e2e8f0;
}
.lang-link { text-decoration: none; font-size: 11px; font-weight: 800; padding: 5px 10px; color: #94a3b8; border-radius: 6px; }
.lang-link.active-lang { background: #ffffff; color: var(--ft-blue); box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.nav-cta {
  background: var(--fp-pink);
  color: #ffffff !important;
  margin-left: 15px;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(217, 0, 114, 0.25);
}
.nav-cta:hover { background: var(--fp-pink-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(217, 0, 114, 0.32); }
.hamburger { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--ft-dark); }

@media (max-width: 1000px) {
  #ft-nav { display: none; }
  .hamburger { display: block; }
}

.mobile-controls { display: flex; align-items: center; gap: 15px; }
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #ffffff;
  width: 100%;
  position: absolute;
  top: 70px;
  left: 0;
  z-index: 999;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.mobile-menu.active { display: flex !important; }
.mobile-menu a { padding: 15px 25px; border-bottom: 1px solid #eee; color: #333; text-decoration: none; font-weight: 600; }
.nav-cta-mobile {
  background-color: var(--fp-pink);
  color: #ffffff !important;
  text-align: center;
  display: block;
  padding: 15px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}
.nav-cta-mobile:hover { color: #333333 !important; text-decoration: none; }

@media (min-width: 1001px) {
  .mobile-controls, .mobile-menu { display: none !important; }
}

/* ===================================================================
   SITE FOOTER - single shared source (see footer.fr.html / footer.en.html)
   =================================================================== */
footer { background: #fbfcff; color: #4b5563; border-top: 1px solid var(--gray-200); }
.footer-newsletter {
  background: linear-gradient(135deg, #fff5fa 0%, #f2f4ff 100%);
  padding: 56px 0; text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
.footer-newsletter h4 { font-size: 24px; color: var(--navy-dark); margin-bottom: 10px; }
.footer-newsletter p { color: var(--gray-600); margin-bottom: 28px; }
.newsletter-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.newsletter-form input[type="email"] {
  flex: 1; padding: 13px 20px;
  border: 1.5px solid var(--gray-200); border-radius: 50px;
  background: #fff; color: var(--navy-dark);
  font-size: 14px; outline: none;
}
.newsletter-form input[type="email"]::placeholder { color: #94a3b8; }
.newsletter-form input[type="submit"] {
  padding: 13px 28px; border-radius: 50px;
  background: var(--pink); color: #fff;
  font-family: var(--font-main); font-weight: 700; font-size: 14px;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s;
}
.newsletter-form input[type="submit"]:hover { transform: translateY(-1px); }
.footer-top { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-brand .logo-text { font-size: 24px; display: block; margin-bottom: 16px; color: var(--navy-dark); }
.footer-address { font-size: 14px; line-height: 1.8; }
.footer-col h4 { font-family: var(--font-main); font-size: 16px; font-weight: 700; color: var(--navy-dark); margin-bottom: 16px; }
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.footer-links-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.footer-links-list a { color: var(--gray-600); transition: color .2s; }
.footer-links-list a:hover { color: var(--navy); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-600); font-size: 16px;
  transition: all .2s;
}
.footer-social a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.footer-legal { background: transparent; padding: 16px 0; text-align: center; font-size: 13px; color: #94a3b8; border-top: 1px solid var(--gray-200); }
.footer-copyright { padding: 16px 0; text-align: center; font-size: 13px; color: #94a3b8; }
.footer-copyright strong { color: var(--gray-600); }
.footer-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 10px; }
.footer-policy-links a, .footer-policy-links button {
  border: 0; padding: 0; background: none; color: #94a3b8; font: inherit; font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.footer-policy-links a:hover, .footer-policy-links button:hover { color: var(--navy); }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}

html { scroll-padding-top: 86px; }

/* Header is now `position: sticky` (reserves its own space in flow), so the
   old fixed-header compensation some pages hardcoded inline is no longer
   needed and would just double the gap under the header. */
main.main { margin-top: 0 !important; }

body {
  background: #fbfcff;
  color: var(--fp-ink);
}

/* Keep the shared article/404 header as light as the refreshed homepage. */
body > .header,
body .header.fixed-top {
  color: var(--fp-ink) !important;
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 8px 28px rgba(23, 35, 61, .08) !important;
  backdrop-filter: blur(16px);
}
body .header .navmenu a,
body .header .lang,
body .header .mobile-nav-toggle { color: #53627a !important; }
body .header .navmenu a:hover,
body .header .navmenu a.active,
body .header .lang.active { color: var(--fp-pink-dark) !important; }
body .header .lang-switch { border-color: #dce2ed !important; background: #fff !important; }
body .header .btn-getstarted { color: #fff !important; background: var(--fp-pink) !important; box-shadow: 0 10px 24px rgba(217, 0, 114, .2); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(233, 30, 115, 0.28) !important;
  outline-offset: 3px;
}

/* Light homepage hero */
#hero-flexee-glass.hero-flexee-deep-blue {
  position: relative;
  isolation: isolate;
  min-height: auto !important;
  padding: 36px 0 80px !important;
  overflow: hidden;
  color: var(--fp-ink) !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(233, 30, 115, 0.13), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(92, 108, 208, 0.13), transparent 30%),
    linear-gradient(140deg, #ffffff 0%, #f8f5ff 56%, #fff5fa 100%) !important;
}

#hero-flexee-glass::before,
#hero-flexee-glass::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
  pointer-events: none;
}

#hero-flexee-glass::before {
  width: 340px;
  height: 340px;
  right: -130px;
  top: 90px;
  background: rgba(233, 30, 115, 0.07);
}

#hero-flexee-glass::after {
  width: 250px;
  height: 250px;
  left: -100px;
  bottom: -90px;
  background: rgba(37, 59, 128, 0.07);
}

#hero-flexee-glass .pill-label-modern {
  background: var(--fp-pink-soft) !important;
  border-color: rgba(233, 30, 115, 0.22) !important;
  box-shadow: 0 10px 28px rgba(233, 30, 115, 0.08);
}

#hero-flexee-glass .pill-text { color: var(--fp-pink-dark) !important; }
#hero-flexee-glass .brand-title { color: #151c6a !important; letter-spacing: -0.02em; font-family: 'Nunito', 'Fredoka', 'Outfit', sans-serif; font-weight: 700; }
#hero-flexee-glass .brand-sub { color: var(--fp-muted) !important; opacity: 1 !important; max-width: 610px; }
#hero-flexee-glass .hero-features li { color: #35445c !important; opacity: 1 !important; }
#hero-flexee-glass .hero-features i { color: var(--fp-pink) !important; }
#hero-flexee-glass .hero-stat .num { color: var(--fp-navy) !important; }
#hero-flexee-glass .hero-stat .lbl { color: var(--fp-muted) !important; }
#hero-flexee-glass .hero-stat-divider { background: #d6ddea !important; }
#hero-flexee-glass .hero-cta { margin-bottom: 42px !important; }

#hero-flexee-glass .btn-3d-pink {
  border-radius: 999px !important;
  padding: 16px 30px !important;
  background: linear-gradient(135deg, var(--fp-pink), #ff4a9b) !important;
  box-shadow: 0 12px 30px rgba(233, 30, 115, 0.25) !important;
}

#hero-flexee-glass .btn-3d-pink:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 38px rgba(233, 30, 115, 0.31) !important;
}

/* Hero visual: static showcase photo, alternative to the live CSS mockup
   (toggle via FLEXEE_CONFIG.heroVisual in assets/js/site-config.js).
   The source images are transparent phone cutouts (no background to fill),
   sized with clamp() so the whole phone stays on screen at every
   breakpoint instead of just scaling to the column width. */
.hero-visual-photo {
  width: clamp(162px, 27.5vw, 308px);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 30px 55px rgba(23, 35, 61, 0.22));
}
@media (max-width: 991px) {
  .hero-visual-photo { width: clamp(162px, 45vw, 259px); margin: 0 auto 8px; }
}

/* Modern light app mockup inspired by the supplied reference */
#hero-flexee-glass .glass-phone-wrapper {
  position: relative;
  padding: 24px 60px 34px;
  perspective: none !important;
}

#hero-flexee-glass .glass-phone-wrapper::before {
  content: "";
  position: absolute;
  inset: 14% 4% 8%;
  border-radius: 48%;
  background: radial-gradient(circle, rgba(233, 30, 115, 0.17), rgba(76, 96, 190, 0.08) 48%, transparent 72%);
  filter: blur(16px);
}

#hero-flexee-glass .glass-interface {
  position: relative;
  width: 318px !important;
  height: 620px !important;
  padding: 34px 18px 0 !important;
  border: 8px solid #18263d !important;
  border-radius: 48px !important;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(36, 52, 91, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.85) inset !important;
  transform: rotate(-2deg) !important;
  backdrop-filter: none !important;
  /* Dark screen (default phone theme, toggled via the sun/moon switch) */
  color: #e7ecf7 !important;
  background: linear-gradient(165deg, #101a30 0%, #182544 100%) !important;
}

#hero-flexee-glass .glass-interface.light-theme {
  color: var(--fp-ink) !important;
  background: #f7f9fd !important;
}

#hero-flexee-glass .glass-interface::before {
  content: "";
  position: absolute;
  z-index: 20;
  top: -1px;
  left: 50%;
  width: 112px;
  height: 24px;
  border-radius: 0 0 16px 16px;
  background: #18263d;
  transform: translateX(-50%);
}

#hero-flexee-glass .glass-interface:hover {
  transform: rotate(0deg) translateY(-5px) !important;
}

/* Toggle button: visible in both themes, top-right of the phone frame */
#hero-flexee-glass .theme-switch {
  display: flex !important;
  top: 16px !important;
  right: 16px !important;
  width: 30px !important;
  height: 30px !important;
  font-size: 12px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffd166 !important;
}
#hero-flexee-glass .glass-interface.light-theme .theme-switch {
  background: #f1f5f9 !important;
  border-color: #dde3ee !important;
  color: #f59e0b !important;
}

#hero-flexee-glass .app-glass-header { margin-bottom: 16px !important; }
#hero-flexee-glass .u-row { margin-bottom: 14px !important; color: #aab4c8 !important; }
#hero-flexee-glass .glass-interface.light-theme .u-row { color: #536177 !important; }
#hero-flexee-glass .u-icon-circle { background: var(--fp-pink) !important; color: #fff !important; }
#hero-flexee-glass .u-greet { font-size: 12px; }
#hero-flexee-glass .u-greet strong { color: #fff; }
#hero-flexee-glass .glass-interface.light-theme .u-greet strong { color: var(--fp-ink); }

#hero-flexee-glass .balance-glass-card {
  padding: 18px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 22px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: none !important;
}
#hero-flexee-glass .balance-glass-card small { color: rgba(255, 255, 255, 0.55); }
#hero-flexee-glass .glass-interface.light-theme .balance-glass-card {
  border: 1px solid #e7ebf3 !important;
  color: var(--fp-ink) !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(34, 49, 84, 0.07) !important;
}
#hero-flexee-glass .glass-interface.light-theme .balance-glass-card small { color: #758197; }

#hero-flexee-glass .price-big { color: #fff !important; letter-spacing: -0.035em; }
#hero-flexee-glass .price-big span { color: rgba(255, 255, 255, 0.55); font-size: 11px; letter-spacing: 0; }
#hero-flexee-glass .glass-interface.light-theme .price-big { color: var(--fp-ink) !important; }
#hero-flexee-glass .glass-interface.light-theme .price-big span { color: #7b879b; }

#hero-flexee-glass .glass-actions-row { margin: 0 -2px 19px !important; }
#hero-flexee-glass .g-act span { color: rgba(255, 255, 255, 0.75) !important; }
#hero-flexee-glass .glass-interface.light-theme .g-act span { color: #526076 !important; }
#hero-flexee-glass .icon-circle-bg.featured {
  width: 44px !important;
  height: 44px !important;
  background: rgba(255, 0, 122, 0.18) !important;
  box-shadow: none !important;
}
#hero-flexee-glass .icon-circle-bg.featured i { color: #ff5fa8 !important; font-size: 19px !important; }
#hero-flexee-glass .glass-interface.light-theme .icon-circle-bg.featured { background: var(--fp-pink-soft) !important; }
#hero-flexee-glass .glass-interface.light-theme .icon-circle-bg.featured i { color: var(--fp-pink) !important; }

/* Mix blues in with the pink accent instead of an all-pink action row */
#hero-flexee-glass .g-act:nth-child(1) .icon-circle-bg.featured,
#hero-flexee-glass .g-act:nth-child(2) .icon-circle-bg.featured { background: rgba(37, 59, 128, 0.18) !important; }
#hero-flexee-glass .g-act:nth-child(1) .icon-circle-bg.featured i,
#hero-flexee-glass .g-act:nth-child(2) .icon-circle-bg.featured i { color: #7c93e8 !important; }
#hero-flexee-glass .glass-interface.light-theme .g-act:nth-child(1) .icon-circle-bg.featured,
#hero-flexee-glass .glass-interface.light-theme .g-act:nth-child(2) .icon-circle-bg.featured { background: #eef1fb !important; }
#hero-flexee-glass .glass-interface.light-theme .g-act:nth-child(1) .icon-circle-bg.featured i,
#hero-flexee-glass .glass-interface.light-theme .g-act:nth-child(2) .icon-circle-bg.featured i { color: var(--fp-navy) !important; }

#hero-flexee-glass .glass-coach-area { display: none !important; }

#hero-flexee-glass .glass-tx-list { margin: 0 !important; }
#hero-flexee-glass .tx-list-title { color: #cbd3e1 !important; opacity: 1 !important; }
#hero-flexee-glass .glass-interface.light-theme .tx-list-title { color: #36445a !important; }
#hero-flexee-glass .cliquable-text { color: #ff5fa8 !important; }
#hero-flexee-glass .glass-interface.light-theme .cliquable-text { color: var(--fp-pink) !important; }

#hero-flexee-glass .tx-item-glass {
  min-height: 52px;
  margin-bottom: 9px !important;
  padding: 9px 10px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
#hero-flexee-glass .glass-interface.light-theme .tx-item-glass {
  border: 1px solid #e8ecf3;
  color: var(--fp-ink);
  background: #fff;
  box-shadow: 0 8px 22px rgba(34, 49, 84, 0.055);
}
#hero-flexee-glass .tx-circle { border-radius: 12px !important; }
#hero-flexee-glass .tx-name { color: #e7ecf7 !important; }
#hero-flexee-glass .tx-name small { color: #8b95a6; opacity: 1 !important; }
#hero-flexee-glass .glass-interface.light-theme .tx-name { color: #2f3d52 !important; }

#hero-flexee-glass .glass-navbar {
  margin: auto -18px 0 !important;
  padding: 13px 12px 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #7c88a0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  backdrop-filter: blur(12px) !important;
}
#hero-flexee-glass .glass-interface.light-theme .glass-navbar {
  border-top: 1px solid #e8ecf3 !important;
  color: #98a2b3 !important;
  background: rgba(255, 255, 255, 0.96) !important;
}
#hero-flexee-glass .nav-tab { color: #7c88a0 !important; }
#hero-flexee-glass .nav-tab.active { color: #fff !important; background: rgba(255, 0, 122, 0.28) !important; }
#hero-flexee-glass .glass-interface.light-theme .nav-tab { color: #9aa5b5 !important; }
#hero-flexee-glass .glass-interface.light-theme .nav-tab.active { color: var(--fp-pink) !important; background: rgba(233, 30, 115, 0.1) !important; }

/* Homepage media teaser */
.media-feature-teaser {
  padding: 88px 0;
  background: linear-gradient(180deg, #fff, #f8f9ff);
}
.media-feature-teaser__card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--fp-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--fp-shadow);
}
.media-feature-teaser__visual {
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 20px;
  border-radius: 24px;
  background: #eef1fb;
  overflow: hidden;
}
.media-feature-teaser__visual img { width: 100%; height: 100%; object-fit: contain; }
.media-feature-teaser__copy h2 { margin: 12px 0 16px; color: var(--fp-ink); font-size: clamp(28px, 4vw, 40px); }
.media-feature-teaser__copy p { color: var(--fp-muted); }
.media-feature-teaser__meta { margin-top: 18px; color: #7a8799; font-size: 13px; }
.media-feature-teaser__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fp-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid #dbe1ec;
  border-radius: 999px;
  color: var(--fp-navy);
  background: #fff;
  font-weight: 700;
  transition: transform .2s, border-color .2s, color .2s;
}
.fp-link-button:hover { transform: translateY(-2px); border-color: var(--fp-pink); color: var(--fp-pink); }

/* F6S proof, intentionally on a light surface because the supplied PNG contains dark text. */
.f6s-proof {
  padding: 26px 0 !important;
  border-top: 1px solid var(--fp-line);
  border-bottom: 1px solid var(--fp-line);
  background: #fff;
}
.f6s-proof__link {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 520px) 1fr;
  gap: 24px;
  align-items: center;
  padding: 14px 24px;
  border-radius: 22px;
  color: var(--fp-ink);
  transition: background .2s, transform .2s;
}
.f6s-proof__link:hover { color: var(--fp-ink); background: #faf7ff; transform: translateY(-2px); }
.f6s-proof__link img { width: 100%; max-height: 118px; object-fit: contain; }
.f6s-proof__copy strong { display: block; color: var(--fp-navy); font-family: 'Outfit', sans-serif; font-size: 20px; }
.f6s-proof__copy span { display: block; margin-top: 5px; color: var(--fp-muted); font-size: 14px; }

/* Lighter footer */
footer#footer { color: var(--fp-muted) !important; background: #f4f6fc !important; }
/* Footer relies on Bootstrap's .container for side gutters, but pages on
   the lighter "sp-" design system (a-propos, actualites, articles index,
   confidentialite, cgu, and EN equivalents) don't load Bootstrap - without
   this, the footer content sits flush against the viewport edge there. */
#footer .container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; padding-inline: 0; }
#footer .footer-newsletter {
  color: var(--fp-ink) !important;
  background: linear-gradient(135deg, #f3f5ff, #fff2f8) !important;
}
#footer .footer-newsletter h4 { color: var(--fp-ink) !important; }
#footer .footer-newsletter p { color: var(--fp-muted) !important; }
#footer .newsletter-form input[type="email"] {
  border-color: #dce2ed !important;
  color: var(--fp-ink) !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(34, 49, 84, .06);
}
#footer .newsletter-form input[type="email"]::placeholder { color: #8d98aa !important; }
#footer .footer-top { background: #f8f9fd; }
#footer .footer-col h4 { color: var(--fp-ink) !important; }
#footer .footer-links-list a { color: #5b6a80 !important; }
#footer .footer-links-list a:hover { color: var(--fp-navy) !important; }
#footer .footer-address p,
#footer .footer-col p { color: var(--fp-muted) !important; }
#footer .footer-address strong { color: var(--fp-ink) !important; }
#footer .footer-social a {
  border-color: #dce2ed !important;
  color: var(--fp-navy) !important;
  background: #fff !important;
}
#footer .footer-social a:hover { border-color: var(--fp-navy) !important; color: #fff !important; background: var(--fp-navy) !important; }
#footer .footer-legal { color: #65738a !important; background: #eef1f8 !important; }
#footer .footer-copyright { border-color: #dde3ee !important; color: #778398 !important; background: #f4f6fc; }
#footer .footer-copyright strong { color: var(--fp-ink) !important; }
.footer-policy-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin-top: 10px; }
.footer-policy-links a,
.footer-policy-links button { padding: 0; border: 0; color: #52627a; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.footer-policy-links a:hover,
.footer-policy-links button:hover { color: var(--fp-navy); }

/* Improved registration modal */
#flexeeModal.registration-modal {
  position: fixed !important;
  inset: 0 !important;
  /* Above .cookie-consent (z-index: 5000) so the banner never overlaps the form. */
  z-index: 5200 !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 100% !important;
  padding: 24px;
  overflow: hidden;
  background: rgba(23, 35, 61, .52) !important;
  backdrop-filter: blur(8px);
}
.registration-dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100vh - 48px);
  margin: auto;
  padding: 32px;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(23, 35, 61, .25);
}
.registration-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--fp-line);
  border-radius: 50%;
  color: #627087;
  background: #fff;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.registration-field--full > fieldset,
fieldset.registration-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.registration-header { padding-right: 50px; margin-bottom: 24px; }
.registration-brand { display: flex; align-items: center; gap: 10px; }
.registration-brand img { width: auto; height: 30px; }
.registration-header h2 { margin: 0; color: var(--fp-ink); font-size: 24px; }
.registration-header p { margin: 8px 0 0; color: var(--fp-muted); font-size: 14px; }
.registration-kicker { display: inline-flex; margin-bottom: 11px; color: var(--fp-pink-dark); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.registration-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.registration-field { min-width: 0; }
.registration-field--full { grid-column: 1 / -1; }
.registration-field label,
.registration-legend { display: block; margin-bottom: 7px; color: #39475c; font-size: 13px; font-weight: 700; }
.registration-fields-intro { margin: 0 0 16px; padding: 11px 15px; border-radius: 13px; background: var(--fp-pink-soft); color: var(--fp-pink-dark); font-size: 13px; font-weight: 600; }
.registration-field input,
.registration-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1.5px solid #dce2ed;
  border-radius: 13px;
  color: var(--fp-ink);
  background: #fff;
  font: inherit;
}
.registration-field input:focus,
.registration-field select:focus { border-color: var(--fp-pink); box-shadow: 0 0 0 4px rgba(233,30,115,.08); outline: 0; }
.profile-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.profile-option { position: relative; margin: 0; }
.profile-option input { position: absolute; opacity: 0; pointer-events: none; }
.profile-option span {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 11px;
  border: 1.5px solid #dce2ed;
  border-radius: 15px;
  color: #45536a;
  background: #fafbfe;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.profile-option span small { color: #7d899a; font-size: 11px; font-weight: 500; }
.profile-option span i { display: block; margin-bottom: 2px; font-size: 18px; color: var(--fp-blue); }
.profile-option input:checked + span i { color: var(--fp-pink-dark); }
.profile-option input:checked + span { border-color: var(--fp-pink); color: var(--fp-pink-dark); background: var(--fp-pink-soft); box-shadow: 0 0 0 3px rgba(233,30,115,.08); }
.profile-option input:focus-visible + span { outline: 3px solid rgba(233,30,115,.25); outline-offset: 2px; }
.registration-conditional { padding: 15px; border: 1px solid #e5e9f1; border-radius: 16px; background: #fafbfe; }
#minor-redirect { margin: 4px 0 18px; text-align: center; }
#minor-redirect p { margin: 0 0 14px; color: #39475c; font-size: 13.5px; line-height: 1.5; }
#minor-redirect i { color: var(--fp-pink); margin-right: 4px; }
#minor-redirect .registration-submit { max-width: 320px; margin: 0 auto; }
.registration-note { display: flex; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 14px; color: #40506a; background: #f0f4ff; font-size: 12px; }
.registration-note i { color: var(--fp-navy); }
.consent-list { display: grid; gap: 10px; margin: 18px 0; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; color: #536178; font-size: 12px; line-height: 1.45; }
.consent-row input { width: 17px; height: 17px; margin-top: 1px; accent-color: var(--fp-pink); flex: 0 0 auto; }
.consent-row a { color: var(--fp-navy); text-decoration: underline; }
.turnstile-slot { min-height: 0; display: flex; justify-content: center; margin: 8px 0; }
.turnstile-slot:empty { margin: 0; }
.turnstile-message { padding: 10px 12px; border-radius: 10px; color: #9b1c31; background: #fff1f3; font-size: 12px; }
.registration-submit {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--fp-pink), #ff4a9b);
  box-shadow: 0 12px 28px rgba(233,30,115,.22);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.registration-submit:disabled,
.newsletter-form input[type="submit"]:disabled,
.php-email-form button[type="submit"]:disabled { cursor: wait; opacity: .58; }
.registration-status { min-height: 20px; margin: 10px 0 0; color: #a61b39; font-size: 13px; text-align: center; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.registration-confirmation { text-align: center; padding: 12px 16px; }
.registration-confirmation img { width: min(260px, 70%); }
.registration-confirmation h3 { color: var(--fp-ink); }
.contact-consent { margin: 4px 0 14px; }
.contact-consent .consent-row { font-size: 13px; }
.newsletter-consent-row { max-width: 640px; justify-content: center; margin: 12px auto 0; color: #59687e; }
.newsletter-consent-row a { color: var(--fp-navy); text-decoration: underline; }
.map-privacy-placeholder { height: 100%; min-height: 220px; display: grid; place-items: center; padding: 28px; color: var(--fp-muted); background: linear-gradient(145deg,#f1f4fb,#fff); text-align: center; }
.map-privacy-placeholder i { display: block; margin-bottom: 8px; color: var(--fp-pink); font-size: 28px; }
.map-privacy-placeholder a { color: var(--fp-navy); font-weight: 750; text-decoration: underline; }

/* Cookie choice */
.cookie-consent {
  position: fixed;
  z-index: 5000;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid #dde3ed;
  border-radius: 20px;
  color: var(--fp-ink);
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 70px rgba(23,35,61,.2);
  backdrop-filter: blur(14px);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent__text strong { display: block; margin-bottom: 4px; font-family: 'Outfit', sans-serif; }
.cookie-consent__text p { margin: 0; color: var(--fp-muted); font-size: 13px; line-height: 1.45; }
.cookie-consent__text a { color: var(--fp-navy); text-decoration: underline; }
.cookie-consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.cookie-consent__button { min-height: 42px; padding: 9px 16px; border: 1px solid #d6dde9; border-radius: 999px; color: var(--fp-navy); background: #fff; font-weight: 750; cursor: pointer; }
.cookie-consent__button--accept { border-color: var(--fp-pink); color: #fff; background: var(--fp-pink); }

/* Shared Media / Privacy pages */
.simple-page { min-height: 100vh; background: #fbfcff; color: var(--fp-ink); font-family: 'DM Sans', Arial, sans-serif; }
.simple-page * { box-sizing: border-box; }
.simple-page a { color: inherit; text-decoration: none; }
.simple-container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.simple-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(220,226,237,.9); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.simple-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.simple-header__logo img { display: block; height: 32px; width: auto; }
.simple-header__nav { display: flex; align-items: center; gap: 10px; }
.simple-header__nav a { padding: 9px 13px; border-radius: 999px; color: #56657c; font-size: 14px; font-weight: 700; }
.simple-header__nav a:hover,
.simple-header__nav a[aria-current="page"] { color: var(--fp-navy); background: #f1f3fb; }
.simple-lang { border: 1px solid #dce2ed; }
.page-hero { padding: 86px 0 62px; background: radial-gradient(circle at 80% 20%, rgba(233,30,115,.11), transparent 27%), linear-gradient(145deg,#fff,#f4f5ff); }
.page-hero__eyebrow { color: var(--fp-pink-dark); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.page-hero h1 { max-width: 820px; margin: 14px 0 18px; color: var(--fp-ink); font-family: 'Outfit', sans-serif; font-size: clamp(38px, 7vw, 68px); letter-spacing: -.04em; line-height: 1.03; }
.page-hero p { max-width: 720px; margin: 0; color: var(--fp-muted); font-size: 18px; }
.page-section { padding: 72px 0; }
.page-section--soft { background: #f5f7fc; }
.featured-press { display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; align-items: stretch; }
.featured-press__visual { min-height: 330px; display: grid; place-items: center; padding: 34px; border-radius: 28px; color: #fff; text-align: center; background: linear-gradient(145deg,#16336b,#345fa9 58%,#e91e73); box-shadow: var(--fp-shadow); }
.featured-press__visual span { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; opacity: .78; }
.featured-press__visual strong { display: block; margin-top: 12px; font: 800 clamp(30px,5vw,48px)/1.05 'Outfit',sans-serif; }
.featured-press__body { display: flex; flex-direction: column; justify-content: center; padding: 32px; border: 1px solid var(--fp-line); border-radius: 28px; background: #fff; box-shadow: 0 16px 48px rgba(34,49,84,.08); }
.press-tag { display: inline-flex; align-self: flex-start; padding: 6px 11px; border-radius: 999px; color: var(--fp-pink-dark); background: var(--fp-pink-soft); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.featured-press__body h2 { margin: 14px 0; font: 800 clamp(27px,4vw,40px)/1.12 'Outfit',sans-serif; color: var(--fp-ink); }
.featured-press__body p { color: var(--fp-muted); }
.press-meta { margin: 12px 0 22px; color: #7a8698; font-size: 13px; }
.press-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 34px; }
.press-card { overflow: hidden; border: 1px solid var(--fp-line); border-radius: 22px; background: #fff; box-shadow: 0 12px 34px rgba(34,49,84,.06); }
.press-card img { width: 100%; height: 180px; display: block; object-fit: cover; }
.press-card__body { padding: 20px; }
.press-card__body h3 { margin: 6px 0 10px; color: var(--fp-ink); font: 750 19px/1.25 'Outfit',sans-serif; }
.press-card__body p { color: var(--fp-muted); font-size: 14px; }
.press-card__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.text-link { color: var(--fp-navy) !important; font-size: 13px; font-weight: 800; text-decoration: underline !important; }
.legal-layout { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 42px; align-items: start; }
.legal-layout > *,
.legal-toc { min-width: 0; }
.legal-toc { position: sticky; top: 96px; padding: 22px; border: 1px solid var(--fp-line); border-radius: 20px; background: #fff; overflow-wrap: anywhere; }
.legal-toc strong { display: block; margin-bottom: 12px; font-family: 'Outfit',sans-serif; }
.legal-toc a { display: block; padding: 7px 0; color: var(--fp-muted); font-size: 13px; }
.legal-toc a:hover { color: var(--fp-pink); }
.legal-content { min-width: 0; }
.legal-draft { margin-bottom: 26px; padding: 16px 18px; border: 1px solid #f5c2d5; border-radius: 16px; color: #7e294b; background: #fff3f8; font-size: 14px; }
.legal-section { margin-bottom: 22px; padding: 27px; border: 1px solid var(--fp-line); border-radius: 22px; background: #fff; }
.legal-section h2 { margin: 0 0 13px; color: var(--fp-ink); font: 800 25px/1.2 'Outfit',sans-serif; }
.legal-section h3 { margin: 20px 0 8px; color: #31415a; font-size: 17px; }
.legal-section p,
.legal-section li { color: var(--fp-muted); font-size: 15px; line-height: 1.65; }
.legal-section ul { padding-left: 20px; }
.simple-footer { padding: 34px 0 90px; border-top: 1px solid var(--fp-line); color: var(--fp-muted); background: #f5f7fc; }
.simple-footer__inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.simple-footer a,
.simple-footer button { border: 0; padding: 0; color: var(--fp-navy); background: transparent; text-decoration: underline; cursor: pointer; font: inherit; }

@media (max-width: 991px) {
  #hero-flexee-glass .hero-info { margin-bottom: 42px !important; text-align: left !important; }
  #hero-flexee-glass .glass-phone-wrapper { padding-inline: 20px; }
  .media-feature-teaser__card,
  .featured-press,
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .press-grid { grid-template-columns: repeat(2,1fr); }
  .f6s-proof__link { grid-template-columns: 1fr; text-align: center; }
  .f6s-proof__link img { margin: 0 auto; }
}

@media (max-width: 700px) {
  #hero-flexee-glass.hero-flexee-deep-blue { padding: 112px 0 68px !important; }
  #hero-flexee-glass .brand-title { font-size: clamp(46px, 16vw, 64px) !important; }
  #hero-flexee-glass .brand-sub { font-size: 17px !important; }
  #hero-flexee-glass .hero-stats { gap: 14px !important; }
  #hero-flexee-glass .glass-phone-wrapper { padding-inline: 0; }
  #hero-flexee-glass .glass-interface,
  #hero-flexee-glass .glass-interface.light-theme { width: min(310px, calc(100vw - 50px)) !important; height: 600px !important; }
  .media-feature-teaser { padding: 58px 0; }
  .media-feature-teaser__card { padding: 22px; gap: 25px; }
  .registration-dialog { padding: 24px 18px; border-radius: 22px; }
  .registration-grid { grid-template-columns: 1fr; }
  .registration-field--full { grid-column: auto; }
  .profile-options { grid-template-columns: 1fr; }
  .profile-option span { min-height: 60px; }
  .cookie-consent { grid-template-columns: 1fr; bottom: 10px; }
  .cookie-consent__actions { justify-content: stretch; }
  .cookie-consent__button { flex: 1 1 170px; }
  .simple-container { width: min(100% - 28px, 1120px); }
  .simple-header__inner { min-height: 66px; }
  .simple-header__nav a:not(.simple-lang) { display: none; }
  .page-hero { padding: 62px 0 46px; }
  .page-hero p { font-size: 16px; }
  .page-section { padding: 50px 0; }
  .press-grid { grid-template-columns: 1fr; }
  .featured-press__visual { min-height: 240px; }
  .featured-press__body,
  .legal-section { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ===================================================================
   404 PAGE
   =================================================================== */
.error-404 .error-illustration { width: 100%; max-width: 560px; height: auto; }
.error-404 .error-kicker {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--fp-pink-soft);
  color: var(--fp-pink-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.error-404 .error-title { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--fp-ink); }
.error-404 .error-text { margin: 0 0 28px; max-width: 480px; color: #4b5563; }
.error-404 .error-title-en { margin: -8px 0 18px; font-size: 1.25rem; font-weight: 600; color: var(--fp-navy); }
.error-404 .error-text-en { display: block; margin-top: 10px; font-size: .95em; color: #6b7280; }
.error-404 .error-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; }
.error-404 .error-action-en { color: var(--fp-navy); font-weight: 600; }
.error-404 .error-action-en:hover { color: var(--fp-pink); }
@media (min-width: 992px) { .error-404 .error-action { justify-content: flex-start; } }
.error-404 .error-action .btn-primary { background: var(--fp-pink); color: #fff; box-shadow: 0 10px 24px rgba(217, 0, 114, .2); }
.error-404 .error-action .btn-primary:hover { background: var(--fp-pink-dark); color: #fff; }
.error-404 .error-links { margin: 24px 0 0; font-size: 15px; color: #6b7280; }
.error-404 .error-links a { color: var(--fp-navy); font-weight: 600; }
.error-404 .error-links a:hover { color: var(--fp-pink); }

@media (max-width: 991.98px) {
  .error-404 .error-text { margin-inline: auto; }
  .error-404 .error-illustration { max-width: 420px; }
}
