:root {
    --primary: #000091; /* French Gov Blue */
    --secondary: #1E293B;
    --accent: #3B82F6;
    --bg: #F8FAFC;
    --text: #334155;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Layout */
.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
header { background: var(--white); border-bottom: 1px solid #e2e8f0; padding: 1rem 0; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.25rem; color: var(--primary); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { background: var(--primary); color: white; padding: 2px 8px; border-radius: 4px; }

/* Home Search */
.hero { text-align: center; padding: 80px 0; }
.hero h1 { color: var(--secondary); font-size: 2.5rem; margin-bottom: 1rem; }
.hero p { color: #64748b; font-size: 1.1rem; margin-bottom: 2rem; }

.search-box {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    text-align: center;
    font-family: monospace;
    letter-spacing: 2px;
}

.search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 0, 145, 0.1); }

/* Company Page */
.company-header { background: var(--white); padding: 40px 0; border-bottom: 1px solid #e2e8f0; margin-bottom: 40px; }
.company-title { font-size: 2rem; color: var(--secondary); margin: 0; }
.company-badge { background: #e0f2fe; color: #0369a1; padding: 4px 12px; border-radius: 99px; font-size: 0.875rem; font-weight: 600; }
.meta-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; }
.meta-item strong { display: block; font-size: 0.875rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.05em; }
.meta-item span { font-size: 1.125rem; font-weight: 500; color: var(--secondary); }

/* Timeline / Actes */
.card { background: var(--white); border-radius: 8px; box-shadow: var(--shadow); padding: 30px; margin-bottom: 30px; }
.timeline-item { display: flex; gap: 20px; border-bottom: 1px solid #f1f5f9; padding: 15px 0; }
.timeline-item:last-child { border-bottom: none; }
.date-col { font-weight: 600; color: var(--primary); min-width: 100px; font-variant-numeric: tabular-nums; }
.info-col { flex: 1; }
.doc-title { font-weight: 500; color: var(--secondary); }
.doc-type { font-size: 0.8rem; color: #94a3b8; margin-top: 4px; display: inline-block; background: #f8fafc; padding: 2px 6px; border-radius: 4px; border: 1px solid #e2e8f0; }

/* Buttons */
.btn-cta {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}
.btn-cta:hover { background: #000070; }

.blur-text { filter: blur(4px); user-select: none; opacity: 0.6; }
.premium-lock { text-align: center; padding: 40px; background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; margin-top: 20px; }