@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

*, *::after, *::before {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
}

html {
  font-size: 100%;
}

strong {
  font-weight: bold;
}

.bouton {
  text-decoration: none;
  border-radius: 10px;
  font-size: 1rem;
  background-color: hsl(240, 60%, 58%);
  color: #ffffff;
  display: inline-block;
  padding: 1em 2em;
  margin-block: 1rem;
  transition: all 300ms ease-in;
}
.bouton:hover {
  background-color: hsl(240, 52%, 43%);
}

html {
  background-color: #ffffff;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande", "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  color: rgba(0, 0, 0, 0.7);
}

body {
  max-width: 1200px;
  margin-inline: auto;
}

/* Menu principal */
.menu-principal {
  display: flex;
  margin-bottom: 3rem;
}

.logo-et-nom {
  padding: 1rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 1.5rem;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

.logo {
  height: 2rem;
}

.menu {
  display: none;
}
.menu__lien {
  text-decoration: none;
  display: block;
  padding: 1rem 2rem;
  border-radius: 10px;
  color: rgba(0, 0, 0, 0.7);
  transition: all 300ms ease-in;
}
.menu__lien:hover {
  background-color: hsl(240, 60%, 58%);
  color: #ffffff;
}

/**** Contenu principal ***/
.contenu-principal {
  padding-inline: 1rem;
}

/**** Heroe section ****/
.heroe {
  padding-inline: 1rem;
  margin-bottom: 3rem;
}
.heroe__titre {
  font-weight: bold;
  font-size: 2rem;
  line-height: 1.4;
}
.heroe__image {
  margin: auto;
}
.heroe .section__texte {
  padding: 1rem;
}
.heroe .bouton {
  margin-inline: 1rem;
}

/*** Section ***/
section {
  margin-bottom: 2rem;
}

/*** Titre de section ****/
.section__titre {
  font-size: 2rem;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 1rem;
}

/*** Texte de section ***/
.section__texte {
  line-height: 1.5;
  padding: 1rem 0;
}

/**** Services ***/
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  line-height: 1.7;
}
.services * {
  width: 100%;
}
.services .bouton {
  display: none;
}

.service {
  text-align: center;
}
.service__titre {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/**** Réalisations ****/
.realisations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.realisations__titre {
  width: 100%;
}

.realisation {
  border: 15px solid rgb(29, 29, 29);
  background-color: rgb(29, 29, 29);
  border-radius: 8px;
}
.realisation--invisible {
  display: none;
}

/*** Contact ***/
.contact {
  background-color: #b8b6b6;
  padding-inline: 1rem;
  padding-top: 2rem;
}

/*** Footer ***/
.menu--footer {
  display: block;
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
  background-color: #b8b6b6;
}

@media (width > 900px) {
  html {
    font-size: 120%;
  }
  /*** Menu ***/
  .menu-principal {
    align-items: last baseline;
    gap: 5%;
  }
  .menu {
    display: flex;
    gap: 2rem;
  }
  /*** Heroe ***/
  .heroe {
    display: flex;
    justify-content: space-between;
  }
  .heroe__presentation {
    width: 50%;
  }
  .heroe__titre {
    font-size: 3rem;
  }
  .heroe__image {
    object-fit: contain;
    width: 50%;
  }
  .heroe .section__texte {
    padding: 1rem 0;
  }
  .heroe .bouton {
    margin-inline: 0;
  }
  /** Choisir notre agence **/
  .choisir-notre-agence {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: start;
  }
  .choisir-notre-agence .section__titre {
    width: 40%;
    margin-bottom: 1.5rem;
  }
  .choisir-notre-agence .section__texte {
    width: 55%;
  }
  /*** Services **/
  .services {
    justify-content: space-around;
  }
  .service {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 30%;
  }
  .service__texte {
    flex-grow: 1;
  }
  .service .bouton {
    display: inline;
    width: auto;
  }
  /*** Réalisations ***/
  .realisations {
    justify-content: space-between;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
  .realisations__titre {
    width: 100%;
  }
  .realisation {
    width: 30%;
  }
  .realisation--invisible {
    display: block;
  }
  .realisation--bas {
    position: relative;
    top: 2rem;
  }
  /**** Contact ********/
  .contact {
    padding-block: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  /**** Footer ***/
  .menu--footer {
    justify-content: center;
    padding-bottom: 1rem;
  }
}