
@import url("https://fonts.googleapis.com/css?family=Raleway:100,300,400,500,700,900");
@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

@font-face {
  font-family: 'bird';
  src: url('../fontawesome-5.5/webfonts/birds.ttf') format('truetype');
}
@font-face {
  font-family: 'Tempus';
  src: url('../fontawesome-5.5/webfonts/TRTempusSansITC.ttf') format('truetype');
}


body {
	font-family: "Raleway", sans-serif;
	font-size: 1.2em;
  color: #707070;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
a {
  transition: all 0.3s ease;
  color: #38B;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #070069;
}

a:focus {
  outline: none;
}

.btn {
  padding: 8px 32px;
}

.btn:hover {
  background-color: #ced4da;
}

blockquote {
  font-size: 0.86em;
  line-height: 1.8em;
}

.tm-section-pad-top {
  padding-top: 80px;
  padding-bottom: 0px;
}

.tm-content-box {
  padding-top: 20px;
  padding-bottom: 40px;
}

.tm-text-primary {
  color: #38B;
}

.tm-text-secondary {
  color: rgb(79, 143, 182);
}

.tm-font-big {
  font-size: 1.25rem;
}

.tm-btn-primary { 
  color: rgb(255, 255, 255);
  background-color: #38B;
  padding: 14px 30px;
}

.tm-btn-primary:hover,
.tm-btn-primary:focus {
  color: white;
  background-color: #38B;
}

/* Navbar */

.tm-navbar {
  position: fixed;
  top: 0%; 
  left: 50%;
  transform: translate(-50%, -50%); 
  width: 100%; 
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center; 
  align-items: center; 
  padding: 0 40px;
  padding-top: 5%;
}

.tm-navbar.scroll {
  background-color: rgb(255, 255, 255);
  border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
  font-family: "Tempus", cursive;
  color: rgb(0, 0, 0);
  font-size: 3rem;
  font-weight: bold;
  white-space: nowrap;
  margin: 0 10px;
}

.navbar-brand:hover,
.tm-navbar.scroll .navbar-brand:hover {
  color: #38B;
}

.tm-navbar.scroll .navbar-brand {
  color: #38B;
}

.nav-item {
  list-style: none;
  white-space: nowrap;
}

.tm-nav-link {
  font-family: "Tempus", cursive;
  color: rgb(0, 0, 0);
  margin: 0 5px;
  font-size: 2rem;
}

.tm-navbar.scroll .tm-nav-link {
  color: rgba(6, 66, 122, 0.561);
}

.tm-navbar.scroll .tm-nav-link:hover,
.tm-navbar.scroll .tm-nav-link.current,
.tm-nav-link:hover {
  color: #0644a1;
  background-color: rgba(23, 165, 201, 0.39);;
}

/* Styles du bouton hamburger */
.navbar-toggler {
  position: absolute;
  top: 20px; 
  right: 10px; 
  z-index: 1050;
  border: 1px solid white;
  display: none; /* Cacher le bouton hamburger par défaut */
}

.navbar-toggler-icon {
  color: white;
  padding-top: 6px;
}

.tm-navbar.scroll .navbar-toggler {
  border: 1px solid #707070;
}

.tm-navbar.scroll .navbar-toggler-icon {
  color: #707070;
}

/* Pour les grands écrans (PC et tablettes en mode paysage) */
@media (min-width: 769px) {
  .navbar-toggler {
    display: none; /* Cacher le bouton hamburger sur les grands écrans */
  }

  .navbar-collapse {
    display: flex; /* Afficher le menu classique */
    justify-content: flex-start; /* Aligner les éléments du menu à gauche */
  }

  .navbar-nav {
    display: flex;
    margin: 0;
  }

  .navbar-collapse .nav-link {
    color: #707070;
    padding-right: 20px;
  }
}

/* Affichage du bouton hamburger sur tablettes et petits écrans */
@media (max-width: 768px) {
  .navbar-toggler {
    display: block; /* Afficher le bouton hamburger */
  }

  .navbar-collapse {
    display: none; /* Cacher le menu classique */
  }

  /* Afficher le menu lorsque le bouton hamburger est cliqué */
  .navbar-collapse.show {
    display: block;
    background-color: rgb(255, 255, 255);
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    border-radius: 3px;
    padding: 10px;
    box-sizing: border-box;
  }

  .navbar-collapse .nav-link {
    color: #707070;
    padding: 10px;
    font-size: 1.1rem; /* Ajuster la taille des liens */
  }

  .navbar-nav {
    display: block; /* S'assurer que les liens s'affichent sous forme de liste */
    width: 100%;
    text-align: center; /* Centrer les éléments */
  }
}


/* Hero */

#home {
	background-color: #ffffff;
  background-image: url(../img/backgroud2.png);
  background-repeat: no-repeat;
  opacity: 1000%;
  height: 100vh;
  position: relative;
  
}
@media screen and (max-width: 1000px) {
  #home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px; 
  }

}


