/* ==========================================================
   Étienne Laurent — Stratégie, opérations & innovation numérique
   Feuille de style principale
   Polices chargées dans le <head> (Google Fonts : DM Sans + Manrope)
   ========================================================== */

:root {
  /* Palette : forêt, mousse, lime, crème, brique */
  --forest: #3a593b;
  --moss: #688b4a;
  --lime: #a4bf57;
  --cream: #efe4ca;
  --brick: #a74742;
  --brick-dark: #8c3a36;
  --paper: #f8f4ea;
  --ink: #1f2a20;
  --muted: #636a5b;
  --border: #ddd4bd;
  --font: "DM Sans", Arial, sans-serif;
  --heading: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 115px; }
body {
  overflow-x: clip;               /* les plis en 3D ne créent jamais de défilement horizontal */
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-size: 16px;
}
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
::selection { color: var(--ink); background: var(--lime); }
:focus-visible { outline: 3px solid var(--moss); outline-offset: 5px; }
p { line-height: 1.65; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; }
h2 {
  letter-spacing: -.05em;
  white-space: pre-line;
  font-size: clamp(2rem, 3.65vw, 3.5rem);
  line-height: 1.2;
}
h3 { letter-spacing: -.035em; }

/* ---------- En-tête ---------- */
.header {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  max-width: 1600px;
  height: 96px;
  margin: auto;
  padding: 0 5%;
  display: flex;
  /* menu collant : reste en haut de l'écran au défilement */
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
}
/* écrans de plus de 1600 px : le fond du menu couvre toute la largeur,
   sans rien couper (la signature peut déborder sous la ligne) */
