/* TABLETTE */

*, *::before, *::after {
    box-sizing: border-box;
}

@font-face {
  font-family: 'Bungee';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: auto;
  src: url('../fonts/BungeeInline-Regular.ttf') format("truetype");
}

.Nunito {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

html {
  margin:0;
  padding:0;
  scroll-behavior: smooth;
}

body {	
  background-color: #0B1C3D;
  color: white;
  font-family: 'Nunito';
  font-size: 100%;
  line-height: 1.5em;
  color: #000000;
  margin: 0;
}

body.page-full-bg {
  min-height: 100vh;
  background-image: url('../img/fond-lightblue.png') !important;
  background-size: cover;
  background-position: center;
  background-repeat: repeat-x;
  color: white;
  font-family: 'Nunito';
  font-size: 100%;
  line-height: 1.5em;
  margin: 0;
  z-index: 2;
}

a {
  color: #FF0089;
  text-decoration: none;
}

a:hover {
  color:#EB59A8;
}

.titre-sparkle {
  margin-bottom: 5% !important;
}

.titre-sparkle.sparkle-active {
  animation: sparkleFade 2s ease-in-out;
}

/* Animation sparkle */
@keyframes sparkleFade {
  0% {
    text-shadow: 0 0 4px #fff, 0 0 8px #ff0089, 0 0 15px #ff0089;
    opacity: 1;
  }
  50% {
    text-shadow: 0 0 6px #fff, 0 0 12px #ff0089, 0 0 20px #ff0089;
    opacity: 1;
  }
  100% {
    text-shadow: none;
    opacity: 1;
  }
}

.titre-rose {
  color: #ff0089;
}

main {
  background: #0B1C3D;
  padding: 2% 5%;
  box-sizing: border-box;
}

/*HEADER ET FOOTER*/
header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  background-color: #0B1C3D;
  z-index: 1;
}

header li {
  transition: 0.3s ease-in-out;
}

.container-header {
  display: flex;
  box-sizing: border-box;
  padding: 2% 5% 1% 3%;
  width: 100%;
}

.container-header .logo {
  width: 15%;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

header img {
  width: 100%;  
  display: block;
}

footer {
  background-color: #6963DF; 
  width: 100%;
  padding: 1px 1px;
  box-sizing: border-box;
}

footer li {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform:none;
  color: white;
}

.container-footer {
  display: flex;
  box-sizing: border-box;
  padding: 1% 3%;
  width: 100%;
}

.container-footer .logo {
  width: 25%;
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#footer .logo img {
  width: 30%;  
  display: block;
}

#footer-menu-toggle {
  display: none;
}

#footer-menu {
  width: 50% !important;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#footer-menu #footer-menu-list {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  list-style: none;
  padding: 0;
  font-family: 'Nunito';
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

#footer-menu #footer-menu-list li {
  text-align: left;
  position: relative;
}

#footer-menu #footer-menu-list li a {
  display: block;
  padding: 6px 0 6px 6px;
  text-decoration: none;
  color: inherit;
  justify-content: left;
  align-items: top; 
  width: auto;
  white-space: nowrap;
  line-height: 1em;
  transition: 0.2s ease-in-out;
}

#footer-menu #footer-menu-list li a:hover{
  color: #A7C5FF;
}

#footer-menu #footer-menu-list > li > ul {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0;
  padding: 0;
  margin: 0;
  z-index: 100;
  transition: 0.2s ease-in-out;
}

#footer-menu #footer-menu-list li:hover > .sub-menu,
#footer-menu #footer-menu-list li.active > .sub-menu {
  display: block;
  background-color: #6963DF82;
}

.social {
  width: 10%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 0;
  margin-right: 5%;
}

.social img {
  width: 50%;
}

.legal {
  width: 10%;
  display: block;
}

.legal p, .legal a {
  font-size: 0.8rem;
  line-height: 1.5em;
  text-align: right;
  color: white !important;
}

.footer-legal-mobile {
    display: none;
}

.svg {
  color: white;
}

/* STYLE GLOBAL DU MENU - HEADER */

#menu-toggle {
  display: none;
}

#menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 0.4rem;
  box-sizing: border-box;
}

#menu ul {
  display: flex;
  align-items: stretch;
  justify-content: space-evenly;
  list-style: none;
  padding: 0;
  font-family: 'Nunito';
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

#menu li {
  text-align: left;
  position: relative;
}

#menu li a {
  display: block;
  padding: 6px 0 6px 6px;
  text-decoration: none;
  color: inherit;
  justify-content: left;
  align-items: top; 
  width: auto;
  white-space: nowrap;
  line-height: 1em;
  transition: 0.2s ease-in-out;
}

#menu li a:hover{
  color: #A7C5FF;
}

#menu-list > li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  margin: 0;
  z-index: 100;
  transition: 0.2s ease-in-out;
}

.sub-menu li {
  display: block;
  width: 100%;
  text-transform: none !important;
  font-weight: 400;
  transition: 0.2s ease-in-out;
}

.sub-menu li a {
  display: block;
  padding: 10px 15px;
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  white-space: nowrap;
}

#menu-list > li.active {
  color: white;
}

.sub-menu li a:hover{
  color: #A7C5FF;
}

#menu li:hover > .sub-menu,
#menu li.active > .sub-menu {
  display: block;
  transition: 0.2s ease-in-out;
}

h1 {
  font-family: 'Bungee';
  font-weight: 300;
  color: white;
  text-transform: uppercase;
  font-size:2.5rem;
  letter-spacing: 1.5px;
  line-height: 1em;
  padding: 0 !important;
  margin: 0 !important;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #EB59A8;
}

h2 {
  font-family: 'Bungee';
  color: white;
  font-size: 2rem;
  font-weight: normal;
  text-align: left;
  scroll-margin-top: 120px; 
}

h3, h4, h5 {
  color: #000000;
  font-family: 'Nunito';
  margin: 10px 0 10px 0;
}

/*SECTIONS PAGES*/

section {
  box-sizing: border-box;
  padding: 5% 0%;
}

#blocs {
  display: flex;
  align-items: stretch;
  gap: 1%;
  width: 100%;
}

.illustration-double {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 45%;
  flex-direction: column;
  justify-content: space-between;
}

.illustration-double img {
  width: 100%;
  height: calc((100% - 1%) / 2);
  object-fit: cover;
}

.illustration-seule {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 45%;
  flex-direction: column;
  justify-content: space-between;
}

.illustration-seule img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text {
  background-color:#E9E9E9;
  flex: 0 0 55%;
  box-sizing: border-box;
  padding: 3% 5% 1% 5%;
  margin-top: 0 !important;
  text-align: justify;
}

.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6,
.text ul,
.text ol {
  margin: 0;
  padding: 0;
}

#blocs > div.text > p {
  margin-top: 0;
  padding: 0;
  font-family: 'Nunito';
  font-size: 0.9rem;
  line-height: 1.5em;
}

#blocs > div.text > li {
  margin-left: 2em;
}

.accordion {
  width: 100%;
  font-family: 'Nunito';
  border: 1px solid #D1D1D1;
  background-color:#E9E9E9;
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  color: black;
  cursor: pointer;
  margin: 5px 0;
  box-sizing: border-box;
  text-align: justify;
  font-weight: 400;
  font-size: 0.9rem;
  transition: all 0.4s ease-in-out;
  padding: 0;
}

