:root {
    --bg-color: #F8F9FB;
    --blue-ardoise: #1F3A5F;
    --gray: #6B7280;
    --gray-light: #D1D5DB;
    --green-valid: #2FAE7B;
    --orange-btn: #F59E0B;
    --text-primary: #1F3A5F;
    --text-secondary: #6B7280;
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.dev-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 5%;
    border-bottom: 1px solid var(--gray-light);
}

.dev-header .logo-zone {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dev-header .logo { height: 40px; filter: grayscale(100%) contrast(1.2); }

.dev-header .title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.dev-header .env-badge {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    background: var(--orange-btn);
    color: white;
    font-weight: 600;
}

/* Main */
main {
    flex: 1;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero .overline {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--green-valid);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
}

.hero h1 span { color: var(--orange-btn); }

.hero p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}

/* Sections */
.section { margin-bottom: 2.5rem; }

.section-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--green-valid);
    display: inline-block;
}

/* Grille de cartes */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.card {
    background: white;
    border: 1px solid var(--gray-light);
    border-radius: 8px;
    padding: 1.25rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.25s;
    position: relative;
    overflow: hidden;
    display: block;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(31, 58, 95, 0.1);
    transform: translateY(-2px);
    border-color: var(--orange-btn);
}

.card .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.card .card-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.card .card-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

.card .card-url {
    font-size: 0.7rem;
    color: var(--gray);
    font-family: monospace;
    word-break: break-all;
}

.card .status-dot {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-valid);
}

.icon-blue   { background: rgba(31, 58, 95, 0.1);   color: var(--blue-ardoise); }
.icon-orange { background: rgba(245, 158, 11, 0.12); color: var(--orange-btn); }
.icon-green  { background: rgba(47, 174, 123, 0.12); color: var(--green-valid); }
.icon-gray   { background: rgba(107, 114, 128, 0.1); color: var(--gray); }

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: var(--gray);
    border-top: 1px solid var(--gray-light);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .grid { grid-template-columns: 1fr; }
}
