@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

/* ----------------------------------------------------------------
Variables de couleurs
-----------------------------------------------------------------*/
body {
	line-height: 1.5;
	color: #2a2558;
	font-family : sans-serif;
}

a { color: #08b9Ed; }

a:hover { color: #5d256f; }

p, ul {
	color: #2a2558;
	font-size: 1em;
}


h1,
h3,
h4 {
	color: #08b9Ed;
	font-weight: 900;
	line-height: 1.2;
	font-family: 'Roboto', sans-serif;
}
h2 {
	color: #5d256f;
	font-weight: 900;
	line-height: 1.2;
	font-family: 'Roboto', sans-serif;
	text-transform  : uppercase;
}

.white {
	color: #FFFFFF;
}

@media (max-width: 400px) {
	.h1-index {
	  color: white;
		font-size :2rem;
		font-weight: 700;
	}}



/* ----------------------------------------------------------------
Navbar
-----------------------------------------------------------------*/

.navbar-custom {
	padding-left: 100px;
	padding-right: 100px;
	background-image: linear-gradient(-45deg, #5f2a78 0%, #196ab3  100%);
	color: white;
}

.navbar-custom.home {
	padding-left: 100px;
	padding-right: 100px;
  background: transparent;
  color: #2a2558;
}

@media (max-width: 400px) {
	.navbar-custom {
		padding-left: 20px;
		padding-right: 20px;
	}}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}
.navbar-toggler {
    padding: 5px;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    position: relative;
}

.navbar-custom.home .navbar-toggler-icon {
    background-color: #2a2558;
}

span.navbar-toggler-icon::before,
span.navbar-toggler-icon::after {
    background-color: white;
}

.navbar-custom.home .navbar-toggler-icon::before,
.navbar-custom.home .navbar-toggler-icon::after {
    background-color: #2a2558;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    position: absolute;
    left: 0;
}
.navbar-toggler-icon::before {
    top: -8px;
}
.navbar-toggler-icon::after {
    top: 8px;
}

.nav-link {
	color : #2a255890 ;
	text-transform: uppercase;
	font-weight: bold;
}

.navbar-custom a.nav-link {
    color: white;
}

.navbar-custom.home a.nav-link {
    color: #2a2558;
}

.navbar-custom a.nav-link:hover {
	color : #08b9Ed ;
}

.nav-pills .nav-link.active {
    background-color: #5d256f ;
}

.navbar-brand {
  margin-right: 3rem;
}

/* ----------------------------------------------------------------
Bouttons
-----------------------------------------------------------------*/

.button {
		text-decoration: none;
   	color: #fff;
		background-image: linear-gradient(45deg, #2a2558 0%, #047ec2  100%);
		align-items: center;
	  border-radius: 100px;
	  border-width: 0;
		cursor: pointer;
		line-height: 1.5;
		padding: 10px 30px;
}

.btn-grad:hover {
		background-position: right center; /* change the direction of the change here */
		color: #fff;
		text-decoration: none;
}


.button:hover, .button:active {
	color: #fff;
	background: #2C313C;
	text-decoration: none;
}

.button-white {
	text-decoration: none;
  color: #047ec2;
	background: #FFFFFF;
	align-items: center;
	border-radius: 100px;
	border-width: 0;
	cursor: pointer;
	line-height: 1.5;
	padding: 10px 30px;
	margin: 0 auto;
	display: inline-block;
}

.button-white:hover, .button-white:active {
	color: #fff;
	background:#2C313C;
	text-decoration: none;
}

.button-outline {
  background: transparent;
  color: #047ec2;
  border: 2px solid #047ec2;
  padding: 10px 30px;
  border-radius: 100px;
  transition: background-color 0.3s, color 0.3s;
	margin-left: 10px;
	margin-right: 10px;
}

.button-outline:hover,
.button-outline:active {
  background: #2a2558;
  color: #fff;
  text-decoration: none;
}

.button-outline.active {
  position: relative;
  border-color: #2a2558;
  font-weight: bold;
}

.button-outline.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #2a2558;
  width: 0;
  height: 0;
}

/* ----------------------------------------------------------------
	Container
-----------------------------------------------------------------*/
header.container-fluid {
  position: relative;
  z-index: 20;
}

.container {
  width: 95%;
  margin: auto;
	padding-top:7vh ;
	padding-bottom:7vh ;
}

.container-fluid {
	padding-top:7vh ;
	padding-bottom:7vh ;
}

.container-blue {
	background-image: linear-gradient(45deg, #5f2a78 0%, #196ab3  100%);
	color: #ffffff;
}

.container-dark-blue {
	background-color: #2a2558;
}

.container-index {
		background: url("../assets/images/background-01.jpg"),#08b9Ed80;
		background-position: bottom;
		padding-top:15vh ;
		padding-bottom:23vh ;
		background-size: cover;
		position: relative;
   		z-index: 10;

}

/* ----------------------------------------------------------------
Eléments d'une page type
-----------------------------------------------------------------*/

.title {
	background: linear-gradient(0deg, #b6dcf59c 0%, #ffffff 100%), url("../assets/images/vagues.png") no-repeat center center;
	background-size: 100% 150%;
}

.page-mentions {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/mentions.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}

.page-collyc {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/college-lycee.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}

.page-etab {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/institution.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}

.page-pastorale {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/etablissement.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}

.page-ecole {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/ecole.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}

.page-sup {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/sup.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}

.page-infos {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/infos.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}

.page-contact {
  background:
    url("../assets/images/headers/vagues-01.png") no-repeat center bottom / 100% auto,
    linear-gradient(45deg, rgba(95, 42, 120, 0.75) 0%, rgba(25, 106, 179, 0.75) 100%) no-repeat center center / cover,
	  url("../assets/images/headers/contact.jpg") no-repeat center center / cover ;
	padding: 120px 0;
  color: #fff;
}


#title {
	color:#ffffff;
	font-size: 2em;
	margin-top:1rem;
}

.ariane {
	text-align: center;
	color:#5d256f;
}

.text-blue {
	text-color:#2a2558;
	font-weight: bolder;
	text-align: left;
}

.separator-gradient {
  border: none;
  height: 3px;
  margin: 2rem 0;
  background: linear-gradient(to right,#2a2558,#047ec2);
  border-radius: 2px;
}

.separator-white {
  border: none;
  height: 3px;
  margin: 2rem 0;
  background: white;
  border-radius: 2px;
}


.visuel {
  border-radius: 2vw;
  border: 2px solid white;
  width:100%;
	height : 100%;
  background:
        url('../assets/images/portes-ouvertes.png') no-repeat center center;
  background-size: contain;
  height:300px;
  overflow: hidden;
}

.carte-blanche{
	border-radius: 2vh;
	border: 2px solid white;
	padding : 5vh;
}

.carte-bleue{
	border-radius: 2vh;
	border: 2px solid #B6DCF59C;
	padding : 5vh;
}

#footer {
	padding : 20px;

}

.backpattern {
	background: url("../assets/images/pattern-01.png") no-repeat bottom left;
	background-size: contain;
}

/* ----------------------------------------------------------------
Divers
-----------------------------------------------------------------*/

/* ----------------------------------------------------------------
Flèche sur la page d'accueil
-----------------------------------------------------------------*/
.scroll-down {
    position: absolute;
	z-index: 25;
    bottom: 10px;
	left: 50%;
 	transform: translateX(-50%);
 	width: 40px;
 	height: 40px;
}

.scroll-down img {
    width: 100%;
    height: auto;
    animation: bounce 1.5s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* ----------------------------------------------------------------
Sous-menu pour le header
-----------------------------------------------------------------*/

.submenu {
    display: block;
    max-height: 0;  /* Caché par défaut */
    overflow: hidden;
    background-color: #2a2558;
    color: white;
    text-align: center;
    padding: 0; /* Pas de padding quand fermé */
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Animation fluide */
	z-index: 30;
}

.submenu.open {
    max-height: 200px;
    padding: 10px;
}

.submenu a {
    display: inline-block;
    text-decoration: none;
    color: #2a2558;
    background-color: #FFFFFF;
    padding: 10px 15px;
    margin: 5px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: small;
    border-radius: 25px;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s; /* Animation fluide */
}

.submenu a:hover {
    background-color: #1d1b3e;
		color: white;
}


/* ----------------------------------------------------------------
Stats section sur la page d'accueil
-----------------------------------------------------------------*/

.stats-section {
  margin-top: -8vh;
  position: relative;

}

.stats-background {
  background-color: #2a2558;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.stat-card {
  background: #ffffff;
  border-radius: 2vw;
  box-shadow: 0 0 3vw rgba(8, 185, 237, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 15vh;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.stats-section .stat-card {
  position: relative;
  z-index: 25;
}

.stat-card:hover {
  transform: translateY(-1vh);
  box-shadow: 0 0 4vw rgba(8, 185, 237, 0.7);
}

.stats-section .row {
  margin-top: -5vh;
}

/* Animation à l'apparition */
.animate {
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInZoom 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive tweaks */
@media (max-width: 767px) {
  .stats-section {
    margin-top: -5vh;
    padding: 5vh 0;
  }
  .stat-card {
    min-height: 25vh;
  }
}


/* ----------------------------------------------------------------
Tableaux
-----------------------------------------------------------------*/
 table {
    width: 80%;
    border-collapse: collapse;
    text-align: center;
    font-family: sans-serif;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
	 margin: 0 auto;
  }

  colgroup col:first-child,
  colgroup col:last-child {
    width: 40%; /* Colonnes 1 et 3 */
  }

  colgroup col:nth-child(2) {
    width: 20%; /* Colonne du milieu */
  }

  thead tr {
    background-color: #08b9Ed;
    color: white;
  }

  th, td {
    padding: 6px 6px;
    border: 1px solid #e0e0e0;
  }

  tbody tr:nth-child(even) {
    background-color: #f3f6f9;
  }

  tbody tr:hover {
    background-color: #e6f0fa;
  }

  tbody th {
    background-color: transparent;
    font-weight: bold;
    color: #2a2558;
  }

/* ----------------------------------------------------------------
Scroll to top
-----------------------------------------------------------------*/
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 40px;
  height: 40px;
  background-color: #2a2558;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  line-height: 1;
  padding-bottom: 5px;
}

#scrollTopBtn:hover {
  background-color: #047ec2;
}



/* ----------------------------------------------------------------
Galerie
-----------------------------------------------------------------*/
.square {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
}

/* ----------------------------------------------------------------
Réseaux sociaux
-----------------------------------------------------------------*/

.social-links a {
  color: #FFFFFF;
  margin: 0 10px;
  font-size: 24px;
  transition: color 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  color: #2C313C;
}

.social-links-dark a{
  color: #2C313C;
  margin: 0 10px;
  font-size: 24px;
  transition: color 0.3s;
  text-decoration: none;
}

.social-links-dark a:hover {
  color: #047ec2;
}

/* ----------------------------------------------------------------
Citation
-----------------------------------------------------------------*/

.citation {
  font-style: italic;
  font-size: 1.25rem;
  color: #555555;
  background-color: #ffffff;
  border-left: 5px solid #047ec2;
  padding: 20px 30px;
  margin: 40px auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  line-height: 1.6;
  border-radius: 8px;
  text-align: left;
}

/* ----------------------------------------------------------------
Spécialités pour la page lycée-collège
-----------------------------------------------------------------*/
/* On enlève les puces de la liste */
.specialites {
  list-style: none;
  padding: 0;
}

/* On enlève le triangle par défaut de <summary> */
.specialites summary {
  list-style: none;
  cursor: pointer;
  display: flex;
}

.specialites summary::-webkit-details-marker {
  display: none; /* retire le triangle sur Chrome */
}

/* La flèche ▶ */
.arrow {
  display: inline-block;
  width: 20px;
  margin-right: 8px;
  transition: transform 0.2s;
}

/* Quand le <details> est ouvert, on transforme la flèche en ▼ */
details[open] .arrow {
  transform: rotate(90deg); /* ▶ devient ▼ */
}

/* Style du texte déroulant */
details p {
  margin: 10px 0 0 28px; /* aligné avec le texte du titre */
  color: #444;
  font-size: 0.95rem;
}

/* ----------------------------------------------------------------
Formulaire de contact
-----------------------------------------------------------------*/

/** Variables **/

:root {
	--color-border-active: #da7105;
  --color-border-default: #d1d1d1;
}

/** Components **/

.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-field {
  display: flex;
  flex-direction: column;
}

.fs-label {
  display: block;
  font-size: 1rem;
  line-height: 1.25rem;
	color: #5d256f;
	font-weight: 900;
	font-family: 'Roboto', sans-serif;
	text-transform  : uppercase;
}

.fs-button-group {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 1.5rem;
}

.fs-form:where(.fs-layout__2-column) .fs-button-group {
  grid-column: 1 / -1;
}


.fs-input,
.fs-select,
.fs-textarea {
  appearance: none;
  border-radius: 9999px;
  border-width: 0;
  box-shadow: #08b9Ed 0 0 0 1px inset;
  color: var(--color-text-default);
  font-size: 1rem;
  height: 3rem;
  line-height: 1.5rem;
  outline: none;
  padding-left: 1rem;
  padding-right: 1rem;
}

.fs-input:focus-visible,
.fs-select:focus-visible,
.fs-textarea:focus-visible {
  box-shadow: #5d256f 0 0 0 1px inset;
}

.fs-textarea {
  border-radius: 1rem;
  border-width: 0;
  resize: vertical;
	min-height: 12vh;
}
