/*
  NAT’ETUDE — site vitrine
  Direction : ingénierie sobre, architecturale et accessible.
  Le ruban de repérage et les cadres de bâtiment constituent la signature visuelle.
*/

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-950: #073d33;
  --green-900: #075344;
  --green-700: #067860;
  --green-500: #2f9a7f;
  --green-100: #dfeee9;
  --green-050: #f0f7f4;
  --blue-900: #17355d;
  --blue-700: #315d83;
  --ink: #1e292d;
  --muted: #657075;
  --grey-300: #cfd6d6;
  --grey-150: #e4e9e7;
  --grey-050: #f4f6f3;
  --paper: #fbfcf9;
  --white: #ffffff;
  --error: #9a3412;
  --error-bg: #fbe9e7;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --container: 1200px;
  --header-h: 80px;
  --radius: 4px;
  --radius-lg: 18px;
  --shadow: 0 24px 64px rgba(7, 61, 51, .12);
  --transition: 180ms ease;
}

html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
ul { list-style: none; }
address { font-style: normal; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--green-950);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4.75rem, 9vw, 7.5rem); }
.section--soft { background: var(--grey-050); }
.section--green { color: var(--white); background: var(--green-950); }
.section--compact { padding-block: clamp(3rem, 6vw, 5rem); }

h1, h2, h3, h4 {
  color: var(--green-950);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.section--green h1, .section--green h2, .section--green h3 { color: var(--white); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
  color: var(--green-700);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 22px; height: 2px; content: ""; background: currentColor; }
.eyebrow--light { color: #9cd4c3; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .65fr); gap: 3rem; align-items: end; margin-bottom: clamp(2.75rem, 6vw, 4.5rem); }
.section-heading h2 { max-width: 16ch; font-size: clamp(2rem, 4vw, 3.35rem); }
.section-heading > p { max-width: 52ch; color: var(--muted); font-size: 1.05rem; }
.section--green .section-heading > p { color: rgba(255,255,255,.68); }

.btn-primary, .btn-secondary, .btn-link, .navbar__cta, .btn-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border-radius: var(--radius);
  font-weight: 650;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-primary, .btn-submit { padding: .85rem 1.25rem; color: var(--white); background: var(--green-700); border: 1px solid var(--green-700); }
.btn-primary:hover, .btn-submit:hover { background: var(--green-900); border-color: var(--green-900); transform: translateY(-1px); }
.btn-secondary { padding: .85rem 1.25rem; color: var(--green-950); background: transparent; border: 1px solid var(--grey-300); }
.btn-secondary:hover { border-color: var(--green-700); background: var(--green-050); }
.btn-link { min-height: 40px; justify-content: flex-start; color: var(--green-700); }
.btn-link:hover { color: var(--green-950); }
.btn-link svg, .btn-primary svg, .btn-secondary svg, .navbar__cta svg { width: 17px; height: 17px; flex: 0 0 auto; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* En-tête */
.navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  background: rgba(251, 252, 249, .96);
  border-bottom: 1px solid rgba(207,214,214,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.navbar__inner { width: min(100% - 2.5rem, var(--container)); height: var(--header-h); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.navbar__logo img { width: 166px; height: auto; }
.navbar__nav { display: flex; align-items: center; gap: 1.8rem; }
.navbar__link { position: relative; padding-block: .75rem; color: var(--muted); font-size: .93rem; font-weight: 550; }
.navbar__link:hover, .navbar__link[aria-current="page"] { color: var(--green-950); }
.navbar__link[aria-current="page"]::after { position: absolute; right: 0; bottom: -.45rem; left: 0; height: 2px; content: ""; background: var(--green-700); }
.navbar__cta { padding: .68rem 1rem; color: var(--white); background: var(--blue-900); font-size: .9rem; }
.navbar__cta:hover { background: var(--green-950); }
.hamburger { display: none; width: 46px; height: 46px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--green-950); transition: transform var(--transition), opacity var(--transition); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; padding: .75rem 1.25rem 1.5rem; background: var(--paper); border-top: 1px solid var(--grey-150); }
.mobile-menu.open { display: grid; }
.mobile-menu__link { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--grey-150); color: var(--muted); font-weight: 550; }
.mobile-menu__link[aria-current="page"] { color: var(--green-950); }
.mobile-menu__link--cta { margin-top: .75rem; padding-inline: 1rem; justify-content: center; color: var(--white); background: var(--blue-900); border: 0; }

/* Ruban de repérage : signature issue des plans et diagnostics */
.survey-rail { height: 6px; display: grid; grid-template-columns: 1.3fr 1fr .8fr 1.15fr .9fr 1.4fr; }
.survey-rail span:nth-child(1) { background: var(--blue-900); }
.survey-rail span:nth-child(2) { background: var(--blue-700); }
.survey-rail span:nth-child(3) { background: #6d8ea1; }
.survey-rail span:nth-child(4) { background: var(--green-500); }
.survey-rail span:nth-child(5) { background: #17856e; }
.survey-rail span:nth-child(6) { background: var(--green-950); }

/* Accueil */
.hero { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero__title { max-width: 12ch; font-size: clamp(2.75rem, 4.6vw, 4.65rem); }
.hero__title em { color: var(--green-700); font-style: normal; }
.hero__lead { max-width: 57ch; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.2rem); }
.hero__actions { margin-top: 2rem; }
.hero__media { position: relative; min-height: 520px; }
.hero__media::before { position: absolute; inset: 7% -8% -7% 9%; z-index: -1; content: ""; background: var(--green-100); }
.hero__mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: 520px; overflow: hidden; border-radius: var(--radius); background: var(--grey-100); box-shadow: var(--shadow); }
.hero__mosaic img { width: 100%; height: 100%; min-width: 0; min-height: 0; object-fit: cover; }
.hero__mosaic img:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.65); }
.hero__mosaic img:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.65); }
.hero__caption { position: absolute; right: -1.25rem; bottom: 1.75rem; width: min(310px, 80%); padding: 1.15rem 1.25rem; color: var(--white); background: rgba(7,61,51,.94); }
.hero__caption small { display: block; margin-bottom: .35rem; color: #9cd4c3; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.hero__caption strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.35; }
.hero__proof { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--grey-300); }
.hero__proof li { padding-right: 1rem; }
.hero__proof li + li { padding-left: 1rem; border-left: 1px solid var(--grey-300); }
.hero__proof strong { display: block; color: var(--green-950); font-family: var(--font-display); font-size: 1.3rem; }
.hero__proof span { display: block; margin-top: .2rem; color: var(--muted); font-size: .79rem; line-height: 1.35; }

