/* --- Variables de Couleurs & Styles Globaux (Thème Clair) --- */
:root {
    --bg-color: #ffffff;
    --card-bg-color: #f7f9fc;
    --accent-color: #48aee7; /* Bleu Ciel */
    --text-color: #2f2f41;   /* Texte principal sombre */
    --text-muted-color: #6c757d; /* Texte secondaire gris */
    --border-color: #e9ecef; /* Bordure claire */
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

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

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

/* --- Header --- */
.site-header {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

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

.site-header .logo img {
    max-height: 40px;
    width: auto;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease-in-out;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--accent-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
    left: 0;
}

/* --- Section Principale --- */
.extensions-section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.section-title p {
    font-size: 1.1rem;
    color: var(--text-muted-color);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Grille des Extensions --- */
.extensions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.extension-card-link { text-decoration: none; }
.extension-card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.extension-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-color: var(--accent-color);
}
.extension-card h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}
.extension-card .url {
    font-size: 1rem;
    color: var(--text-muted-color);
    word-break: break-all;
}
.extension-card .arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--text-muted-color);
    transition: transform 0.3s ease, color 0.3s ease;
}
.extension-card:hover .arrow {
    transform: translateX(5px);
    color: var(--accent-color);
}

/* --- Footer --- */
.site-footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted-color);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .site-header .container { flex-direction: column; gap: 20px; }
    .section-title h1 { font-size: 2.5rem; }
    .extensions-grid { grid-template-columns: 1fr; }
}