/* ============ VARIABLES & RESET ============ */
:root {
  --primary: #026A91;
  --primary-dark: #6B1622;
  --ink: #1A1A1A;
  --text: #2B2B2B;
  --muted: #6B6B6B;
  --line: #E5E2DC;
  --bg: #FFFFFF;
  --bg-soft: #F7F5F2;
  --max: 1200px;
  --radius: 4px;
  --transition: 0.25s ease;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; justify-content: space-between; align-items: center; height: 76px; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: 0.04em; }
.brand-mark { width: 28px; height: 28px; background: var(--primary); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); flex-shrink: 0; }
.brand-text small { display: block; font-size: 0.65rem; color: var(--muted); font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav a.active, .nav a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .nav { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--line); transform: translateY(-150%); transition: transform 0.3s ease; }
  .nav.open { transform: translateY(0); }
  .menu-toggle { display: block; }
  .brand-text { font-size: 1rem; }
}

/* ============ HERO ============ */
.hero { padding: 6rem 0 5rem; background: var(--bg-soft); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.hero .tagline { font-size: 1.25rem; font-weight: 500; color: var(--ink); margin-bottom: 0.5rem; }
.hero .lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 2rem; }
.hero-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,0.15); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } .hero { padding: 3rem 0; } }

/* ============ BUTTONS ============ */
.btn { display: inline-block; padding: 0.95rem 2rem; background: var(--primary); color: #fff; font-weight: 600; border-radius: var(--radius); transition: background var(--transition), transform var(--transition); border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* ============ SECTIONS ============ */
section { padding: 5rem 0; }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 3rem; }
.eyebrow { display: inline-block; color: var(--primary); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 0.75rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }
.alt { background: var(--bg-soft); }

/* ============ CARDS ============ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.5rem; color: var(--text); transition: all var(--transition); }
.card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgba(0,0,0,0.12); }
.card-num { color: var(--primary); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.15em; }
.card h3 { margin-top: 0.5rem; margin-bottom: 0.6rem; color: var(--ink); }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.card .arrow { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ============ PAGE DÉTAIL ============ */
.page-hero { padding: 4rem 0 3rem; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.breadcrumb { color: var(--muted); font-size: 0.85rem; margin-bottom: 1rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.page-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 720px; }
.illustration { margin: 2.5rem 0; border-radius: var(--radius); overflow: hidden; }
.q-list { list-style: none; padding: 0; }
.q-list li { padding: 0.85rem 0 0.85rem 2.5rem; position: relative; border-bottom: 1px solid var(--line); color: var(--text); }
.q-list li::before { content: '?'; position: absolute; left: 0; top: 0.95rem; width: 22px; height: 22px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; }
.interventions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.intervention { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--primary); padding: 1.5rem; border-radius: var(--radius); }
.intervention h4 { color: var(--ink); margin-bottom: 0.5rem; font-size: 1.05rem; }
.intervention p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.approach { background: var(--ink); color: #fff; padding: 2.5rem; border-radius: var(--radius); margin-top: 3rem; }
.approach .eyebrow { color: #fff; opacity: 0.6; }
.approach h3 { color: #fff; }
.approach p { color: rgba(255,255,255,0.85); margin: 0; font-size: 1.05rem; }

/* ============ CTA BAND ============ */
.cta-band { background: var(--primary); color: #fff; text-align: center; padding: 4rem 1.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); margin-bottom: 1.75rem; }
.cta-band .btn { background: #fff; color: var(--primary); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ============ CHIPS & SECTEURS ============ */
.chips { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.chip { padding: 0.75rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.sector-card { padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color var(--transition); }
.sector-card:hover { border-color: var(--primary); }
.sector-icon { width: 40px; height: 40px; background: var(--bg-soft); border-left: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem; }

/* ============ BLOG ============ */
.posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--transition); display: block; color: var(--text); }
.post-card:hover { transform: translateY(-3px); color: var(--text); }
.post-card img { aspect-ratio: 16/10; object-fit: cover; }
.post-card .post-body { padding: 1.5rem; }
.post-meta { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; font-weight: 600; }
.post-card h3 { margin-bottom: 0.5rem; }
.post-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; }
.contact-info .info-block { margin-bottom: 1.5rem; }
.contact-info strong { color: var(--primary); display: block; font-weight: 600; margin-bottom: 0.25rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; }
.contact-info p { color: var(--ink); margin: 0; }
form { display: grid; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
label { font-size: 0.85rem; color: var(--ink); font-weight: 500; margin-bottom: 0.4rem; display: block; }
input, textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; background: #fff; color: var(--ink); transition: border-color var(--transition); }
input:focus, textarea:focus { outline: none; border-color: var(--primary); }
textarea { min-height: 140px; resize: vertical; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 3.5rem 0 1.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 1rem; }
.footer a { color: rgba(255,255,255,0.7); display: block; padding: 0.25rem 0; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer .brand small { color: rgba(255,255,255,0.5); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }