@font-face {
  font-family: 'Madimi One';
  src: url('http://localhost/paciweb/composants/css/font/MadimiOne-Regular.woff2')
    format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Poppins';
  src: url('http://localhost/paciweb/composants/css/font/Poppins-Regular.woff2')
    format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* * {
  cursor: none !important;
} */

:root {
  --first-font: 'Madimi One', serif;
  --second-font: 'Poppins', serif;
  --background-color: #f3f3f3;
  --default-color: #301e69;
  --icone-color: #e9e9e9;
  --first-color: #301e69;
  --second-color: #b7d2d8;
  --whitetext-color: #fff;
}
:root {
  scroll-behavior: smooth;
}
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--first-font);
  margin: 0;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}
.couleurprincipaletexte {
  color: var(--first-color) !important;
}
.template-border-un {
  position: relative;
  border: 2px solid transparent;
  background-color: var(--first-color);
  color: var(--whitetext-color);
}
.template-bouton-un::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10vh;
  height: 10vh;
  background: url('splash.svg') no-repeat center;
  background-size: cover;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}
.template-bouton-un:hover {
  position: relative;
  z-index: 1;
  background-color: transparent;
  color: white;
  border: 2px solid transparent;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  cursor: none;
}
.template-bouton-un:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: -99;
}
.template-border-deux {
  position: relative;
  border: 2px solid var(--first-color);
  background-color: var(--second-color);
  color: var(--first-color) !important;
}
.template-border-deux:hover {
  color: var(--whitetext-color) !important;
}
.template-bouton-deux::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10vh;
  height: 10vh;
  background: url('splash2.svg') no-repeat center;
  background-size: cover;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}
.template-bouton-deux:hover {
  background-color: transparent;
  color: white;
  border: 2px solid transparent;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-weight: bold;
}
.template-bouton-deux:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: -99;
}
.template-border-trois {
  position: relative;
  border: 2px solid transparent;
  background-color: var(--first-color);
  color: var(--whitetext-color);
}
.template-bouton-trois::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10vh;
  height: 10vh;
  background: url('splash.svg') no-repeat center;
  background-size: cover;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}
.template-bouton-trois:hover {
  position: relative;
  z-index: 1;
  background-color: transparent;
  color: white;
  border: 2px solid transparent;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  cursor: none;
}
.template-bouton-trois:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: -99;
}
.fondbleuclair {
  background-color: var(--second-color);
}
.fondbleunuit {
  background-color: var(--first-color);
}
.fontpoppins {
  font-family: var(--second-font);
}
.navbar,
.offcanvas-end {
  background-color: var(--first-color);
  color: var(--whitetext-color);
}
.offcanvas-end {
  border: 2px solid var(--second-color);
}
.navbar-nav .nav-link {
  color: var(--whitetext-color);
}
.navbar-toggler {
  background-color: var(--second-color);
}
.nav-item:hover .linkedin-bg,
.nav-item:hover .instagram-bg {
  fill: var(--first-color);
}
.nav-item:hover .linkedin-contour,
.nav-item:hover .linkedin-path-1,
.nav-item:hover .linkedin-path-2,
.nav-item:hover .linkedin-path-3,
.nav-item:hover .instagram-contour,
.nav-item:hover .instagram-path-1,
.nav-item:hover .instagram-path-2,
.nav-item:hover .instagram-path-3 {
  fill: var(--icone-color);
}
.linkedin-bg,
.linkedin-contour,
.linkedin-path-1,
.linkedin-path-2,
.linkedin-path-3,
.instagram-bg,
.instagram-contour,
.instagram-path-1,
.instagram-path-2 {
  transition: fill 0.4s ease-in-out, stroke 0.4s ease-in-out;
}
.navbar-nav .nav-link {
  position: relative;
  color: var(--whitetext-color);
  font-size: 1.2rem;
  transition: color 0.3s ease;
  padding-bottom: 5px;
  pointer-events: auto;
}
.nav-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10vh;
  height: 10vh;
  background: url('splash2.svg') no-repeat center;
  background-size: cover;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}