@media (min-height: 830px) {
  #home {
    background-position: center -210px;
  }
}

@media (min-height: 680px) and (max-height: 829px) {
  #home {
    background-position: center -300px;
  }
}

@media (min-height: 500px) and (max-height: 679px) {
  #home {
    background-position: center -100px;
  }
}

@media (max-height: 499px) {
  #home {
    background-size: cover;
    background-position: center -40050px;
  }
}

.tm-hero-text-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.tm-hero-text-container-inner {
  margin-top: -90px;
}

.tm-logo {
 padding: 10px;
 width: 250px;
 height: auto;
}

.tm-hero-title {
  font-family: "Allura", cursive;
  font-size: 4rem;
  text-shadow: 2px 2px 2px #333;
  text-align: center;
}
@media (max-width: 768px) {
  .tm-hero-title {
    padding: -10px;
    font-size: 2rem; 
    opacity: 0%;
  }
}
.tm-hero-subtitle {
  position: relative;
  font-family: "Tempus";
  font-weight: bold;
  font-size: 2.5rem;
  color:   #000000;
  text-shadow: 1px 1px 10px #ffffff;
  padding: 5px;
  margin: 0 auto; 
  text-align: left;
  z-index: 2;
  letter-spacing: 1px;
  line-height: 1;
  padding-left: 5%;
  padding-top: 5%;
}
.tm-specialization {
  font-size: 1.5rem;
  font-weight: normal; 
  letter-spacing: normal;
}

@media (max-width: 768px) {
  .tm-hero-subtitle {
    margin-top: 50px;
    padding: -20px;
    margin-left: 5px;
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: center;
  }
}



.tm-intro-next {
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
}

@media (max-height: 480px) {
  .tm-hero-text-container-inner {
    margin-top: -40px;
  }

  .tm-intro-next {
    bottom: 20px;
  }
}

/* Arrow */
.tm-down-arrow-link {
  display: block;
  margin-top: 18%;
}

.tm-down-arrow {
  	color: #FFF;
    cursor: pointer;
    background: rgba(31, 180, 206, 0.37);
    padding: 15px 40px;
    transition: all 0.3s ease;
}

.tm-down-arrow:hover,
.tm-down-arrow:focus {
  color: #FFF;
  background: rgba(31, 63, 206, 0.801);
  padding: 20px 50px;
}

@media screen and (max-width: 767px) {

  .tm-down-arrow-link {
    position: absolute;
    bottom: -80px; /* Ajustez cette valeur selon vos besoins */
    left: 50%;
    transform: translateX(-50%);
  }
}


/* Introduction */

#introduction {
  padding-bottom: 100px;
}

.tm-section-title {
  color: #06427a8f;
  font-size: 2.6rem;
  font-weight: normal;
}
.tm-soussection-title {
  font-size: 1.4rem;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .tm-section-title {
    color: #06427a8f;
    font-size: 2.4rem;
    font-weight: normal;
  }
  .tm-soussection-title {
    padding-top: 5px;
    font-size: 1.3rem;
    font-weight: normal;
    line-height: 1.7;
  }
  .img-fluid {
    display: none;
}
  .tm-intro-text {
    padding-left: 10px;
    padding-right: 20px;
  }
}



.tm-intro-text {
  font-size: 1.2rem;
  text-align: justify;
  color: #000000;
}

.tm-icon {
  display: block;
  color: #38B;
}

.tm-continue {
	padding: 20px 0 30px 0;
}

/* forwhat */

.conteneur-image-tnd {
  display: flex;
  justify-content: center; 
  align-items: center; 
  margin-top: -10%;

}

.image-reduite-tnd {
  max-width: 100%; 
  max-height: 100%;
}

