@font-face { font-family: Poppins; src: url("poppins-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url("poppins-600.woff2") format("woff2"); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url("poppins-900.woff2") format("woff2"); font-style: normal; font-weight: 900; font-display: swap; }

/* Valeurs de la direction Figma et échelle responsive du prototype. */
:root {
  color-scheme: light;
  --ink: #000000;
  --muted: #4b5563;
  --paper: #ffffff;
  --soft: #f1f1f1;
  --line: #d9dbe9;
  --navy: #17324e;
  --deep: #0b3954;
  --on-dark: #dbe5ee;
  --neutral-300: #f1f2f9;
  --radius-button: .625rem;
  --radius-panel: 1rem;
  --radius-photo: clamp(1.15rem, 2.4vw, 2.2rem);
  --gutter: clamp(1.25rem, 6.8vw, 8.125rem);
  --section-space: clamp(3.5rem, 7vw, 8rem);
  --title-size: clamp(2.25rem, 5vw, 5.625rem);
  --section-title-size: clamp(1.85rem, 4.4vw, 5rem);
  --body-size: clamp(1rem, 1.1vw, 1.18rem);
  --font: Poppins, system-ui, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, p, h1, h2, h3, ol, dl, dd, figure { margin: 0; }
body { font-size: var(--body-size); line-height: 1.6; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.container { width: min(100% - 2 * var(--gutter), 95rem); margin-inline: auto; }
.section-pad { padding-block: var(--section-space); }
.section-label { margin-bottom: .9rem; font-size: .9rem; font-weight: 600; letter-spacing: .075em; text-transform: uppercase; color: var(--navy); }
h1, h2, h3 { font-weight: 900; line-height: 1.08; }
h1 { font-size: var(--title-size); letter-spacing: -.045em; word-spacing: .055em; text-wrap: balance; }
h2 { font-size: var(--section-title-size); letter-spacing: -.04em; word-spacing: .03em; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); letter-spacing: -.025em; }
.section-intro, .hero-intro { max-width: 41rem; margin-top: 1.2rem; color: var(--muted); }
.skip-link { position: fixed; top: .7rem; left: var(--gutter); padding: .65rem 1rem; z-index: 9; background: var(--navy); color: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; min-height: 5.25rem; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-brand { flex: none; display: inline-flex; align-items: center; }
.site-brand img { display: block; width: 7rem; height: auto; }
.site-menu, .project-menu, .site-footer-inner ul, .project-grid { list-style: none; margin: 0; padding: 0; }
.site-menu { display: flex; align-items: center; gap: clamp(.45rem, 1.3vw, 1.1rem); }
.site-menu a, .site-footer-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .4rem .3rem;
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .25em;
}
.site-menu > li > a { white-space: nowrap; }
.site-menu a:hover, .site-menu a[aria-current], .site-footer-inner nav a:hover, .site-footer-inner nav a[aria-current], .is-current-section > a {
  color: var(--navy);
  text-decoration: underline;
}
.site-menu a.site-nav-cta {
  justify-content: center;
  background: var(--navy);
  color: white;
  border-radius: var(--radius-button);
  padding: .55rem .9rem;
}
.site-menu a.site-nav-cta:hover { background: var(--deep); }
.site-menu a.site-nav-cta:focus-visible { outline-color: var(--navy); }
.site-menu-toggle { display: none; }
.project-navigation { position: relative; display: flex; align-items: center; }
.project-disclosure summary {
  display: grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  list-style: none;
  cursor: pointer;
}
.project-disclosure summary::-webkit-details-marker { display: none; }
.project-disclosure summary:hover, .site-menu-toggle:hover { background: #f1f1f1; }
.chevron { width: .53rem; height: .53rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.12rem) rotate(45deg); }
.project-disclosure[open] .chevron { transform: translateY(.12rem) rotate(225deg); }
.project-menu {
  position: absolute;
  z-index: 3;
  inset: 100% 0 auto auto;
  width: max-content;
  max-width: min(21rem, 85vw);
  padding: .5rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 14px 25px #17324e18;
}
.project-menu a { display: flex; width: 100%; padding-inline: .7rem; white-space: normal; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 1.5rem; }
.site-footer-inner ul { display: flex; flex-wrap: wrap; gap: .15rem 1rem; }

@media (max-width: 75rem) {
  .site-header-inner { flex-wrap: wrap; gap: .65rem; padding-block: .8rem; }
  .menu-enhanced .site-menu-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: var(--radius-button); background: white; color: var(--ink); cursor: pointer; }
  .hamburger { width: 1.15rem; height: .8rem; background: linear-gradient(currentColor,currentColor) center / 100% 1.5px no-repeat; border-block: 1.5px solid currentColor; }
  .site-navigation { flex: 0 0 100%; border-top: 1px solid var(--line); }
  .menu-enhanced .site-navigation:not(.is-open) { display: none; }
  .site-menu { display: block; padding-block: .55rem; }
  .site-menu > li { border-bottom: 1px solid var(--line); }
  .site-menu > li > a { min-height: 3rem; white-space: normal; }
  .site-menu > li:last-child { border: 0; padding-top: .6rem; }
  .project-navigation { display: block; }
  .project-disclosure summary { position: absolute; top: 0; right: 0; min-height: 3rem; }
  .project-menu { position: static; width: auto; max-width: none; border: 0; box-shadow: none; padding-left: .55rem; }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.15rem;
  width: fit-content;
  padding: .65rem 1.1rem;
  border-radius: var(--radius-button);
  border: 1px solid transparent;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms, background-color 180ms, border-color 180ms;
}
.button-primary { background: var(--navy); color: var(--paper); }
.button-primary:hover { background: var(--deep); }
.button-primary:focus-visible { outline-color: var(--navy); }
.button-outline { border-color: currentColor; }
.button-outline:hover { background: var(--soft); color: var(--navy); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .93rem; font-weight: 600; text-underline-offset: .3em; }
.text-link:hover { color: var(--navy); }

.hero {
  display: grid;
  grid-template-columns: minmax(0,.73fr) minmax(0,1.27fr);
  grid-template-areas: "brand headline";
  align-items: end;
  gap: clamp(2rem, 6.5vw, 8.125rem);
  padding-block: clamp(3.25rem, 8.3vw, 9rem) var(--section-space);
}
.hero-heading { grid-area: headline; }
.hero-identity { grid-area: brand; }
.hero h1 { text-transform: uppercase; }
.hero h1 em { display: block; font-style: normal; color: var(--navy); }
@supports (-webkit-text-stroke: 1px currentColor) {
  .hero h1 em { -webkit-text-stroke: max(1.5px, .025em) var(--navy); color: transparent; }
}
.hero-mark { width: clamp(9rem, 15vw, 16rem); margin: 0 0 1.15rem; }
.hero-identity .section-label { margin-bottom: .5rem; }
.hero-intro { margin-top: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1.1rem; margin-top: 1.5rem; }

.expertise-section, .contact-section { background: var(--soft); }
.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 2.2rem; border-top: 1px solid var(--line); }
.expertise-grid article { padding: 1.4rem 1.5rem 0 0; }
.expertise-grid article + article { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.expertise-grid p, .values dd { margin-top: .5rem; color: var(--muted); }
.service-icon { display: none; }
.split { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); gap: clamp(1.75rem, 6vw, 7rem); align-items: start; }
.difference-section, .work-section { background: var(--navy); color: var(--paper); }
.difference-section :is(.section-intro,.section-label), .work-section .section-label { color: var(--on-dark); }
.progression { list-style: none; padding-inline-start: 1.25rem; border-left: 1px solid #ffffff55; }
.progression li { margin-block: .3rem 1.3rem; }
.progression strong, .progression span { display: block; }
.progression span { color: var(--on-dark); }
.progression strong, .values dt { font-size: 1.2rem; font-weight: 600; }
.method-list { display: grid; gap: .65rem; }
.method-list details { border: 1px solid var(--neutral-300); border-radius: var(--radius-panel); box-shadow: 0 1px 4px #19213d0f; }
.method-list details[open] { border-color: var(--line); box-shadow: 0 5px 15px #19213d0f; }
.method-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.1rem; cursor: pointer; list-style: none; color: var(--navy); font-weight: 600; }
.method-list summary::-webkit-details-marker { display: none; }
.method-list summary span { flex: none; width: .65rem; height: .65rem; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.method-list details[open] summary span { transform: rotate(225deg); }
.method-list details p { padding: 0 1.1rem 1.05rem; color: var(--muted); }
.why-section { align-items: center; }
.team-image { width: min(100%,28rem); margin: 1.5rem auto 0 0; border-radius: var(--radius-photo); background: var(--deep); }
.values > div { padding-block: 1rem; border-top: 1px solid var(--line); }
.values > div:last-child { border-bottom: 1px solid var(--line); }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; }
.contact-inner .button { flex: none; }
.contact-inner p:not(.section-label) { margin-top: 1rem; color: var(--muted); }

.inner-page { min-height: 53vh; }
.inner-page h1 { max-width: 21ch; overflow-wrap: anywhere; }
.page-content, .project-all { margin-top: 1.6rem; }
.content-block { max-width: 44rem; margin-top: 2rem; }
.content-block h2 { font-size: clamp(1.35rem, 2.5vw, 2rem); margin-bottom: .55rem; letter-spacing: -.04em; }
.content-block p, .content-block li { color: var(--muted); }
.content-block ul { margin: 0; padding-inline-start: 1.25rem; }
.content-block li + li { margin-top: .35rem; }
.contact-details { display: flex; flex-wrap: wrap; gap: 1rem; font-style: normal; }
.project-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.9rem, 2vw, 1.7rem); margin-top: 1.8rem; }
.project-card { position: relative; min-height: 5.6rem; padding: 1.25rem; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--paper); color: var(--ink); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.project-card h2, .project-card h3 { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.38rem); line-height: 1.3; font-weight: 600; }
.project-card a { text-decoration: none; }
.project-card a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.project-card:focus-within { outline: 2px solid var(--navy); outline-offset: 4px; }
.work-section .project-card:focus-within { outline-color: var(--paper); }
.project-card:hover a { text-decoration: underline; text-underline-offset: .2em; }
.project-featured { padding: 0; overflow: hidden; border-radius: var(--radius-photo); }
.project-featured h2, .project-featured h3 { padding: 1.15rem 1.25rem; }
.project-media { aspect-ratio: 1.7; overflow: hidden; background: var(--navy); }
.project-media img, .project-cover img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--shift,0px)) scale(1.04); }
.portfolio-page .project-featured { grid-column: 1 / -1; }
.portfolio-page .project-media { aspect-ratio: 2.7; }
.work-section .project-grid { grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
.work-section .project-featured { grid-row: span 2; }
.project-masthead { isolation: isolate; position: relative; overflow: hidden; display: flex; align-items: end; min-height: clamp(13rem, 32vw, 34rem); background: var(--navy); color: var(--paper); border-radius: var(--radius-photo); }
.project-masthead-copy { position: relative; padding: clamp(1rem, 4vw, 4rem); }
.project-masthead h1 { font-size: clamp(1.8rem, 4.6vw, 5.25rem); text-transform: uppercase; }
.project-cover { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.project-cover::after { content: ""; position: absolute; inset: 0; background: #17324ecf; }
.project-back { margin-bottom: 1rem; font-size: .95rem; }
.project-back a { text-underline-offset: .25em; }
.project-note { color: var(--muted); margin-top: 1.4rem; }
.project-preview { margin-top: 2rem; border-radius: var(--radius-photo); overflow: hidden; }
.project-preview img { width: 100%; }

@media (max-width: 54rem) {
  .hero { grid-template-columns: 1fr; grid-template-areas: "headline" "brand"; align-items: start; }
  .hero-mark { width: 8.5rem; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 43rem) {
  .expertise-grid, .split, .project-grid, .work-section .project-grid { grid-template-columns: 1fr; }
  .work-section .project-featured { grid-row: auto; }
  .portfolio-page .project-media { aspect-ratio: 1.7; }
  .expertise-grid article { padding: 1rem 0; border-bottom: 1px solid var(--line); }
  .expertise-grid article + article { padding-left: 0; border-left: 0; }
  .contact-inner { display: block; }
  .contact-inner .button { margin-top: 1.15rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .enter-view { animation: settle-in 450ms ease-out both; }
  @keyframes settle-in { from { opacity: .8; translate: 0 .45rem; } to { opacity: 1; translate: 0 0; } }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px #17324e25; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .project-media img, .project-cover img { transform: none; }
}
