@charset "UTF-8";

:root {
  --theme: #AF3564;
  --page: #EFE4E4;
  --scroller: #FCA9A2;
  --homeBtn: #abcdef;;
  --light: #f1f4f9;
  --bluesky: #abcdef;
  --white: #fff;
  --black: #000;
}

html {
  scroll-behavior: smooth;
  /* To Top Btn */
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: var(--page);
  font-family: 'Poppins', sans-serif;
}

/* Preloader */
.no-js .preloader {
    display: none;
}
.alerte {
    font-size: 18px;
	font-weight: 800;
	color: #fff;
	background-color: var(--theme);
}

.preloader {
  position: fixed;
  display: flex;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #EFE4E4;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.hexAnim {
  animation: float 3.8s infinite ease-in-out;
  transform-origin: 50% 50%;
}

@keyframes float {
  0% {
    opacity: 0.15;
    transform: scale(0.85);
  }

  25% {
    opacity: 1;
    transform: scale(1);
  }

  75% {
    opacity: 1;
    transform: scale(1);
  }

  100% {
    opacity: 0.15;
    transform: scale(0.85);
  }
}

/* Définitions remplacement Bootstrap 5 == */
/* Reproduit fixed-top */
.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* comme Bootstrap */
}
/* Reproduit d-flex */
.d-flex {
    display: flex;
}
/* Reproduit align-items-center */
.align-items-center {
    align-items: center;
}
/* Reproduit justify-content-between */
.justify-content-between {
    justify-content: space-between;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}
.row > * {
    padding-left: 15px;
    padding-right: 15px;
}
/* Mobile-first (100%) */
[class^="col-"] {
    width: 100%;
}
.text-center {
	text-align: center;
}

.justify-content-center {
    justify-content: center;
}

/* ≥768px */
@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
    .col-md-10 { width: 83.333%; }
    .col-md-12 { width: 100%; }
}
/* ≥992px */
@media (min-width: 992px) {
    .col-lg { flex: 1; }
    .col-lg-4 { width: 33.333%; }
    .col-lg-7 { width: 58.333%;}
}
/* Reproduit container (version responsive simple) */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}
.container-fluid {
    width: 100%;
    padding: 0 15px;
}
.mt-4 { margin-top: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mb-lg-0 { }
.me-4 { margin-right: 1.5rem; }

@media (min-width: 992px) {
    .mb-lg-0 { margin-bottom: 0; }
}
.pt-4 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1.5rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.pr-5 { padding-right: 3rem; }

/* Optionnel : rendre le header plus lisible */
.header-theme {
    background-color: #fff;
    height: 70px;
}
.img-fluid {
    max-width: 100%;
    height: auto;
}
.navbar {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.btn-p {
    padding: 8px 18px;
    border: 1px solid #333;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
}
.btn-p.active {
    background: #333;
    color: #fff;
}


/* Header == */
#header {
  height: 70px;
  padding: 30px;
  width: 100%;
  position: fixed;
  z-index: 5;
  transition: all 0.5s;
}

#header.header-theme {
  background: var(--page);
}

#header .logo h1 {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #fff;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 65px;
  width: auto;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 0;
  margin-top: 10px;
  background: #f7f8f9;
  min-height: 40px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
  margin: 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

@media (max-width: 992px) {
  .breadcrumbs ol {
    margin-top: 10px;
  }
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #404356;
  content: "/";
}

/* Home Page */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--page);
}

.wrapper {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-bottom: 90px;
  flex: 1;
}

.home {
  display: table;
  width: 100%;
  padding: 3%;
  height: 70vh;
  max-height: 700px;
  margin-bottom: 0;
}

/* Image centrée et couvrante */
.home-content {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  background: url("../../images/banner.jpg") no-repeat center;
}

/* Placement du H1 */
.hero-title {
  position: absolute;
  top: 65%;
  left: 15%;
  transform: translateY(-50%);
  color: #fff;
  margin: 0;
  font-family: 'Montserrat', sans-serif;

  /* Nouveau clamp optimisé */
  font-size: clamp(3.5rem, 9vw, 7rem);

  font-weight: 800;
  line-height: 1em;
  letter-spacing: -0.02em;
}

.penche {
  display: inline-block;
  transform: rotate(15deg);
  white-space: nowrap;
}

.cont {
  width: 70%;
  margin-left: 15%;
  margin-top: -60px;
}

.cont h2 {
  color: #000;
  padding-left: 2em;
}

/* Media queries  */
@media (max-width: 1024px) {
  .home {
    margin-bottom: 20px; /* Ajoute un espacement naturel */
    padding-bottom: 10px;
  }

  .cont {
    margin-top: 0; /* Supprime la marge négative */
    width: 90%;
    margin-left: 5%;
  }
}

@media (max-width: 480px) {
  body {
    padding-bottom: 218px;
  }

  header {
    padding: 16px;
  }

  .wrapper {
    padding-bottom: 60px;
  }
	.home {
	  height: 50vh;
	  max-height: 500px;
    margin-bottom: 20px; /* Ajoute un espacement naturel */
    padding-bottom: 10px;	  
	}
  .cont {
    margin-top: 0; /* Supprime la marge négative */
    width: 90%;
    margin-left: 5%;
  }	  
}

@media (max-width: 538px) {
	.home {
	  height: 50vh;
	  max-height: 500px;
    margin-bottom: 20px; /* Ajoute un espacement naturel */
    padding-bottom: 10px;	  
	}
  .cont {
    margin-top: 0; /* Supprime la marge négative */
    width: 90%;
    margin-left: 5%;
  }	
	.cont h2 {
	font-size: 2.3em;
	padding-left: 0;
	text-align: center;
	}
}

@media (min-width: 481px) and (max-width: 767px) {
  body {
    padding-bottom: 176px;
  }

  header {
    padding: 18px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #header {
    padding: 22px;
  }
 }