@media (min-width: 1601px) {
  .header::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    background: var(--paper);
    pointer-events: none;
  }
}
.header::after {                  /* légère ombre sous le menu une fois qu'on a défilé */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  background: linear-gradient(#1f2a2012, transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.header.is-scrolled::after { opacity: 1; }
.wordmark {
  font-family: var(--heading);
  letter-spacing: -1.1px;
  white-space: nowrap;
  font-size: 23px;
  font-weight: 800;
}
.brand-dot { color: var(--brick); }
.wordmark { display: inline-flex; align-items: center; align-self: flex-start; position: relative; z-index: 2; }
/* signature plus grande, qui déborde sous la ligne du menu */
.logo-signature {
  display: block;
  width: auto;
  height: 92px;
  margin-top: 28px;
  transition: height .35s ease, margin-top .35s ease;
}
/* une fois la page défilée, la signature reprend sa place dans le menu */
.header.is-scrolled .logo-signature { height: 50px; margin-top: 23px; }
.footer-signature { display: block; width: auto; height: 38px; }
.nav { gap: 27px; font-size: 14px; display: flex; }
.nav a { padding: 10px 0; position: relative; }
.nav a:after {
  content: "";
  background: var(--ink);
  width: 0;
  height: 1px;
  transition: width .2s;
  position: absolute;
  bottom: 2px;
  left: 0;
}
.nav a:hover:after { width: 100%; }
.header-actions { align-items: center; gap: 26px; display: flex; }
.language { font-size: 13px; font-weight: 600; }
.header-contact {
  border: 1px solid #b5ad98;
  align-items: center;
  gap: 24px;
  padding: 13px 17px;
  font-size: 14px;
  display: flex;
}
.small-plus { font-size: 18px; }
.menu-button { display: none; }

/* ---------- Accueil ---------- */
.intro-stage {
  grid-template-columns: 1.08fr 1fr;
  gap: 2.5%;
  max-width: 1600px;
  margin: auto;
  padding: 62px 5% 0;
  display: grid;
  position: relative;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .105em;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.6;
  display: flex;
}
.blue-line {
  background: var(--forest);
  flex-shrink: 0;
  width: 24px;
  height: 2px;
  display: inline-block;
}
.hero-copy > .eyebrow { letter-spacing: .12em; margin: 0 0 35px; font-size: 10px; }
.hero-copy .hero-title {
  font-family: var(--heading);
  letter-spacing: -.065em;
  margin: 0 0 30px;
  font-size: clamp(3.1rem, 4.65vw, 4.8rem);
  font-weight: 500;
  line-height: 1.08;
}
.hero-copy .hero-title span { display: block; }
.blue { color: var(--moss); }
.hero-description {
  color: #5b6152;
  max-width: 455px;
  margin-bottom: 26px;
  font-size: 17px;
  line-height: 1.65;
}
.hero-buttons { align-items: center; gap: 30px; display: flex; }
.button {
  border: 1px solid transparent;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 17px 23px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, transform .2s;
  display: inline-flex;
}
.button:hover { transform: translateY(-2px); }
.primary { background: var(--brick); color: #fff; }
.primary:hover { background: var(--brick-dark); }
.text-link {
  border-bottom: 1px solid;
  align-items: center;
  gap: 28px;
  padding: 10px 0;
  font-size: 14px;
  display: inline-flex;
}
.text-link span { font-size: 20px; font-weight: 400; }
.availability {
  color: #5b6152;
  align-items: center;
  gap: 10px;
  max-width: 450px;
  margin-top: 28px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
}
.asterisk { color: var(--brick); font-size: 24px; }
.hero-bottom {
  border-top: 1px solid var(--border);
  letter-spacing: .1em;
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  margin-top: 62px;
  padding: 22px 0;
  font-size: 10px;
  display: flex;
}
.hero-bottom a { align-items: center; gap: 16px; display: flex; }
.scroll-line { background: var(--muted); width: 1px; height: 26px; display: inline-block; }

/* ---------- Illustration animée ---------- */
.art-column { padding-left: 28px; position: relative; }
.art-sticky { margin-top: 15px; position: sticky; top: 40px; }
.art-top {
  color: #7b7e6d;
  letter-spacing: .12em;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  display: flex;
}
.crosshair { font-size: 22px; font-weight: 300; }
.wireframe {
  height: clamp(400px, 40vw, 620px);
  margin-top: 10px;
  position: relative;
}
canvas { width: 100%; height: 100%; display: block; }
.art-coordinate {
  color: #858875;
  writing-mode: vertical-rl;
  font: 10px monospace;
  position: absolute;
}
.coordinate-a { top: 50%; left: 0; }
.coordinate-b { top: 35%; right: 0; }
.art-bottom {
  border-top: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  padding-top: 17px;
  display: flex;
}
.phase-list { color: #9b9b88; gap: 18px; font-size: 10px; display: flex; }
.phase-list span { transition: color .3s; }
.phase-list .active { color: var(--forest); font-weight: 600; }
.pause {
  color: var(--muted);
  background: none;
  border: 0;
  width: 35px;
  height: 30px;
  font-size: 14px;
  position: relative;
  z-index: 5;
}
.art-caption { text-align: right; color: var(--muted); margin-top: 7px; font-size: 11px; }
/* Zone de l'animation : déborde à gauche pour rejoindre la photo */
.wireframe { --reach: clamp(40px, calc(18vw - 90px), 200px); --lift: 0px; --side: 0px; }
/* Vagues douces en arrière-plan */
.wireframe::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: calc(-0.6 * var(--reach));
  right: 0;
  bottom: 0;
  height: 58%;
  pointer-events: none;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='none'><path d='M0 300 C150 270 250 330 380 280 S540 170 600 150 V400 H0Z' fill='%23d26a5c' fill-opacity='.05'/><path d='M0 335 C140 310 250 360 380 315 S530 230 600 215 V400 H0Z' fill='%23688b4a' fill-opacity='.24'/><path d='M0 365 C160 340 270 385 400 345 S540 280 600 270 V400 H0Z' fill='%233a593b' fill-opacity='.26'/><path d='M0 318 C150 292 250 345 380 298 S535 200 600 182' fill='none' stroke='%23fff' stroke-opacity='.85' stroke-width='1.4'/><path d='M0 352 C150 325 260 372 390 330 S535 255 600 242' fill='none' stroke='%23fff' stroke-opacity='.6' stroke-width='1'/></svg>") center bottom / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 32%, #000 82%, transparent);
  transform-origin: 50% 100%;
  animation: wave-breathe 9s ease-in-out infinite alternate;
}
@keyframes wave-breathe {
  from { transform: scaleY(1); }
  to { transform: scaleY(1.07) translateX(-1.5%); }
}
.network-anchor {
  pointer-events: none;
  position: absolute;
  top: calc(-1 * var(--lift));
  bottom: 0;
  right: 0;
  left: calc(-1 * (var(--reach) + var(--side)));
  z-index: 1;
}
.network-canvas {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
/* Photo ronde, à l'écart, près du titre */
.hero-photo {
  --ps: clamp(120px, 12vw, 190px);   /* diamètre du cercle */
  position: absolute;
  z-index: 2;
  top: 3%;
  left: calc(-1 * var(--reach));
  /* largeur ET hauteur explicites : le cercle reste rond sur tous les navigateurs (Safari/iPhone compris) */
  width: var(--ps);
  height: var(--ps);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--border), 0 16px 36px #2b3d2218;
  overflow: hidden;
}
.hero-photo picture {
  position: absolute;
  top: 6px;
  left: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 40%;
}

.intro-statement { max-width: 490px; padding: 90px 0; }
.section-no {
  font: 12px var(--font);
  color: var(--moss);
  margin-bottom: 22px;
  display: block;
}
.intro-statement h2 { letter-spacing: -.045em; font-size: 34px; }
.intro-statement p { color: var(--muted); max-width: 380px; font-size: 17px; }

/* ---------- Sections ---------- */
.section { max-width: 1600px; margin: 0 auto; padding: 95px 5%; }
.section-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 56px;
  display: flex;
}
.section-heading h2 { margin: 20px 0 0; }
.section-intro { max-width: 315px; color: var(--muted); margin: 0 0 5px; font-size: 16px; }

/* ---------- Accompagnement ---------- */
.services { border-top: 1px solid var(--border); background: var(--cream); overflow-x: clip; } /* les plis restent dans le bloc */
.service-list { border-top: 1px solid #d3c7a6; }
.service { border-bottom: 1px solid #d3c7a6; }
.service summary {
  cursor: pointer;
  align-items: center;
  gap: 36px;
  padding: 31px 0;
  list-style: none;
  display: flex;
}
.service summary::-webkit-details-marker { display: none; }
.service-number { color: var(--muted); align-self: flex-start; margin-top: 10px; font-size: 12px; }
.service h3 { margin: 0 0 7px; font-size: 27px; }
.service summary p { color: var(--muted); margin: 0; font-size: 15px; }
.expand { margin-left: auto; font-size: 26px; font-weight: 400; transition: transform .2s; }
.service[open] .expand { transform: rotate(45deg); }
.service-detail {
  color: #575d4e;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  max-width: 1130px;
  padding: 0 65px 30px 52px;
  display: grid;
}
.service-detail > p { margin: 0; }
.service-detail > div { border-left: 2px solid var(--moss); padding-left: 22px; }
.service-detail .eyebrow { color: var(--forest); font-size: 10px; }
.service-detail > div p { margin: 10px 0 0; }
/* Panneau plié en accordéon de papier : plis empilés, dépliage vertical */
.service-detail { position: relative; }
.service-detail.is-folding { overflow: visible; padding: 0 !important; }  /* la marge est déjà dans les plis */
.service-detail.is-folding > *:not(.fold-strips) { visibility: hidden; }
.service-detail > .fold-strips { position: absolute; top: 0; left: 0; z-index: 2; border: 0; padding: 0; margin: 0; perspective: 1400px; transform-style: preserve-3d; }
.fold-face {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  will-change: transform;
  overflow: hidden;
  background: #efe4ca;            /* couleur du papier = fond de la section */
  transform-origin: 50% 50%;
}
.fold-copy {
  position: absolute !important;
  left: 0;
  height: auto !important;
  margin: 0;
  visibility: visible !important;
}
.fold-copy > * { visibility: visible !important; }
.service-detail .fold-copy > p { margin: 0; }   /* même marge que le vrai contenu */
.fold-shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
/* plis tournés vers la lumière (en haut) : plus clairs ; plis tournés vers le bas : plus foncés */
.fold-shade.light { background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,.08)); }
.fold-shade.dark { background: linear-gradient(180deg, rgba(60,50,30,.08), rgba(60,50,30,.34)); }


/* ---------- Réalisations ---------- */
.projects { grid-template-columns: 1fr 1fr; gap: 22px; display: grid; }
.project {
  text-align: left;
  border: 0;
  flex-direction: column;
  min-height: 460px;
  padding: 33px;
  transition: transform .25s, box-shadow .25s;
  display: flex;
}
.project:hover { transform: translateY(-5px); box-shadow: 0 12px 30px #1f2a2014; }
.project-0 { color: #f8f4ea; background: var(--forest); }
.project-1 { color: #26391f; background: #e4eacd; }
.project-2 { color: #3b3322; background: var(--cream); }
.project-3 { color: #5a2624; background: #f1ddd6; }
.project-top {
  letter-spacing: -.04em;
  justify-content: space-between;
  align-items: center;
  font-size: 21px;
  display: flex;
}
.project-plus {
  border: 1px solid currentColor;
  opacity: .75;
  border-radius: 50%;
  place-items: center;
  width: 33px;
  height: 33px;
  font-size: 21px;
  display: grid;
}
.project-content { margin: 52px 0 23px; }
.project-content .eyebrow { opacity: .7; letter-spacing: .14em; font-size: 9px; }
.project-content h3 {
  white-space: pre-line;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.2;
}
.project-content > p:last-child {
  opacity: .8;
  max-width: 440px;
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.6;
}
.project-tags { flex-wrap: wrap; gap: 7px; margin-top: auto; padding-bottom: 27px; display: flex; }
.project-tags span { border: 1px solid #8a8a7466; padding: 5px 8px; font-size: 10px; }
.project-bottom {
  border-top: 1px solid #8a8a7455;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  font-size: 12px;
  display: flex;
}
.project-bottom > span { opacity: .6; font: 11px monospace; }
.project-details { display: none; }
/* Papier froissé en 3D qui se déplie au défilement */
.work { overflow-x: clip; }        /* les marges du papier ne créent pas de défilement horizontal */
.project { position: relative; isolation: isolate; }
.project > *:not(.crumple-canvas) { position: relative; z-index: 1; }
.crumple-canvas {
  position: absolute;
  inset: -70px;
  width: calc(100% + 140px);
  height: calc(100% + 140px);
  z-index: 0;
  pointer-events: none;
}
/* Tant que la carte est froissée : pas de fond ni d'ombre, texte masqué */
.project.is-crumpled:not(.is-smooth) { background: transparent !important; box-shadow: none; transform: none; cursor: default; }
.project.is-crumpled > *:not(.crumple-canvas) { opacity: var(--text-alpha, 1); }
.project.is-crumpled.is-smooth > *:not(.crumple-canvas) { opacity: 1; }
.project.is-smooth .crumple-canvas { display: none; }

/* ---------- À propos ---------- */
.about {
  border-top: 1px solid var(--border);
  grid-template-columns: .65fr 1.35fr;
  gap: 90px;
  display: grid;
}
.monogram {
  display: block;
  width: 180px;
  height: 180px;
  margin: 80px 0 20px;
  object-fit: contain;
}
.about-signature { font-size: 16px; font-weight: 500; line-height: 1.7; }
.about-signature span { color: var(--muted); font-size: 13px; font-weight: 400; }
.about-copy h2 { margin-bottom: 34px; }
.large-copy { letter-spacing: -.015em; font-size: 21px; line-height: 1.65; }
.about-copy > p:not(.large-copy) { color: var(--muted); max-width: 640px; }
.about-copy > .text-link { margin-top: 12px; }
.career-strip {
  border-top: 1px solid var(--border);
  font-family: var(--heading);
  color: #6a6e5d;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
  padding-top: 30px;
  font-size: 14px;
  font-weight: 650;
  display: flex;
}
.working-style { border-top: 1px solid var(--border); grid-column: 1 / -1; padding-top: 50px; }
.working-heading {
  grid-template-columns: .65fr 1.35fr;
  align-items: start;
  gap: 90px;
  margin-bottom: 35px;
  display: grid;
}
.working-heading h3 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.3;
}
.strengths-grid { grid-template-columns: repeat(3, 1fr); gap: 0 35px; display: grid; }
.strengths-grid article { border-top: 1px solid var(--border); padding: 27px 0 25px; }
.strength-number { color: var(--brick); margin-bottom: 20px; font-size: 12px; display: block; }
.strengths-grid h4 {
  font-family: var(--heading);
  letter-spacing: -.02em;
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
}
.strengths-grid p { color: var(--muted); max-width: 340px; margin: 0; font-size: 16px; }
.toolkit { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 28px; }
.toolkit summary {
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  list-style: none;
  display: flex;
}
.toolkit summary::-webkit-details-marker { display: none; }
.toolkit summary h3 { margin: 0 0 7px; font-size: 25px; }
.toolkit summary p { color: var(--muted); margin: 0; font-size: 16px; }
.toolkit[open] .expand { transform: rotate(45deg); }
.toolkit-list { padding-bottom: 15px; }
.toolkit-list > div {
  border-top: 1px solid var(--border);
  grid-template-columns: 1fr 2fr;
  gap: 30px;
  padding: 19px 0;
  display: grid;
}
.toolkit-list h4 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.7; }
.toolkit-list p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Expérimentations ---------- */
.lab { background: #eef0e1; }
.experiment {
  background: var(--paper);
  border: 1px solid #dcdcc6;
  grid-template-columns: 1fr 1fr;
  display: grid;
}
.calendar-preview {
  background: #e2e8c9;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  padding: 40px;
  display: flex;
  position: relative;
  overflow: hidden;
}
.calendar-paper {
  background: #fff;
  width: 320px;
  padding: 24px;
  transition: transform .4s;
  transform: rotate(-7deg);
  box-shadow: 0 12px 35px #2b3d2218;
}
.experiment:hover .calendar-paper { transform: rotate(-3deg); }
.calendar-title {
  color: var(--forest);
  border-bottom: 2px solid var(--forest);
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  display: flex;
}
.calendar-title b { font-size: 20px; font-family: var(--heading); letter-spacing: .05em; }
.calendar-title span { font-size: 16px; }
.calendar-grid { grid-template-columns: repeat(7, 1fr); margin-top: 15px; display: grid; }
.calendar-grid span {
  color: #5c6450;
  border-bottom: 1px solid #eeeadf;
  border-right: 1px solid #eeeadf;
  height: 30px;
  padding: 5px;
  font-size: 8px;
}
.calendar-grid .weekday { text-align: center; border: 0; height: 22px; font-weight: 600; }
.calendar-grid .calendar-selected { color: #fff; background: var(--brick); font-weight: 700; }
.calendar-notes { color: #7c806c; margin-top: 18px; font-size: 7px; }
.calendar-notes div { border-bottom: 1px solid #e6e2d4; height: 14px; }
.experiment-index { color: #5f6f48; font: 10px monospace; position: absolute; bottom: 18px; left: 20px; }
.experiment-copy {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 55px 45px;
  display: flex;
}
.experiment-copy .eyebrow { color: var(--forest); font-size: 9px; }
.experiment-copy h3 { margin: 17px 0; font-size: 31px; }
.experiment-copy > p:not(.eyebrow) { color: var(--muted); margin: 0 0 23px; font-size: 16px; }
.experiment-features {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 30px;
  font-size: 10px;
  display: flex;
}
/* ---------- EXP. 002 · Galaximum ---------- */
.experiment + .experiment { margin-top: 22px; }
.experiment-reverse .galaxy-preview { order: 2; }   /* visuel à droite sur ordinateur */
.galaxy-preview {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: #080c18;             /* même fond que le site Galaximum */
}
.galaxy-preview picture,
.galaxy-preview img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform .6s ease;
}
.experiment:hover .galaxy-preview img { transform: scale(1.03); }
.galaxy-preview .experiment-index { color: #9aa3c0; z-index: 1; top: 18px; bottom: auto; }
.experiment > * { min-width: 0; }   /* l'image ne peut jamais élargir la grille */

.outline { background: none; border-color: #b3ad97; }
.outline:hover { background: var(--cream); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq-list { border-top: 1px solid var(--border); max-width: 1130px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 26px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { margin: 0; font-size: 21px; letter-spacing: -.025em; }
.faq-item[open] .expand { transform: rotate(45deg); }
.faq-item p { color: var(--muted); max-width: 760px; margin: -6px 0 28px; font-size: 16px; }

/* ---------- Contact ---------- */
.contact { background: var(--forest); color: #f8f4ea; padding-top: 55px; padding-bottom: 65px; }
.contact-top {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  display: flex;
}
.contact-top .eyebrow { margin: 0; }
.contact-top > span { letter-spacing: .08em; opacity: .75; font-size: 10px; }
.contact h2 {
  letter-spacing: -.055em;
  margin-bottom: 45px;
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  line-height: 1.14;
}
.contact-bottom {
  border-top: 1px solid #efe4ca55;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  display: flex;
}
.contact-bottom p { max-width: 400px; margin-bottom: 8px; font-size: 16px; }
.contact-bottom .contact-note { opacity: .7; margin-bottom: 0; font-size: 12px; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; }
.contact-links a { border-bottom: 1px solid #efe4ca88; padding-bottom: 2px; }
.contact-links a:hover { border-color: var(--cream); }
.white { color: var(--forest); white-space: nowrap; background: var(--cream); }
.white:hover { background: var(--lime); }

/* ---------- Pied de page ---------- */
footer {
  justify-content: space-between;
  gap: 25px;
  max-width: 1600px;
  margin: auto;
  padding: 48px 5%;
  display: flex;
}
footer p { color: var(--muted); margin: 9px 0 0; font-size: 12px; }
.footer-brand { align-items: center; gap: 16px; display: inline-flex; }
.footer-monogram { object-fit: contain; flex-shrink: 0; width: 64px; height: 64px; display: block; }
.footer-right {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  font-size: 12px;
  display: flex;
}
.footer-right > span { color: var(--muted); font-size: 10px; }

/* ---------- Fenêtre projet ---------- */
.project-dialog {
  background: var(--paper);
  width: calc(100% - 36px);
  max-width: 760px;
  max-height: 85vh;
  color: var(--ink);
  border: 0;
  padding: 0;
}
.project-dialog::backdrop {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: #1f2a2088;
}
.dialog-inner { padding: 40px 50px; }
.dialog-top { justify-content: space-between; align-items: center; gap: 20px; display: flex; }
.dialog-top .eyebrow { color: var(--forest); margin: 0; font-size: 10px; }
.dialog-close {
  border: 1px solid var(--border);
  background: none;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  font-size: 24px;
}
.dialog-company { margin: 35px 0 15px; font-size: 16px; }
.dialog-inner h2 { font-size: 38px; }
.dialog-sections > div { border-top: 1px solid var(--border); padding: 22px 0; }
.dialog-sections h3 { letter-spacing: 0; margin: 0 0 8px; font-size: 17px; }
.dialog-sections p { color: var(--muted); margin: 0; font-size: 16px; }
.dialog-inner > .button { margin-top: 15px; }

.skip {
  background: var(--ink);
  color: #fff;
  z-index: 100;
  padding: 15px;
  position: fixed;
  top: -80px;
  left: 16px;
}
.skip:focus { top: 16px; }


/* ---------- Lien « Voir tous les services » (accueil) ---------- */
.services-more { margin-top: 42px; }

/* ---------- Page Services ---------- */
.nav a[aria-current="page"]:after { width: 100%; }
.page-hero { max-width: 1600px; margin: 0 auto; padding: 70px 5% 60px; }
.page-hero > .eyebrow { letter-spacing: .12em; margin: 0 0 35px; font-size: 10px; }
.page-hero .page-title {
  font-family: var(--heading);
  letter-spacing: -.065em;
  margin: 0 0 40px;
  font-size: clamp(3.1rem, 5.6vw, 6rem);
  font-weight: 500;
  line-height: 1.04;
}
.page-hero .page-title span { display: block; }
.page-hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.page-hero-bottom .hero-description { max-width: 560px; margin: 0; }
.service-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.service-index a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 22px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--heading);
  font-size: 17px;
  letter-spacing: -.02em;
  transition: background .2s;
}
.service-index a:hover { background: var(--cream); }
.service-index span { color: var(--moss); font: 12px var(--font); font-weight: 600; }
.services-alt { background: var(--paper); }
/* Page Services : tout le contenu est visible, sans accordéon */
.service-open { padding: 31px 0 34px; }
.service-head { display: flex; align-items: center; gap: 36px; margin-bottom: 22px; }
.service-open .service-detail { padding-bottom: 0; }
.service-head p { color: var(--muted); margin: 0; font-size: 15px; }
.services-alt .service-list, .services-alt .service { border-color: var(--border); }

.formats-section { border-top: 1px solid var(--border); }
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.format {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 28px 26px;
  background: var(--cream);
  border: 1px solid #d3c7a6;
}
.format:first-child { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.format:first-child .strength-number, .format:first-child .format-meta { color: var(--lime); }
.format:first-child p:last-child { color: #efe4cacc; }
.format h3 { margin: 50px 0 8px; font-size: 25px; }
.format .format-meta { color: var(--forest); margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.format p:last-child { color: var(--muted); margin: auto 0 0; font-size: 15px; }

.process-section { border-top: 1px solid var(--border); background: var(--cream); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 35px; counter-reset: none; }
.process li { border-top: 2px solid var(--forest); padding: 24px 0 10px; }
.step-number { color: var(--moss); font-size: 12px; font-weight: 600; }
.process h3 { margin: 16px 0 10px; font-size: 23px; }
.process p { color: var(--muted); margin: 0; font-size: 15px; }


/* ---------- Formations (À propos) ---------- */
.training { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; border-top: 1px solid var(--border); margin-top: 20px; padding: 45px 0 50px; }
.training-heading h3 { margin: 18px 0 0; font-size: 30px; line-height: 1.25; }
.training-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.training-card { background: var(--cream); border: 1px solid #d3c7a6; border-top: 3px solid var(--forest); padding: 28px 28px 26px; display: flex; flex-direction: column; }
.training-sub { color: var(--moss); letter-spacing: .1em; font-size: 10px; font-weight: 600; margin: 0 0 10px; }
.training-card h4 { font-family: var(--heading); font-weight: 600; letter-spacing: -.04em; font-size: 42px; line-height: 1; margin: 0 0 18px; color: var(--forest); }
.training-card > p:not(.training-sub) { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.training-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.training-tags span { border: 1px solid #c9bc98; padding: 5px 10px; font-size: 12px; color: var(--ink); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 1600px) {
  .hero-copy .hero-title { font-size: 85px; }
}

@media (max-width: 1100px) {
  .nav { gap: 15px; font-size: 12px; }
  .header-actions { gap: 18px; }
  .header-contact { display: none; }
  .art-column { padding-left: 0; }
  .hero-copy .hero-title { font-size: 4.8vw; }
  .phase-list { gap: 10px; font-size: 9px; }
  .service-detail { gap: 30px; }
  .about { gap: 45px; }
  .working-heading { gap: 45px; }
  .section-intro { max-width: 260px; }
  .experiment-copy { padding: 35px 30px; }
  .service-index { grid-template-columns: 1fr 1fr; }
  .formats { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 10px 30px; }
  .training { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .header { height: 78px; padding: 0 6%; }
  .logo-signature { height: 66px; margin-top: 24px; }
  .header.is-scrolled .logo-signature { height: 40px; margin-top: 19px; }
  .header-actions { gap: 23px; }
  .menu-button {
    background: none;
    border: 0;
    width: 35px;
    height: 40px;
    font-size: 23px;
    display: block;
  }
  .nav { display: none; }
  .nav.open {
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 12px;
    padding: 20px 6% 30px;
    font-size: 17px;
    display: flex;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    box-shadow: 0 15px 15px #00000009;
  }
  .intro-stage { flex-direction: column; padding: 40px 6% 0; display: flex; }
  .hero-copy > .eyebrow { letter-spacing: .07em; margin-bottom: 28px; font-size: 9px; }
  .blue-line { width: 17px; }
  .hero-copy .hero-title { letter-spacing: -.065em; font-size: clamp(2.6rem, 8.6vw, 4rem); }
  .hero-description { max-width: 440px; font-size: 16px; }
  .hero-buttons { gap: 25px; }
  .button { padding: 16px 20px; font-size: 13px; }
  .hero-bottom { margin-top: 34px; }
  .art-column { order: 2; }
  .art-sticky { margin: 0; position: relative; top: 0; }
  .wireframe { --reach: 0px; --side: 0px; max-width: 450px; height: 380px; margin: auto; }
  .hero-photo { --ps: 112px; top: 2%; left: 2%; }
  .art-top { font-size: 9px; }
  .art-bottom { max-width: 100%; }
  .phase-list { gap: 25px; font-size: 10px; }
  .art-caption { margin-bottom: 40px; }
  .intro-statement { max-width: none; padding: 42px 0 35px; }
  .intro-statement h2 { font-size: 29px; }
  .intro-statement p { max-width: 100%; font-size: 16px; }
  .intro-statement .section-no { margin-bottom: 16px; }
  .section { padding: 65px 6%; }
  .section-heading { margin-bottom: 35px; display: block; }
  .section-heading h2 { margin-top: 18px; font-size: 34px; }
  .section-intro { max-width: 440px; margin-top: 22px; font-size: 15px; }
  .service summary { gap: 17px; padding: 25px 0; }
  .service h3 { font-size: 22px; }
  .service summary p { font-size: 13px; }
  .service-number { font-size: 11px; }
  .service-detail { padding: 0 20px 26px 31px; font-size: 15px; display: block; }
  .service-detail > div { margin-top: 22px; }
  .projects { grid-template-columns: 1fr; gap: 17px; }
  .project { min-height: 405px; padding: 27px; }
  .project-content { margin-top: 36px; }
  .project-content h3 { font-size: 33px; }
  .project-content > p:last-child { font-size: 15px; }
  .project-top { font-size: 20px; }
  .project-tags span { font-size: 11px; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .about-aside { grid-template-columns: 1fr 1fr; align-items: end; display: grid; }
  .about-aside .eyebrow { grid-column: 1 / -1; }
  .monogram { width: 95px; height: 95px; margin: 20px 0 0; }
  .about-signature { text-align: right; margin: 0; font-size: 14px; }
  .about-copy h2 { margin-bottom: 25px; font-size: 34px; }
  .large-copy { font-size: 19px; }
  .about-copy > p:not(.large-copy) { font-size: 16px; }
  .career-strip { gap: 22px; font-size: 12px; }
  .working-style { padding-top: 35px; }
  .working-heading { display: block; }
  .working-heading h3 { margin-top: 20px; font-size: 27px; }
  .strengths-grid { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .strengths-grid h4 { font-size: 18px; }
  .toolkit summary h3 { font-size: 23px; }
  .toolkit-list > div { grid-template-columns: 1fr; gap: 8px; }
  .experiment { grid-template-columns: 1fr; }
  .experiment-reverse .galaxy-preview { order: 0; }
  .galaxy-preview { min-height: 0; height: 64vw; min-width: 0; }
  .calendar-preview { min-height: 340px; padding: 40px; }
  .calendar-paper { width: 275px; padding: 22px; }
  .calendar-grid span { height: 25px; }
  .experiment-copy { padding: 32px 27px; }
  .experiment-copy h3 { font-size: 27px; }
  .experiment-features { font-size: 11px; }
  .contact-top { gap: 25px; margin-bottom: 35px; }
  .contact-top > span { font-size: 8px; }
  .contact h2 { margin-bottom: 35px; font-size: 38px; }
  .contact-bottom { padding-top: 25px; display: block; }
  .contact-actions { align-items: flex-start; margin-top: 27px; }
  .faq-item h3 { font-size: 18px; }
  .faq-item p { font-size: 15px; }
  .contact-bottom p { font-size: 15px; }
  .contact-bottom .contact-note { font-size: 13px; }
  footer { padding: 35px 6%; display: block; }
  .footer-monogram { width: 54px; height: 54px; }
  .footer-signature { height: 32px; }
  .footer-brand { gap: 12px; }
  .footer-right { align-items: flex-start; margin-top: 30px; }
  .footer-right > span { font-size: 11px; }
  .dialog-inner { padding: 25px; }
  .dialog-inner h2 { font-size: 30px; }
  .dialog-company { margin-top: 24px; }
  .dialog-sections p { font-size: 15px; }
  .services-more { margin-top: 30px; }
  .service-open { padding: 25px 0 28px; }
  .service-head { gap: 17px; margin-bottom: 16px; }
  .service-head p { font-size: 13px; }
  .page-hero { padding: 40px 6% 45px; }
  .page-hero > .eyebrow { letter-spacing: .07em; margin-bottom: 28px; font-size: 9px; }
  .page-hero .page-title { font-size: clamp(2.5rem, 10.5vw, 4rem); margin-bottom: 28px; }
  .page-hero-bottom { display: block; }
  .page-hero-bottom .hero-description { font-size: 16px; margin-bottom: 26px; }
  .service-index { grid-template-columns: 1fr; margin-top: 40px; }
  .service-index a { padding: 15px 18px; font-size: 16px; }
  .formats { grid-template-columns: 1fr; gap: 14px; }
  .format { min-height: 0; padding: 24px 22px; }
  .format h3 { margin-top: 26px; font-size: 22px; }
  .format p:last-child { margin-top: 0; }
  .process { grid-template-columns: 1fr; }
  .process h3 { font-size: 21px; }
  .training { padding: 35px 0 40px; }
  .training-heading h3 { font-size: 24px; }
  .training-grid { grid-template-columns: 1fr; gap: 14px; }
  .training-card { padding: 24px 22px; }
  .training-card h4 { font-size: 36px; }
}

@media (max-width: 420px) {
  .strengths-grid { grid-template-columns: 1fr; }
  .strengths-grid p { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, :before, :after { transition: none !important; animation: none !important; }
  .experiment:hover .calendar-paper, .project:hover, .button:hover { transform: none; }
}

/* H1 descriptif (SEO) : garde l'apparence de l'étiquette eyebrow */
h1.eyebrow { font-family: inherit; font-weight: 550; line-height: 1.6; }
