@charset "UTF-8";
/*=============================================================
  Fonts
=============================================================*/
@import "../fonts/Aclonica/Aclonica.css";
@import "../fonts/Roboto/Roboto.css";
/*=============================================================
  Variables
=============================================================*/
:root {
  --couleur-blanc: #FAFAFA;
  --couleur-gris-clair: #D3D3D3;
  --couleur-noir: #2C2C2C;
  --couleur-bleu-fonce: #012e83;
  --couleur-orange: #E0AD26;
  --police-h2: 48px;
  --police-h3: 32px;
  --transition: all 0.3s ease;
}

/*=============================================================
  Génériques
=============================================================*/
.wrapper {
  width: clamp(320px, 80vw, 1200px);
  margin: auto;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-center {
  justify-content: center;
}

.flex-evenly {
  justify-content: space-evenly;
}

.flex-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-reverse-wrap {
  flex-wrap: wrap-reverse;
}

html {
  background-color: #FAFAFA;
  font-family: "Aclonica", sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

main {
  position: relative;
  margin-top: 96px;
  overflow: hidden;
}

h1 {
  font-size: 24px;
  align-self: center;
}
h1 a {
  width: 100%;
  height: 100%;
  display: block;
  color: var(--couleur-blanc);
  text-decoration: none;
}

h3 {
  font-size: var(--police-h3);
}

ul {
  list-style-type: none;
  padding: 0;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

button, input[type=submit] {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 138px;
  height: 48px;
  padding: 0 12px;
  color: var(--couleur-noir);
  background-color: var(--couleur-orange);
  border: none;
  font-size: 16px;
  font-family: "Aclonica", sans-serif;
  transition: var(--transition);
}
button a, input[type=submit] a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  color: var(--couleur-noir);
}

button.btn.btn_secondaire {
  background: var(--couleur-blanc);
}

button:hover, input[type=submit]:hover {
  box-shadow: 4px 4px var(--couleur-noir);
}

/*=============================================================
  Layout
=============================================================*/
header {
  width: 100%;
  height: 96px;
  top: 0;
  left: 0;
  position: fixed;
  color: var(--couleur-blanc);
  background: var(--couleur-bleu-fonce);
}
header nav {
  height: 100%;
  animation: navbar 4s linear;
}
@keyframes navbar {
  0% {
    opacity: 0;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
header ul.liste_pages {
  gap: 32px;
  margin: 0;
}
header ul.liste_pages li {
  height: 96px;
}
header ul.liste_pages li a {
  display: block;
  line-height: 96px;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  color: var(--couleur-blanc);
  transition: all 0.3s ease;
}
header ul.liste_pages li:hover a, header ul.liste_pages li.actif a {
  color: var(--couleur-orange);
  text-shadow: 4px 4px var(--couleur-noir);
}
header svg {
  display: none;
  width: 56px;
  height: 56px;
}

body:not(#accueil) header nav.navbar {
  animation: none;
}

/**
 * HERO section
 */
section.hero {
  background-color: var(--couleur-bleu-fonce);
}
section.hero div.wrapper {
  position: relative;
}
section.hero div.wrapper h2.titre_page {
  line-height: 55px;
  padding-top: 20vh;
  margin: 0;
  color: var(--couleur-blanc);
  font-size: var(--police-h2);
  text-align: center;
  animation: 2s explosion_h2 ease;
}
@keyframes explosion_h2 {
  0% {
    font-size: 0;
  }
  50% {
    font-size: calc(var(--police-h2) + 16px);
  }
  100% {
    font-size: var(--police-h2);
  }
}
section.hero div.wrapper h3.sous_titre_page {
  height: 36px;
  margin: 0 0 56px 0;
  color: var(--couleur-blanc);
  text-align: center;
  animation: 2.5s explosion_h3 ease;
}
@keyframes explosion_h3 {
  0% {
    font-size: 0;
  }
  33% {
    font-size: 0;
  }
  100% {
    font-size: var(--police-h3);
  }
}
section.hero div.wrapper p {
  min-height: 70px;
  margin: 0 0 32px 0;
  color: #A7A7A7;
  font-size: 20px;
  font-family: "Roboto", sans-serif;
  text-align: center;
  animation: 4s explosion_p ease;
}
@keyframes explosion_p {
  0% {
    opacity: 0;
  }
  66% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
section.hero div.wrapper .boutons {
  padding-bottom: 25vh;
  gap: 16px;
}
section.hero div.wrapper .boutons button {
  animation: 4.5s ease;
}
section.hero div.wrapper .boutons button:nth-child(1) {
  animation-name: apparition_btn1;
}
section.hero div.wrapper .boutons button:nth-child(2) {
  animation-name: apparition_btn2;
}
@keyframes apparition_btn1 {
  0% {
    opacity: 0;
    transform: translateY(200px);
  }
  66% {
    opacity: 0;
    transform: translateY(200px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes apparition_btn2 {
  0% {
    opacity: 0;
    transform: translateY(200px);
  }
  71% {
    opacity: 0;
    transform: translateY(200px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
section.hero div.wrapper .image {
  position: absolute;
  background-color: #D9D9D9;
  animation: 5s ease-out;
}
section.hero div.wrapper .image.hero_img1 {
  top: 65px;
  left: -96px;
  width: 224px;
  height: 224px;
  animation-name: img1;
  filter: saturate(0);
}
@keyframes img1 {
  0% {
    opacity: 0;
    left: -400px;
  }
  77% {
    opacity: 0;
    left: -400px;
  }
  100% {
    opacity: 1;
    left: -96px;
  }
}
section.hero div.wrapper .image.hero_img2 {
  top: 324px;
  left: -64px;
  width: 256px;
  height: 144px;
  animation-name: img2;
  filter: saturate(0) brightness(0.8);
}
@keyframes img2 {
  0% {
    opacity: 0;
    left: -400px;
  }
  77% {
    opacity: 0;
    left: -400px;
  }
  100% {
    opacity: 1;
    left: -64px;
  }
}
section.hero div.wrapper .image.hero_img3 {
  top: 48px;
  right: -128px;
  width: clamp(250px, 10vw, 309px);
  height: min(400px, 70vh);
  animation-name: img3;
}
@keyframes img3 {
  0% {
    opacity: 0;
    right: -400px;
  }
  80% {
    opacity: 0;
    right: -400px;
  }
  100% {
    opacity: 1;
    right: -128px;
  }
}

body:not(#accueil) section.hero div.wrapper h2.titre_page,
body:not(#accueil) section.hero div.wrapper h3.sous_titre_page,
body:not(#accueil) section.hero div.wrapper p,
body:not(#accueil) section.hero div.wrapper .boutons button {
  animation: none;
}

/**
 * PRESENTATION section
 */
section.presentation {
  padding: 160px 0;
  position: relative;
}
section.presentation h3.titre_section {
  margin: 0 0 32px 0;
  color: var(--couleur-noir);
}
section.presentation p {
  width: 576px;
  color: #767373;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  margin-bottom: 16px;
}
section.presentation button {
  margin-top: 42px;
}
section.presentation .image {
  position: absolute;
  background-color: #D9D9D9;
}
section.presentation .image.presentation_img1 {
  top: 224px;
  right: 0;
  width: 352px;
  height: 480px;
}

/**
 * CONTACT section
 */
section.formulaire {
  padding: 160px 0;
  background-color: #D9D9D9;
}
section.formulaire h3.titre_section {
  margin: 0 0 32px 0;
  color: var(--couleur-noir);
}
section.formulaire form {
  width: calc(50% - 32px);
  padding: 16px 32px 0 0;
}
section.formulaire form .champ {
  margin-bottom: 32px;
}
section.formulaire form .champ label {
  display: block;
  margin: 0 0 6px 0;
  color: var(--couleur-noir);
}
section.formulaire form .champ input, section.formulaire form .champ textarea {
  width: calc(100% - 56px);
  height: 56px;
  line-height: 56px;
  padding: 0 28px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  color: var(--couleur-noir);
  transition: all 0.3s ease;
}
section.formulaire form .champ textarea {
  height: 128px;
  line-height: 28px;
  padding: 16px 28px;
}
section.formulaire form input:focus, section.formulaire form textarea:focus {
  outline: none;
  box-shadow: 0 4px 10px 2px var(--couleur-noir);
}
section.formulaire form input[type=submit] {
  cursor: pointer;
}
section.formulaire form p.message {
  padding: 24px;
  margin: 0 0 32px 0;
  text-align: center;
  color: #f00;
  background-color: #ffd8d8;
  border: 2px dashed #f00;
}
section.formulaire form p.message.reussi {
  color: #008000;
  background-color: #b2ffb2;
  border-color: #008000;
}
section.formulaire .coordonnees {
  width: calc(50% - 32px);
  padding: 0 0 0 32px;
  gap: 32px;
}
section.formulaire .coordonnees .coordonnee {
  padding-left: 64px;
  color: var(--couleur-noir);
}
section.formulaire .coordonnees .coordonnee h4 {
  margin: 0 0 6px 0;
  font-size: 20px;
  font-weight: 400;
}
section.formulaire .coordonnees .coordonnee p.box {
  width: -moz-fit-content;
  width: fit-content;
  height: 56px;
  line-height: 56px;
  padding: 0 16px;
  font-family: "Roboto", sans-serif;
  background-color: var(--couleur-blanc);
  box-shadow: 0 4px 10px 2px var(--couleur-noir);
  border-radius: 12px;
}
section.formulaire .coordonnees .coordonnee:first-child {
  min-width: 160px;
}

/**
 * Pages_obligatoires section
 */
section.pages_obligatoires {
  padding: 160px 0;
}
section.pages_obligatoires div.partie {
  margin-bottom: 96px;
}
section.pages_obligatoires div.partie h3.titre_section {
  margin: 0 0 32px 0;
  color: var(--couleur-noir);
}
section.pages_obligatoires div.partie p {
  width: 100%;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  color: var(--couleur-noir);
}
section.pages_obligatoires div.partie p a {
  color: var(--couleur-bleu-fonce);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
}
section.pages_obligatoires div.partie p a:hover {
  color: var(--couleur-orange);
}

/**
 * FOOTER
 */
footer {
  padding: 72px 0;
  color: var(--couleur-blanc);
  background-color: var(--couleur-bleu-fonce);
}
footer div.wrapper {
  gap: 48px 64px;
}
footer div.wrapper div.infos {
  margin: auto;
  width: 250px;
}
footer div.wrapper div.infos h4 {
  font-size: 24px;
  margin: 0 0 16px 0;
}
footer div.wrapper div.infos p {
  margin: 0;
  text-align: center;
  font-family: "Roboto", sans-serif;
}
footer div.wrapper p.credit {
  width: 270px;
  margin: auto;
  align-self: center;
  text-align: center;
  font-family: "Roboto", sans-serif;
}
footer div.wrapper p.credit a {
  text-decoration: none;
  color: var(--couleur-blanc);
  transition: var(--transition);
}
footer div.wrapper p.credit a:hover {
  color: var(--couleur-orange);
  text-shadow: 3px 3px var(--couleur-noir);
}
footer div.wrapper ul.liste_liens {
  width: 210px;
  margin: auto;
  align-self: center;
  gap: 16px;
}
footer div.wrapper ul.liste_liens li {
  align-self: center;
}
footer div.wrapper ul.liste_liens li a {
  color: var(--couleur-blanc);
  text-decoration: none;
  transition: var(--transition);
}
footer div.wrapper ul.liste_liens li:hover a {
  color: var(--couleur-orange);
  text-shadow: 3px 3px var(--couleur-noir);
}

/*============================================================
    Medias query
============================================================*/
@media screen and (max-width: 1200px) {
  section.presentation .image.presentation_img1 {
    right: -128px;
  }
}
@media screen and (max-width: 1024px) {
  .wrapper {
    width: clamp(320px, 100vw - 24px, 1200px);
  }
  section.hero div.wrapper div.image.image.hero_img1, section.hero div.wrapper div.image.image.hero_img2, section.hero div.wrapper div.image.image.hero_img3 {
    display: none;
  }
  section.presentation div.flex.flex-column {
    flex-direction: column-reverse;
  }
  section.presentation div.flex.flex-column div.contenu p {
    width: 100%;
  }
  section.presentation div.flex.flex-column div.contenu button {
    margin: auto;
  }
  section.presentation div.flex.flex-column div.image.presentation_img1 {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    margin: 32px auto;
    top: 0;
    right: 0;
  }
  section.formulaire div.wrapper div.flex {
    flex-direction: column-reverse;
    gap: 64px;
  }
  section.formulaire div.wrapper div.flex form, section.formulaire div.wrapper div.flex div.coordonnees {
    width: 100%;
    flex-direction: row;
  }
  section.formulaire div.wrapper div.flex form input[type=submit].btn.btn_principal {
    margin: auto;
  }
  section.formulaire div.wrapper div.flex div.coordonnees {
    padding: 0;
  }
  section.formulaire div.wrapper div.flex div.coordonnees div.coordonnee {
    padding-left: 0;
  }
  section.formulaire div.wrapper div.flex div.coordonnees div.coordonnee h4 {
    text-align: center;
  }
  section.formulaire div.wrapper div.flex div.coordonnees div.coordonnee p.box {
    margin: auto;
  }
}
@media screen and (max-width: 768px) {
  header nav.navbar {
    justify-content: space-around;
  }
  header nav.navbar h1 {
    margin-left: 16px;
  }
  header nav.navbar ul.liste_pages {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 12px;
    top: 96px;
    right: -500px;
    padding: 24px 6px;
    transition: var(--transition);
    background-color: var(--couleur-blanc);
  }
  header nav.navbar ul.liste_pages li.page {
    height: 42px;
    width: 100%;
  }
  header nav.navbar ul.liste_pages li.page a {
    line-height: 42px;
    width: 320px;
    color: var(--couleur-noir);
    text-align: center;
  }
  header nav.navbar ul.liste_pages li.page a:hover {
    text-shadow: none;
    color: var(--couleur-orange);
  }
  header nav.navbar ul.liste_pages.actif {
    right: 0;
  }
  header nav.navbar svg {
    display: block;
    margin: 0 16px;
    align-self: center;
    stroke-width: 1.5px;
    stroke: var(--couleur-blanc);
  }
  section.hero div.wrapper h2.titre_page {
    padding-top: 10vh;
    font-size: calc(var(--police-h2) - 16px);
  }
  @keyframes explosion_h2 {
    0% {
      font-size: 0;
    }
    50% {
      font-size: calc(var(--police-h2) - 12px);
    }
    100% {
      font-size: calc(var(--police-h2) - 16px);
    }
  }
  section.hero div.wrapper h3 {
    font-size: calc(var(--police-h3) - 16px);
  }
  @keyframes explosion_h3 {
    0% {
      font-size: 0;
    }
    33% {
      font-size: 0;
    }
    100% {
      font-size: calc(var(--police-h3) - 16px);
    }
  }
  section.hero div.wrapper p {
    font-size: 16px;
  }
}/*# sourceMappingURL=style.css.map */