/* Base et Réinitialisation */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

/* En-tête / Navigation */
header {
    background-color: #ffffff;
    border-bottom: 2px solid #eaeaea;
    padding: 20px 0;
}

header h1 {
    display: inline-block;
    font-size: 24px;
    color: #2c3e50;
}

nav {
    float: right;
    margin-top: 5px;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #555555;
    font-weight: 600;
}

nav ul li a:hover {
    color: #000000;
}

/* Section Introduction (Hero) */
.hero {
    text-align: center;
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
}

.hero h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.hero p {
    font-size: 16px;
    color: #666666;
    max-width: 700px;
    margin: 0 auto;
}

/* Grille de Services (Aiguillage) */
.services-grid {
    padding: 60px 0;
}

.services-grid .container {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.card {
    display: table-cell;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    vertical-align: top;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 5px solid #ccc;
}

.card img {
    max-height: 120px;
    margin-bottom: 20px;
}

.logo-placeholder {
    height: 120px;
    line-height: 120px;
    font-size: 20px;
    font-weight: bold;
    color: #7f8c8d;
    background-color: #ecf0f1;
    border-radius: 50%;
    width: 120px;
    margin: 0 auto 20px auto;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #2c3e50;
}

.card p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 25px;
    min-height: 66px; /* Aligne les boutons */
}

/* Variations de couleurs par pôle */
.card.green { border-top-color: #5cb85c; }
.card.blue { border-top-color: #0275d8; }
.card.tech { border-top-color: #292b2c; }

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.green .btn { background-color: #5cb85c; }
.blue .btn { background-color: #0275d8; }
.tech .btn { background-color: #292b2c; }

.btn:hover {
    opacity: 0.9;
}

/* Pied de page */
footer {
    background-color: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 14px;
}