.nav-link:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: -99;
}
.navbar-nav .nav-link.active {
  color: var(--second-color);
  font-size: 1.3rem;
  font-weight: bold;
}
.navbar-nav .nav-link.active::after {
  content: '•';
  position: absolute;
  left: 50%;
  bottom: -15px;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--second-color);
}
.navbar-nav .nav-link.active:hover {
  color: var(--whitetext-color);
}
.formation-bouton {
  background-color: var(--second-color);
  color: var(--first-color) !important;
  border: 2px solid var(--first-color);
  font-size: 1.2rem;
  font-family: var(--first-font);
  transition: background-color 0.3s ease;
}
.formation-bouton:hover {
  background-color: var(--first-color);
  color: var(--second-color) !important;
  border: 2px solid var(--second-color);
  font-size: 1.2rem;
  font-family: var(--first-font);
  transition: background-color 0.3s ease;
}
.text-border-combo {
  color: var(--second-color);
  -webkit-text-stroke: 2px var(--first-color);
}
.fleche {
  position: absolute;
  z-index: -3;
}
@media (min-width: 2201px) and (max-width: 7000px) {
  .fleche {
    display: none;
  }
}
@media (min-width: 1601px) and (max-width: 2200px) {
  .fleche {
    right: 80%;
    top: 50%;
  }
}
@media (min-width: 1301px) and (max-width: 1600px) {
  .fleche {
    right: 70%;
    top: 50%;
  }
}
@media (min-width: 992px) and (max-width: 1300px) {
  .fleche {
    right: 55%;
    top: 60%;
  }
}
@media (min-width: 0) and (max-width: 991px) {
  .fleche {
    display: none;
  }
}
.reveal-svg path {
  clip-path: inset(0 100% 0 0);
  animation: reveal 1.5s ease-in forwards;
}
@keyframes reveal {
  0% {
    clip-path: inset(0 0 0 100%);
  }
  100% {
    clip-path: inset(0 0 0 0);
  }
}
.blob-un {
  position: absolute;
  left: 10%;
  width: 75%;
  z-index: -1;
  pointer-events: auto;
}
@media (min-width: 1601px) and (max-width: 3000px) {
  .blob-un {
    bottom: 20%;
    height: 100%;
  }
}
@media (min-width: 1401px) and (max-width: 1600px) {
  .blob-un {
    bottom: 25%;
    height: 95%;
  }
}
@media (min-width: 992px) and (max-width: 1400px) {
  .blob-un {
    bottom: 30%;
    height: 95%;
  }
}
@media (min-width: 601px) and (max-width: 991px) {
  .blob-un {
    bottom: 26%;
    height: 95%;
  }
}
@media (min-width: 0) and (max-width: 600px) {
  .blob-un {
    bottom: 30%;
    height: 95%;
  }
}
.blob-deux {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: -2;
  pointer-events: auto;
}
@media (min-width: 2301px) and (max-width: 3000px) {
  .blob-deux {
    right: 17%;
    height: 140%;
  }
}
@media (min-width: 1601px) and (max-width: 2300px) {
  .blob-deux {
    right: 22%;
    height: 140%;
  }
}
@media (min-width: 1401px) and (max-width: 1600px) {
  .blob-deux {
    right: 30%;
    height: 130%;
  }
}
@media (min-width: 992px) and (max-width: 1400px) {
  .blob-deux {
    right: 35%;
    height: 125%;
  }
}
@media (min-width: 0) and (max-width: 991px) {
  .blob-deux {
    right: 25%;
    height: 140%;
  }
}
.flip-container {
  position: relative;
  perspective: 1000px;
}
.flipper {
  width: 90%;
  height: 250px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}
.flip-container:hover .flipper {
  transform: rotateY(180deg);
}
.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.front {
  border: 4px solid var(--first-color);
}
.back {
  background-color: var(--first-color);
  transform: rotateY(180deg);
}
@media (min-width: 768px) and (max-width: 7000px) {
  .back {
    font-size: 1.3vw !important;
  }
}
.testimonial {
  background: var(--first-color);
  padding: 40px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  font-size: 17px;
  transition: all 0.5s ease;
}
.testimonial p {
  font-style: italic;
  color: var(--whitetext-color);
  font-family: var(--second-font);
}
@media (max-width: 768px) {
  .testimonial {
    font-size: 16px;
    padding: 20px;
  }
}
.swiper-pagination-bullet {
  background-color: #b7d2d8;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background-color: #301e69;
  opacity: 1;
}
@media (min-width: 992px) and (max-width: 5000px) {
  .lignetexte {
    text-decoration: underline;
    text-decoration-color: var(--first-color);
    text-underline-offset: 13px;
  }
}
.blockquote {
  position: relative;
  padding: 20px;
  border: 3px solid white;
}
@media (min-width: 992px) and (max-width: 5000px) {
  .blockquote::before,
  .blockquote::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
  }
}
@media (min-width: 992px) and (max-width: 5000px) {
  .blockquote::before {
    top: 40px;
    left: -22px;
    background-image: url('../images/accueilpaciweb/guillemetsgauche.webp');
  }
}
@media (min-width: 992px) and (max-width: 5000px) {
  .blockquote::after {
    top: 60px;
    right: -22px;
    background-image: url('../images/accueilpaciweb/guillemetsdroit.webp');
  }
}
.blob-trois,
.blob-quatre,
.blob-cinq {
  position: absolute;
  top: 40px;
  width: 120px;
  left: 30%;
}
@media (min-width: 0) and (max-width: 992px) {
  .blob-trois,
  .blob-quatre,
  .blob-cinq {
    left: 40%;
  }
}
.listpuce {
  list-style: none;
}
.listpuce li {
  position: relative;
}
.listpuce li::before {
  content: '\2022';
  color: #b7d2d8;
  font-size: 2rem;
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
}
.heightminimum {
  min-height: 500px;
  min-width: 250px;
  border-radius: 30px;
  color: var(--first-color);
}
.bg-gris {
  background-color: var(--background-color);
}
.inclinaisondiv {
  position: absolute;
  background-color: #93b5bb;
  transform: skewY(-2deg);
  z-index: -2;
}
.inclinaisondiv {
  width: 100%;
  height: 50px;
  top: 0;
}
.tailletexte {
  font-size: 1.2rem;
}
.margintopcontactcta {
  margin-top: 120px;
  margin-bottom: 120px;
}
.filters button {
  margin: 5px;
  border: 0;
  cursor: none;
  transition: 0.3s;
  color: var(--first-color);
}
.filters button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10vh;
  height: 10vh;
  background: url('splash.svg') no-repeat center;
  background-size: cover;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.4s ease-out, opacity 0.3s ease-out;
}
.filters button:hover {
  position: relative;
  z-index: 1;
  background-color: transparent;
  color: white;
  border: 2px solid transparent;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  cursor: none;
  border: 0;
}
.filters button:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  z-index: -99;
}
.filters button.active,
.filters button:hover {
  color: var(--whitetext-color);
}
.form-control {
  border: 2px solid transparent;
  border-bottom: 2px solid var(--first-color);
  border-radius: 0;
  box-shadow: none;
  transition: border 0.3s ease-in;
  background-color: transparent;
}
.form-control:focus,
.form-control:hover {
  border: 2px solid var(--first-color);
  box-shadow: none;
  background-color: white;
}
::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar-thumb {
  background-color: var(--first-color);
  border-radius: 6px;
}
::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}
::-webkit-scrollbar-button {
  background-color: #f1f1f1;
}
#scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--second-color);
  color: var(--first-color);
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 9999;
  transition: opacity 0.3s ease;
  border: 2px solid var(--first-color);
}
#scroll-top.show {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.spinner {
  font-size: 3rem;
  color: var(--first-color);
  animation: spin 1.5s linear infinite;
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
#Accueil,
#Services,
#Apropos {
  scroll-margin-top: 95px;
}

.page-item.active {
  font-weight: bold;
  border: 2px solid #301e69 !important;
  border-radius: 5px;
}

.temoignages1,
.temoignages2 {
  max-height: 200px;
}

@media (min-width: 0px) and (max-width: 1399px) {
  .temoignages2 {
    margin-top: 100px;
  }
}

.textmaj:hover {
  text-transform: uppercase;
}

.cardarticle {
  border-left: 5px solid #301e69;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.hoverarticle {
  color: var(--first-color);
}
.hoverarticle:hover {
  color: var(--second-color);
}
.section {
  scroll-margin-top: 100px; /* Décale la section de 100px en dessous du haut de l'écran */
}

#exitPopup {
  display: none; /* Masqué par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
/* Contenu du popup */
#exitPopup .popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  position: relative;
}
/* Bouton de fermeture */
#exitPopup .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
}

.sizelarger {
  font-size: larger;
}

.cardsite:hover {
  background-color: var(--second-color);
}
