

@charset "UTF-8";

/* Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  padding-top: 15px;
  color: #111;
  background: #fff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

main, section, header, footer, nav {
  display: block;
}

img, picture, video, canvas, svg {
  max-width: 100%;
}

img {
  border-style: none;
}

button, input, textarea, select {
  margin: 0;
  font: inherit;
}

button, [type="button"], [type="submit"] {
  -webkit-appearance: button;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #0a21fb;
  text-decoration: none;
}

a:hover {
  color: #0419e7;
}

p {
  margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
  color: inherit;
  font-family: Montserrat, Arial, sans-serif;
  line-height: 1.2;
}

h1 { font-size: 6rem; font-weight: 700; line-height: 1.1; }
h2 { font-size: 3rem; font-weight: 700; line-height: 1.1; }
h3 { font-size: 1.875rem; font-weight: 400; }
h4 { font-size: 1.5rem; font-weight: 400; }
h5 { font-size: 1.25rem; font-weight: 700; }
h6 { font-size: 1.125rem; font-weight: 300; text-transform: uppercase; }

/* Balise personnalisee utilisee dans banner.php */
h7 {
  display: block;
  margin: 0 10px 20px;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* Classes Nicepage encore presentes dans index.php */
.u-body {
  font-size: 1rem;
  line-height: 1.6;
}

.u-clearfix::after {
  display: table;
  clear: both;
  content: "";
}

.u-white {
  color: #111;
  background-color: #fff;
}

.u-header {
  position: relative;
  width: 100%;
}

.u-header .u-sheet-1 {
  min-height: 66px;
}

.u-sheet {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.u-valign-middle-md,
.u-valign-middle-sm,
.u-valign-middle-xl,
.u-valign-middle-xs {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.u-sticky {
  position: sticky;
  top: 0;
  z-index: 20;
}

/* Conteneur principal du site */
.container-responsive {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Accessibilite */
:focus-visible {
  outline: 3px solid rgba(10, 33, 251, 0.45);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

/* Responsive */
@media (max-width: 991px) {
  h1 { font-size: 4.5rem; }
  h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  body {
    margin-top: -15px;
    padding-top: 0;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  .container-responsive {
    width: 100%;
    max-width: 100%;
    padding: 10px 0;
  }

  .u-header .u-sheet-1 {
    min-height: 50px;
  }
}

@media (min-width: 1600px) {
  .container-responsive {
    width: 90%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
