*{
margin: 0;
padding:0;
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: #e0e0e0;
line-height:1.6;
}

h2{
color: white;
text-align: center;
text-transform: uppercase;
letter-spacing: 2px;
font-size: 2rem;
margin-bottom: 40px;
}

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%;
}

.navbar{
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}

/* Gestion du conteneur du logo */
.logo {
text-transform: uppercase;
font-weight: bold;
white-space: nowrap;
}

.logo img {
width: 130px;       
}

/* --- 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; 
}
/* --- HERO SECTION --- */
.hero{
height: 70vh;
background:  url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
display: flex;
align-items: center;
justify-content: flex-end;
padding: 8%;
} 

.hero h1{
background-color: #001f31; 
}

/* --- 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 {
color:white;
margin-bottom: 70px;
font-size: 2rem;
text-transform: uppercase;
letter-spacing: 2px;  
}

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

.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;
transition: all 0.3s ease;
display: flex;
flex-direction: column;
border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.card-info {
padding: 20px 15px;
flex-grow: 1;
}

.card h4 {
margin: 0;
font-size: 0.95rem;
font-weight: bold;
text-transform: uppercase;
}

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

.btn-decouvrir {
display: block;          
width: fit-content;      
margin-left: 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;
}

/* --- DÉMARCHES --- */
.demarches {
background-color: #051923;
padding: 4%;
text-align: center;
}

.demarches h2{
color: white;
margin-top: 20px;
margin-bottom: 60px;
font-size: 2rem;
text-transform: uppercase;
letter-spacing: 2px;    
}

.steps-container{
display: flex;
justify-content: space-between;
align-items: flex-start;
gap:0;
}

.steps-item{
flex: 1;
padding: 0 20px;
box-sizing: border-box;
}

.step-content {
display: flex; 
align-items: center;
justify-content: center;
gap: 10px;
margin-bottom: 15px;
}

.step-nombre{
font-size: 2.5rem;
font-weight: bold;
text-align: left;
max-width: 150px;
line-height: 1.2;
color:#e64500;
}

.step-titre{
font-size: 1.1rem;
font-weight: bold;
color: #fffefe;
text-align: left;
max-width: 150px;
line-height: 1.2;
}

.step-item p{
display: block; 
font-size: 0.95rem;
color: #fffefe;
line-height: 1.5;
text-align: center;
margin: 0 auto;
max-width: 220px;
}

/* --- ABONNEMENTS --- */
.abos-container{
display: flex;
justify-content: center;
gap: 20px;
padding: 50px 5%;
}

.abonnement h2{
color: rgb(255, 255, 255);
padding-top: 60px;
margin-bottom: 30px;
font-size: 2rem;
text-transform: uppercase;
letter-spacing: 2px;
}

.abo{
border: 2px solid #e64500;
border-radius: 25px;
padding: 40px;
font-size: 1.2rem;
min-width: 200px;
background: rgba(4, 48, 70, 0.3);
transition: transform 0.3s ease;
}

.abo .tagline {
font-size: 0.85rem;
color: #a0aec0;
margin-bottom: 20px;
}

.formules-liste p{
font-size: 1rem;
color: #e0e0e0;
margin-bottom: 12px;
padding-left: 20px;
position: relative;
}

.formules-liste p::before {
content: "✓";
position: absolute;
left: 0;
font-weight: bold;
color: #e64500;
}

.abo:hover {
transform: scale3d(1.1, 1.1, 1);
border-color: white;
box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* --- ESPACES --- */
.espaces-grid{
display: flex;
justify-content: center;
gap: 40px;
padding: 15px 5px 50px;
margin-top: 60px;
}

.espaces{
position: relative;
width: 250px;
height: 350px;
overflow: hidden;
border-radius: 15px;
}

.espace h2{
color: white;
margin-bottom: 40px;
font-size: 2rem;
text-transform: uppercase;
letter-spacing: 2px;
text-align: center; 
}

.espaces img{
width: 100%;
height: 100%;
object-fit: cover;
flex-shrink: 0;
filter: brightness(0.5);
}

.espaces:hover img{
filter: brightness(0.8);
transform: scale(1.1);
}

.espaces h3 {
position: absolute;
bottom: 30px;
width: 100%;
text-align: center;
font-size: 1.1rem;
text-transform: uppercase;
text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
color: white;
padding: 15px;
}

.espace{
background-color: #051923;
height:70vh;
padding-top:60px ;
padding-bottom: 60px;
box-sizing: border-box;
}

/* --- CE QUE VOUS DEVEZ SAVOIR --- */
.apropos {
padding: 40px 15%; 
color: #d1d5db;
line-height: 1.6;
text-align: left;
}

.apropos h2 {
color: white;
margin-top: 8px;
margin-bottom: 30px;
font-size: 2.5rem;
text-transform: uppercase;
letter-spacing: 2px; 
}

.apropos h3 {
color: #ff4d00;
font-weight: bold;
font-size: 1.4rem;
text-transform: uppercase;
margin-top: 40px; 
margin-bottom: 15px; 
}

.apropos p { 
margin-bottom: 20px;
}

.apropos .avantages {
list-style: none; 
padding-left: 0;
margin-bottom: 30px;
}

.apropos .avantages li {
margin-bottom: 10px;
}

.apropos .conclusion {
margin-top: 40px;
color: #ffffff;
font-weight: bold;
}

/* --- FOOTER --- */
footer {
background-color: #051923; 
color: #ff4d00;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
padding: 40px 20px 20px 20px;
border-top: 4px solid #ffffff; 
}

.footer-container {
max-width: 1100px;
margin: 0 auto;
width: 100%;
padding: 20px 0;
box-sizing: border-box;
display: flex;
justify-content: space-between;
align-items: flex-start;
}

.footer-section {
width: 30%;
box-sizing: border-box;
}

.footer-section h3 {
color: #ff4d00; 
font-size: 1.15rem;
margin-top: 0;
margin-bottom: 15px;
font-weight: bold;
position: relative;
padding-bottom: 6px;
}

.footer-section h3::after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 35px;
height: 3px;
background-color: #ffffff; 
}

.footer-section p, 
.footer-section address {
font-size: 0.90rem;
line-height: 1.6;
color: #ffffff;
font-style: normal;
margin-bottom: 10px;
}


.footer-section a {
color: #fff5f5;
text-decoration: none;
transition: color 0.2s;
}

.footer-section a:hover {
color:  #ff4d00;
}

.footer-bottom {
max-width: 1100px;
margin: 40px auto 0 auto;
padding-top: 20px;
border-top: 1px solid #ffffff;
text-align: center;
font-size: 0.85rem;
color: #ffffff;
}

@media (max-width: 768px) {
.footer-container {
flex-direction: column;
gap: 30px;
}
.footer-section {
width: 100%;
}
.navbar {
flex-direction: column;
gap: 20px;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
}