#forwhat {
  color: rgb(255, 255, 255);
  background-image: url(../img/forwhat-background.jpg);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: 100%; 
  position: relative;
  
}

#forwhat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(19, 142, 151, 0.192);
}
.tm-forwhat-content {
  position: relative;
  z-index: 100;
}

.tm-bg-overlay {
  width: 100%;
  height: 100%;
  background: rgba(20, 70, 80, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.tm-forwhat-carousel {
  margin: 0 auto; 
    display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.tm-forwhat-item {
  max-width: 290px;
  margin-left: 10px;
  margin-right: 10px;
}

.tm-forwhat-item img {
  border-radius: 50%;
  width: 300px; 
  height: 300px; 
  margin-bottom: 35px;
}

.tm-forwhat-item figcaption {
  text-align: right;
  font-style: italic;
  font-weight: bold;
  font-size: 1.1rem;
}

.tm-forwhat-carousel .slick-dots li button:before {
  color: white;
  opacity: 0.5;
}

.tm-forwhat-carousel .slick-dots li button:hover:before,
.tm-forwhat-carousel .slick-dots li button:focus:before,
.tm-forwhat-carousel .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}
.slick-dots {
  bottom: -65px;
}

.slick-dots li {
  margin: 0 13px;
}

.slick-dots li button:hover:before,
.slick-dots li button:focus:before,
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #38B;
}


.slick-dots li button:before {
  font-size: 18px;
}

@media screen and (max-width: 767px) {
  .tm-forwhat-item {
    flex: 0 0 auto;
    margin-left: 25px;
    margin-right: 29px;
  }

  /* Rétablir l'affichage des dots sur les écrans mobiles */
  .slick-dots {
    display: block !important;
  }
}

@media screen and (min-width: 768px) {
  /* Masquer les dots sur les écrans plus larges */
  .slick-dots {
    display: none !important;
  }
}


/* Work */
.tm-section-desc1 {
  color: rgb(255, 255, 255);
  text-shadow: 2 2px 2 rgba(0, 0, 0, 0.5);
  max-width: 400;
  width: 100%;
  font-size: 1rem;
  text-align: justify;
}
.tm-section-desc {
  text-shadow: 2 2px 2 rgba(0, 0, 0, 0.5);
  max-width: 400;
  width: 100%;
  font-size: 1.1rem;
  text-align: justify;
  color: #000000;
}

.tm-gallery-container {
  padding-top: 70px;
  padding-bottom: 120px;
  max-width: 1320px;
}

.tm-gallery-item {
  max-width: calc(16.666% - 20px);
  margin: 0 15px;
}


/* Hover Effect */
/* Common style */
.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  background: #38B;
  text-align: center;
  cursor: pointer;
}

.grid figure img {
  position: relative;
  display: block;
  min-height: 100%;
  max-width: 100%;
  opacity: 0.8;
}

.grid figure figcaption {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
  pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.grid figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

.grid figure h2 {
  word-spacing: -0.15em;
  font-size: 0.9em;
  font-weight: 300;
}

.grid figure h2 span {
  font-weight: 600;
}

.grid figure h2,
.grid figure p {
  margin: 0;
}

.grid figure p {
  letter-spacing: 1px;
  font-size: 68.5%;
}

/*---------------*/
/***** Honey *****/
/*---------------*/

figure.effect-honey {
  background: #77c3e64b;
  max-width: 220px;
}

figure.effect-honey img {
  opacity: 1;
  -webkit-transition: opacity 0.35s;
  transition: opacity 0.35s;
}

figure.effect-honey:hover img {
  opacity: 0.4;
}

figure.effect-honey figcaption::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: rgb(24, 10, 148);
  content: "";
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
}

figure.effect-honey h2 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em 1.5em;
  width: 100%;
  text-align: left;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey h2 i {
  font-style: normal;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, -30px, 0);
  transform: translate3d(0, -30px, 0);
}

figure.effect-honey figcaption::before,
figure.effect-honey h2 {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}

figure.effect-honey:hover figcaption::before,
figure.effect-honey:hover h2,
figure.effect-honey:hover h2 i {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.tm-container-gallery {
	padding-top: 30px;
	}

/* Contact */

#contact {
  color: white;
  position: relative;
  background: url('../img/footer_background.jpg') fixed;
  background-size: cover;
  background-position: center;
  background-color: hwb(346 60% 10%);
  background-repeat: no-repeat;
  min-height: 980px;
  position: relative;
  padding-bottom: 50px;
  padding-top: 100px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(12, 28, 117, 0.342);
}

.contact-item {
  margin-left: 20px;
  margin-bottom: 50px;
}

.item-link {
  display: flex;
  align-items: center;
}

.item-link i,
.item-link span {
  color: white;
  transition: all 0.3s ease;
}

.item-link:hover i,
.item-link:hover span {
  color: #38B;
}

.tm-input {
	margin: 0 0 20px 0;
	width: 90%;
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid white;
  background: transparent;
  color: white;
}

.tm-btn-submit {
	font-size: 0.9em;
	color: #fff;
	background-color: #38B;
	width: 50%;
	margin-bottom: 60px;
}

.tm-btn-submit:hover {
	color: #fff;
	background-color: #06427a;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: white;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: white;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: white;
}

.tm-footer {
  position: absolute;
  bottom: 35px;
  left: 0;
  right: 0;
  padding: 0 15px;
  margin-bottom: 10px;
}

.tm-footer a {
	color: #fff;
}

.tm-footer a:hover {
	color: #9CF;
}

.tm-footer-link {
  color: white;
}
.tm-footer-logo {
  position: absolute;
  bottom: 10px;
  right: 10px;
  height: auto; 
  width: 100px;
  height: 100px;
  background: url('../img/logo-sophro.png') no-repeat center center;
  background-size: contain; 
  background-color: white;
  z-index: 1500;
}

.tm-footer-logo {
  border: none;
  padding: 0;
  margin: 0;
}

.tm-footer-link:hover,
.tm-footer-link:focus {
  color: #38B;
  text-decoration: none;
}

p {
  line-height: 1.9;
}


@media (min-width: 1200px) {
  .container {
    max-width: 1275px;
  }

  .tm-container-gallery {
    max-width: 1290px;
  }

  .tm-container-contact {
    max-width: 1063px;
  }
}

@media (max-width: 991px) {
  .tm-intro-text-container {
    padding-left: 15px;
    padding-top: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-intro-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-btn-submit {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 480px) {
  .tm-gallery-container {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }

  .tm-gallery-container-2 {
    max-width: 350px;
  }

  .slick-dots li {
    margin: 0 8px;
  }

  .tm-gallery-item {
    margin: 0;
  }
}


/* Hover ado */
.custom-tooltip {
  position: relative;
  cursor: pointer;
}

.tooltip-text {
  visibility: hidden;
  width: 250px;
  background-color: #06427a8f;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity 0.3s;
}

.custom-tooltip:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


/* accompagnement parents */

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

.separation-image {
  width: 100%;
  height: 50%;
  opacity: 20%;
  display: block;
  margin: 0 auto;
}

.text-justify {
  text-align: justify;
}

#accparents .row:last-child img {
  height: calc(12 * 100% / 12); /* Calcul de la hauteur en fonction des lignes */
  width: 100%;
  overflow: hidden;
  max-width: 100%; /* Pour s'assurer que l'image ne dépasse pas de son conteneur */
}

.slick-prev,
.slick-next {
    border: none; 
    color: #000; 
    padding: 10px; 
    cursor: pointer; /* Curseur de la souris */
    position: absolute; /* Positionnement absolu */
    top: 45%; /* Centré verticalement */
    transform: translateY(-50%); /* Centre vraiment le bouton */
    z-index: 1; /* S'assure que les flèches sont au-dessus des slides */
}

.slick-prev {
    left: 10px; /* Positionné à gauche */
}

.slick-next {
    right: 60px; /* Positionné à droite */
}
/* Additional Responsive Enhancements */

/* Global Container Adjustments */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Grid system for general layouts */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.col {
  padding-left: 15px;
  padding-right: 15px;
  flex: 1 0 0%;
}

/* Responsive Text Adjustments */
h1, h2, h3, h4, h5, h6, p {
  line-height: 1.5;
}

@media screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .navbar-brand, .tm-nav-link {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .navbar-collapse {
    flex-direction: column;
  }

  .tm-hero-title {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 576px) {
  .container {
    padding: 0 10px;
  }

  .tm-hero-title {
    font-size: 1.5rem;
    text-align: center;
  }

  .tm-intro-text {
    font-size: 1rem;
  }
}

/* Utility classes for spacing */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
