@charset "UTF-8";
:root {
  --largespacing: 90px;
  --mediumspacing: 60px;
  --smallspacing: 30px;
  --radius: 10px;
}

/* Reset CSS - Suppression des styles par défaut */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Suppression des styles par défaut des listes */
ul, ol {
  list-style: none;
}

/* Suppression des styles par défaut des liens */
a {
  text-decoration: none;
  color: inherit;
}

/* Uniformisation des éléments de formulaire */
input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
}

/* Suppression de la mise en avant des boutons */
button {
  cursor: pointer;
  background: none;
}

/* Suppression de l'apparence des éléments de formulaire dans WebKit */
input, textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Correction du comportement des images */
img {
  height: auto;
  display: block;
}

/* Définition de valeurs de base pour le HTML et le body */
html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  text-rendering: optimizeSpeed;
}

:root {
  --sky: hsl(177, 100%, 97%);
  --base-color1: hsl(150, 10%, 79%);
  --primary-color1: hsl(from var(--base-color1) h s calc(l + 10));
  --secondary-color1: hsl(from var(--base-color1) h s calc(l + 15));
  --base-darker1: hsl(from var(--base-color1) h s calc(l - 5));
  --base-black1: hsl(from var(--base-color1) h s calc(l - 30));
  --base-color2: hsl(166, 10%, 59%);
  --primary-color2: hsl(from var(--base-color2) h s calc(l + 10));
  --secondary-color2: hsl(from var(--base-color2) h s calc(l + 15));
  --base-darker2: hsl(from var(--base-color2) h s calc(l - 10));
  --base-black2: hsl(from var(--base-color2) h s calc(l - 25));
  --base-color3: hsl(188, 12%, 54%);
  --primary-color3: hsl(from var(--base-color3) h s calc(l + 10));
  --secondary-color3: hsl(from var(--base-color3) h s calc(l + 15));
  --base-darker3: hsl(from var(--base-color3) h s calc(l - 5));
  --base-black3: hsl(from var(--base-color3) h s calc(l - 20));
}

