/*!
 * Template Fialeo (parent) — feuille de style principale
 * (C) 2026 Fialeo — GPL-2.0-or-later
 *
 * 1. Polices          5. En-tête            9. Cartes solutions
 * 2. Variables        6. Boutons           10. Contact
 * 3. Base             7. Sections          11. Pages de contenu (légales…)
 * 4. Grille           8. Hero              12. Pied de page, erreur
 *
 * Templates enfants : surcharger les variables de :root (ex. --fl-color-primary)
 * dans leur propre feuille, sans dupliquer les règles.
 */

/* 1. Polices (OFL, sous-ensemble latin, fichiers variables 400-600) ------- */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/outfit-latin.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
}

/* 2. Variables de charte ---------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --fl-color-primary: #1d5a9e;
  --fl-color-primary-hover: #18487f;
  --fl-color-primary-soft: #eaf1fa;
  --fl-color-secondary: #a3239f;
  --fl-color-secondary-hover: #8e1f8b;
  --fl-color-secondary-soft: #f5eaf5;
  --fl-color-tertiary: #5b45b0;
  --fl-color-tertiary-soft: #efedfa;

  /* Texte, fonds, bordures */
  --fl-text: #1f2433;
  --fl-text-strong: #3c4257;
  --fl-text-muted: #5a6072;
  --fl-text-soft: #6b7185;
  --fl-bg: #fff;
  --fl-bg-alt: #f8f9fc;
  --fl-border: #e6e9f0;
  --fl-border-light: #eceef3;
  --fl-border-strong: #d5d9e3;
  --fl-gradient-soft: linear-gradient(135deg, #edf3fb 0%, #f6eef8 100%);
  --fl-gradient-brand: linear-gradient(135deg, var(--fl-color-primary) 0%, var(--fl-color-secondary) 100%);
  --fl-gradient-section: linear-gradient(180deg, #edf3fb 0%, #f6f3fb 30%, #fff 72%);

  /* Typographie */
  --fl-font-heading: "Outfit", system-ui, sans-serif;
  --fl-font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fl-fs-h1: clamp(2.25rem, 1.35rem + 3.4vw, 3.875rem);
  --fl-fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --fl-fs-h3: clamp(1.5rem, 1.3rem + .8vw, 1.875rem);
  --fl-fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fl-fs-body: 1rem;
  --fl-fs-small: .875rem;

  /* Espacements, formes */
  --fl-container: 1200px;
  --fl-gutter: 16px;
  --fl-gap: 24px;
  --fl-section-y: clamp(4rem, 2.5rem + 6vw, 7rem);
  --fl-radius-sm: 12px;
  --fl-radius: 16px;
  --fl-radius-lg: 24px;
  --fl-radius-xl: 32px;
  --fl-radius-pill: 999px;
  --fl-shadow: 0 1px 2px rgb(31 36 51 / .04), 0 8px 24px rgb(31 36 51 / .05);
  --fl-shadow-pop: 0 4px 12px rgb(31 36 51 / .08), 0 16px 40px rgb(31 36 51 / .10);
  --fl-header-h: 88px;
  --fl-focus: 0 0 0 3px rgb(29 90 158 / .35);
}

@media (min-width: 768px) {
  :root {
    --fl-gutter: 32px;
  }
}

/* 3. Base ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--fl-bg);
  color: var(--fl-text);
  font-family: var(--fl-font-body);
  font-size: var(--fl-fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--fl-color-primary);
  text-underline-offset: .15em;
}

a:hover {
  color: var(--fl-color-secondary-hover);
}

:focus-visible {
  outline: none;
  box-shadow: var(--fl-focus);
  border-radius: 4px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 .5em;
  color: var(--fl-text);
  font-family: var(--fl-font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
}

h1 {
  font-size: var(--fl-fs-h1);
  line-height: 1.08;
  letter-spacing: -.025em;
}

h2 {
  font-size: var(--fl-fs-h2);
}

h3 {
  font-size: var(--fl-fs-h3);
  letter-spacing: -.015em;
}

p {
  margin: 0 0 1em;
}

.fl-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.fl-skip {
  position: absolute;
  top: -100px;
  left: var(--fl-gutter);
  z-index: 100;
  padding: .75rem 1.25rem;
  border-radius: var(--fl-radius-pill);
  background: var(--fl-color-primary);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.fl-skip:focus {
  top: 12px;
  color: #fff;
}

/* 4. Grille ----------------------------------------------------------------- */
.fl-container {
  width: 100%;
  max-width: calc(var(--fl-container) + 2 * var(--fl-gutter));
  margin-inline: auto;
  padding-inline: var(--fl-gutter);
}

.fl-messages:empty,
.fl-messages:has(#system-message-container:empty) {
  display: none;
}

/* 5. En-tête ---------------------------------------------------------------- */
.fl-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / .94);
  border-bottom: 1px solid var(--fl-border-light);
  backdrop-filter: saturate(180%) blur(8px);
}

