/* ==========================================================================
   PACTE — Feuille de style principale
   Palette : orange #F1A129 · vert #56AB63 · vert foncé #2F6B3A · crème #FBF6EE
   ========================================================================== */

:root {
  --color-orange: #F1A129;
  --color-orange-dark: #D68A1C;
  --color-green: #56AB63;
  --color-green-dark: #2F6B3A;
  --color-cream: #FBF6EE;
  --color-ink: #211F1B;
  --color-ink-soft: #4A473F;
  --color-gray: #8A8A82;
  --color-border: #E7E1D4;
  --color-white: #FFFFFF;

  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --container: 1160px;
    --container-header: 1300px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(33, 31, 27, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  color: var(--color-ink);
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-green-dark);
  margin-bottom: 14px;
  display: inline-block;
}

.section {
  padding: 88px 0;
}
.section--sm { padding: 56px 0; }
.section--cream { background: var(--color-cream); }
.section--dark {
  background: linear-gradient(160deg, #1c2b1f 0%, var(--color-ink) 60%);
  color: var(--color-white);
}
.section--dark h2, .section--dark h3 { color: var(--color-white); }
.section--dark .eyebrow { color: #C9E6C4; }

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.lede {
  font-size: 1.15rem;
  color: var(--color-ink-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-orange);
  color: var(--color-ink);
}
.btn-primary:hover { background: var(--color-orange-dark); transform: translateY(-2px); }
.btn-outline {
  border-color: currentColor;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline-dark {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.btn-outline-dark:hover { background: var(--color-ink); color: var(--color-white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container {
      max-width: var(--container-header);
        gap: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
    flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-ink);
}
.brand img { height: 46px; width: auto; }
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  color: var(--color-ink-soft);
  letter-spacing: 0.4px;
    white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
    flex-wrap: nowrap;
}
.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.nav a:hover { background: var(--color-cream); color: var(--color-ink); }
.nav a.active { background: var(--color-ink); color: var(--color-white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, #1c2b1f 0%, var(--color-ink) 65%);
  color: var(--color-white);
  padding: 110px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,161,41,0.35), transparent 70%);
}
.hero .container { position: relative; }
.hero .eyebrow { color: #C9E6C4; }
.hero h1 { color: var(--color-white); max-width: 780px; }
.hero .lede { color: #E4E1D6; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(160deg, #1c2b1f 0%, var(--color-ink) 65%);
  color: var(--color-white);
  padding: 72px 0 64px;
}
.page-hero h1 { color: var(--color-white); margin-bottom: 10px; }
.page-hero p { color: #E4E1D6; max-width: 640px; margin: 0; }
.page-hero .eyebrow { color: #C9E6C4; }

/* Grid / cards */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-cream);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--color-ink-soft); margin-bottom: 0; font-size: 0.96rem; }

.card--accent {
  border: none;
  background: var(--color-cream);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--color-orange);
  font-weight: 700;
  margin-bottom: 6px;
}
.stat .label { color: var(--color-ink-soft); font-size: 0.92rem; }

/* Lists */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-ink-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  color: var(--color-green-dark);
  font-weight: 700;
  flex-shrink: 0;
}

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--color-ink-soft);
  font-weight: 500;
}

blockquote.pull-quote {
  border-left: 4px solid var(--color-orange);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-ink);
}
blockquote.pull-quote cite {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-ink-soft);
  margin-top: 10px;
  font-style: normal;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}
.two-col .sticky-col { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .two-col .sticky-col { position: static; }
}

.timeline { border-left: 2px solid var(--color-border); padding-left: 28px; }
.timeline .item { position: relative; padding-bottom: 32px; }
.timeline .item:last-child { padding-bottom: 0; }
.timeline .item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-orange);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-orange);
}
.timeline .year { font-family: var(--font-heading); font-weight: 700; color: var(--color-green-dark); }

/* Team */
.team-role {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.team-role:last-child { border-bottom: none; }
.team-role .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-green);
  flex-shrink: 0;
}

/* Partners */
.partner-group h3 { color: var(--color-green-dark); margin-bottom: 18px; }
.partner-list { columns: 2; column-gap: 32px; list-style: none; margin: 0 0 40px; padding: 0; }
.partner-list li {
  break-inside: avoid;
  padding: 8px 0;
  border-bottom: 1px dashed var(--color-border);
  color: var(--color-ink-soft);
  font-size: 0.95rem;
}

/* Contact */
.contact-card {
  background: var(--color-cream);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-row { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-row .icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-row strong { display: block; margin-bottom: 2px; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 100%;
  min-height: 320px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a,
.footer-grid .social-row a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  transition: background 0.15s ease, color 0.15s ease;
  color: var(--color-ink);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0;
  text-transform: uppercase;
}
.social-row a:hover,
.footer-grid .social-row a:hover { background: var(--color-green-dark); color: var(--color-white); }

/* CTA band */
.cta-band {
  background: var(--color-orange);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  margin: 0 24px;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { color: #4A3B14; max-width: 560px; margin: 0 auto 28px; }

/* Footer */
.site-footer {
  background: var(--color-ink);
  color: #C9C6BC;
  padding: 64px 0 28px;
}
.site-footer h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 16px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid a { color: #C9C6BC; display: block; padding: 5px 0; font-size: 0.92rem; }
.footer-grid a:hover { color: var(--color-orange); }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.9rem; color: #9C998E; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  color: #9C998E;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
      .nav {
            position: fixed;
              inset: 68px 0 0 0;
                background: var(--color-white);
                  flex-direction: column;
                    align-items: stretch;
                      padding: 16px;
                        gap: 6px;
                          transform: translateX(100%);
                            transition: transform 0.25s ease;
                              overflow-y: auto;
      }
        .nav.open { transform: translateX(0); }
          .nav a { padding: 14px 16px; font-size: 1rem; }
            .nav-toggle { display: block; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .partner-list { columns: 1; }
}

@media (max-width: 720px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { margin: 0; border-radius: 0; padding: 48px 24px; }
  .section { padding: 64px 0; }
}