.accordion-bloc-title {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.accordion-icon {
  background-color: none;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5%;
}

.accordion-icon img {
  max-width: 30px;
}

.accordion-title {
  font-family: 'Nunito';
  padding: 13px;
  margin-left: calc(70px + 5px);
}

.active, .accordion:hover {
  box-shadow: 0px 7px 29px 0px rgba(152, 149, 255, 0.18);
  background-color: none;
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 15px;
  color: #000000;
  float: right;
  margin-right: 15px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

#cursus-accordion {
  box-sizing: border-box;
}

.panel {
  display: none;
  overflow: hidden;
  max-height: 0;
  gap: 30px;
  padding: 0 18px;
  background-color: inherit;
  transition: max-height 0.4s ease-in-out;
  font-size: 0.9rem;
  line-height: 1.5em;
}

.panel.open {
  display: block;
  opacity: 1;
}

/* ACTUALITES */
.event {
  background-color: #E9E9E9;
  font-family: 'Nunito';
  padding: 15px 20px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-header strong {
  color: black;
  font-family: 'Bungee';
  font-size: 1.1rem;
  font-weight:300;
}

.event-header em {
  font-style: normal;
  font-weight: 600;
  color: #333;
}

.event-header small {
  color: #666;
  font-size: 0.9rem;
}

.event-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.event-content p {
  font-size: 0.9rem;
  flex: 1;
  line-height: 1.5em;
}

.event-content a {
  color: inherit;
}

.event-content img {
  max-width: 400px;
  object-fit: cover;
  flex-shrink: 0;
}

/* INSPIRATIONS */
.inspi-subtitle {
  font-size: 1.5rem;
  padding: 0;
  margin-top: 0;
}

#inspirations p {
  color: white;
}

#inspi-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  width: 100%;
  margin-top: 40px;
}

.inspi-card {
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
}

.inspi-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.inspi-card:hover img {
  transform: scale(0.9);
}

.inspi-card .info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    background: rgba(0, 0, 0, 0.4);
}

.inspi-card .info h3 {
    color: white;
    font-size: 16px;
    margin: 0;
}

/* TEMOIGNAGES */
#temoignages {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.temoignages-ecrit {
  display: block;
}

.temoignage-card {
  position: relative;
  background: inherit;
  padding: 30px 25px;
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.5em;
  color: white;
}

.temoignage-card::before {
  content: "“";
  position: absolute;
  top: -30px;
  left: 10px;
  font-size: 5rem;
  color: #EB59A8;
  font-weight: bold;
  padding-top: 50px;
}

.temoignage-card::after {
  content: "”";
  position: absolute;
  bottom: -30px;
  right: 10px;
  font-size: 5rem;
  color: #EB59A8;
  font-weight: bold;
  padding-bottom: 50px;
}

.temoignage-card .texte {
  margin: auto;
}

.temoignage-card .auteur {
  text-align: center;
  font-style: normal;
  font-weight: 400;
  color: #EB59A8;
  margin: 10px 0;
}

/*Témoignages vidéo*/
#blog #blocs {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

#blocs video {
  width: 25%;
  max-width: 400px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 8px;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

#temoignage-video > div > .video-block > video {
  aspect-ratio: 1/1;
  width: 65%;
  object-fit: cover;
}

.video-block {
  text-align: center;
  margin: 20px auto;
  max-width: 500px;
}

.video-block figcaption {
  margin-top: 0;
  font-size: 0.8rem;
  line-height: 1.5em;
  color: #ccc;;
}

/* TARIFS */
.tarif-subtitle {
  font-size: 2.5rem;
}

.italic {
  font-size: 0.8rem;
}

.tarif-grid {
  display: block;
}

.tarif-item {
  border-radius: 3px;
  padding: 10px 20px;
  width: 100% !important;
  background: #E9E9E9;
  color: black;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 5px 0;
}

.tarif-item .label {
  font-weight: 400;
  font-size: 0.9rem;
}

.tarif-item .price {
  font-weight: 400;
  font-size: 0.9rem;
  white-space: nowrap;
}

.tarif-item .line {
  flex-grow: 1;
  height: 1px;
  background: #000;
  margin: 0 12px;
}

.tarif-item .precision {
  width: 100% !important; 
  font-size: 0.8rem;
  color: #555;
  margin-left: 0;
  margin-top: 4px;
  font-style: italic;
}

/* PAGE CONTACT : FORMULAIRE */
form {
  margin: 1em auto;
  width: 100%;
}

.form-grid {
  display: block;
  gap: 1.5em;
}

.full-width {
  grid-column: 1 / -1;
}

#nom, #prenom, #email, #telephone {
  width: 100%;
}

.form-group label {
  display: block;
  font-weight: 400;
  font-size: 1rem;
  margin-top: 1em;
  margin-bottom: 0.4em;
  color: white;
}

