:root {
  --blue: #3155ff;
  --blue-pale: #e8ecff;
  --ink: #111111;
  --muted: #62625e;
  --white: #ffffff;
  --line: #111111;
  --header-height: 98px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: -2px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  padding: 0 42px;
  display: grid;
  grid-template-columns: 180px 1fr 116px;
  align-items: stretch;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  background: var(--white);
}

.brand img {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
}

.sector-menu {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(17, 17, 17, .16);
}

.sector-menu a {
  position: relative;
  min-width: 0;
  padding: 20px 17px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-right: 1px solid rgba(17, 17, 17, .16);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.18;
  transition: color 160ms ease, background 160ms ease;
}

.sector-menu a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.sector-menu a:hover,
.sector-menu a:focus-visible {
  color: var(--blue);
  background: var(--blue-pale);
}

.sector-menu a:hover::after,
.sector-menu a:focus-visible::after {
  transform: scaleX(1);
}

.sector-menu span {
  color: var(--blue);
  font-size: 9px;
  letter-spacing: .08em;
}

.contact {
  padding-left: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.contact svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: 30px minmax(0, 1.62fr) minmax(390px, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.signature {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--blue);
}

.signature span {
  position: absolute;
  bottom: 27px;
  left: 50%;
  width: max-content;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-90deg);
}

