/* BASE */
:root {
  --color-primary: #0D5B86;
  --color-primary-2: #0d5b8605;
  --color-primary-4: #0d5b860a;
  --color-primary-6: #0d5b860f;
  --color-primary-8: #0d5b8614;
  --color-secondary: #FFEEB7;
  --color-dark: #111827;
  --color-light: #F8F7F4;
  --bg-light: #FFFDFA;
  --bg-dark: #15171e;
}


/* TYPOGRAPHIE */

.font-dm-sans {
font-family: "DM Sans", sans-serif;
}

.font-dm-mono {
font-family: "DM Mono", monospace;
}

.font-fraunces {
font-family: "Fraunces", serif;
}

.font-syne {
font-family: "Syne", sans-serif;
}


/* ----- à effacer  ------ */

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

/* ----- à effacer  ------ */


html {
  scroll-behavior: smooth;
  font-size: 1em;
  background: var(--bg-light);
}

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

/* ACCESSIBILITÉ */

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 5px;
}


/* NAVIGATION */

nav a{
  position: relative;
  transition: opacity 200ms ease;
}

nav a:hover {
  opacity: 0.5;
}

/* EYEBROW */

.eyebrow {
font-family: "DM Mono", monospace;
line-height: 1.5rem;
font-weight: 500;
text-transform: uppercase;
}

.eyebrow-dark {
color: rgb(163 163 163);
}


h1 .highlight,
h2 .highlight{
  color: var(--color-primary);
  font-style: italic;
  font-family: "Fraunces", serif;
  font-weight: normal;
  font-size: 1.15em;
}

p{
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  color: var(--color-dark);
}

b{
  color: var(--color-primary);
}


.principe-card{
  width: calc((100% - 6rem) / 4);
}

/* LOGOS */
.logo-clients{
  gap: 1rem;
}

.logo-clients div{
  width: calc((100% - 6rem) / 7);
  margin-top: 25px;
  margin-bottom: 25px;
}

.logo-clients img{
  height: auto;
  max-height: 60px;
  width: auto;
  max-width: 140px;
  margin: auto;
  vertical-align: middle;
}

/* SERVICES */

.service-card {
background-color: rgb(23 23 23);
padding: 2rem;
min-height: 25rem;
}

@media (min-width: 768px) {


.service-card {
    padding: 2.5rem;
}


}

/* FORMULAIRE */

.form-label {
display: block;
margin-bottom: 0.75rem;


font-size: 0.875rem;
line-height: 1.25rem;
font-weight: 500;


}

/*
Champ standard
*/

.form-input {
width: 100%;
box-sizing: border-box;


border: 0;
border-bottom: 1px solid rgb(212 212 212);

background-color: transparent;

padding-top: 0.75rem;
padding-bottom: 0.75rem;

font-family: "DM Sans", sans-serif;
font-size: 1rem;
line-height: 1.5rem;

outline: none;

transition:
    border-color 200ms ease,
    box-shadow 200ms ease;


}

/* Champ sombre */

.form-input-dark {
color: white;
border-bottom-color: rgb(64 64 64);
}

.form-input-dark::placeholder {
color: rgb(115 115 115);
}

.form-input-dark:focus {
border-bottom-color: white;
box-shadow: 0 1px 0 white;
}

/*
Validation
*/

.form-input:invalid:not(:placeholder-shown) {
  border-bottom-color: rgb(220 38 38);
}

/* CHECKBOX */

input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  accent-color: currentColor;
}

/* HONEYPOT Ce champ est volontairement hors écran pour les visiteurs.
Il reste présent dans le DOM afin que les robots puissent
éventuellement le détecter/remplir. */

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* SÉLECTION */

::selection {
  background-color: var(--color-primary);
  color: white;
}


/* REDUCTION DES ANIMATIONS 
Respecte les préférences d'accessibilité des utilisateurs.
*/

@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;
      scroll-behavior: auto !important;
  }


}
