*{
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}

body{
background-image: linear-gradient(109.2deg, rgba(3,23,33,1) 23.1%, rgba(4,48,70,1) 66.7%, rgba(2,63,93,1) 104.8%);
color:white;
min-height: 100vh; 
line-height:1.6;
width: 100%;
}

h2{
text-align:center;
text-transform:uppercase;
margin: 40px 0;
font-size: 2rem;
}

header{
background-image: linear-gradient( 109.2deg,  rgba(3,23,33,1) 23.1%, rgba(4,48,70,1) 66.7%, rgba(2,63,93,1) 104.8% );
padding: 20px 5%;
}

/* --- HEADER --- */
.navbar {
display: flex;
align-items: center;
justify-content: space-between; 
}

.logo img {
height: 120px; 
width: auto;
}

.navbar ul {
display: flex;
list-style: none;
gap: 30px;
margin: 0;
padding: 0;
}

.navbar ul li a {
text-decoration: none;
color: white;
font-weight: 500;
font-size: 1.3rem;
position: relative;
padding: 5px 0;
transition: color 0.3s ease;
}
.navbar ul li a {
text-decoration: none;
color: white;
font-weight: 500;
font-size: 1rem;
padding: 6px 14px; 
border-radius: 30px; 
transition: all 0.3s ease; 
}

.navbar ul li a:hover {
background-color: rgba(255, 77, 0, 0.15); 
color: #ff4d00;
}

.search-bar {
display: flex;
align-items: center;
background: #f5f5f5; 
border-radius: 100px; 
padding: 6px 14px;
max-width: 250px; 
width: 100%;
}

.search-bar button {
background: transparent; 
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
padding: 0;
margin-right: 8px; 
}

.search-bar input {
width: 100%;
background: transparent;
outline: none;
border: none;
color: #111;
font-size: 0.95rem;
}

.search-bar input::placeholder {
color: #707072; 
}

/* --- BARRE DE RECHERCHE --- */
.search-bar {
display: flex;
align-items: center;
background: #f5f5f5; 
border-radius: 100px; 
padding: 6px 14px;
max-width: 250px; 
width: 100%;
}

.search-bar button {
background: transparent; 
border: none;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.1rem;
padding: 0;
margin-right: 8px; 
}

.search-bar input {
width: 100%;
background: transparent;
outline: none;
border: none;
color: #111;
font-size: 0.95rem;
}

.search-bar input::placeholder {
color: #707072; 
}


/* --- SECTION SALLES --- */
.salles {
padding: 80px 5%;
background-image: linear-gradient(109.2deg, rgba(3,23,33,1) 23.1%, rgba(4,48,70,1) 66.7%, rgba(2,63,93,1) 104.8%);
color: white;
}

.salles h2 {
margin-top: 20px;
margin-bottom: 70px;
letter-spacing: 2px;
}

.cards {
display: grid;
grid-template-columns: repeat(4, 1fr); 
gap: 35px 25px; 
margin-bottom: 40px;
}

.card {
background-image: linear-gradient(90.3deg, rgb(163, 72, 2) 34.6%, lab(25.2% 46.36 35.46) 63.7%);
border-radius: 12px;
overflow: hidden;
display: flex;
flex-direction: column;
}

.card img {
width: 100%;
height: 140px; 
object-fit: cover;
}

.card-info {
padding: 15px;
flex-grow: 1;
display: flex;
justify-content: space-between;
align-items: center;
}

.card h4 {
margin: 0;
font-size: 0.95rem;
font-weight: bold;
align-items: flex-end;
}

.card p {
margin: 8px 0 0 0;
font-size: 0.85rem;
color: aliceblue;
}

/* --- BOUTON DECOUVRIR --- */
.btn-decouvrir {
display: block;          
width: fit-content;      
margin-left: auto; 
margin-top: auto;
font-size: 0.75rem;      
background-color: white;
padding:4px 10px;  
color:  rgb(0, 0, 0);        
border: 1px solid white;
text-decoration: none;
text-transform: uppercase;
font-weight: bold;
border-radius: 3px;
}

/*--- BOUTON SECONDAIRE ---*/
.btn-secondary {
display: inline-block; 
width: fit-content;   
text-align: center;
padding:  24px;   
border-radius: 8px; 
text-decoration: none;
font-weight: bold;
background: linear-gradient(90.3deg, rgb(163, 72, 2) 34.6%, lab(25.2% 46.36 35.46) 63.7%);
color: white;
margin-left: 0; 
}

/* --- BARRE DE FILTRES --- */
.filter-bar {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 30px;
}

.btn-filter {
background-color: rgba(4, 48, 70, 0.4);
color: white;
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 8px 16px;
border-radius: 8px;
font-weight: bold;
cursor: pointer;

}

.btn-filter:hover {
border-color: #ff4d00; 
background-color: rgba(255, 77, 0, 0.1);
}

/* Style du lien Accueil (utilisateur de l'IA)*/
.fil-ariane li a {
color: #ff4d00;        
text-decoration: none;
}

.fil-ariane li a:hover {
text-decoration: underline;
}

/* aide extérieur */
.fil-ariane li:not(:last-child)::after {
content: ">";
margin-left: 10px;
color: #707072;
}

@media (max-width: 768px) {
.flex-container, .grid-container {
flex-direction: column ;
grid-template-columns: 1fr ;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
}