.mission-strip { color: var(--white); background: var(--blue-900); }
.mission-strip__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; padding-block: 1.75rem; }
.mission-strip__label { color: #9dc5d9; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.mission-strip p { max-width: 75ch; color: rgba(255,255,255,.82); font-size: 1.02rem; }

/* Offres sectorielles */
.offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--grey-300); border-left: 1px solid var(--grey-300); }
.offer-card { position: relative; display: grid; grid-template-columns: 42% 58%; min-height: 390px; background: var(--paper); border-right: 1px solid var(--grey-300); border-bottom: 1px solid var(--grey-300); overflow: hidden; }
.offer-card__media { min-height: 100%; overflow: hidden; background: var(--green-950); }
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.02); transition: transform 500ms ease, filter 500ms ease; }
.offer-card:hover .offer-card__media img { transform: scale(1.035); filter: saturate(1) contrast(1.02); }
.offer-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.6rem, 3vw, 2.25rem); }
.offer-card__index { color: var(--green-700); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; }
.offer-card h3 { margin-top: .85rem; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.offer-card__intro { margin-top: .75rem; color: var(--muted); font-size: .92rem; }
.offer-card__services { display: flex; flex-wrap: wrap; gap: .4rem .85rem; margin-top: 1.2rem; color: var(--green-950); font-size: .76rem; font-weight: 600; }
.offer-card__services li::before { margin-right: .35rem; color: var(--green-500); content: "+"; }
.offer-card__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: auto; padding-top: 1.25rem; }
.offer-card__actions a { font-size: .86rem; }
.offer-card__pdf { color: var(--blue-700); text-decoration: underline; text-underline-offset: 3px; }
.section-action { display: flex; justify-content: flex-end; margin-top: 2rem; }

/* Passerelles de l'accueil vers les pages dédiées */
.home-summary__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .65fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.home-summary h2 { max-width: 15ch; font-size: clamp(2rem, 4vw, 3.35rem); }
.home-summary__content { display: grid; justify-items: start; gap: 1.75rem; }
.home-summary__content p { max-width: 55ch; color: var(--muted); font-size: 1.05rem; }
.section--green .home-summary__content p { color: rgba(255,255,255,.72); }
.section--green .home-summary__content .btn-primary { background: var(--green-500); border-color: var(--green-500); }