.fl-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 72px;
  padding-block: 12px;
}

.fl-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--fl-color-primary);
  text-decoration: none;
}

.fl-brand:hover {
  color: var(--fl-color-primary-hover);
}

.fl-brand__logo {
  width: 46px;
  height: 47px;
  object-fit: contain;
}

.fl-brand__name {
  font-family: var(--fl-font-heading);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -.01em;
}

.fl-menu {
  display: flex;
  align-items: center;
  gap: 16px 36px;
}

.fl-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fl-nav a {
  color: var(--fl-text-strong);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}

.fl-nav a:hover,
.fl-nav .current > a,
.fl-nav [aria-current] {
  color: var(--fl-color-primary);
}

.fl-header__tools {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Sélecteur de langue « FR · EN » */
.fl-lang__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fl-lang__item + .fl-lang__item::before {
  content: "·";
  margin-inline: 6px;
  color: var(--fl-text-soft);
}

.fl-lang__link {
  color: var(--fl-text-soft);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
}

a.fl-lang__link:hover {
  color: var(--fl-color-primary);
}

.fl-lang__link.is-active {
  color: var(--fl-text);
}

/* Menu « Se connecter » (details/summary : fonctionne sans JavaScript) */
.fl-login {
  position: relative;
}

.fl-login > summary {
  list-style: none;
  cursor: pointer;
}

.fl-login > summary::-webkit-details-marker {
  display: none;
}

.fl-login__chevron {
  transition: transform .2s ease;
}

.fl-login[open] .fl-login__chevron {
  transform: rotate(180deg);
}

.fl-login__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  min-width: 260px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--fl-bg);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius);
  box-shadow: var(--fl-shadow-pop);
}

.fl-login__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--fl-radius-sm);
  color: var(--fl-text);
  text-decoration: none;
}

.fl-login__link:hover,
.fl-login__link:focus-visible {
  background: var(--fl-bg-alt);
  color: var(--fl-text);
}

.fl-login__name {
  font-family: var(--fl-font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
}

.fl-login__tagline {
  color: var(--fl-text-muted);
  font-size: .875rem;
}

/* Bouton du menu mobile (affiché par template.js) */
.fl-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--fl-border-strong);
  border-radius: var(--fl-radius-pill);
  background: var(--fl-bg);
  color: var(--fl-text);
  cursor: pointer;
}

.fl-menu-toggle__bar,
.fl-menu-toggle__bar::before,
.fl-menu-toggle__bar::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.fl-menu-toggle__bar {
  position: relative;
}

.fl-menu-toggle__bar::before,
.fl-menu-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.fl-menu-toggle__bar::before {
  top: -6px;
}

.fl-menu-toggle__bar::after {
  top: 6px;
}

.fl-menu-toggle[aria-expanded="true"] .fl-menu-toggle__bar {
  background: transparent;
}

.fl-menu-toggle[aria-expanded="true"] .fl-menu-toggle__bar::before {
  transform: translateY(6px) rotate(45deg);
}

.fl-menu-toggle[aria-expanded="true"] .fl-menu-toggle__bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 959.98px) {
  .fl-header.has-js .fl-menu-toggle {
    display: inline-flex;
  }

  .fl-menu {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding-block: 8px 12px;
  }

  .fl-header.has-js .fl-menu:not(.is-open) {
    display: none;
  }

  .fl-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .fl-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--fl-border-light);
    font-size: 1.0625rem;
  }

  .fl-header__tools {
    justify-content: space-between;
  }

  .fl-login__list {
    right: 0;
    left: auto;
  }
}

/* 6. Boutons ----------------------------------------------------------------- */
.fl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: var(--fl-radius-pill);
  font-family: var(--fl-font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.fl-btn--sm {
  min-height: 42px;
  padding: 10px 20px;
  font-size: .9375rem;
}

.fl-btn--primary {
  background: var(--fl-color-primary);
  color: #fff;
}

.fl-btn--primary:hover,
.fl-btn--primary:focus-visible,
.fl-login[open] > .fl-btn--primary {
  background: var(--fl-color-primary-hover);
  color: #fff;
}

.fl-btn--ghost {
  border-color: var(--fl-border-strong);
  background: var(--fl-bg);
  color: var(--fl-color-primary);
}

.fl-btn--ghost:hover,
.fl-btn--ghost:focus-visible {
  border-color: var(--fl-color-primary);
  color: var(--fl-color-primary-hover);
}

/* Petits éléments éditoriaux utilisables dans les modules */
.fl-eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border-radius: var(--fl-radius-pill);
  background: #f3eaf6;
  color: var(--fl-color-secondary);
  font-size: var(--fl-fs-small);
  font-weight: 500;
}

