/* Polices auto-hébergées (licence SIL OFL, voir fonts/) : aucun appel à un service tiers, aucun cookie. */
@font-face { font-family: "Figtree"; src: url("fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: light;
  --ink: #0b0b33; --muted: #4b4b6b; --line: #d9dbe8; --bg: #ffffff; --tint: #e8f0f7;
  --blue: #1d1dff; --blue-dark: #1212c4; --blue-ink: #ffffff;
  --sans: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.02em; margin: 0; }
p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: var(--blue); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

/* En-tête */
.nav { position: relative; z-index: 10; background: var(--bg); }
.nav-in { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 26px; padding-bottom: 18px; gap: 24px; }
.brand { text-decoration: none; color: var(--ink); display: grid; gap: 6px; }
.logo { font: 700 38px/1 var(--serif); color: var(--blue); letter-spacing: -.035em; }
.logo.small { font-size: 26px; }
.tagline { font-size: 14px; line-height: 1.35; }
.nav nav { display: flex; gap: 40px; padding-top: 10px; }
.nav nav a { color: var(--ink); text-decoration: none; font-size: 17px; }
.nav nav a:hover { color: var(--blue); }

/* Boutons en pilule */
.pill { display: inline-flex; align-items: center; gap: 12px; border: 2px solid var(--blue); color: var(--blue); border-radius: 999px;
  padding: 10px 24px; font-size: 19px; text-decoration: none; white-space: nowrap; transition: background .15s, color .15s; }
.pill:hover { background: var(--blue); color: var(--blue-ink); }
.pill span { transition: transform .15s; }
.pill:hover span { transform: translateX(4px); }
.pill.big { font-size: 22px; padding: 14px 30px; }

/* Accueil */
.hero { padding: 120px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(44px, 6.6vw, 96px); line-height: 1.02; letter-spacing: -.035em; max-width: 12.5em; margin-left: 8%; }
.hero-row { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; margin: 56px 0 0 24%; }
.lead { font-size: 20px; max-width: 33em; }
.mosaic { position: relative; height: 560px; margin-top: 96px; }
.mosaic img { position: absolute; object-fit: cover; border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(11, 11, 51, .35); }
.m1 { width: 34%; height: 380px; left: 3%; top: 60px; transform: rotate(-2deg); }
.m2 { width: 24%; height: 300px; left: 35%; top: 0; transform: rotate(1.5deg); }
.m3 { width: 30%; height: 340px; left: 56%; top: 120px; transform: rotate(-1deg); }
.m4 { width: 20%; height: 240px; left: 82%; top: 20px; transform: rotate(2.5deg); }

/* Ambition */
.story { background: var(--tint); padding: 140px 0 120px; margin-top: -120px; }
.story h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.08; max-width: 15em; padding-top: 40px; }
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; margin-top: 72px; align-items: start; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.story-text p + p { margin-top: 20px; }
.story-text .strong { font-size: 26px; line-height: 1.4; letter-spacing: -.01em; color: var(--blue); margin-top: 36px; }
.offer { margin-top: 110px; }
.offer h3 { font-size: 30px; margin-bottom: 28px; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.offer-grid div { border-top: 2px solid var(--ink); padding-top: 20px; }
.tag { display: block; color: var(--blue); font-size: 15px; margin-bottom: 10px; }
.offer-grid b { font-size: 22px; font-weight: 500; display: block; margin-bottom: 8px; letter-spacing: -.01em; }
.offer-grid p { color: var(--muted); font-size: 17px; }

/* Méthode : section phare */
.method { background: var(--blue); color: var(--blue-ink); padding: 140px 0; }
.method-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: end; }
.method h2 { font-size: clamp(52px, 7.6vw, 110px); line-height: .95; letter-spacing: -.04em; }
.method-head p { font-size: 20px; opacity: .9; }
.steps { list-style: none; margin: 96px 0 0; padding: 0; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid rgba(255, 255, 255, .35); }
.num { font: 300 120px/0.8 var(--sans); letter-spacing: -.05em; opacity: .55; }
.steps h3 { font-size: 36px; line-height: 1.15; margin-bottom: 14px; }
.steps p { font-size: 19px; max-width: 38em; opacity: .9; }

/* Bandeau photo */
.band { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; padding: 16px; }
.band img { width: 100%; height: 340px; object-fit: cover; border-radius: 10px; }

