/**
 * Styles partagés pages « institutionnelles » (mission, gouvernance, etc.)
 */
.background-logo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
    background: url("../../../logo-cooppere-text.png") center / contain no-repeat;
    width: 100vw;
    height: 100vh;
    max-width: 800px;
}

:root {
    --green: #2d7a3a;
    --green-dark: #1e5c28;
    --gold: #b8860b;
    --text: #2c3e50;
    --text-muted: #5a6c7d;
    --bg: #fafbf9;
    --border: #e2e8e0;
}

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

body {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    padding-top: 80px;
}

.main-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

.hero-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--green-dark);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.intro-block {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.intro-block strong {
    color: var(--green);
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.item-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1rem;
}

.item-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--green);
    margin-bottom: 0.35rem;
}

.item-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rhuhr-list {
    display: grid;
    gap: 0;
}

.rhuhr-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.rhuhr-item:last-child {
    border-bottom: none;
}

.rhuhr-item strong {
    font-size: 0.9rem;
    color: var(--green);
}

.rhuhr-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Grille cercles : défaut = mission (auto-fill) */
.circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
}

.circles-grid--five {
    grid-template-columns: repeat(5, 1fr);
}

.circle-item {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1rem;
    text-align: center;
}

.circle-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--green);
    margin-bottom: 0.25rem;
}

.circle-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.honor-list {
    display: grid;
    gap: 0;
}

.honor-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}

.honor-item:last-child {
    border-bottom: none;
}

.honor-num {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--green);
}

.honor-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.honor-quote {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 0.35rem;
}

.honor-desc {
    font-size: 0.9rem;
    color: var(--text);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.compact-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.25rem;
}

.compact-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.compact-card p,
.compact-card ul {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.compact-card ul {
    margin-left: 1.25rem;
    margin-top: 0.5rem;
}

.modes-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.mode-item {
    background: #fff;
    border: 1px solid var(--border);
    padding: 1.25rem;
}

.mode-item strong {
    font-size: 0.9rem;
    color: var(--green);
}

.mode-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.quote-minimal {
    border-left: 3px solid var(--gold);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    background: #fdfcf8;
    font-size: 0.95rem;
}

.transmission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1rem 0;
}

.transmission-grid ul {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-left: 1rem;
}

.transmission-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.bullet-list {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-left: 1rem;
}

.bullet-list li {
    margin-bottom: 0.35rem;
}

.doc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.doc-links a,
a.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
}

.doc-links a:hover,
a.doc-link:hover {
    background: var(--green-dark);
}

.doc-link-mt {
    margin-top: 0.5rem;
}

.cta-block {
    background: var(--green);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-block h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-block p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.cta-block a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #fff;
    color: var(--green);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.35rem;
}

.cta-block a.outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.cta-block a:hover {
    opacity: 0.95;
}

/* Utilitaires (remplacent style="" inline) */
.mt-1 {
    margin-top: 1rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.link-green {
    color: var(--green);
}

.muted-lead {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.icon-inline-sm {
    font-size: 0.85rem;
    margin-right: 0.4rem;
}

@media (max-width: 768px) {
    .circles-grid:not(.circles-grid--five) {
        grid-template-columns: repeat(2, 1fr);
    }

    .circles-grid--five {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col,
    .transmission-grid {
        grid-template-columns: 1fr;
    }

    .modes-row {
        grid-template-columns: 1fr;
    }
}