.fl-kicker {
  margin-bottom: 14px;
  color: var(--fl-color-secondary);
  font-size: var(--fl-fs-small);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fl-lead {
  color: var(--fl-text-muted);
  font-size: var(--fl-fs-lead);
  line-height: 1.65;
}

.fl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* 7. Sections --------------------------------------------------------------- */
.fl-section {
  padding-block: var(--fl-section-y);
}

.fl-section--alt,
.fl-section--about,
.fl-section--approach {
  background: var(--fl-bg-alt);
}

.fl-section__title {
  margin-bottom: 1.5rem;
}

.fl-section__head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.fl-section__head p:last-child {
  margin-bottom: 0;
}

.fl-section__head p:not(.fl-kicker) {
  color: var(--fl-text-muted);
  font-size: var(--fl-fs-lead);
}

/* 8. Hero ------------------------------------------------------------------- */
.fl-hero {
  padding-block: clamp(3rem, 1.5rem + 6vw, 6rem) clamp(3.5rem, 2rem + 6vw, 7rem);
  overflow: hidden;
}

.fl-hero__grid {
  display: grid;
  gap: 40px var(--fl-gap);
  align-items: center;
}

.fl-hero__text > * {
  margin-bottom: 28px;
}

.fl-hero__text > :last-child {
  margin-bottom: 0;
}

.fl-hero__text h1 {
  margin-bottom: 24px;
}

.fl-hero__text .fl-lead {
  max-width: 560px;
}

.fl-hero__text .fl-actions {
  padding-top: 8px;
}

.fl-hero__media {
  display: flex;
  justify-content: center;
}

.fl-hero__figure {
  position: relative;
  width: 100%;
  max-width: 620px;
  margin: 0;
}

/* Cadre carré quelle que soit l'image choisie dans le module (recadrage centré) ;
   un peu moins haut sur mobile pour ne pas repousser la suite de la page. */
.fl-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--fl-radius-lg);
  box-shadow: var(--fl-shadow-pop);
}

/* Pastille posée sur l'image (texte du paragraphe .fl-eyebrow du module) */
.fl-hero__pill {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 40px);
  padding: 10px 18px;
  border-radius: var(--fl-radius-pill);
  background: rgb(255 255 255 / .94);
  box-shadow: 0 4px 16px rgb(31 36 51 / .14);
  color: var(--fl-color-secondary);
  font-size: var(--fl-fs-small);
  font-weight: 600;
  line-height: 1.3;
  backdrop-filter: blur(6px);
}

.fl-hero__pill::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fl-gradient-brand);
}

@media (min-width: 600px) {
  .fl-hero__figure img {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 960px) {
  .fl-hero__figure {
    max-width: 540px;
  }

  .fl-hero__pill {
    left: -24px;
    bottom: 32px;
  }
}

@media (min-width: 960px) {
  .fl-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .fl-hero__text {
    grid-column: span 6;
  }

  .fl-hero__media {
    grid-column: 7 / span 6;
    justify-content: flex-end;
  }
}

/* 9. Cartes solutions ---------------------------------------------------------- */
/* Léger dégradé partant du haut : sépare le bloc du hero, les cartes blanches ressortent */
.fl-solutions {
  background: var(--fl-gradient-section);
}

/* Logos en noir (silhouette : fond transparent requis), couleurs réelles au survol
   (ou au focus clavier) de la carte */
.fl-card__logo {
  display: block;
  width: auto;
  max-width: 180px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0);
  opacity: .9;
  transition: filter .25s ease, opacity .25s ease;
}

.fl-card:hover .fl-card__logo,
.fl-card:focus-within .fl-card__logo {
  filter: none;
  opacity: 1;
}

@media (hover: none) {
  .fl-card__logo {
    filter: none;
    opacity: 1;
  }
}

.fl-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--fl-gap);
}

.fl-card {
  --fl-card-accent: var(--fl-color-primary);
  --fl-card-soft: var(--fl-color-primary-soft);

  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 1.5rem + 1.5vw, 44px);
  border: 1px solid var(--fl-border);
  border-radius: var(--fl-radius-lg);
  background: var(--fl-bg);
  box-shadow: var(--fl-shadow);
}

.fl-card--secondary {
  --fl-card-accent: var(--fl-color-secondary);
  --fl-card-soft: var(--fl-color-secondary-soft);
}

