*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#f5f4f1;color:#1d1e20;font-family:Manrope,system-ui,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6}
a{color:inherit;text-decoration:none}
a:hover{color:#3d5a73}
img{max-width:100%;display:block}
h1,h2,h3,p,ul{margin:0}
.wrap{max-width:1240px;margin:0 auto;padding-left:clamp(20px,4vw,48px);padding-right:clamp(20px,4vw,48px)}
.serif{font-family:Newsreader,Georgia,serif;font-weight:400}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#3d5a73}
.dark .eyebrow{color:#a9bccd}
h2{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:clamp(30px,3.4vw,44px);line-height:1.1;text-wrap:balance}
p{text-wrap:pretty}
section{padding-top:clamp(64px,9vw,120px);padding-bottom:clamp(64px,9vw,120px)}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:clamp(32px,5vw,72px)}
.split .head{display:flex;flex-direction:column;gap:14px}
.split .body{grid-column:span 2;display:flex;flex-direction:column;gap:22px;font-size:18px;line-height:1.65;color:#2e3033;max-width:760px}
.muted{color:#55575b}
.dark{background:#1d1e20;color:#f0efeb}
.white{background:#fff;border-top:1px solid #dcdad5;border-bottom:1px solid #dcdad5}

header{position:sticky;top:0;z-index:10;background:rgba(245,244,241,.92);backdrop-filter:blur(8px);border-bottom:1px solid #dcdad5}
header .wrap{padding-top:24px;padding-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:12px 24px;flex-wrap:wrap}
.brand{display:flex;align-items:center}
.brand img{height:56px;width:auto}
.hero-main{position:relative;isolation:isolate}
.hero-main::before{content:"";position:absolute;z-index:-1;left:-6%;top:8%;width:min(62%,720px);aspect-ratio:1.2;background:url(images/filigrane-mrx.png) left center/contain no-repeat;opacity:.05;pointer-events:none}
nav{display:flex;gap:clamp(16px,2.6vw,36px);flex-wrap:wrap;font-size:15px;font-weight:700;letter-spacing:.01em}
nav .cta{color:#3d5a73;font-weight:800}

.hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:clamp(40px,6vw,88px);align-items:center;padding-top:clamp(48px,8vw,110px);padding-bottom:clamp(56px,8vw,96px)}
.hero-text{display:flex;flex-direction:column;gap:28px}
h1{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:clamp(36px,4.6vw,60px);line-height:1.06;letter-spacing:-.015em;text-wrap:balance}
.lead{font-size:clamp(17px,1.4vw,19px);line-height:1.6;color:#45474b;max-width:540px}
.btns{display:flex;gap:14px;flex-wrap:wrap;padding-top:6px}
.btn{display:inline-flex;align-items:center;padding:15px 26px;font-weight:600;font-size:15px;border-radius:2px;border:1px solid #1d1e20;transition:background .2s,color .2s}
.btn-dark{background:#1d1e20;color:#f5f4f1}
.btn-dark:hover{background:#3d5a73;border-color:#3d5a73;color:#f5f4f1}
.btn:not(.btn-dark):hover{background:#1d1e20;color:#f5f4f1}
figure{margin:0;display:flex;flex-direction:column;gap:14px}
.photo{aspect-ratio:4/5;max-height:680px;overflow:hidden;background:#e4e2dd}
.photo img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
figcaption{display:flex;flex-direction:column;font-size:14px;color:#55575b}
figcaption strong{color:#1d1e20;font-size:16px}

.points{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));border-top:1px solid #1d1e20;margin-top:48px}
.points li{padding:28px 28px 28px 0;display:flex;flex-direction:column;gap:14px;font-size:18px;font-weight:600;line-height:1.4;border-bottom:1px solid #dcdad5}
.num{font-size:13px;font-weight:700;color:#3d5a73}
.dark .num{color:#a9bccd}
ul{list-style:none;padding:0}

.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,460px),1fr));gap:1px;background:#3a3c40;border:1px solid #3a3c40;margin-top:56px}
.cards article{background:#1d1e20;padding:clamp(28px,3.5vw,44px);display:flex;flex-direction:column;gap:18px}
.cards .top{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.cards h3{font-size:22px;font-weight:700;line-height:1.3}
.cards p{font-size:16px;color:#c4c3bf}
.cards ul{display:flex;flex-direction:column;gap:10px;font-size:15px;line-height:1.5}
.cards li{display:flex;gap:12px}
.cards li::before{content:"—";color:#a9bccd}

.values{display:flex;flex-direction:column;border-top:1px solid #1d1e20}
.values li{display:flex;gap:24px;align-items:baseline;padding:22px 0;border-bottom:1px solid #dcdad5;font-family:Newsreader,Georgia,serif;font-size:26px;line-height:1.2}

.ambition{background:#e7e5e0;border-top:1px solid #dcdad5;text-align:center}
.ambition .wrap{max-width:1040px;display:flex;flex-direction:column;gap:32px;align-items:center}
.quote{font-family:Newsreader,Georgia,serif;font-style:italic;font-size:clamp(30px,4vw,52px);line-height:1.15;letter-spacing:-.01em;text-wrap:balance}

.contact{padding-bottom:40px}
.contact h2{font-size:clamp(34px,4vw,54px);line-height:1.05}
.contact-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px 40px;flex-wrap:wrap}
.contact-head .head{display:flex;flex-direction:column;gap:14px}
.btn-light{border-color:#f0efeb;color:#f0efeb}
.btn-light:hover{background:#f0efeb!important;color:#1d1e20!important}
.contact-grid{margin:56px 0 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #3a3c40}
@media (max-width:900px){.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.contact-grid{grid-template-columns:1fr}}
.contact-grid>div{padding:28px 24px 28px 0;display:flex;flex-direction:column;gap:10px;border-bottom:1px solid #3a3c40}
.contact dt{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#9a9995}
.contact dd{margin:0;font-size:18px;line-height:1.5;font-weight:600}
.contact address{font-style:normal}
.contact a:hover{color:#a9bccd}
.contact .mail{word-break:break-word}
footer{margin-top:48px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px 40px;align-items:center;font-size:13px;line-height:1.7;color:#9a9995}
.footer-id{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.footer-logo{height:66px;width:auto;display:block}
.footer-legal{padding-left:28px;border-left:1px solid #3a3c40}
.footer-copy{text-align:right}
@media (max-width:720px){.footer-copy{text-align:left}}
footer a{text-decoration:underline;text-underline-offset:3px}
footer a:hover{color:#f0efeb}
.partners{padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(56px,7vw,96px)}
.partners-head{display:flex;flex-direction:column;gap:14px;margin-bottom:44px}
.logos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 48px}
@media (max-width:640px){.logos{grid-template-columns:repeat(2,minmax(0,1fr))}.logos li:last-child{grid-column:span 2}}
.logos li{height:120px;display:flex;align-items:center;justify-content:center;padding:24px 28px}
.logos img{max-height:72px;max-width:100%;width:auto;object-fit:contain;filter:grayscale(1);opacity:.7;transition:filter .25s,opacity .25s}
.logos li:hover img{filter:none;opacity:1}

details.legal{border-top:1px solid #3a3c40;margin-top:28px;padding-top:20px;font-size:14px;color:#c4c3bf}
details.legal summary{cursor:pointer;font-weight:600;color:#f0efeb}
details.legal .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px;padding-top:20px;line-height:1.6}
details.legal h3{font-size:14px;color:#f0efeb;margin-bottom:6px}

/* =========================
   MENU MOBILE
   ========================= */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1d1e20;
  transition: transform .25s ease, opacity .2s ease;
}

/* Mobile */
@media (max-width: 720px) {

  header .wrap {
    position: relative;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand img {
    height: 48px;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: 16px 0 8px;
    border-top: 1px solid #dcdad5;
    margin-top: 8px;
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #dcdad5;
  }

  nav a:last-child {
    border-bottom: 0;
  }

  nav .cta {
    padding-top: 16px;
    font-weight: 800;
  }

  /* Animation du hamburger → X */
  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}
