/* --- Variables de Couleur & Polices --- */
:root {
    --primary-color: #2a5a8a; /* Bleu du logo */
    --secondary-color: #f4f4f4; /* Gris clair pour les fonds */
    --dark-color: #333; /* Noir pour le texte principal */
    --light-color: #fff; /* Blanc */
    --font-family: 'Helvetica', 'Arial', sans-serif;
}

/* --- Styles Généraux --- */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

h1, h2, h3 {
    color: var(--primary-color);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

ul {
    list-style: none;
    padding-left: 0;
}

li {
    margin-bottom: 10px;
}

/* --- Header & Navigation --- */
header {
    background: var(--light-color);
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 60px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 15px;
}

nav a {
    font-weight: bold;
    font-size: 1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

nav a:hover {
    border-color: var(--primary-color);
}


/* --- Section Hero (Bannière Accueil) --- */
#hero {
    background: var(--primary-color);
    color: var(--light-color);
    padding: 60px 20px;
    text-align: center;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

#hero h2 {
    font-size: 1.5rem;
    color: var(--light-color);
    font-weight: normal;
}

/* --- Sections de contenu --- */
section {
    padding: 40px 0;
}

.section-bg {
    background-color: var(--secondary-color);
}

/* --- Grille Produits & Services --- */
.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.grid-layout article {
    background: var(--light-color);
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    padding: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.grid-layout img {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 15px;
}

.grid-layout h3 {
    margin-top: 0;
}

.grid-layout .content {
    flex-grow: 1;
}

.grid-layout a {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.grid-layout a:hover {
    background-color: #1e4265;
}

/* --- Pages Produits & Services --- */
.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.prix, .reference {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
    color: var(--dark-color);
}

.page-content ul {
    list-style: disc;
    padding-left: 20px;
}

.bouton-action {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-color);
    padding: 12px 25px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.bouton-action:hover {
    background-color: #1e4265;
}

/* --- Footer --- */
footer {
    background: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}
footer a {
    color: var(--light-color);
    text-decoration: underline;
}
