/* Punda Manzangi — feuille de style principale */

:root {
    --terracotta: #B5482A;
    --terracotta-dark: #A33F22;
    --green: #1F6B4A;
    --green-dark: #173D2E;
    --ochre: #C98A1B;
    --gold: #F2C14E;
    --cream: #F5EEE2;
    --ink: #1F2A24;
    --ink-soft: #3A4740;
    --white: #FFFFFF;

    --font-display: "Bricolage Grotesque", Georgia, serif;
    --font-body: "Source Serif 4", Georgia, serif;

    --radius: 6px;
    --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.1;
    margin: 0 0 0.6em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
p  { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--green); }
a:hover { color: var(--terracotta-dark); }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: var(--white); padding: .5rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 10; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid #E7E1D6; background: var(--white); }
.site-header__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 1rem; padding-top: 1rem; padding-bottom: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; }
.brand__name {
    font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
    letter-spacing: .05em; text-transform: uppercase; line-height: 1;
}
.brand__tagline {
    font-family: var(--font-display); font-weight: 500; font-size: .72rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-top: .3rem;
}

.site-nav { display: flex; flex-wrap: wrap; gap: .25rem; }
.site-nav a {
    font-family: var(--font-display); font-weight: 700; text-decoration: none;
    color: var(--ink); padding: .65rem .9rem; border-radius: var(--radius);
    min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav a:hover { background: var(--cream); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--terracotta-dark); }
.site-nav .site-nav__cta { background: var(--terracotta-dark); color: var(--white); }
@media (max-width: 520px) {
    .site-nav { width: 100%; justify-content: space-between; gap: 0; }
    .site-nav a { padding: .6rem .55rem; }
}
.site-nav .site-nav__cta:hover,
.site-nav .site-nav__cta[aria-current="page"] { background: var(--green-dark); color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--cream { background: var(--cream); }
.section--terracotta { background: var(--terracotta-dark); color: var(--white); }

.eyebrow {
    font-family: var(--font-display); font-weight: 700; font-size: .85rem;
    letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta-dark);
    margin-bottom: 1rem;
}

.hero { background: var(--green-dark); color: var(--white); padding: clamp(4rem, 10vw, 7.5rem) 0; }
.hero .eyebrow { color: var(--gold); }
.hero__inner { max-width: 860px; margin-left: 0; }
@media (min-width: 1160px) { .hero__inner { margin-left: calc((100% - var(--container)) / 2); } }
.lead { font-size: 1.25rem; color: #E6EFE9; max-width: 36em; }

.page-header { background: var(--cream); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem); }
.page-header h1 { margin: 0; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }

.split { display: grid; gap: 2.5rem; align-items: center; }
.split--top { align-items: start; }
@media (min-width: 800px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } }

.photo-placeholder {
    margin: 0; aspect-ratio: 4 / 3; background: #E7DCC8; border-radius: var(--radius);
    display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
    color: var(--ink-soft); overflow: hidden;
}
.photo-placeholder img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stat {
    background: var(--cream); padding: 1.75rem 1.5rem; border-radius: var(--radius);
    display: flex; flex-direction: column; gap: .4rem;
}
.section--cream .stat { background: var(--white); }
.stat__value {
    font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 5vw, 3.25rem);
    line-height: 1; color: var(--terracotta-dark);
}
.stat__label { font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.button-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button {
    display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    padding: .75rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent;
    font-family: var(--font-display); font-weight: 700; font-size: 1rem;
    text-decoration: none; cursor: pointer;
}
.button--accent { background: var(--terracotta-dark); color: var(--white); }
.button--accent:hover { background: var(--green-dark); color: var(--white); }
.button--ghost { border-color: var(--white); color: var(--white); background: transparent; }
.button--ghost:hover { background: var(--white); color: var(--green-dark); }
.button--light { background: var(--white); color: var(--terracotta-dark); }
.button--light:hover { background: var(--cream); color: var(--terracotta-dark); }

.text-link { font-family: var(--font-display); font-weight: 700; }

.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta h2 { margin: 0; color: var(--white); }

/* ---------- Activités ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2rem; }
.timeline__item {
    display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 1.5rem;
    padding-bottom: 2rem; border-bottom: 1px solid #E7E1D6;
}
.timeline__year {
    font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; color: var(--terracotta-dark);
}
.timeline__item h2 { font-size: 1.5rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list span {
    font-family: var(--font-display); font-weight: 700; font-size: .8rem;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
}
.contact-list a { font-size: 1.2rem; }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form__field { display: flex; flex-direction: column; gap: .35rem; }
.form label { font-family: var(--font-display); font-weight: 700; }
.form input, .form textarea {
    font: inherit; padding: .75rem .9rem; border: 1px solid #B9B2A6; border-radius: var(--radius);
    background: var(--white); color: var(--ink); min-height: 48px;
}
.form input:focus, .form textarea:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 0; }
.form__error, .form__errors { color: #9B2C1A; font-size: .95rem; margin: 0; }
.form .button { align-self: flex-start; }

.messages { padding-top: 1.25rem; }
.message { padding: .9rem 1.1rem; border-radius: var(--radius); background: #E3F0E8; color: var(--green-dark); margin: 0; }
.message--error { background: #F8E1DB; color: #7A2414; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: #D9E5DE; padding-top: 3.5rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--gold); }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.brand--footer { color: var(--white); margin-bottom: 1rem; }
.brand--footer .logo-mark { background: var(--white); border-radius: 50%; padding: 4px; }
.site-footer__title {
    font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem;
}
.plain-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; }
.site-footer__bottom p { margin: 0; font-size: .9rem; }