.regulatory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--grey-300); border-left: 1px solid var(--grey-300); }
.regulatory-card { min-height: 330px; padding: clamp(1.6rem, 3vw, 2.25rem); border-right: 1px solid var(--grey-300); border-bottom: 1px solid var(--grey-300); background: var(--paper); }
.regulatory-card > span { color: var(--green-700); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; }
.regulatory-card h3 { margin-top: 1.15rem; font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.regulatory-card p { margin-top: .9rem; color: var(--muted); font-size: .9rem; }
.regulatory-card a { display: inline-flex; min-height: 40px; align-items: center; margin-top: 1.2rem; color: var(--blue-700); font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.regulatory-note { max-width: 90ch; margin-top: 1rem; color: var(--muted); font-size: .76rem; }

/* Parcours et valeurs */
.journey { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.journey::before { position: absolute; top: 22px; right: 10%; left: 10%; height: 1px; content: ""; background: rgba(255,255,255,.24); }
.journey-step { position: relative; padding: 0 clamp(1rem, 2.5vw, 2rem); text-align: center; }
.journey-step__num { position: relative; z-index: 1; width: 45px; height: 45px; margin: 0 auto 1.35rem; display: grid; place-items: center; color: var(--green-950); background: #9cd4c3; clip-path: polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%); font-family: var(--font-mono); font-size: .72rem; font-weight: 600; }
.journey-step h3 { color: var(--white); font-size: 1.08rem; }
.journey-step p { margin-top: .65rem; color: rgba(255,255,255,.64); font-size: .88rem; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--grey-300); }
.value-card { min-height: 265px; padding: clamp(1.6rem, 3vw, 2.25rem); border-right: 1px solid var(--grey-300); }
.value-card:last-child { border-right: 0; }
.value-card__letter { color: var(--green-100); font-family: var(--font-display); font-size: 4.5rem; font-weight: 900; line-height: .85; }
.value-card h3 { margin-top: 1.35rem; font-size: 1.2rem; }
.value-card p { margin-top: .7rem; color: var(--muted); font-size: .9rem; }

.founder { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.founder__media { position: relative; }
.founder__media::before { position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1; content: ""; background: var(--green-100); }
.founder__media img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 18%; }
.founder__content h2 { max-width: 15ch; font-size: clamp(2rem, 4vw, 3.25rem); }
.founder__content > p { max-width: 62ch; margin-top: 1.25rem; color: var(--muted); }
.founder__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 2rem; background: var(--grey-300); border: 1px solid var(--grey-300); }
.founder__fact { padding: 1.25rem; background: var(--paper); }
.founder__fact strong { display: block; color: var(--green-700); font-family: var(--font-display); font-size: 1.65rem; }
.founder__fact span { display: block; margin-top: .25rem; color: var(--muted); font-size: .8rem; }
.company-principles { margin-top: clamp(3.5rem, 7vw, 6rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--grey-300); }
.company-principles h2 { max-width: 17ch; font-size: clamp(2rem, 4vw, 3.25rem); }
.company-principles__copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 1.75rem; }
.company-principles__copy p { color: var(--muted); }
.company-principles__copy strong { color: var(--green-950); }

/* Pages intérieures */
.page-header { padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)); padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.page-header__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .75fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.page-header h1 { max-width: 15ch; font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
.page-header__lead { max-width: 58ch; margin-top: 1.25rem; color: var(--muted); font-size: 1.1rem; }
.page-header__media { height: 360px; overflow: hidden; }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; }

.service-list { border-top: 1px solid var(--grey-300); }
.service-block { display: grid; grid-template-columns: 165px minmax(0, 1fr) 130px; gap: clamp(1.5rem, 4vw, 3rem); padding-block: clamp(2.25rem, 5vw, 3.5rem); border-bottom: 1px solid var(--grey-300); scroll-margin-top: calc(var(--header-h) + 1rem); }
.service-block__ref { color: var(--green-700); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.service-block h2 { font-size: clamp(1.45rem, 2.7vw, 2.15rem); }
.service-block__body > p { max-width: 70ch; margin-top: .8rem; color: var(--muted); }
.service-block__details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.35rem; }
.service-block__details h3 { margin-bottom: .45rem; color: var(--blue-900); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.service-block__details li { position: relative; padding-left: .9rem; color: var(--muted); font-size: .88rem; }
.service-block__details li::before { position: absolute; left: 0; color: var(--green-500); content: "•"; }
.service-block__icon { width: 88px; height: 88px; margin-left: auto; display: grid; place-items: center; background: var(--green-050); clip-path: polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%); }
.service-block__icon img { width: 50px; height: 50px; object-fit: contain; }