.hero-content {
  min-width: 0;
  padding: 45px 56px 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hero-topline {
  padding: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.hero-topline p,
.hero-topline span {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.hero-topline span {
  color: var(--blue);
}

.hero-message {
  padding: 30px 0 36px;
  align-self: center;
}

.hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(58px, 5.5vw, 94px);
  font-weight: 700;
  letter-spacing: -.065em;
  line-height: .91;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
}

.hero-intro {
  max-width: 600px;
  margin: 34px 0 0;
  color: #292927;
  font-size: 16px;
  line-height: 1.55;
}

.primary-action {
  width: fit-content;
  min-width: 262px;
  margin-top: 30px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  font-size: 13px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  color: var(--blue);
  background: var(--white);
}

.primary-action svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.principles article {
  min-height: 95px;
  padding: 15px 18px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.principles article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.principles article:nth-child(even) {
  padding-left: 18px;
}

.principles article:nth-child(n+3) {
  border-bottom: 0;
}

.principles span {
  color: var(--blue);
  font-size: 9px;
  font-weight: 700;
}

.principles strong {
  font-size: 15px;
  line-height: 1.15;
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #171717;
  border-left: 1px solid var(--line);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 53% 50%;
  filter: grayscale(1) contrast(1.04);
}

.hero-visual picture {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 66%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  bottom: 37px;
  left: 37px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--white);
  font-size: 11px;
  line-height: 1.45;
}

.hero-visual figcaption span {
  width: 3px;
  height: 35px;
  background: var(--blue);
}

.manifesto {
  min-height: 650px;
  padding: 110px max(56px, calc((100vw - 1280px) / 2));
  display: grid;
  grid-template-columns: 2fr 5fr 3fr;
  gap: 40px;
  align-items: start;
  background: var(--white);
}

.section-label {
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.manifesto h2,
.references-placeholder h2 {
  margin: 0;
  font-size: clamp(48px, 5vw, 78px);
  letter-spacing: -.055em;
  line-height: .97;
}

.manifesto > p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.sector-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--ink);
}

.sector-sections section {
  min-height: 360px;
  padding: 52px 56px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
}

.sector-sections span {
  color: #97a8ff;
  font-size: 11px;
}

.sector-sections h2 {
  max-width: 520px;
  margin: 80px 0 20px;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -.05em;
  line-height: .98;
}

.sector-sections p {
  max-width: 500px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.6;
}

.references-placeholder {
  min-height: 600px;
  padding: 110px max(56px, calc((100vw - 1280px) / 2));
  background: var(--blue-pale);
}

.references-placeholder h2 {
  max-width: 900px;
  margin-top: 45px;
}

@media (max-width: 1120px) {
  :root {
    --header-height: 84px;
  }

  .site-header {
    padding: 0 24px;
    grid-template-columns: 160px 1fr 48px;
  }

  .sector-menu a {
    padding: 14px 10px;
    font-size: 11px;
  }

  .contact span {
    display: none;
  }

  .hero {
    grid-template-columns: 24px minmax(0, 1.45fr) minmax(340px, 1fr);
  }

  .hero-content {
    padding-right: 36px;
    padding-left: 36px;
  }

  .hero h1 {
    font-size: clamp(54px, 6vw, 76px);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .sector-menu {
    position: fixed;
    z-index: 99;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 64px;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .sector-menu a {
    font-size: 9px;
  }

  .sector-menu span {
    display: none;
  }

  .hero {
    grid-template-columns: 16px 1fr;
  }

  .hero-content {
    padding: 30px 24px 0;
  }

  .hero-visual {
    grid-column: 2;
    min-height: 580px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .manifesto {
    padding: 80px 24px;
    display: block;
  }

  .manifesto h2 {
    margin-top: 36px;
  }

  .manifesto > p:last-child {
    max-width: 620px;
    margin-top: 38px;
  }

  .sector-sections {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drawer-nav details[open] div,
  .drawer-nav details[open] div a {
    animation: none;
  }
}

/* Corrections finales du header et du volet */
.sector-menu span {
  display: none;
}

.sector-menu a strong {
  max-width: 100%;
}

.mega-menu {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-label {
  color: var(--white);
  font-size: 30px;
}

.drawer-nav details div a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.drawer-contact {
  position: sticky;
  right: 0;
  bottom: -34px;
  left: 0;
  margin-top: 28px;
  padding-top: 18px;
  padding-bottom: 28px;
  background: var(--ink);
}

.drawer-nav,
.drawer-contact {
  border: 0 !important;
}

.drawer-nav details:last-child {
  border-bottom: 0;
}

/* Séparateurs externes du tiroir supprimés */
.drawer-nav,
.drawer-contact {
  border: 0 !important;
}

.drawer-nav details:last-child {
  border-bottom: 0;
}

/* Tiroir final : aucune ligne décorative en haut ou en bas */
.drawer-nav,
.drawer-contact {
  border: 0 !important;
}

.drawer-nav {
  border: 0 !important;
}

.drawer-contact {
  border: 0 !important;
}

.drawer-nav details:last-child {
  border-bottom: 0;
}

/* Variante validée : numéros en filigrane derrière les secteurs */
.sector-menu a {
  position: relative;
  isolation: isolate;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.sector-menu a strong {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.2;
}

.sector-menu span {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: auto;
  left: 10px;
  margin: 0;
  padding: 0;
  color: var(--blue);
  border: 0 !important;
  border-right: 0 !important;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 180px;
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1;
  opacity: .16;
  transform: translateY(-50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.sector-menu a:hover span,
.sector-menu a:focus-visible span {
  opacity: .23;
  transform: translateY(-50%) translateX(4px);
}

@media (max-width: 1120px) {
  .sector-menu a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .sector-menu a strong {
    max-width: 100%;
    font-size: 11px;
  }

  .sector-menu span {
    right: auto;
    left: 7px;
    font-size: 145px;
  }
}

@media (max-width: 820px) {
  .sector-menu a {
    padding: 8px 4px;
  }

  .sector-menu a strong {
    max-width: 100%;
    font-size: 9px;
    text-align: center;
  }

  .sector-menu span {
    right: auto;
    left: 50%;
    font-size: 84px;
    transform: translate(-50%, -50%);
  }

  .sector-menu a:hover span,
  .sector-menu a:focus-visible span {
    transform: translate(-50%, -50%);
  }
}

/* Variante 2 : index éditoriaux et surtitre sans filets */
.sector-menu a {
  padding: 18px 22px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sector-menu span {
  order: 2;
  margin-left: auto;
  padding: 0;
  color: var(--blue);
  border: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.07em;
  line-height: 1;
}

.hero-topline {
  margin-right: 0;
  padding: 0;
  border-bottom: 0;
}

.hero-topline::after {
  display: none;
}

.hero-topline p {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-topline p::before {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  content: "";
  background: var(--blue);
}

@media (max-width: 1120px) {
  .sector-menu a {
    padding-right: 12px;
    padding-left: 12px;
  }

  .sector-menu span {
    font-size: 22px;
  }
}

@media (max-width: 820px) {
  .sector-menu a {
    padding: 10px 5px;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 3px;
  }

  .sector-menu span {
    margin-left: 0;
    font-size: 12px;
  }
}

/* Variante sobre : retour à la composition précédente */
.sector-menu span {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}

.signature span {
  display: none;
}

.hero-content {
  position: relative;
  padding-bottom: 26px;
  grid-template-rows: auto 1fr;
}

.hero-content::after {
  position: absolute;
  top: 40px;
  right: 22px;
  bottom: 0;
  width: 1px;
  content: "";
  background: var(--ink);
}

.hero-message {
  padding-right: 52px;
}

.hero-intro {
  max-width: 570px;
  font-size: 17px;
  line-height: 1.6;
}

.primary-action {
  min-width: 0;
  padding: 10px 0 9px;
  gap: 38px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 3px solid var(--blue);
  font-size: 14px;
}

.primary-action:hover,
.primary-action:focus-visible {
  gap: 50px;
  color: var(--blue);
  background: transparent;
}

.primary-action svg {
  width: 21px;
  height: 21px;
  color: var(--blue);
}

.hero-visual figcaption {
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.hero-visual figcaption span {
  height: 26px;
}

.mega-menu {
  right: 0;
  left: auto;
  width: min(460px, 100vw);
  padding: 40px 38px 34px;
  box-shadow: -100vw 0 0 rgba(0, 0, 0, .18);
  transform: translateX(100%);
  transition:
    opacity 220ms ease,
    transform 300ms cubic-bezier(.22, .75, .25, 1),
    visibility 300ms;
}

.mega-menu[aria-hidden="false"] {
  transform: none;
}

.drawer-label {
  margin: 0 0 30px;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
}

.drawer-nav {
  border-top: 1px solid rgba(255, 255, 255, .25);
}

.drawer-nav details {
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.drawer-nav summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  color: var(--white);
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

.drawer-nav summary::-webkit-details-marker {
  display: none;
}

.drawer-nav summary::after {
  margin-left: auto;
  content: "+";
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
  transition: transform 180ms ease;
}

.drawer-nav details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.drawer-nav summary span {
  color: #91a2ff;
  font-size: 11px;
}

.drawer-nav details div {
  padding: 0 0 22px 39px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-origin: top;
}

.drawer-nav details div a {
  width: fit-content;
  color: rgba(255, 255, 255, .62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.3;
}

.drawer-nav details div a:hover,
.drawer-nav details div a:focus-visible {
  color: var(--white);
}

.drawer-nav details[open] div {
  animation: submenu-reveal 240ms ease-out both;
}

.drawer-nav details[open] div a {
  animation: link-reveal 260ms ease-out both;
}

.drawer-nav details[open] div a:nth-child(2) {
  animation-delay: 35ms;
}

.drawer-nav details[open] div a:nth-child(3) {
  animation-delay: 70ms;
}

@keyframes submenu-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes link-reveal {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.drawer-contact {
  position: absolute;
  right: 38px;
  bottom: 28px;
  left: 38px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .25);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.drawer-contact span {
  color: var(--blue);
}

@media (max-width: 820px) {
  .hero-content::after {
    display: none;
  }

  .hero-message {
    padding-right: 0;
  }
}

/* Intégration des repères sectoriels et de la séparation photo */
.sector-menu a {
  padding: 18px 22px;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
}

.sector-menu span {
  padding-right: 13px;
  flex: 0 0 auto;
  color: var(--blue);
  border-right: 2px solid var(--blue);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.hero-content::after {
  display: none;
}

.hero-topline {
  position: relative;
  margin-right: -48px;
  padding-right: 48px;
}

.hero-topline::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  width: 56px;
  height: 3px;
  content: "";
  background: var(--blue);
}

.hero-message {
  padding-right: 0;
}

@media (max-width: 1120px) {
  .sector-menu a {
    padding-right: 12px;
    padding-left: 12px;
    gap: 9px;
  }

  .sector-menu span {
    padding-right: 9px;
    font-size: 17px;
  }
}

@media (max-width: 820px) {
  .sector-menu a {
    padding: 10px 5px;
    flex-direction: column;
    gap: 3px;
  }

  .sector-menu span {
    padding-right: 0;
    border-right: 0;
    font-size: 11px;
  }

  .hero-topline {
    margin-right: 0;
    padding-right: 0;
  }

  .hero-topline::after {
    width: 42px;
  }
}

@media (max-width: 540px) {
  .brand img {
    width: 126px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-intro {
    font-size: 15px;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article,
  .principles article:nth-child(odd),
  .principles article:nth-child(even),
  .principles article:nth-child(n+3) {
    min-height: 76px;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-visual {
    min-height: 500px;
  }

  .sector-menu a {
    padding: 10px 5px;
  }

  .sector-sections section,
  .references-placeholder {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }
}

/* Proposition plein écran + méga-menu */
body {
  height: 100dvh;
  overflow: hidden;
}

.site-header {
  grid-template-columns: 180px 1fr 108px;
}

.sector-menu a {
  gap: 5px;
}

.sector-menu span {
  font-size: 16px;
  font-weight: 800;
}

.menu-toggle {
  padding: 0 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  color: var(--ink);
  background: var(--white);
  border: 0;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.menu-toggle span {
  margin-right: 5px;
}

.menu-toggle i {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] i:first-of-type {
  transform: translateX(8.5px) rotate(45deg) scaleX(2);
}

.menu-toggle[aria-expanded="true"] i:last-of-type {
  transform: translateX(-8.5px) rotate(-45deg) scaleX(2);
}

.mega-menu {
  position: fixed;
  z-index: 90;
  top: var(--header-height);
  right: 0;
  left: 0;
  height: calc(100dvh - var(--header-height));
  color: var(--white);
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-18px);
  transition: opacity 180ms ease, transform 220ms ease, visibility 220ms;
}

.mega-menu[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.mega-top {
  min-height: 132px;
  padding: 0 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.mega-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.mega-tab {
  position: relative;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  color: var(--white);
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.mega-tab::after {
  position: absolute;
  right: 24px;
  bottom: -1px;
  left: 24px;
  height: 4px;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.mega-tab.is-active::after {
  transform: scaleX(1);
}

.mega-tab strong {
  font-size: 22px;
}

.mega-tab span {
  color: rgba(255, 255, 255, .62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.mega-contact {
  padding-left: 32px;
  display: flex;
  align-items: center;
  color: #aebbff;
  font-size: 13px;
  font-weight: 700;
}

.mega-body {
  height: calc(100% - 132px);
}

.mega-panel {
  height: 100%;
  padding: 58px 7vw;
  display: none;
  grid-template-columns: 180px minmax(360px, 1fr) minmax(300px, .8fr);
  gap: 50px;
  align-items: start;
}

.mega-panel.is-active {
  display: grid;
}

.mega-panel > p {
  margin: 8px 0 0;
  color: #9a9a96;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mega-panel nav {
  display: flex;
  flex-direction: column;
}

.mega-panel nav a {
  width: fit-content;
  padding: 7px 0;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.22;
  transition: color 150ms ease, transform 150ms ease;
}

.mega-panel nav a:hover,
.mega-panel nav a:focus-visible {
  color: #aebbff;
  transform: translateX(8px);
}

.mega-statement {
  align-self: end;
  padding-bottom: 12px;
  color: rgba(255, 255, 255, .48);
  font-size: clamp(30px, 3vw, 54px);
  letter-spacing: -.05em;
  line-height: 1;
}

.hero {
  height: calc(100dvh - var(--header-height));
  min-height: 0;
  grid-template-columns: 30px minmax(0, 1.08fr) minmax(520px, 1fr);
}

.hero-content {
  padding: 32px 48px 0;
}

.hero-topline {
  padding-bottom: 15px;
}

.hero-message {
  padding: 22px 0 24px;
}

.hero h1 {
  font-size: clamp(52px, 4.7vw, 80px);
}

.hero-intro {
  margin-top: 24px;
}

.primary-action {
  margin-top: 22px;
}

.principles article {
  min-height: 80px;
  padding-top: 11px;
  padding-bottom: 12px;
}

.principles strong {
  font-size: 14px;
}

.hero-visual img {
  object-position: 50% 50%;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 150px 1fr 84px;
  }

  .hero {
    grid-template-columns: 24px minmax(0, 1fr) minmax(430px, 1fr);
  }

  .hero h1 {
    font-size: clamp(48px, 5.4vw, 66px);
  }

  .mega-top {
    padding: 0 24px;
  }

  .mega-tab {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mega-tab strong {
    font-size: 18px;
  }

  .mega-tab span {
    font-size: 14px;
  }
}

@media (max-width: 820px) {
  body {
    height: auto;
    overflow: auto;
    padding-bottom: 64px;
  }

  .hero {
    height: auto;
  }

  .mega-menu {
    overflow-y: auto;
  }

  .mega-top {
    display: block;
  }

  .mega-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .mega-contact {
    display: none;
  }

  .mega-body {
    height: auto;
  }

  .mega-panel {
    padding: 32px 24px 90px;
    grid-template-columns: 1fr;
  }

  .mega-statement {
    margin-top: 40px;
  }
}

/* État final du tiroir : doit rester le dernier bloc de cascade */
.mega-menu {
  right: 0;
  left: auto;
  width: min(460px, 100vw);
  padding: 40px 38px 34px;
  box-shadow: -100vw 0 0 rgba(0, 0, 0, .18);
  transform: translateX(100%);
  transition:
    opacity 220ms ease,
    transform 300ms cubic-bezier(.22, .75, .25, 1),
    visibility 300ms;
}

.mega-menu[aria-hidden="false"] {
  transform: translateX(0);
}

.drawer-label {
  margin: 0 0 30px;
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1;
  text-transform: none;
}

.drawer-nav summary {
  font-size: 24px;
}

.drawer-nav details div a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .mega-menu {
    transition: none;
  }

  .drawer-nav details[open] div,
  .drawer-nav details[open] div a {
    animation: none;
  }
}

.sector-menu span {
  display: none;
}

.sector-menu a strong {
  max-width: 100%;
}

.mega-menu {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.drawer-label {
  color: var(--white);
  font-size: 30px;
}

.drawer-nav details div a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.35;
}

.drawer-contact {
  position: sticky;
  right: 0;
  bottom: -34px;
  left: 0;
  margin-top: 28px;
  padding-top: 18px;
  padding-bottom: 28px;
  background: var(--ink);
}
