
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif; 
    line-height: 1.6;               
    color: #333;                    
    background-color: #f4f4f4;      
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;      
}

header {
    background-color: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    position: sticky;               
    top: 0;
    z-index: 100;
}

header h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;              
    gap: 1.5rem;                    
    flex-wrap: wrap;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem;
    transition: color 0.3s;
}

section {
    background: #fff;
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

section h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    border-left: 5px solid #f39c12;
    padding-left: 10px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    padding: 1rem;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;             
    border-radius: 5px;
}

.card h3 {
    margin: 0.8rem 0 0.5rem;
    color: #2c3e50;
}

.liste-actus li {
    background: #ecf0f1;
    margin: 0.8rem 0;
    padding: 0.8rem;
    border-radius: 5px;
    border-left: 4px solid #f39c12;
}
 strong {
    color: #2c3e50;
}

.form-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin-top: 1rem;
}

.form-contact input,
.form-contact textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.form-contact button {
    background-color: #2c3e50;
    color: white;
    padding: 0.8rem;
    border-radius: 4px;
    font-weight: bold;
    width: 150px;
}
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}