@font-face {
  font-family: "open_sansbold";
  src: url("fonts/OpenSans-Bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "open_sanslight";
  src: url("fonts/OpenSans-Light-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "open_sansregular";
  src: url("fonts/OpenSans-Regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "open_sanssemibold";
  src: url("fonts/OpenSans-Semibold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "alex_brushregular";
  src: url("fonts/alexbrush-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
* {
  font-family: "open_sansregular";
}

b, h3, h4, h5, h6 {
  font-weight: normal;
  font-family: "open_sanssemibold";
}

strong, h1 {
  font-weight: normal;
  font-family: "open_sansbold";
}
strong *, h1 * {
  font-weight: normal;
  font-family: "open_sansbold";
}

h2, .styled {
  font-weight: normal;
  font-family: "alex_brushregular";
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.text_container {
  font-family: "open_sanslight";
  font-size: 1rem;
}

i {
  opacity: 0.8;
}

p {
  margin-bottom: var(--smallspacing);
}

header {
  background-image: url("../assets/img/cabinet.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: fixed;
  margin-bottom: calc(-1.2 * var(--paddingbottom)); /* reste collé en haut */
  min-height: 100vh;
}
header .title_container {
  width: 100%;
  margin: 0 auto;
  padding: var(--smallspacing) var(--mediumspacing);
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}
header .title_container #souris {
  width: 100px;
}
header .title_container .title_text {
  position: relative;
}
header .title_container .title_text h1 {
  width: 100%;
  text-align: center;
  font-size: 3rem;
  color: var(--base-black3);
}
header .title_container .title_text h2 {
  width: 100%;
  text-align: center;
  font-size: 2.8rem;
  color: var(--base-black1);
}

nav {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 99;
}
nav.fixed-top {
  position: fixed;
  top: 0;
}
nav .menu {
  width: 100%;
  z-index: 99;
  padding: 0;
  margin: 0 0 30px;
  font-size: 1.5em;
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 3px solid #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
nav .menu .menu-item {
  border: none;
  display: inline-block;
  padding: 5px 0;
  margin: 0 15px;
  font-size: 1.2rem;
}
nav .menu .menu-item a {
  color: var(--base-black3);
  font-family: "open_sanssemibold";
  position: relative;
}
nav .menu .menu-item a::after {
  content: "";
  width: 0%;
  height: 3px;
  bottom: -9px;
  left: 0;
  background-color: var(--base-black1);
  transition: width 0.25s ease-in-out;
  transform-origin: 0 50%;
  display: block;
  position: absolute;
}
nav .menu .menu-item a:hover::after {
  width: 100%;
}

html, body {
  scroll-snap-type: y mandatory;
}

html {
  scroll-padding-top: calc(1.5 * var(--paddingbottom));
}

body {
  overflow-x: hidden;
  background-image: url("../assets/img/cabinet.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-attachment: fixed;
}
body main {
  --paddingbottom: 150px;
  scroll-behavior: smooth;
}
body main .text_container {
  width: 90%;
  display: block;
  margin: 0 auto var(--mediumspacing) auto;
  text-align: center;
  color: var(--base-black1);
}
body main .container {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto calc(1 * var(--paddingbottom)) auto;
  padding: var(--smallspacing);
  overflow: hidden;
}
body main .container.small_padding {
  margin: 0 auto calc(1 * var(--mediumspacing)) auto;
}
body main .container .text_container {
  width: 100%;
  margin: 0;
  text-align: left;
  padding: var(--smallspacing);
  background: var(--secondary-color1);
  overflow: hidden;
}
body main section {
  width: 100%;
  position: relative;
  background-color: var(--base-color3);
}
body main section .massonerie {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin-bottom: calc(1 * var(--mediumspacing));
}
body main section .massonerie .massonerie-container {
  z-index: 1;
  width: 100%;
  display: block;
  margin: 0 auto;
  position: relative;
}
body main section .massonerie .massonerie-container.textover {
  width: 100%;
  z-index: 1;
}
body main section .massonerie .massonerie-container.textover.left {
  margin-right: -10%;
}
body main section .massonerie .massonerie-container.textover.right {
  margin-left: -10%;
}
body main section .massonerie .massonerie-container .card {
  box-shadow: none;
  margin-bottom: 0;
}
body main section .massonerie .col {
  width: 50%;
}
body main section .massonerie .col-left {
  justify-content: center;
}
body main section .massonerie .col-left {
  justify-content: flex-start;
}
body main section .massonerie .col-40 {
  width: 40%;
}
body main section .massonerie .col-50 {
  width: 50%;
}
body main section .massonerie .col-60 {
  width: 60%;
}
body main section .massonerie .col-1-3 {
  width: 40%;
}
body main section .massonerie .col-2-3 {
  width: 60%;
}
body main section .massonerie .col img {
  max-width: 100%;
}
body main section .massonerie .col .container {
  width: 90%;
  max-width: 800px;
}
body main section .massonerie h2 {
  color: var(--base-black1);
  font-size: 3rem;
  text-align: center;
}
body main section.montain {
  background: var(--primary-color1);
  padding: var(--smallspacing) 0 var(--paddingbottom) 0;
}
body main section.montain .card {
  z-index: 1;
  background: var(--base-color1);
  color: var(--base-black1);
  -webkit-box-shadow: 5px 5px 15px 5px var(--base-black1);
  box-shadow: 5px 5px 15px 5px var(--base-darker1);
}
body main section.montain:first-of-type {
  margin-top: 40px;
}
body main section.montain:last-of-type {
  padding: var(--smallspacing) 0;
}
body main section.montain::before {
  content: "";
  width: 100%;
  height: var(--paddingbottom);
  position: absolute;
  top: calc(-1 * var(--paddingbottom));
  background-color: inherit;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'><path fill='white' d='M0,89.18l32.55-53.55,21.22,34.4L83.81,7.24l43.49,76.02,32.59-33.64s24.38,32.96,24.59,32,33.36-60.91,33.36-60.91l24.37,43.55,18.42-15.52,39.37,41.04v60.22H0v-60.82Z'/></svg>");
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: auto 100%;
  -webkit-mask-position: 0 0;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 150'><path fill='white' d='M0,89.18l32.55-53.55,21.22,34.4L83.81,7.24l43.49,76.02,32.59-33.64s24.38,32.96,24.59,32,33.36-60.91,33.36-60.91l24.37,43.55,18.42-15.52,39.37,41.04v60.22H0v-60.82Z'/></svg>");
  mask-repeat: repeat-x;
  mask-size: auto 100%;
  mask-position: 0 0;
  z-index: 1;
}
body main section.bgDark {
  background: var(--primary-color2);
}
body main section.bgDark.montain::before {
  mask-position: 150px 0;
}
body main section.bgDark .text_container {
  color: var(--base-black2);
}
body main section.bgDark .container {
  color: var(--base-black2);
  -webkit-box-shadow: 5px 5px 15px 5px var(--base-black2);
  box-shadow: 5px 5px 15px 5px var(--base-darker2);
}
body main section.bgDark .container .text_container {
  color: var(--base-darker2);
}
body main section.bgBlack {
  background: var(--primary-color3);
}
body main section.bgBlack.montain::before {
  mask-position: -75px 0;
}
body main section.bgBlack .container {
  background: var(--base-color3);
  color: #fff;
  -webkit-box-shadow: 5px 5px 15px 5px var(--base-black3);
  box-shadow: 5px 5px 15px 5px var(--base-darker3);
}
body main section.bgBlack .container .text_container {
  background: var(--secondary-color3);
  color: var(--base-black3);
}

.flex {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: var(--smallspacing);
}
.flex-start {
  align-items: flex-start;
}
.flex-end {
  align-items: flex-end;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-column {
  flex-direction: column;
}

#souris2 {
  width: 100px;
  display: inline-block;
}

footer {
  background: var(--base-color3);
  padding: 10px;
  color: #fff;
}

.fade-in {
  opacity: 0;
  transition: opacity 500ms ease-out;
}
.fade-in.appear {
  opacity: 1;
}

.from-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 500ms ease-out, opacity 500ms ease-out;
}
.from-left.appear {
  opacity: 1;
  transform: translateX(0);
}

.from-right {
  opacity: 0;
  transform: translateX(100px);
  transition: transform 500ms ease-out, opacity 500ms ease-out;
}
.from-right.appear {
  opacity: 1;
  transform: translateX(0);
}

.from-bottom {
  opacity: 0;
  transform: translateY(100px);
  transition: transform 500ms ease-out, opacity 500ms ease-out;
}
.from-bottom.appear {
  opacity: 1;
  transform: translateY(0);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
}

@supports (scroll-snap-type: y mandatory) {
  html, body {
    scroll-snap-type: y mandatory;
  }
  .panel {
    scroll-snap-align: start;
  }
}

/*# sourceMappingURL=styles.css.map */
