/* Accueil officiel : surcharges isolées du thème canonique. */
.site-immersive .s-hero .pin {
  background: radial-gradient(ellipse at 78% 44%, #342b1d 0, var(--bone) 55%);
  min-height: 580px;
}
.site-immersive .hero-layout {
  width: min(1320px, 100%);
  height: 100%;
  margin: auto;
  padding: 112px 64px 92px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.site-immersive .hero-copy {
  position: relative;
  inset: auto;
  align-items: flex-start;
  text-align: left;
  pointer-events: auto;
}
.site-immersive .hero-kicker {
  max-width: 350px;
  margin-bottom: 26px;
  color: var(--lime);
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.8;
}
.site-immersive .hero-title { font-size: clamp(38px, 3.8vw, 58px); line-height: 1.06; letter-spacing: -.035em; }
.site-immersive .hero-line2 { display: block; white-space: normal; margin-top: .15em; }
.site-immersive .hero-line2 .hl:last-child { color: var(--lime); }
.hero-description { max-width: 370px; margin-top: 26px; color: #c1bdb5; font-size: 17px; line-height: 1.65; }
.hero-cta { display: inline-flex; align-items: center; gap: 26px; min-height: 48px; margin-top: 30px; padding: 10px 0; border-bottom: 1px solid var(--lime); font-size: 16px; }
.hero-cta span { color: var(--lime); font-size: 24px; transition: transform .3s ease; }
.hero-cta:hover span { transform: translate(3px, -3px); }
.hero-visual { position: relative; width: 100%; max-width: 450px; justify-self: center; }
.hero-portrait { position: relative; height: min(58vh, 560px); min-height: 320px; isolation: isolate; box-shadow: 0 30px 70px #0006; }
.hero-portrait::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid #e5b95c66; z-index: -1; }
.hero-portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #11100fee, transparent 48%), linear-gradient(115deg, #e5b95c18, transparent 45%); pointer-events: none; }
.hero-portrait > img { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; }
.hero-portrait figcaption { position: absolute; bottom: 28px; left: 26px; right: 18px; z-index: 1; display: grid; gap: 10px; }
.hero-portrait figcaption > span:first-child { font-size: clamp(20px, 2vw, 28px); }
.hero-portrait figcaption .mono { color: var(--lime); font-size: 9px; letter-spacing: .09em; line-height: 1.7; }
.hero-detail { position: absolute; z-index: 2; padding: 5px; background: #353028; box-shadow: 0 16px 40px #0005; pointer-events: none; }
.hero-detail img { width: 100%; height: 100%; object-fit: cover; }
.hero-detail-dialogue { width: 100px; height: 126px; right: -34px; top: -22px; transform: rotate(-5deg); }
.hero-detail-terrain { width: 138px; height: 94px; left: -64px; bottom: 100px; transform: rotate(5deg); }
.hero-orbit { position: absolute; inset: -45px -30px; border: 1px solid #e5b95c14; border-radius: 50%; transform: rotate(-18deg); z-index: -1; pointer-events: none; }
.hero-visual::before { content: ''; position: absolute; inset: -70px; background: radial-gradient(ellipse at var(--hero-light-x, 50%) 40%, #e5b95c16, transparent 65%); pointer-events: none; }
.hero-bottom { position: absolute; bottom: 26px; left: 64px; right: 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--ink-faint); padding-top: 18px; font-size: 10px; letter-spacing: .1em; color: #b8b2a7; }
.hero-bottom a { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; }
.hero-bottom a span { font-size: 20px; color: var(--lime); }
.site-immersive .reveal { transition-duration: .65s; }
.site-immersive .card-img img { transition-duration: .55s; }
.site-immersive .dock { width: max-content; max-width: calc(100% - 32px); background: #201f1cf5; border: 1px solid #e5b95c26; }
.site-immersive .dock-wordmark { white-space: nowrap; }
.site-immersive a:focus-visible,
.site-immersive button:focus-visible,
.site-immersive input:focus-visible,
.site-immersive textarea:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.mobile-menu { display: none; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 210; padding: 14px 20px; color: var(--bone); background: var(--lime); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.site-immersive.static .s-hero .pin { padding: 0; min-height: 100svh; overflow: hidden; }
.site-immersive.static .hero-layout { min-height: 100svh; }
.site-immersive.static .hero-copy { min-height: 0; padding: 0; }
.site-immersive.static .hero-bottom { position: relative; inset: auto; margin: 0 64px 24px; }
.site-immersive .footer-name { font-size: clamp(28px, 6.5vw, 96px); white-space: normal; }

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .site-immersive.is-ready .hero-copy { animation: hero-arrive .85s both; }
  .site-immersive.is-ready .hero-visual { animation: hero-arrive 1s .12s both; }
  @keyframes hero-arrive { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .site-immersive .hero-layout { padding-inline: 48px; gap: 50px; }
  .hero-description { font-size: 16px; }
  .site-immersive .dock { gap: 12px; }
}

@media (max-width: 900px) {
  .site-immersive .hero-layout { padding: 100px 30px 86px; grid-template-columns: 1.1fr 1fr; gap: 30px; }
  .site-immersive .hero-kicker { padding: 0; font-size: 9px; margin-bottom: 18px; }
  .site-immersive .hero-title { font-size: clamp(30px, 5vw, 44px); }
  .hero-description { font-size: 15px; margin-top: 18px; }
  .hero-cta { margin-top: 18px; font-size: 14px; gap: 12px; }
  .hero-portrait { min-height: 280px; height: 48vh; }
  .hero-portrait figcaption { bottom: 22px; left: 20px; }
  .hero-portrait figcaption .mono { font-size: 8px; }
  .hero-detail-dialogue { width: 74px; height: 90px; right: -12px; }
  .hero-detail-terrain { width: 108px; height: 76px; left: -34px; bottom: 90px; }
  .hero-bottom { left: 30px; right: 30px; bottom: 12px; font-size: 9px; }
  .site-immersive .dock { width: auto; max-width: none; flex-wrap: wrap; gap: 8px; }
  .site-immersive.is-ready .dock, .site-immersive.handoff .dock { transform: translateY(0); }
  .site-immersive .dock-wordmark { font-size: 15px; }
  .site-immersive .dock-nav { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 54px; min-height: 44px; color: var(--lime); font-size: 12px; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary:focus-visible { outline: 2px solid var(--lime); }
  .mobile-menu[open] summary span { transform: rotate(45deg); }
  .mobile-menu nav { position: absolute; left: 0; right: 0; top: calc(100% + 8px); display: grid; grid-template-columns: 1fr 1fr; padding: 12px; background: #201f1c; border: 1px solid #e5b95c55; box-shadow: 0 18px 32px #0005; }
  .mobile-menu nav a { min-height: 48px; display: flex; align-items: center; padding: 10px; white-space: normal; font-size: 14px; }
  .mobile-menu nav a:hover { background: #e5b95c12; color: var(--lime); }
  .site-immersive .dock > .dock-cta { margin-left: auto; }
  .site-immersive .dock-lang { margin-left: 0 !important; }
  .site-immersive .dock-lang a { min-height: 36px; min-width: 24px; display: inline-flex; align-items: center; justify-content: center; }
  .site-immersive.static .hero-bottom { margin-inline: 30px; }
}

@media (max-width: 600px) {
  .site-immersive .hero-layout { grid-template-columns: 1fr; gap: 36px; padding: 96px 26px 100px; align-content: center; }
  .site-immersive .hero-kicker { max-width: none; margin-bottom: 12px; letter-spacing: .07em; }
  .site-immersive .hero-title { font-size: clamp(30px, 8.6vw, 46px); max-width: 480px; }
  .hero-description { display: none; }
  .hero-cta { margin-top: 12px; min-height: 44px; }
  .hero-visual { width: 72%; max-width: 300px; }
  .hero-portrait { min-height: 0; height: clamp(210px, 31svh, 320px); }
  .hero-portrait > img { object-position: center 36%; }
  .hero-portrait figcaption { bottom: 16px; left: 16px; gap: 5px; }
  .hero-portrait figcaption > span:first-child { font-size: clamp(13px, 4.4vw, 18px); }
  .hero-portrait figcaption .mono { font-size: 7px; }
  .hero-detail-dialogue { right: -28px; width: 65px; height: 82px; top: -14px; }
  .hero-detail-terrain { width: 94px; height: 64px; left: -48px; top: 30%; bottom: auto; }
  .hero-bottom { left: 26px; right: 26px; gap: 8px; }
  .hero-bottom > span { max-width: 115px; line-height: 1.8; }
  .site-immersive.static .hero-layout { padding-bottom: 46px; }
  .site-immersive .dock-logo { display: none !important; }
  .site-immersive .dock { gap: 6px; padding: 8px 10px; }
  .site-immersive .dock-wordmark { font-size: clamp(12px, 3.6vw, 15px); }
  .site-immersive .dock > .dock-cta { display: none; }
  .site-immersive .dock-lang { padding-left: 6px !important; gap: 3px !important; font-size: 10px !important; }
}

@media (max-height: 720px) and (max-width: 600px) {
  .site-immersive .hero-layout { padding-top: 88px; padding-bottom: 86px; gap: 22px; }
  .site-immersive .hero-title { font-size: clamp(27px, 7.3vw, 38px); }
  .hero-portrait { height: 190px; }
}

@media (max-height: 540px) and (min-width: 601px) {
  .site-immersive .hero-layout { padding-block: 84px 65px; }
  .site-immersive .hero-title { font-size: 32px; }
  .hero-description { display: none; }
  .hero-portrait { min-height: 0; height: 54vh; }
  .hero-bottom { bottom: 2px; padding-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-immersive *, .site-immersive *::before, .site-immersive *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .site-immersive .hero-portrait, .site-immersive .hero-detail { transform: none !important; }
  .site-immersive .reveal { opacity: 1; transform: none; }
}

/* Repères publics disponibles sans animation ni JavaScript. */
.reference-section { padding: clamp(48px, 8vw, 100px) clamp(20px, 6vw, 80px); background: var(--bone); color: var(--ink); }
.reference-section > .mono { color: var(--ink); font-size: 11px; letter-spacing: .1em; }
.reference-section h2 { font-size: clamp(28px, 4vw, 46px); margin: 20px 0 36px; }
.reference-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; }
.reference-grid h3 { font-size: 19px; line-height: 1.45; margin-bottom: 12px; }
.reference-grid p { font-size: 16px; line-height: 1.8; max-width: 65ch; overflow-wrap: anywhere; }
.reference-section > a { display: inline-block; margin-top: 32px; padding: 12px 0; border-bottom: 1px solid var(--lime); }
@media (max-width: 640px) { .reference-grid { grid-template-columns: 1fr; } }