.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; border: 1px solid var(--grey-300); list-style: none; }
.method-step { min-height: 290px; padding: clamp(1.5rem, 3vw, 2.25rem); border-right: 1px solid var(--grey-300); }
.method-step:last-child { border-right: 0; }
.method-step h2, .method-step h3 { margin-top: 0; font-size: 1.25rem; }
.method-step p { margin-top: .75rem; color: var(--muted); font-size: .9rem; }

.lead-band { padding-block: clamp(3.5rem, 7vw, 5.5rem); color: var(--white); background: var(--blue-900); }
.lead-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; }
.lead-band h2 { max-width: 24ch; color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); }
.lead-band p { max-width: 62ch; margin-top: .75rem; color: rgba(255,255,255,.68); }
.lead-band .btn-primary { white-space: nowrap; background: var(--green-500); border-color: var(--green-500); }

/* Contact */
.contact-page { padding-top: var(--header-h); }
.contact__split { min-height: 720px; display: grid; grid-template-columns: .8fr 1.2fr; }
.contact__left { padding: clamp(3rem, 6vw, 5rem); color: var(--white); background: var(--green-950); }
.contact__left-inner { max-width: 480px; margin-left: auto; }
.contact__left h1 { max-width: 9ch; color: var(--white); font-size: clamp(2.5rem, 5vw, 4.4rem); }
.contact__intro { margin-top: 1.2rem; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.contact__infos { display: grid; gap: 1rem; margin-top: 2.25rem; }
.contact__info-row { min-height: 48px; display: flex; align-items: center; gap: .85rem; color: rgba(255,255,255,.88); }
.contact__info-row svg { width: 20px; height: 20px; color: #9cd4c3; flex: 0 0 auto; }
.contact__promise { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); color: #9cd4c3; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.contact__right { padding: clamp(3rem, 6vw, 5rem); background: var(--white); }
.form { max-width: 700px; display: grid; gap: 1.1rem; }
.form__intro { margin-bottom: .35rem; }
.form__intro h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
.form__intro p { margin-top: .65rem; color: var(--muted); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .42rem; }
.field label { color: var(--green-950); font-size: .8rem; font-weight: 650; }
.field label span { color: var(--green-700); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: .72rem .8rem; color: var(--ink); background: var(--paper); border: 1px solid var(--grey-300); border-radius: var(--radius); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-700); outline: 2px solid rgba(6,120,96,.16); }
.field-help { color: var(--muted); font-size: .72rem; }
.form-privacy { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.form-privacy a { color: var(--green-950); text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { cursor: pointer; }
.btn-submit:disabled { opacity: .58; cursor: wait; transform: none; }
.form-message { padding: .85rem 1rem; border-radius: var(--radius); font-size: .9rem; }
.form-message--success { color: var(--green-950); background: var(--green-100); }
.form-message--error { color: var(--error); background: var(--error-bg); }

/* Pages légales */
.legal-page { padding-top: calc(var(--header-h) + 4rem); padding-bottom: 5rem; }
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal-page .updated { margin-top: .65rem; margin-bottom: 2.5rem; color: var(--muted); font-family: var(--font-mono); font-size: .75rem; }
.legal-page h2 { margin-top: 2.2rem; margin-bottom: .65rem; font-size: 1.25rem; }
.legal-page p, .legal-page li { margin-bottom: .65rem; color: var(--muted); }
.legal-page .placeholder { padding: 1rem 1.2rem; color: var(--green-950); background: var(--green-050); border-left: 3px solid var(--green-700); }

/* Page d'erreur */
.error-page { min-height: calc(100vh - 72px); padding-top: calc(var(--header-h) + 4rem); padding-bottom: 5rem; display: grid; align-items: center; background: linear-gradient(135deg, var(--paper) 0 68%, var(--green-050) 68% 100%); }
.error-page__inner { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.error-page__marker { width: 180px; height: 160px; display: grid; place-items: center; color: var(--white); background: var(--green-700); clip-path: polygon(25% 6.7%,75% 6.7%,100% 50%,75% 93.3%,25% 93.3%,0 50%); font-family: var(--font-mono); font-size: 2rem; font-weight: 600; letter-spacing: .08em; }
.error-page h1 { max-width: 13ch; font-size: clamp(2.5rem, 6vw, 4.8rem); }
.error-page__content > p { max-width: 56ch; margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Pied de page */
.footer { color: var(--white); background: #062f29; }
.footer__inner { display: grid; grid-template-columns: 1.45fr .85fr .85fr 1fr; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.footer__brand img { width: 190px; }
.footer__brand p { max-width: 34ch; margin-top: 1.25rem; color: rgba(255,255,255,.58); font-size: .88rem; }
.footer h2, .footer h4 { margin-bottom: 1rem; color: #9cd4c3; font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; }
.footer ul, .footer address { display: grid; gap: .68rem; }
.footer a, .footer address span { color: rgba(255,255,255,.76); font-size: .87rem; }
.footer nav a, .footer address a { min-height: 32px; display: flex; align-items: center; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer__bottom-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer__bottom p, .footer__bottom a { color: rgba(255,255,255,.55); font-size: .78rem; }
.footer__bottom a { min-height: 40px; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer .site-credit, .footer .site-credit a { color: rgba(255,255,255,.38); font-size: .7rem; }
.footer .site-credit { margin-left: .7rem; }
.footer .site-credit a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 2px; }
.footer .site-credit a:hover { color: rgba(255,255,255,.72); }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  :root { --header-h: 72px; }
  .navbar__nav { display: none; }
  .hamburger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__content { max-width: 760px; }
  .hero__title { max-width: 12ch; }
  .hero__media { min-height: 480px; }
  .hero__mosaic { height: 480px; }
  .offer-card { grid-template-columns: 38% 62%; }
  .regulatory-grid { grid-template-columns: 1fr; }
  .regulatory-card { min-height: 0; }
  .values-grid, .method-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(2) { border-right: 0; }
  .value-card:nth-child(-n+2) { border-bottom: 1px solid var(--grey-300); }
  .method-step { border-bottom: 1px solid var(--grey-300); }
  .method-step:nth-child(2) { border-right: 0; }
  .method-step:nth-child(n+3) { border-bottom: 0; }
  .contact__split { grid-template-columns: 1fr; }
  .contact__left-inner { margin-left: 0; }
  .footer__inner { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer__contact-col { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .section-heading, .page-header__grid, .founder, .lead-band__inner, .home-summary__grid, .error-page__inner { grid-template-columns: 1fr; }
  .section-heading { gap: 1rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 360px; }
  .journey { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 0; }
  .journey::before { display: none; }
  .service-block { grid-template-columns: 100px minmax(0, 1fr); }
  .service-block__icon { grid-column: 1; grid-row: 2; margin: 0; }
  .lead-band .btn-primary { justify-self: start; }
  .section-action { justify-content: flex-start; }
  .error-page__marker { width: 126px; height: 112px; font-size: 1.45rem; }
}

@media (max-width: 560px) {
  .container, .navbar__inner { width: min(100% - 1.5rem, var(--container)); }
  .navbar__logo img { width: 142px; }
  .hero { padding-top: calc(var(--header-h) + 2.25rem); }
  .hero__title { font-size: clamp(2.45rem, 13vw, 3.45rem); }
  .hero__media { min-height: 390px; }
  .hero__mosaic { height: 390px; }
  .hero__caption { right: -.4rem; bottom: 1rem; }
  .hero__proof { grid-template-columns: 1fr; gap: .8rem; }
  .hero__proof li, .hero__proof li + li { padding: 0; border: 0; }
  .mission-strip__inner { grid-template-columns: 1fr; gap: .55rem; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-card__media { min-height: 0; }
  .offer-card__media img { height: auto; object-fit: contain; }
  .offer-card__body { min-height: 300px; }
  .journey { grid-template-columns: 1fr; }
  .values-grid, .method-grid, .founder__facts { grid-template-columns: 1fr; }
  .value-card, .value-card:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--grey-300); }
  .value-card:last-child { border-bottom: 0; }
  .method-step, .method-step:nth-child(n+3) { border-right: 0; border-bottom: 1px solid var(--grey-300); }
  .method-step:last-child { border-bottom: 0; }
  .page-header__media { height: auto; }
  .page-header__media img { height: auto; object-fit: contain; }
  .service-block { grid-template-columns: 1fr; }
  .service-block__icon { grid-column: auto; grid-row: auto; width: 72px; height: 72px; }
  .service-block__details, .form-row { grid-template-columns: 1fr; }
  .company-principles__copy { grid-template-columns: 1fr; }
  .founder__media::before { inset: .5rem -.5rem -.5rem .5rem; }
  .contact__left, .contact__right { padding: 2.75rem 1.25rem; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__contact-col { grid-column: auto; }
  .footer__bottom-inner { padding-block: 1.25rem; align-items: flex-start; flex-direction: column; }
  .footer .site-credit { display: block; margin: .35rem 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
