﻿:root {
    --color-navy: #0b2545;
    --color-navy-dark: #071a33;
    --color-navy-light: #13376b;
    --color-gold: #b08d3f;
    --color-gold-light: #d4b876;
    --color-bg: #f4f6f9;
    --color-bg-alt: #eef1f6;
    --color-surface: #ffffff;
    --color-border: #dbe1ea;
    --color-text: #1c2b3a;
    --color-text-muted: #55677d;
    --color-success: #1e6b4a;
    --color-success-bg: #e5f3ec;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(11, 37, 69, .08);
    --shadow-md: 0 8px 24px rgba(11, 37, 69, .10);
    --transition: .18s ease;
    --font-serif: "Source Serif 4", Georgia, serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
}

a { color: var(--color-navy-light); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
    font-family: var(--font-serif);
    color: var(--color-navy);
    line-height: 1.25;
    margin: 0 0 .6rem;
}

/* Bandeau officiel */
.security-banner {
    background: var(--color-navy-dark);
    color: #dfe7f2;
    border-bottom: 3px solid var(--color-gold);
}

.security-banner-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: .5rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.shield-icon { color: var(--color-gold-light); flex-shrink: 0; }

/* Header */
.page { display: flex; flex-direction: column; min-height: 100vh; }

.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--color-navy);
    font-family: var(--font-serif);
    font-size: 1.1rem;
}

.brand:hover { text-decoration: none; }

.brand-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-gold-light);
}

.brand-text strong { color: var(--color-navy); }

.nav-actions { display: flex; gap: 1.5rem; flex-wrap: wrap; }

.nav-link {
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: .92rem;
    padding: .35rem 0;
    border-bottom: 2px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.nav-link:hover {
    color: var(--color-navy);
    border-color: var(--color-gold);
    text-decoration: none;
}

/* Content */
.content-shell {
    flex: 1;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

/* Hero */
.hero {
    text-align: center;
    max-width: 760px;
    margin: 1rem auto 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--color-navy);
    color: var(--color-gold-light);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-size: 2.3rem;
    margin-bottom: 1rem;
}

.hero-lead {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

/* Page hero (sub-pages) */
.page-hero {
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-weight: 600;
    font-size: .9rem;
}

.page-hero h1 { font-size: 2rem; }

/* Pillars grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.pillar-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-navy);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.pillar-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    text-decoration: none;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-alt);
    color: var(--color-navy);
    border-radius: var(--radius-sm);
    margin-bottom: .5rem;
}

.pillar-card h2 { font-size: 1.15rem; margin-bottom: .3rem; }
.pillar-card p { color: var(--color-text-muted); font-size: .92rem; margin: 0; flex: 1; }

.pillar-link {
    color: var(--color-navy-light);
    font-weight: 700;
    font-size: .88rem;
    margin-top: .5rem;
}

/* Trust strip */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    background: var(--color-navy);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
}

.trust-item { text-align: center; color: #dfe7f2; }

.trust-value {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-gold-light);
    margin-bottom: .25rem;
}

.trust-label { font-size: .8rem; color: #b7c4d8; }

/* Detail grid (sub-pages) */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.detail-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.detail-card h2 { font-size: 1.05rem; margin-bottom: .5rem; }
.detail-card p { color: var(--color-text-muted); font-size: .92rem; margin: 0; }

/* Banner explainer / surface card */
.surface-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.banner-explainer h2 { font-size: 1.2rem; }
.banner-explainer p { color: var(--color-text-muted); margin: 0; }

/* Footer */
.site-footer {
    background: var(--color-navy-dark);
    color: #b7c4d8;
    padding: 2rem 1.5rem;
    margin-top: auto;
}

.footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #dfe7f2;
    font-family: var(--font-serif);
    font-weight: 700;
    margin-bottom: .75rem;
}

.footer-inner p { font-size: .82rem; margin: .3rem 0; }
.footer-links a { color: var(--color-gold-light); }

@media (max-width: 640px) {
    .hero h1 { font-size: 1.7rem; }
    .header-inner { flex-direction: column; align-items: flex-start; }
    .nav-actions { gap: 1rem; }
}