/* Engagements */
.pledges { padding: 140px 0; }
.pledges-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: end; }
.pledges h2 { font-size: clamp(44px, 6vw, 84px); line-height: .98; letter-spacing: -.035em; }
.pledges-head p { font-size: 20px; color: var(--muted); }
.pledges dl { margin: 80px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 80px; }
.pledges dl div { padding: 30px 0 34px; border-top: 1px solid var(--line); }
.pledges dt { font-size: 26px; letter-spacing: -.015em; margin-bottom: 8px; }
.pledges dt::before { content: "→ "; color: var(--blue); }
.pledges dd { margin: 0; color: var(--muted); }

/* Questions */
.faq { background: var(--tint); padding: 120px 0; }
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.faq h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.02; letter-spacing: -.03em; }
details { border-bottom: 1px solid #c4cbe0; }
details:first-child { border-top: 1px solid #c4cbe0; }
summary { cursor: pointer; padding: 22px 0; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--blue); font-size: 28px; line-height: 1; font-weight: 300; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 24px; color: var(--muted); max-width: 40em; }

/* Contact */
.contact { padding: 150px 0 140px; }
.contact h2 { font-size: clamp(48px, 7.6vw, 110px); line-height: .95; letter-spacing: -.04em; margin-left: 8%; }
.contact-row { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; margin: 56px 0 0 24%; }
.contact-row > p { font-size: 20px; max-width: 30em; }
.small { font-size: 15px; color: var(--muted); margin-top: 12px; text-align: center; }

.foot { border-top: 1px solid var(--line); padding: 30px 0; font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--ink); }

/* Page légale */
.legal { padding: 64px 0 100px; }
.legal .wrap { max-width: 860px; }
.legal h1 { font-size: 56px; letter-spacing: -.035em; margin-bottom: 32px; }
.legal h2 { font-size: 26px; margin: 40px 0 10px; }
.legal p { color: var(--muted); }
.legal p + p { margin-top: 12px; }

@media (max-width: 1000px) {
  .wrap { padding: 0 28px; }
  .nav nav { gap: 0; padding-top: 4px; }
  .nav nav a:not(:last-child) { display: none; }
  .nav nav a:last-child { border: 2px solid var(--blue); color: var(--blue); border-radius: 999px; padding: 4px 16px; font-size: 16px; }
  .hero { padding-top: 64px; }
  .hero h1, .contact h2 { margin-left: 0; }
  .hero-row, .contact-row { margin-left: 0; grid-template-columns: 1fr; gap: 28px; justify-items: start; }
  .mosaic { height: 380px; margin-top: 64px; }
  .m1 { width: 52%; height: 260px; left: 0; top: 50px; }
  .m2 { width: 40%; height: 220px; left: 50%; top: 0; }
  .m3 { width: 46%; height: 200px; left: 46%; top: 170px; }
  .m4 { display: none; }
  .story, .method, .pledges, .faq, .contact { padding: 88px 0; }
  .story { margin-top: -80px; padding-top: 110px; }
  .story-grid, .method-head, .pledges-head, .faq-in, .offer-grid, .pledges dl { grid-template-columns: 1fr; }
  .story-grid { gap: 40px; margin-top: 48px; }
  .story-photo img { aspect-ratio: 16 / 10; }
  .offer { margin-top: 72px; }
  .method-head, .pledges-head, .faq-in { gap: 24px; }
  .steps { margin-top: 56px; }
  .steps li { grid-template-columns: 1fr; gap: 8px; padding: 36px 0; }
  .num { font-size: 72px; }
  .steps h3 { font-size: 28px; }
  .band { grid-template-columns: 1fr 1fr; }
  .band img { height: 220px; }
  .band img:last-child { display: none; }
  .pledges dl { margin-top: 48px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  body { font-size: 17px; }
  .logo { font-size: 32px; }
  .tagline { display: none; }
  .lead, .method-head p, .steps p, .contact-row > p { font-size: 17px; }
  .mosaic { height: 300px; }
  .m1 { height: 200px; }
  .m2 { height: 170px; }
  .m3 { height: 160px; top: 140px; }
  .pill { font-size: 17px; white-space: normal; }
  .pill.big { font-size: 18px; padding: 12px 22px; }
  .band { grid-template-columns: 1fr; padding: 8px; }
  .band img { height: 200px; }
  .band img:nth-child(2) { display: none; }
  .pledges dt { font-size: 22px; }
  summary { font-size: 18px; }
}