::placeholder {
  font-family: 'Nunito';
  font-size: 0.9rem;
  color: #A9A9A9;
}

input,
textarea {
  font: 1rem;
  padding: 15px 12px;
  border: none;
  box-sizing: border-box;
}

input:focus,
textarea:focus {
  outline: none;
}

#message {
  width: 100%;
  height: 10em;
}

.demande-select {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 10px;
}

.demande-select label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.form-buttons {
  width: 100%;
}

#formulaire > div > .form-buttons > button {
  display: block;
  gap: 1em;
  width: 100% !important;
  font-family: 'Nunito';
  color: white;
  margin-top: 2em;
  text-transform: uppercase;
  border: 1px solid white;
  background-color: inherit;
  font-weight: 700;
  padding: 10px;
  transition: 0.2s ease-in-out;
}

#formulaire > div > div.form-buttons > button:hover {
  background-color: #EB59A8;
  cursor: pointer;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  margin-top: 15px;
  margin-bottom: 15px;
  text-align: center;
}

.infos-grid {
  display: flex;
  width: 100;
  font-size: 1rem;
  line-height: 1.5em;
  color: white;
}

.left {
  width: 50%;
  margin-right: 20px;
}

.right {
  width: 50%;
}

.left li {
  list-style-type: none;
}

/* MENTIONS LEGALES */
.mentions-legales {
  background-color:#E9E9E9;
  width: 100%;
  box-sizing: border-box;
  padding: 3% 5% 1% 5%;
  margin-top: 0 !important;
  text-align: justify;
}

/* RETOUR EN HAUT */
#back-to-top {
  position: fixed;
  bottom: 5px;
  right: 5px;
  clip-path: circle(15px);
  background-color: grey;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, background-color 0.3s;
  z-index: 1000;
}

#back-to-top.show {
  opacity: 0.5;
  visibility: visible;
}

#back-to-top:hover {
  opacity: 1;
}

/* RESERVATION */
#duration-select {
  font-family: 'Nunito';
  border-radius: 6px;
  padding: 6px;
}

/* FULL CALENDAR */
#calendar-container {
  max-width: 500px;
  margin: 0 auto;
  font-size: 0.85rem;
}

#calendar .fc-daygrid-day.active {
  background-color: #EB59A8;
}

#calendar {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  font-family: 'Nunito', sans-serif;
  background: transparent;
  overflow: hidden;
}

.fc .fc-daygrid-day {
  padding: 2px;
  border: 1px solid grey;
  height: 30px;
  min-height: 30px;
  max-height: 30px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
  box-sizing: border-box;
}

.fc .fc-daygrid-day-top {
  justify-content: center;
}

.fc .fc-daygrid-day-number {
  font-size: 14px;
  font-weight: 600;
  color: white;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  border-radius: 6px;
  box-sizing: border-box;
}

.fc .fc-daygrid-day.reservable:hover {
  background: #C94B8F;
  cursor: pointer;
}

.fc .fc-daygrid-day.non-reservable:hover {
  color: grey;
  background: transparent;
  cursor: default;
}

.fc .fc-col-header-cell-cushion {
  color: white;
}

.fc-slot {
  font-size: 0.8rem;
  padding: 3px 6px;
  margin: 2px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-reserver {
  display: inline-block;
  margin: 2px;
  padding: 4px 6px;
  font-size: 0.8rem;
  background-color: #EB59A8;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.btn-reserver:hover {
  background-color: #FF0089;
}

/* Jours non disponibles (week-end, jours fériés, vacances, passés) */
.fc-daygrid-day.non-reservable .fc-daygrid-day-number {
  color: #555;
  opacity: 1;
  cursor: default;
}

/* Jours réservables */
.fc-daygrid-day.reservable .fc-daygrid-day-number {
  color: white;
  cursor: pointer;
}

.fc .fc-daygrid-day.fc-day-other {
  color: #555;
}

.fc .fc-toolbar button {
background: transparent;
color: #fff;
border: none;
font-size: 14px;
}
.fc .fc-toolbar button {
background: rgba(255,255,255,0.2);
border-radius: 4px;
}

/* Confirmation résa */
#slot-details {
  color: white;
}