@keyframes showup {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes slidein {
  0%,
  20% {
    transform: translateX(-100%);
  }
  35%,
  100% {
    transform: translateX(0);
  }
}
@keyframes reveal {
  0% {
    opacity: 0;
    max-width: 0;
  }
  20% {
    opacity: 1;
    max-width: 0;
  }
  30% {
    max-width: 100%;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    max-width: 100%;
  }
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
}
body {
  font-family: sans-serif;
  background-color: #fff;
  color: #0c0c0c;
  scroll-behavior: smooth;
}
header {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 20px;
  transform: translateZ(0);
  background-image: url(assets/moirectif.webp);
  background-size: cover;
  background-position: bottom;
  z-index: 0;
  animation: zoom-bg 10s ease-in-out infinite;
  transform-origin: center center;
}
header .overlay {
  position: relative;
  z-index: 1;
  background-color: rgba(44, 24, 1, 0.671);
  width: 100%;
  height: 100%;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
header .overlay .energy-ball {
  position: absolute;
  bottom: 20vh;
  left: 50%;
  transform: translateX(-50%) scale(2.8);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, #92a5647c, #817218d7);
  box-shadow: 0 0 90px 55px rgba(233, 187, 60, 0.486);
  opacity: 0;
  z-index: 2;
}
header .overlay #menuToggle {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 100;
  display: block;
  user-select: none;
}
header .overlay #menuToggle input {
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: 0;
  cursor: pointer;
  opacity: 0;
  z-index: 2;
}
header .overlay #menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}
header .overlay #menuToggle span:hover {
  background-color: #cdcdcd;
}
header .overlay #menuToggle span:first-child {
  transform-origin: 0% 0%;
}
header .overlay #menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}
header .overlay #menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #cdcdcd;
}
header .overlay #menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}
header .overlay #menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}
header .overlay #menuToggle input:checked ~ ul {
  transform: none;
}
header .overlay #menu {
  position: relative;
  width: auto;
  height: 55vh;
  top: -80px;
  left: -50px;
  margin: 0;
  padding: 125px 50px 50px;
  border-radius: 0 0 20px 0;
  background: linear-gradient(to bottom right, #91885f, #aa9b43, #b18837, #aa9b43);
  list-style: none;
  transform: translate(-100%, 0);
  transform-origin: 0 0;
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
header .overlay #menu li {
  font-family: "Josefin Sans", sans-serif;
  font-size: clamp(1rem, 3vw, 2rem);
  text-align: center;
  padding: 1rem 0;
  color: #cdcdcd;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-image: linear-gradient(120deg, transparent 0%, transparent 50%, #fff 50%);
  background-size: 240%;
  transition: all 0.4s;
}
header .overlay #menu li:hover {
  background-position: 100%;
  opacity: 0.7;
  color: #ac7704;
}
header .overlay #menu a {
  text-decoration: none;
}
header .overlay h1 {
  font-size: clamp(2.5rem, 21vw, 10rem);
  position: relative;
  top: -80px;
  color: #fcfdf1;
  font-family: "Corinthia", cursive;
  font-weight: 900;
  text-align: center;
  z-index: 20;
}
header .slogan {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  font-size: clamp(0.7rem, 11vw, 2.5rem);
  margin: 0 auto;
  text-align: center;
  color: #fcfdf1;
  position: relative;
  top: -60px;
}
header .slogan .slogan-part1,
header .slogan .slogan-part2 {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
header .slogan .slogan-part1 {
  animation: showup 7s infinite;
}
header .slogan .slogan-part2 {
  margin-left: -2px;
  width: auto;
  max-width: 0;
  animation: reveal 7s infinite;
}
header .slogan .slogan-part2 span {
  display: inline-block;
  padding-left: 8px;
  animation: slidein 7s infinite;
  white-space: nowrap;
}
.center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px;
}
.a-propos {
  padding-top: 32px;
}
.section-sanitaire {
  margin-top: 24px;
  margin-bottom: 24px;
}
.section-sanitaire article {
  padding: 16px;
  background-color: #f7f4db15;
  border-radius: 8px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  color: #333;
}
.section-sanitaire h2 {
  font-family: "Oswald", sans-serif;
  background: linear-gradient(to bottom right, #91885f, #aa9b43, #b18837, #aa9b43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-size: clamp(1.6rem, 10vw, 2.2rem);
  margin-bottom: 16px;
}
.section-sanitaire h3 {
  font-size: clamp(0.8rem, 6vw, 1.5rem);
  margin: 40px 0 15px 30px;
}
.section-sanitaire p,
.section-sanitaire li {
  font-size: clamp(0.8rem, 6vw, 1.5rem);
  margin-bottom: 16px;
}
.section-sanitaire ul {
  padding-left: 32px;
  list-style-type: none;
}
.full-width {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.parallax-section {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}
.parallax-section .parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 40%;
  background-attachment: fixed;
  filter: brightness(0.7);
  z-index: 1;
}
.parallax-section .parallax-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 32px;
}
.parallax-section .parallax-content h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.parallax-section .parallax-content p {
  font-size: 1.3rem;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  white-space: pre-line;
}
.parallax-pratique .parallax-layer {
  background-image: url('assets/celenite.webp');
}
.parallax-consulter .parallax-layer {
  background-image: url('assets/hommeplage.webp');
}
.parallax-loin .parallax-layer {
  background-image: url('assets/budhanoir.webp');
}
.site-footer {
  background: #1d1b16;
  color: #fcfdf1;
  padding: 48px 24px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}