.fl-card--tertiary {
  --fl-card-accent: var(--fl-color-tertiary);
  --fl-card-soft: var(--fl-color-tertiary-soft);
}

.fl-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.fl-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--fl-radius);
  background: var(--fl-card-soft);
  color: var(--fl-card-accent);
}

.fl-card__title {
  margin: 0;
}

.fl-card__tagline {
  margin: -8px 0 0;
  color: var(--fl-card-accent);
  font-family: var(--fl-font-heading);
  font-size: 1.1875rem;
  font-weight: 500;
}

.fl-card__text,
.fl-card__text p {
  margin: 0;
  color: var(--fl-text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.fl-card__points {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.fl-card__points li {
  position: relative;
  padding-left: 28px;
  color: var(--fl-text-strong);
}

.fl-card__points li::before {
  content: "";
  position: absolute;
  top: .3em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--fl-card-soft);
}

.fl-card__points li::after {
  content: "";
  position: absolute;
  top: calc(.3em + 5px);
  left: 6px;
  width: 6px;
  height: 4px;
  border-bottom: 2px solid var(--fl-card-accent);
  border-left: 2px solid var(--fl-card-accent);
  transform: rotate(-45deg);
}

.fl-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
}

/* 10. Contact ------------------------------------------------------------------ */
.fl-contact {
  padding-top: 0;
}

.fl-contact__card {
  display: grid;
  gap: 32px var(--fl-gap);
  padding: clamp(28px, 1rem + 4vw, 72px);
  border-radius: var(--fl-radius-xl);
  background: var(--fl-gradient-soft);
}

.fl-contact__intro > :last-child {
  margin-bottom: 0;
}

.fl-contact__intro h2 {
  margin-bottom: 20px;
  font-size: clamp(1.875rem, 1.35rem + 2vw, 2.875rem);
  line-height: 1.1;
}

.fl-contact__intro p:not(.fl-kicker):not(.fl-actions) {
  max-width: 460px;
  color: var(--fl-text-muted);
  font-size: 1.125rem;
}

.fl-contact__details {
  display: grid;
  gap: 12px;
  align-content: center;
}

.fl-contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 18px 22px;
  border-radius: var(--fl-radius);
  background: var(--fl-bg);
}

.fl-contact__label {
  color: var(--fl-text-soft);
  font-size: .8125rem;
  font-weight: 500;
}

.fl-contact__item a {
  color: var(--fl-text);
  font-size: 1.1875rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.fl-contact__item a:hover {
  color: var(--fl-color-primary);
}

.fl-contact__item .fl-contact__extra {
  margin-top: 4px;
  color: var(--fl-color-primary);
  font-size: .9375rem;
  font-weight: 500;
}

.fl-contact__item .fl-contact__extra:hover {
  color: var(--fl-color-primary-hover);
  text-decoration: underline;
}

@media (min-width: 960px) {
  .fl-contact__card {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .fl-contact__intro {
    grid-column: span 6;
  }

  .fl-contact__details {
    grid-column: 8 / span 5;
  }
}

/* 11. Pages de contenu (articles : pages légales…) ---------------------------- */
.fl-page {
  max-width: calc(800px + 2 * var(--fl-gutter));
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.fl-page h1,
.fl-page .page-header h1,
.fl-page .page-header h2 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.fl-page h2 {
  margin-top: 2em;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
}

.fl-page h3 {
  margin-top: 1.5em;
  font-size: 1.25rem;
}

.fl-page p,
.fl-page li {
  color: var(--fl-text-strong);
}

.fl-page ul,
.fl-page ol {
  padding-left: 1.25em;
}

.fl-page li + li {
  margin-top: .35em;
}

.fl-page .article-info,
.fl-page .icons {
  display: none;
}

/* 12. Pied de page, erreur ------------------------------------------------------- */
.fl-footer {
  border-top: 1px solid var(--fl-border-light);
  background: var(--fl-bg-alt);
  color: var(--fl-text-soft);
  font-size: var(--fl-fs-small);
}

.fl-footer__top {
  padding-block: 40px 8px;
}

.fl-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px;
}

.fl-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.fl-footer__brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.fl-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fl-footer__legal a {
  color: var(--fl-text-soft);
  text-decoration: none;
}

.fl-footer__legal a:hover {
  color: var(--fl-color-primary);
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .fl-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.fl-error {
  text-align: center;
}

.fl-error .fl-brand {
  margin-bottom: 32px;
}

.fl-error__code {
  margin-bottom: .25em;
  background: var(--fl-gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(4rem, 3rem + 6vw, 7rem);
}

.fl-error__message {
  color: var(--fl-text-muted);
  font-size: var(--fl-fs-lead);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }
}
