/* Systèmes Calibre — Main Website */

:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --accent: #d97706;
    --text: #0f172a;
    --text-muted: #64748b;
    --bg: #f8fafc;
    --card: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

/* Layout */
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
    background: var(--card);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
}
.nav-brand {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--primary); }

.lang-toggle {
    background: none;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 4px 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.lang-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 96px 0 72px;
}
.hero h1 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.5px;
    max-width: 650px;
}
.hero-sub {
    margin-top: 20px;
    font-size: 20px;
    color: var(--text-muted);
    font-weight: 400;
}

/* Story */
.story {
    padding: 0 0 80px;
}
.story-block p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
}
.story-block p:last-child {
    margin-bottom: 0;
}
.story-block strong {
    color: var(--primary-dark);
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.services h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}
.service-card {
    position: relative;
    border-left: 3px solid var(--primary);
    transition: box-shadow 0.2s;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
}
.service-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
    line-height: 1;
}
.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}
.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.service-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
}

/* Projects */
.projects {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}
.projects h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}
.project-list {
    list-style: none;
}
.project-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--text);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}
.project-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 24px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}
.project-list li:last-child {
    border-bottom: none;
}

/* About */
.about {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}
.about-layout {
    max-width: 600px;
}
.about h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
}
.about-role {
    font-size: 17px;
    color: var(--primary);
    font-weight: 500;
    margin-top: 4px;
    margin-bottom: 24px;
}
.about-details {
    list-style: none;
}
.about-details li {
    font-size: 16px;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 16px;
    position: relative;
}
.about-details li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--border);
}

/* Law 25 */
.law25 {
    padding: 80px 0;
}
.law25 h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}
.law25-lead {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}
.law25-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}
.law25-content p:last-child {
    margin-bottom: 0;
}

/* Legal Pages */
.page { padding: 48px 0 96px; }
.legal-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.legal-date {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.legal-content h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-top: 40px;
    margin-bottom: 16px;
}
.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}
.legal-content ul {
    list-style: none;
    margin-bottom: 16px;
}
.legal-content ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    padding: 4px 0 4px 20px;
    position: relative;
}
.legal-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}
.legal-content a {
    color: var(--primary);
    text-decoration: none;
}
.legal-content a:hover {
    text-decoration: underline;
}
.legal-contact {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 16px 0;
    font-size: 15px;
    line-height: 1.8;
}

/* Contact */
.contact {
    padding: 80px 0;
    border-top: 1px solid var(--border);
}
.contact h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--text);
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.contact-email,
.contact-phone {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-email:hover,
.contact-phone:hover {
    color: var(--primary);
}
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 8px;
}
.btn-primary {
    background: var(--accent);
    color: white;
}
.btn-primary:hover {
    background: #b45309;
}

/* Footer */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}
.footer .container {
    text-align: center;
}
.footer-company {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.footer-officer {
    font-size: 13px;
    color: var(--text-muted);
}
.footer-officer-email {
    margin-top: 4px;
    margin-bottom: 16px;
}
.footer-officer-email a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
}
.footer-officer-email a:hover {
    color: var(--primary);
}
.footer-links {
    margin-bottom: 12px;
}
.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--primary);
}
.footer-copy {
    font-size: 12px;
    color: var(--border);
}

/* Responsive */
@media (max-width: 640px) {
    .hero { padding: 64px 0 48px; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 17px; }

    .nav-links a { display: none; }
    .nav-links { gap: 12px; }
    .lang-toggle { display: inline-block; }

    .services, .projects, .about, .contact, .law25 { padding: 56px 0; }
    .services h2, .projects h2, .about h2, .contact h2, .law25 h2 { font-size: 24px; }
    .law25-lead { font-size: 19px; }

    .services-grid { grid-template-columns: 1fr; }
    .card { padding: 24px; }
    .story-block p { font-size: 16px; }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .nav-links a { font-size: 13px; }
    .nav-links { gap: 12px; }
}