.site-footer h2 {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
  background: linear-gradient(to bottom right, #91885f, #aa9b43, #b18837, #aa9b43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.site-footer a {
  background: linear-gradient(to bottom right, #91885f, #aa9b43, #b18837, #aa9b43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-decoration: none;
  font-weight: bold;
}
.site-footer a:hover {
  background: linear-gradient(to bottom right, #dfd39e, #dbcc73, #e2cb9b, #aa9b43);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}
.site-footer .footer-links {
  margin: 24px 0;
}
.site-footer .footer-links a {
  margin: 0 8px;
}
.site-footer .footer-links span {
  color: #b18837;
}
.site-footer .footer-credits {
  font-size: 12px;
  color: #999;
  margin-top: 32px;
}
.m-backtotop {
  position: fixed;
  bottom: -60px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(to bottom right, #91885f, #aa9b43, #b18837, #aa9b43);
  border-radius: 50%;
  text-align: center;
  color: white;
  border: 2px solid #fff;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  z-index: 999;
  transition: all 0.3s ease-in-out;
}
.m-backtotop.active {
  bottom: 20px;
  opacity: 1;
}
.m-backtotop:hover {
  transform: scale(1.1);
  background: #1d1b16;
  cursor: pointer;
}
.m-backtotop .arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
}
.m-backtotop .text {
  display: none;
}
.rgpd {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #fcfdf1;
  color: #1d1b16;
  padding: 40px;
  max-width: 800px;
  margin: auto;
}
.rgpd h1,
.rgpd h2 {
  color: #b18837;
  margin-bottom: 16px;
}
.rgpd a {
  color: #91885f;
  text-decoration: none;
}
.rgpd a:hover {
  text-decoration: underline;
}
.rgpd .back-link {
  text-align: center;
  margin-top: 48px;
  font-weight: bold;
}
@media screen and (max-width: 769px) {
  .parallax-section {
    height: 50vh;
  }
  .parallax-section .parallax-content {
    padding: 16px;
  }
  .parallax-section .parallax-content h2 {
    font-size: 2rem;
  }
  .parallax-section .parallax-content p {
    font-size: 1rem;
  }
  .slogan {
    font-size: 1.1rem !important;
  }
}
