/* Base du site Flymetric : remplace les styles généraux que fournissait Site Creator.
   Le design des blocs (classes fm-*) est dans src/global/design.html et dans chaque bloc. */

:root {
  --color1: #eeaf00;
  --color2: #1d1e20;
  --color1_bw: rgba(255, 255, 255, .8);
  --color2_125: #161718;
  --font1: "Space Grotesk";
  --font2: "Inter";
  --font3: Helvetica Neue, sans-serif;
}

html { scroll-behavior: smooth !important; }

/* Comme Site Creator : certains blocs pleine largeur (100vw) dépassent de quelques pixels */
html, body { overflow-x: hidden; }

body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#website {
  font-size: 1.1rem;
  font-family: var(--font2), sans-serif;
  letter-spacing: -.02em;
}
#website p { font-family: var(--font2), sans-serif; }
#website h1, #website h2, #website h3,
#website h4, #website h5, #website h6 {
  font-family: var(--font1), sans-serif;
  font-weight: 700;
  letter-spacing: -.03em;
}
h1, h2, h3, .h1, .h2, .h3 { margin-top: 10px; margin-bottom: 10px; }

#contentArea { min-height: 75vh; color: rgba(0, 0, 0, .6); }
#contentArea h1, #contentArea h2, #contentArea h3,
#contentArea h4, #contentArea h5, #contentArea h6 { color: #000; }
#contentArea a:not(.btn), #contentArea a.btn-link { color: var(--color1); }

/* Largeurs du conteneur comme Site Creator : le palier 1320 px arrive à 1444 px (et non 1400 px). */
@media (min-width: 1200px) { #website .container { max-width: 1140px; } }
@media (min-width: 1444px) { #website .container { max-width: 1320px; } }

section.kedit { position: relative; width: 100%; padding: 100px 0; }
@media (max-width: 767px) { section.kedit { padding: 40px 0; } }

/* Blocs sombres sans design fm (ex. mentions légales) */
#website .keditDark { color: rgba(255, 255, 255, .7); }
#website .keditDark strong { color: rgba(255, 255, 255, .9); }
#contentArea .keditDark h1, #contentArea .keditDark h2, #contentArea .keditDark h3 { color: #fff; }
.fm-legal h2 { margin-top: 16px; }

.keditLayer_header, .keditLayer_overlay {
  z-index: 1; pointer-events: none; height: 100px;
  position: absolute; top: -1px; left: -1px; right: -1px;
}
.keditLayer_footer {
  z-index: 1; pointer-events: none; height: 100px;
  position: absolute; bottom: -1px; left: -1px; right: -1px;
}
.keditLayer_header.h-100, .keditLayer_footer.h-100 { height: calc(100% + 2px) !important; }
.keditLayer_header svg, .keditLayer_footer svg { vertical-align: bottom; width: 100%; height: 100%; display: flex; }
