
:root {
  --navy: #031635;
  --navy-2: #071e42;
  --navy-3: #0c2a55;
  --orange: #E55F2A;
  --orange-light: #FF7A00;
  --orange-glow: rgba(229,95,42,.1);
  --white: #fff;
  --white-90: rgba(255,255,255,.9);
  --white-80: rgba(255,255,255,.8);
  --white-70: rgba(255,255,255,.7);
  --white-50: rgba(255,255,255,.5);
  --white-40: rgba(255,255,255,.4);
  --white-30: rgba(255,255,255,.3);
  --white-15: rgba(255,255,255,.15);
  --white-10: rgba(255,255,255,.1);
  --white-08: rgba(255,255,255,.08);
  --white-05: rgba(255,255,255,.05);
  --white-04: rgba(255,255,255,.04);
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --max-w: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ═══ NAVBAR ═══════════════════════════════════ */
.hf-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8,24,53,.7);
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  border-bottom: 1px solid var(--white-08);
  transition: all .4s var(--ease-out);
}
.hf-nav::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  z-index: 1;
}
.hf-nav.scrolled { background: rgba(8,24,53,.95); box-shadow: 0 1px 40px rgba(0,0,0,.4); }
.hf-nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 70px;
}

.hf-logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; cursor: pointer; }
.hf-logo img { height: 48px; width: auto; mix-blend-mode: screen; }

.hf-nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; }
.hf-nav-item { position: relative; }
.hf-nav-link {
  font-family: var(--font-body); font-weight: 500; font-size: .88rem; color: var(--white-50);
  text-decoration: none; padding: .5rem .85rem; border-radius: 8px;
  transition: all .2s ease; cursor: pointer; background: none; border: none;
  display: flex; align-items: center; gap: .3rem; white-space: nowrap;
}
.hf-nav-link:hover { color: var(--white); background: var(--white-04); }
.hf-nav-link.active { color: var(--orange-light); }


.hf-nav-cta {
  background: var(--orange); color: var(--white) !important;
  padding: .55rem 1.3rem; border-radius: 10px; font-weight: 600; font-size: .86rem;
  text-decoration: none; transition: all .3s var(--ease-out);
  box-shadow: 0 0 24px rgba(229,95,42,.2);
  display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-body);
}
.hf-nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); box-shadow: 0 4px 30px rgba(229,95,42,.35); }

/* Mobile nav */
.hf-mob-btn {
  display: none; background: none; border: 1px solid var(--white-15); color: var(--white-70);
  width: 42px; height: 42px; border-radius: 10px; font-size: 1.2rem; cursor: pointer;
  align-items: center; justify-content: center;
}
.hf-mob-menu {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: rgba(8,24,53,.98); backdrop-filter: blur(20px);
  border-top: 1px solid var(--white-08); padding: .5rem 0;
}
.hf-mob-menu.open { display: block; }
.hf-mob-menu a { display: block; padding: .8rem 2rem; color: var(--white-70); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--white-04); }
.hf-mob-menu a:hover { color: var(--orange); }
.hf-mob-menu .mob-cta { background: var(--orange); color: var(--white); margin: .6rem 1.5rem; border-radius: 10px; text-align: center; font-weight: 600; border: none; }

@media (max-width: 920px) {
  .hf-nav-links, .hf-cta-w { display: none !important; }
  .hf-mob-btn { display: flex !important; }
}

/* ═══ BUTTONS ══════════════════════════════════ */
.hf-btn {
  font-family: var(--font-body); font-weight: 600; font-size: .88rem;
  padding: .78rem 1.7rem; border-radius: 10px; text-decoration: none; cursor: pointer;
  transition: all .3s var(--ease-out); display: inline-flex; align-items: center; gap: .4rem; border: none;
}
.hf-btn-primary { background: var(--orange); color: var(--white); box-shadow: 0 2px 18px rgba(229,95,42,.25); }
.hf-btn-primary:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(229,95,42,.3); }
.hf-btn-ghost { background: var(--white-04); color: var(--white-70); border: 1px solid var(--white-08); }
.hf-btn-ghost:hover { background: var(--white-08); color: var(--white); border-color: var(--white-15); }

/* ═══ FOOTER ═══════════════════════════════════ */
.hf-footer { padding: 0 2.5rem; }
.hf-footer-in {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 3rem; align-items: center;
  padding: 2rem 0;
}
.hf-footer-left { display: flex; align-items: center; gap: 1rem; }
.hf-footer-left img { height: 40px; mix-blend-mode: screen; }
.hf-footer-addr { font-style: normal; color: var(--white-30); font-size: .75rem; line-height: 1.5; }
.hf-footer-center { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.hf-footer-link { color: var(--white-30); text-decoration: none; font-size: .75rem; font-weight: 500; transition: color .2s; display: flex; align-items: center; gap: .25rem; padding: .3rem .6rem; border-radius: 6px; }
.hf-footer-link:hover { color: var(--orange); background: var(--white-04); }
.hf-footer-social { display: flex; gap: .5rem; }
.hf-footer-social a { width: 32px; height: 32px; border-radius: 8px; background: var(--white-04); border: 1px solid var(--white-08); display: flex; align-items: center; justify-content: center; color: var(--white-30); text-decoration: none; transition: all .2s var(--ease-out); }
.hf-footer-social a:hover { background: var(--orange-glow); border-color: rgba(229,95,42,.2); color: var(--orange); }
.hf-footer-bottom { grid-column: 1 / -1; text-align: center; padding-top: 1.2rem; border-top: 1px solid var(--white-04); }
.hf-footer-copy { color: var(--white-15); font-size: .68rem; letter-spacing: .03em; }
@media (max-width: 700px) { .hf-footer-in { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; justify-items: center; } .hf-footer-left { flex-direction: column; gap: .5rem; } }


/* Accueil uniquement — styles locaux, sans dépendance à un framework. */
:root { --max-w: 1320px; --muted: #afbdce; }
body { line-height: 1.6; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid #ff9a65; outline-offset: 5px; }
[hidden] { display: none !important; }
section[id], main { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 500; background: #fff; color: var(--navy); padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.hf-nav-inner { height: 88px; gap: 2.5rem; }
.hf-nav-inner > nav { flex: 1; }
.hf-nav-links { justify-content: space-evenly; gap: .5rem; }
.hf-nav-link { padding: .85rem 1.05rem; color: var(--white-90); font-weight: 700; }
.hf-mob-menu a { font-weight: 700; }
.hf-logo { flex-shrink: 0; min-width: 100px; justify-content: center; }
.hf-logo img { width: 78px; height: 78px; object-fit: contain; mix-blend-mode: normal; }
.hf-footer-left img { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: normal; }
.hf-nav-cta { white-space: nowrap; padding: .8rem 1.25rem; }
.hf-mob-menu { max-height: calc(100dvh - 88px); overflow-y: auto; }
.hf-hero { min-height: 660px; position: relative; display: flex; align-items: center; isolation: isolate; }
.hf-hero-bg-img, .hf-hero-overlay { position: absolute; inset: 0; z-index: -2; }
.hf-hero-bg-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hf-hero-overlay { z-index: -1; background: linear-gradient(90deg,rgba(3,22,53,.90),rgba(3,22,53,.53) 40%,rgba(3,22,53,.08) 63%,rgba(3,22,53,.28)),linear-gradient(0deg,rgba(3,22,53,.65),transparent 50%); }
.hf-hero-content { width: 100%; max-width: var(--max-w); margin: auto; padding: 5.5rem 2.5rem; display: grid; grid-template-columns: minmax(0,590px) minmax(0,350px); justify-content: space-between; gap: 3rem; align-items: center; }
.hf-hero-badge { display: inline-flex; align-items: center; gap: .65rem; font-size: .73rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: .55rem .9rem; border: 1px solid rgba(255,255,255,.25); border-radius: 100px; margin-bottom: 1.7rem; background: rgba(3,22,53,.4); }
.hf-badge-dot { width: 6px; height: 6px; background: var(--orange-light); border-radius: 50%; }
.hf-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem,4.5vw,3.7rem); line-height: 1.12; letter-spacing: -.045em; max-width: 590px; margin-bottom: 1.5rem; }
.hf-hl { color: #ff873d; }
.hf-hero-sub { max-width: 470px; color: var(--white-80); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.hf-hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.hf-btn { min-height: 48px; justify-content: center; }
.hf-btn-ghost { color: #fff; border-color: var(--white-30); background: rgba(3,22,53,.3); }
.hf-hero-cards { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.hf-hero-card { border: 1px solid rgba(255,255,255,.24); border-radius: 14px; background: rgba(3,22,53,.64); backdrop-filter: blur(12px); padding: 1.7rem .7rem; text-align: center; }
.hf-hc-val { font: 700 1.85rem/1.2 var(--font-display); letter-spacing: -.05em; color: #ff914d; }
.hf-hc-label { font-size: .79rem; font-weight: 600; margin-top: .65rem; }
.hf-hc-desc { font-size: .65rem; color: #c4cfdd; margin-top: .25rem; line-height: 1.5; }
/* Deux groupes identiques permettent une boucle sans saut. */
.hf-marquee { position: relative; overflow: hidden; border-bottom: 1px solid var(--white-10); background: #061b3a; padding: .55rem 0; }
.hf-marquee-track { display: flex; width: max-content; align-items: center; }
.hf-marquee-group { display: flex; align-items: center; flex: 0 0 auto; width: max-content; min-width: 100vw; justify-content: space-around; }
.hf-marquee-track { animation: marquee-scroll 38s linear infinite; will-change: transform; }
.hf-marquee-item { white-space: nowrap; font: 500 .72rem var(--font-display); letter-spacing: .02em; color: #afbdce; display: flex; align-items: center; gap: 2rem; padding-right: 2rem; }
.hf-marquee-item::after { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--orange); }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
.container { max-width: var(--max-w); padding-inline: 2.5rem; margin-inline: auto; }
.section { padding-block: 6rem; }
.eyebrow { display: flex; align-items: center; gap: .75rem; color: #ff914d; text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 700; margin-bottom: 1.35rem; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; }
h2 { font: 600 clamp(1.8rem,3vw,2.75rem)/1.2 var(--font-display); letter-spacing: -.045em; }
h3 { font-family: var(--font-display); letter-spacing: -.025em; }
.section-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; }
.section-intro > p { color: #bdcbdc; font-size: clamp(1.03rem, 1.5vw, 1.2rem); line-height: 1.85; max-width: 1050px; }
.sectors { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin-top: 2rem; }
.sectors li { border: 1px solid var(--white-15); border-radius: 100px; padding: .4rem .9rem; color: #cbd5e1; font-size: .74rem; }
.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 3rem; }
.expertise-card { border: 1px solid var(--white-10); border-radius: 16px; overflow: hidden; background: #071c3b; }
.expertise-image { display: block; height: 220px; overflow: hidden; background: #fff; border-bottom: 1px solid var(--white-08); }
.expertise-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }

.ihm-image img { transform: scale(1.3); transform-origin: center; }
.architecture-image { padding: .7rem; }
.architecture-image img { object-fit: contain; }
.expertise-body { padding: 1.5rem; }
.expertise-body h3 { font-size: 1rem; font-weight: 500; margin-bottom: .6rem; }
.expertise-body p { color: var(--muted); font-size: .83rem; line-height: 1.7; }
.expertise-number { font: 400 .65rem var(--font-display); color: #ff914d; margin-right: .5rem; }
.config-section { background: #081e3d; border-block: 1px solid var(--white-08); }
.config-layout { display: grid; grid-template-columns: 1.08fr 1fr; gap: 4rem; align-items: center; }
.config-copy > p { margin-top: 1.4rem; color: var(--muted); line-height: 1.85; }
.config-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.config-copy .config-note { font-size: .73rem; color: #92a6be; max-width: 460px; }
.config-panel { border-radius: 20px; background: #031635; border: 1px solid #2c405b; padding: 1.9rem; position: relative; }
.config-panel::before { content: ''; position: absolute; height: 2px; top: -1px; left: 2rem; right: 2rem; background: linear-gradient(90deg,var(--orange),transparent); }
.panel-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--white-10); }
.panel-top h3 { font-size: 1rem; font-weight: 500; }
.horizon { font: 500 .68rem var(--font-display); color: #ff914d; border: 1px solid #60432f; background: #2c282c; border-radius: 8px; padding: .4rem .65rem; white-space: nowrap; }
.config-features { list-style: none; }
.config-features li { display: flex; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--white-08); }
.config-features li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature-mark { width: 28px; height: 28px; flex-shrink: 0; border: 1px solid #4f3c35; border-radius: 8px; color: #ff914d; display: grid; place-items: center; font-size: .76rem; }
.config-features strong { display: block; font-size: .86rem; font-weight: 500; }
.config-features p { color: var(--muted); font-size: .77rem; margin-top: .25rem; }
.value-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.value-head > p { max-width: 355px; color: var(--muted); font-size: .93rem; }
.value-chain { position: relative; margin-top: 3.5rem; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-auto-rows: 1fr; row-gap: 3rem; list-style: none; isolation: isolate; }
.value-chain li { position: relative; padding: 4.2rem 1.3rem 0; text-align: center; }
.value-chain li::before { content: ''; position: absolute; z-index: -1; top: 22px; left: 0; right: 0; height: 2px; background: #ad643e; }
.value-chain li:first-child::before { left: 50%; }
.value-chain li:nth-child(4)::before, .value-chain li:nth-child(5)::before { right: 50%; }
.value-chain li:last-child::before { left: 50%; }
.value-chain li:nth-child(5) { grid-column: 4; grid-row: 2; }
.value-chain li:nth-child(6) { grid-column: 3; grid-row: 2; }
.value-chain li:nth-child(7) { grid-column: 2; grid-row: 2; }
.value-chain li:nth-child(8) { grid-column: 1; grid-row: 2; }
.value-chain::after { content: ''; position: absolute; z-index: -1; right: 0; top: 22px; width: 12.5%; height: calc((100% + 3rem) / 2); border: 2px solid #ad643e; border-left: 0; border-radius: 0 32px 32px 0; }
.timeline-dot { position: absolute; left: calc(50% - 22px); top: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); border: 1px solid #e78350; color: #ff9a62; font: 600 .82rem var(--font-display); box-shadow: 0 0 0 7px var(--navy); }
.step-number { display: block; font: 600 .6rem var(--font-display); letter-spacing: .12em; color: #ff9a62; margin-bottom: .65rem; }
.value-chain h3 { font-size: .94rem; font-weight: 600; margin-bottom: .7rem; }
.value-chain p { color: var(--muted); font-size: .78rem; line-height: 1.7; }
/* Flèches de lecture entre les étapes de la frise. */
.value-chain li:not(:nth-child(4)):not(:last-child)::after { content: ''; position: absolute; top: 23px; right: -6px; width: 12px; height: 12px; background: #ff9a62; clip-path: polygon(0 0,100% 50%,0 100%,25% 50%); transform: translateY(-50%); }
.value-chain li:nth-child(n+5):not(:last-child)::after { right: auto; left: -6px; transform: translateY(-50%) rotate(180deg); }
.news-section { padding-top: 0; }
.news-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.news-controls { display: flex; gap: .5rem; align-items: center; }
.control { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--white-15); background: #0a2141; color: #fff; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.control:hover { border-color: var(--orange); color: #ff914d; }
.news-viewport { overflow: hidden; border: 1px solid var(--white-15); border-radius: 20px; background: #081e3d; }
.news-track { display: flex; transition: transform .6s ease; }
.news-card { flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: .75fr 1fr; }
.news-art { min-height: 300px; display: grid; align-content: center; padding: 3rem; position: relative; overflow: hidden; border-right: 1px solid var(--white-10); background: radial-gradient(ellipse at 30% 90%,rgba(229,95,42,.16),transparent 65%),#0c2446; }
.news-art::after { content: ''; position: absolute; width: 310px; height: 310px; border: 1px solid #41516b; border-radius: 50%; right: -135px; top: -55px; box-shadow: 0 0 0 30px rgba(80,104,139,.08),0 0 0 60px rgba(80,104,139,.05); }
.news-art small { font-size: .62rem; letter-spacing: .2em; color: #c0cbda; margin-bottom: 1rem; }
.news-art strong { position: relative; z-index: 1; font: 500 clamp(1.9rem,3vw,2.8rem)/1.17 var(--font-display); letter-spacing: -.05em; }
.news-art strong span { color: #ff914d; }
.news-body { padding: 3rem; align-self: center; }
.news-meta { display: flex; gap: .8rem; flex-wrap: wrap; color: #ff914d; font-size: .69rem; margin-bottom: 1rem; }
.sample-label { color: #bbc8d9; border-left: 1px solid #60718b; padding-left: .8rem; }
.news-body h3 { font-weight: 500; font-size: clamp(1.15rem,2vw,1.55rem); line-height: 1.4; margin-bottom: 1rem; }
.news-body p { color: var(--muted); font-size: .86rem; line-height: 1.8; }
.news-link { display: inline-block; color: #ff914d; font-size: .82rem; text-decoration: none; margin-top: 1.5rem; }
.news-link:hover { text-decoration: underline; }
.hf-bar-orange { width: 100%; height: 3px; background: linear-gradient(90deg,transparent,var(--orange),transparent); }
@media (max-width: 1100px) {
  .hf-nav-inner { gap: 1rem; padding-inline: 1.5rem; }
  .hf-nav-link { padding-inline: .65rem; }
  .hf-nav-links { gap: 0; }
  .hf-hero-content { grid-template-columns: minmax(0,1fr) 300px; gap: 2rem; }
  .hf-hc-val { font-size: 1.65rem; }
  .section-intro, .config-layout { gap: 2.5rem; }
}
@media (max-width: 920px) {
  .hf-nav-inner > nav { display: none; }
  .hf-nav-inner { height: 76px; }
  .hf-logo img { width: 66px; height: 66px; }
  .hf-mob-menu { max-height: calc(100dvh - 76px); }
  .hf-hero-content { grid-template-columns: minmax(0,1fr) 270px; padding-block: 4rem; }
  .hf-hero { min-height: 610px; }
  .hf-hero h1 { font-size: 2.7rem; }
  .hf-hero-actions { flex-direction: column; align-items: flex-start; }
  .value-chain { display: flex; flex-direction: column; gap: 0; max-width: 640px; }
  .value-chain::after { display: none; }
  .value-chain li { text-align: left; padding: 0 0 2.4rem 5rem; min-height: 138px; }
  .value-chain li::before, .value-chain li:first-child::before, .value-chain li:nth-child(4)::before, .value-chain li:nth-child(5)::before { left: 21px; right: auto; top: 22px; bottom: 0; height: auto; width: 2px; }
  .value-chain li:last-child::before { display: none; }
  .value-chain li::after { display: none; }
  .timeline-dot { left: 0; }
  .value-chain .step-number { padding-top: .15rem; margin-bottom: .5rem; }
  .config-layout { grid-template-columns: 1fr; gap: 2rem; }

  .expertise-grid { gap: .8rem; }
  .expertise-body { padding: 1.2rem; }
  .news-body, .news-art { padding: 2rem; }
}
@media (max-width: 700px) {
  .container { padding-inline: 1.25rem; }
  .section { padding-block: 4rem; }
  .hf-hero-content { grid-template-columns: 1fr; gap: 2.5rem; padding: 3rem 1.25rem 2rem; }
  .hf-hero h1 { max-width: 500px; font-size: clamp(2.3rem,8.5vw,3rem); }
  .hf-hero-overlay { background: linear-gradient(90deg,rgba(3,22,53,.8),rgba(3,22,53,.22)),linear-gradient(0deg,rgba(3,22,53,.88),rgba(3,22,53,.15)); }
  .hf-hero-bg-img img { object-position: 51% center; }
  .hf-hero-cards { max-width: 500px; width: 100%; gap: .7rem; }
  .hf-hero-card { padding: 1.1rem .6rem; }
  .hf-hero-actions { flex-direction: row; align-items: stretch; }
  .hf-hero-badge { font-size: .64rem; }
  .hf-hero-sub { font-size: .93rem; }
  .hf-btn { padding: .8rem 1rem; font-size: .81rem; }
  .expertise-grid { grid-template-columns: 1fr; gap: 1rem; margin-top: 2rem; }
  .expertise-image { height: auto; aspect-ratio: 16 / 10; }
  .expertise-body { padding: 1.5rem; }
  .value-head { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .value-head > p { max-width: 100%; }
  .value-chain { margin-top: 2rem; }
  .value-chain li { padding: 0 0 2rem 4rem; }

  .config-panel { padding: 1.5rem; }
  .news-section { padding-top: 0; }
  .news-heading { align-items: flex-start; flex-direction: column; gap: 1.3rem; }
  .news-card { grid-template-columns: 1fr; }
  .news-art { min-height: 210px; border-right: none; border-bottom: 1px solid var(--white-10); }
  .news-body { padding: 1.6rem; }
}
@media (max-width: 360px) {
  .hf-hero-actions, .config-actions { flex-direction: column; }

  .panel-top { align-items: flex-start; flex-direction: column; }
}

/* Logos partenaires : couleurs d’origine et proportions conservées. */
.partners-section { padding-block: 2.25rem; border-bottom: 1px solid var(--white-10); background: #061a37; }
.partners-inner { display: flex; flex-direction: column; gap: 1.75rem; align-items: center; text-align: center; }
.partners-inner h2 { font: 600 .76rem var(--font-display); text-transform: uppercase; letter-spacing: .12em; color: #bdcbdc; flex-shrink: 0; }
.partners-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem; width: 100%; }
.partner { display: grid; place-items: center; flex: 0 1 240px; max-width: 100%; min-height: 110px; }
.partner img { display: block; width: 240px; max-width: 100%; height: 110px; padding: 14px; object-fit: contain; background: #fff; border-radius: 14px; }
.partner-afbe img { padding: 0; object-fit: cover; object-position: center; }
@media(max-width:700px) {
  .partners-inner { gap: 1.25rem; }
  .partners-list { gap: 1.25rem; }
  .partner { flex-basis: 220px; }
  .partner img { width: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* Pages intérieures : même palette et mêmes typographies que l’accueil. */
body { min-height: 100vh; }
main { min-height: 55vh; }
.hf-nav-inner { gap: 1.2rem; }
.hf-nav-links { gap: .15rem; }
.hf-nav-link { font-size: .76rem; padding: .85rem .55rem; letter-spacing: .025em; }
.hf-nav-cta { font-size: .76rem; text-transform: uppercase; padding-inline: 1rem; }
.hf-nav-link[aria-current="page"] { color: #ff9458; background: rgba(229,95,42,.09); }
.hf-mob-menu a[aria-current="page"] { color: #ff9458; }
.page-intro { padding: 5rem 0 3.25rem; border-bottom: 1px solid var(--white-08); background: radial-gradient(ellipse at 85% 0%,rgba(229,95,42,.07),transparent 55%); }
.page-intro h1 { font: 700 clamp(2.25rem,4.5vw,3.8rem)/1.12 var(--font-display); letter-spacing: -.05em; max-width: 980px; }
.page-intro .intro-copy { margin-top: 1.5rem; max-width: 780px; color: var(--muted); line-height: 1.85; font-size: 1.03rem; }
.page-intro .hf-hero-actions { margin-top: 2rem; }
.page-intro .eyebrow { margin-bottom: 1.3rem; }
.page-section { padding-block: 4.5rem; }
.architecture-list { padding-top: 1rem; }
.architecture-block { padding-block: 3.5rem; border-bottom: 1px solid var(--white-10); }
.architecture-block:last-child { border-bottom: 0; }
.architecture-head { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; margin-bottom: 2rem; }
.architecture-head h2 { font-size: clamp(1.8rem,3vw,2.35rem); }
.architecture-head p { color: var(--muted); font-size: .95rem; line-height: 1.85; }
.architecture-number { display: block; color: #ff9458; font: 600 .7rem var(--font-display); letter-spacing: .15em; margin-bottom: 1rem; }
.architecture-diagram { border: 1px solid #294563; border-radius: 20px; overflow: hidden; }
.architecture-diagram a { display: block; }
.architecture-diagram img { display: block; width: 100%; height: auto; }
.benefit-list { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.benefit-list li { color: #cbd6e4; font-size: .76rem; padding: .5rem .85rem; border: 1px solid #294563; border-radius: 100px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; background: #0a2141; padding: 2.5rem; border: 1px solid #294563; border-radius: 20px; }
.cta-band h2 { font-size: clamp(1.45rem,2.8vw,2rem); }
.cta-band p { color: var(--muted); margin-top: .7rem; max-width: 650px; font-size: .93rem; }
.cta-band .hf-btn { flex-shrink: 0; }
.closing-cta { padding-block: 1rem 5rem; }
.screen-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; margin-top: 2.25rem; }
.screen-card { background: #081e3d; border: 1px solid #294563; border-radius: 16px; overflow: hidden; }
.screen-card > a { display: block; }
.screen-card img { width: 100%; height: auto; display: block; }
.screen-card figcaption { padding: 1.5rem; border-top: 1px solid var(--white-08); }
.screen-card h3 { font-size: .98rem; font-weight: 600; margin-bottom: .65rem; }
.screen-card p { color: var(--muted); font-size: .82rem; line-height: 1.75; }
.content-heading { max-width: 850px; }
.content-heading > p { color: var(--muted); margin-top: 1rem; line-height: 1.8; }
.editorial-note { color: #b7c4d5; font-size: .76rem; border-left: 2px solid var(--orange); padding-left: 1rem; margin-top: 1.5rem; }
.access-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.access-card { padding: 2.5rem; border: 1px solid #294563; border-radius: 20px; background: #081e3d; display: flex; flex-direction: column; }
.access-card.featured { border-color: #9c5438; background: linear-gradient(130deg,rgba(229,95,42,.1),#081e3d 60%); }
.access-card h2 { font-size: 1.8rem; }
.access-card > p { color: var(--muted); margin-top: 1rem; }
.access-card ul { list-style: none; display: grid; gap: .75rem; margin-block: 1.6rem 2rem; color: #cbd6e4; font-size: .86rem; }
.access-card li::before { content: '✓'; color: #ff9458; margin-right: .7rem; }
.access-card .hf-btn { align-self: flex-start; margin-top: auto; }
.access-card .access-note { margin-top: .8rem; font-size: .75rem; }
.article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.article-card { background: #081e3d; border: 1px solid #294563; border-radius: 18px; overflow: hidden; }
.article-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.article-body { padding: 2rem; }
.article-body .eyebrow { font-size: .62rem; margin-bottom: 1rem; }
.article-body h2 { font-size: 1.5rem; line-height: 1.4; }
.article-body p { color: var(--muted); font-size: .91rem; line-height: 1.85; margin-top: 1rem; }
.example-badge { display: inline-block; font-size: .67rem; color: #c3cddd; border: 1px solid #3f5673; padding: .3rem .65rem; border-radius: 100px; margin-bottom: 1rem; }
.resource-grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.resource-card { padding: 2rem; border: 1px solid #294563; border-radius: 16px; background: #081e3d; }
.document-mark { width: 50px; height: 58px; display: grid; place-items: center; border: 1px solid #82503a; border-radius: 7px; color: #ff9458; font: 600 .8rem var(--font-display); margin-bottom: 1.5rem; }
.resource-card h2 { font-size: 1.1rem; }
.resource-card p { color: var(--muted); margin-top: .8rem; font-size: .84rem; }
.resource-status { display: inline-block; margin-top: 1.5rem; color: #9eafc4; font-size: .75rem; }
.project-empty { display: grid; grid-template-columns: 1.15fr 1fr; border: 1px solid #294563; border-radius: 20px; overflow: hidden; background: #081e3d; }
.project-empty img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.project-empty .project-copy { padding: 3rem; align-self: center; }
.project-copy h2 { font-size: 2rem; }
.project-copy p { color: var(--muted); margin-block: 1.5rem; }
.contact-panel { max-width: 1000px; margin-inline: auto; padding: 3.5rem; border: 1px solid #294563; border-radius: 22px; background: linear-gradient(140deg,#10294a,#071c39); }
.contact-panel .contact-mail { display: inline-block; font-family: var(--font-display); font-size: clamp(1.35rem,4vw,2.8rem); font-weight: 600; letter-spacing: -.045em; text-decoration: none; color: #ff9458; overflow-wrap: anywhere; }
.contact-panel .contact-mail:hover { color: #fff; }
.contact-panel > p { color: var(--muted); max-width: 690px; margin-block: 1.5rem; line-height: 1.85; }
.contact-meta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--white-15); }
.contact-meta address { font-style: normal; color: var(--muted); font-size: .86rem; }
/* Navigation complète : bascule tablette avant que les liens ne se touchent. */
@media (min-width: 921px) and (max-width: 1100px) {
  .hf-nav-inner > nav, .hf-cta-w { display: none !important; }
  .hf-mob-btn { display: flex !important; }
}
@media (max-width: 920px) {
  .screen-gallery, .resource-grid { grid-template-columns: 1fr; }
  .screen-card { max-width: 680px; }
  .architecture-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 700px) {
  .page-intro { padding-block: 3rem 2.5rem; }
  .page-intro .intro-copy { font-size: .94rem; }
  .page-section, .architecture-block { padding-block: 2.5rem; }
  .access-grid, .article-grid, .project-empty { grid-template-columns: 1fr; }
  .access-card, .article-body, .resource-card, .cta-band, .contact-panel { padding: 1.5rem; }
  .access-card .hf-btn { width: 100%; }
  .project-empty img { min-height: 220px; max-height: 300px; }
  .project-empty .project-copy { padding: 1.5rem; }
  .closing-cta { padding-bottom: 3rem; }
}

/* Navigation recentrée ; l’accueil est accessible par le logo uniquement. */
.hf-nav-inner { display: grid; grid-template-columns: 170px minmax(0,1fr) 170px; gap: 1.2rem; }
.hf-logo { justify-self: start; }
.hf-nav-inner > nav { min-width: 0; }
.hf-nav-links { justify-content: center; gap: clamp(.2rem,1vw,1rem); }
.hf-nav-link { font-size: .8rem; padding-inline: .65rem; }
.hf-cta-w { justify-self: end; }
.config-byline { font-size: .6em; color: #fff; letter-spacing: -.02em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.solutions-switch { position: sticky; top: 88px; z-index: 80; background: rgba(3,22,53,.97); border-bottom: 1px solid #294563; scroll-margin-top: 88px; }
.solutions-tabs { display: flex; justify-content: center; gap: .5rem; padding-block: .9rem; }
.solution-tab { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 170px; padding: .65rem 2rem; border: 1px solid #294563; border-radius: 9px; color: #cfdae8; font-weight: 700; text-decoration: none; background: #081e3d; }
.solution-tab:hover { color: #fff; border-color: #e55f2a; }
.solution-tab[aria-selected="true"] { background: #E55F2A; border-color: #E55F2A; color: #fff; }
.solutions-panel { scroll-margin-top: 175px; }
.page-intro .tab-title { font: 700 clamp(2.25rem,4.5vw,3.8rem)/1.12 var(--font-display); letter-spacing: -.05em; max-width: 980px; }
.software-intro, .software-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.software-intro p:not(.eyebrow), .software-section-head > p { color: var(--muted); font-size: .96rem; line-height: 1.9; }
.software-intro p + p { margin-top: 1.2rem; }
.software-band { background: #081e3d; border-block: 1px solid var(--white-08); }
.software-section { padding-block: 4rem; }
.software-section-head { margin-bottom: 2.5rem; }
.software-diagram { border: 1px solid #294563; border-radius: 18px; overflow: hidden; }
.software-diagram a, .software-diagram img { display: block; width: 100%; }
.software-diagram img { height: auto; }
.software-closing { padding-block: 4rem; }
@media(max-width:1100px) {
  .hf-nav-inner { display: flex; justify-content: space-between; }
}
@media(max-width:920px) {
  .solutions-switch { top: 76px; scroll-margin-top: 76px; }
  .software-intro, .software-section-head { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media(max-width:700px) {
  .solutions-tabs { padding-block: .65rem; }
  .solution-tab { flex: 1; min-width: 0; padding-inline: 1rem; }
  .software-section, .software-closing { padding-block: 2.5rem; }
  .software-section-head { margin-bottom: 1.5rem; }
}

/* Actualités : une liste de données, une grille et un carrousel. */
.actualites-list { --news-visible: 3; --news-gap: 1rem; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: var(--news-gap); }
.actualite-card { min-width: 0; border: 1px solid #294563; border-radius: 16px; overflow: hidden; background: #081e3d; display: flex; flex-direction: column; scroll-margin-top: 110px; }
.actualite-media { position: relative; height: 190px; background: #fff; overflow: hidden; }
.actualite-image { width: 100%; height: 100%; display: block; object-fit: contain; }
.actualite-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 80%; height: auto; }
.actualite-body { display: flex; flex-direction: column; flex: 1; padding: 1rem; }
.actualite-meta { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; color: #ff9a62; font-size: .73rem; margin-bottom: 1rem; }
.upcoming-badge { display: inline-block; padding: .2rem .6rem; border-radius: 100px; border: 1px solid #946044; background: #382b2b; color: #ffb480; font-size: .65rem; white-space: nowrap; }
.actualite-body h3 { font-size: .94rem; line-height: 1.4; font-weight: 600; }
.actualite-body > p { color: var(--muted); font-size: .82rem; line-height: 1.6; margin-top: .6rem; }
.actualite-link { align-self: flex-start; color: #ff9a62; font-weight: 600; font-size: .78rem; text-decoration: none; margin-top: auto; padding-top: .9rem; }
.actualite-link:hover { text-decoration: underline; }
.actualites-window.is-carousel { overflow: hidden; border-radius: 16px; }
.is-carousel .actualites-list { display: flex; gap: var(--news-gap); transition: transform .55s ease; }
.is-carousel .actualite-card { flex: 0 0 calc((100% - (var(--news-visible) - 1) * var(--news-gap)) / var(--news-visible)); }
.hero-simulator { padding: 2.2rem 1.7rem; background: rgba(3,22,53,.84); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.3); border-radius: 18px; }
.hero-simulator .eyebrow { font-size: .61rem; }
.hero-simulator h2 { font-size: clamp(1.8rem,2.6vw,2.35rem); line-height: 1.2; }
.hero-simulator .simulator-signature { font-size: .77rem; color: #fff; margin: .6rem 0 1.5rem; }
.hero-simulator > p:not(.eyebrow):not(.simulator-signature) { color: #d2deec; font-size: .92rem; line-height: 1.8; }
.hero-simulator .hf-btn { width: 100%; margin-top: 1.5rem; font-size: .82rem; }
.about-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
.about-story p:not(.eyebrow) { margin-top: 1.5rem; color: var(--muted); line-height: 1.85; }
.about-story figure { border: 1px solid #294563; border-radius: 18px; overflow: hidden; background: #081e3d; }
.about-story img { display: block; width: 100%; height: auto; }
.about-story figcaption { padding: 1rem 1.5rem; color: var(--muted); font-size: .78rem; }
.about-pillars { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.about-pillars article { border: 1px solid #294563; border-radius: 16px; padding: 1.8rem; background: #031635; }
.about-pillars h3 { font-size: 1.05rem; font-weight: 600; }
.about-pillars p { margin-top: 1rem; font-size: .87rem; color: var(--muted); line-height: 1.8; }
@media(max-width:1024px) { .actualites-list { --news-visible: 2; grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:920px) { .about-story { grid-template-columns: 1fr; gap: 2rem; } .about-pillars { grid-template-columns: 1fr; } .hero-simulator { padding: 1.5rem 1.2rem; } }
@media(max-width:650px) { .actualites-list { --news-visible: 1; grid-template-columns: 1fr; } .actualite-body { padding: .9rem; } .hero-simulator { max-width: 500px; } }

/* Compact news cards: four columns on the news page, three at home. */
[data-news-page] { grid-template-columns: repeat(4,minmax(0,1fr)); }
.news-section > .container { max-width: 1050px; }
.news-section .news-heading { margin-bottom: 1.7rem; }
.news-section .news-controls { justify-content: center; margin-top: 1.25rem; }
.news-section > .container > .news-link { display: block; width: fit-content; margin: 1rem auto 0; }
.home-config-capture { align-self: center; }
.story-intro .intro-copy { max-width: 850px; font-size: 1.12rem; }
.story-chapters { padding-top: 1rem; }
.story-chapter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; padding-block: 3.5rem; border-bottom: 1px solid var(--white-15); }
.story-chapter:last-child { border-bottom: 0; padding-bottom: 0; }
.story-chapter h2 { font-size: clamp(1.65rem,3vw,2.35rem); }
.story-copy p, .story-mission p:not(.eyebrow) { color: var(--muted); line-height: 1.85; }
.story-copy p + p { margin-top: 1.15rem; }
.story-copy strong { color: #fff; font-weight: 600; }
.story-mission { margin-bottom: 3.5rem; }
.story-mission h2 { max-width: 900px; }
.story-mission p:not(.eyebrow) { max-width: 780px; margin-top: 1.4rem; }
@media(max-width:1100px) { [data-news-page] { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media(max-width:850px) { [data-news-page] { grid-template-columns: repeat(2,minmax(0,1fr)); } .story-chapter { gap: 2rem; } }
@media(max-width:650px) {
  [data-news-page] { grid-template-columns: 1fr; gap: .85rem; }
  [data-news-page] .actualite-card { display: grid; grid-template-columns: 112px minmax(0,1fr); }
  [data-news-page] .actualite-media { height: 100%; min-height: 155px; }
  .actualite-media { height: 155px; }
  .actualite-meta { font-size: .68rem; gap: .35rem; margin-bottom: .6rem; }
  .actualite-body h3 { font-size: .86rem; }
  .actualite-body > p { font-size: .8rem; line-height: 1.5; }
  .upcoming-badge { font-size: .6rem; padding: .15rem .4rem; }
  .actualite-card { border-radius: 12px; }
  .news-section .news-controls { margin-top: 1rem; }
  .screen-card figcaption { padding: 1rem; }
  .story-intro .intro-copy { font-size: 1rem; }
  .story-chapter { grid-template-columns: 1fr; gap: 1.3rem; padding-block: 2rem; }
  .story-copy p, .story-mission p:not(.eyebrow) { font-size: .94rem; line-height: 1.75; }
}
@media(max-width:360px) { [data-news-page] .actualite-card { grid-template-columns: 88px minmax(0,1fr); } }

/* Decorative photographs: navy overlays maintain readable text throughout. */
.photo-page {
  background-color: var(--navy);
  background-image: linear-gradient(90deg,rgba(3,22,53,.89),rgba(3,22,53,.70)), var(--page-photo);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.photo-page-news { --page-photo: url('../images/backgrounds/mer-2.webp'); }
.photo-page-about { --page-photo: url('../images/backgrounds/lac-annecy.jpg'); }
.photo-page > .page-intro { background: linear-gradient(180deg,rgba(3,22,53,.06),rgba(3,22,53,.3)); }
.photo-page .intro-copy, .photo-page .story-copy p, .photo-page .story-mission p:not(.eyebrow) { color: #e2e9f2; }
.photo-page .story-mission { background: rgba(3,22,53,.65); }
.photo-page .story-chapter { border-color: rgba(255,255,255,.22); }
.photo-page .actualite-card { background: #081e3d; box-shadow: 0 12px 30px rgba(0,10,25,.15); }
.configurator-banner { padding-top: clamp(1.25rem,3vw,2.5rem); background: #031635; }
.configurator-banner img { display: block; width: 100%; height: auto; border-radius: 20px; }
/* Photos and diagrams have no zoom/link interaction. */
main img { cursor: default; }
@media(max-width:700px) {
  .photo-page {
    position: relative;
    isolation: isolate;
    background: transparent;
  }
  /* A viewport-fixed layer, like the home page, keeps the photo behind the
     scrolling content without relying on mobile background-attachment. */
  .photo-page::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-color: var(--navy);
    background-image: linear-gradient(180deg,rgba(3,22,53,.80),rgba(3,22,53,.86)), var(--page-photo);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .configurator-banner { padding-top: 1rem; }
  .configurator-banner img { border-radius: 12px; }
}

/* Solutions uses the same lake photograph and overlay as About. */
.photo-page-solutions .page-intro { background: linear-gradient(180deg,rgba(3,22,53,.06),rgba(3,22,53,.3)); }
.photo-page-solutions .software-band { background: rgba(3,22,53,.65); }
.photo-page-solutions .architecture-head > p,
.photo-page-solutions .software-intro p:not(.eyebrow),
.photo-page-solutions .software-section-head > p { color: #e2e9f2; }
/* Title stays over the illustration at every screen width. */
.configurator-cover { position: relative; display: grid; isolation: isolate; overflow: hidden; border-radius: 20px; min-height: clamp(380px,39vw,500px); }
.configurator-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 0; }
.configurator-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,22,53,.85),rgba(3,22,53,.32)), linear-gradient(0deg,rgba(3,22,53,.6),transparent); pointer-events: none; }
.configurator-cover-title { z-index: 1; position: relative; align-self: end; padding: clamp(1.35rem,4vw,3.25rem); }
.configurator-cover-title .eyebrow { color: #ff914d; margin-bottom: .9rem; }
.configurator-cover-title h1 { font: 700 clamp(2rem,4.5vw,3.8rem)/1.12 var(--font-display); letter-spacing: -.05em; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
@media(max-width:700px) {
 .configurator-cover { border-radius: 12px; }
 .configurator-cover > img { border-radius: 0; }
 .configurator-cover-title .eyebrow { font-size: .64rem; letter-spacing: .1em; }
}

.configurator-cover-title .intro-copy { max-width: 740px; margin-top: 1.25rem; color: #eef3fa; font-size: 1.03rem; line-height: 1.8; }
.configurator-cover-title .hf-hero-actions { margin-top: 1.75rem; flex-wrap: wrap; }
.configurator-cover-title .hf-btn-ghost { background: rgba(3,22,53,.5); border-color: rgba(255,255,255,.55); }
@media(max-width:650px) {
 .configurator-cover-title .intro-copy { font-size: .94rem; line-height: 1.65; }
 .configurator-cover-title .hf-hero-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
 .configurator-cover-title .hf-btn { justify-content: center; text-align: center; padding-inline: .9rem; }
}

/* Full-width configurator image; keep the existing banner height. */
.configurator-banner { padding-top: 0; }
.configurator-banner > .container { width: 100%; max-width: none; padding-inline: 0; }
.configurator-banner .configurator-cover { border-radius: 0; }
.configurator-cover-title { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: 2.5rem; }
.system-bespoke-copy strong { color: #fff; font-weight: 700; }
@media(max-width:700px) { .configurator-cover-title { padding-inline: 1.25rem; } }

/* Discreet circular pagination, with a generous click/touch area. */
.news-section .news-dots { gap: 0; }
.news-dot { display: inline-grid; place-items: center; width: 36px; height: 40px; padding: 0; border: 0; border-radius: 20px; background: transparent; cursor: pointer; }
.news-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #71829b; transition: background .2s ease, transform .2s ease; }
.news-dot[aria-current="true"]::before { background: #ff873d; transform: scale(1.4); }
.news-dot:hover::before { background: #ffb080; }
.news-dot:focus-visible { outline: 2px solid #ff873d; outline-offset: -3px; }
/* Page-wide photographic background: the configurator content scrolls over it. */
.photo-page-configurator { --page-photo: url('../images/configurateur/visuel-configurateur-4.webp'); }
.photo-page-configurator .configurator-banner { background: transparent; }
.photo-page-configurator .configurator-cover::after { content: none; }
.photo-page-configurator .config-section { background: rgba(3,22,53,.65); }
.photo-page-configurator .content-heading > p { color: #e2e9f2; }
@media(max-width:920px) {
 /* Match desktop selector specificity for every connector, including steps 1–3. */
 .value-chain li:nth-child(n):not(:last-child)::after {
   content: ''; display: block; position: absolute; top: auto; bottom: 15px;
   left: 16px; right: auto; width: 12px; height: 12px;
   background: #ff9a62; clip-path: polygon(0 0,100% 50%,0 100%,25% 50%);
   transform: rotate(90deg);
 }
}
@media(prefers-reduced-motion:reduce) { .news-dot::before { transition: none; } }

/* The home photograph fills the viewport and stays behind all scrolling content. */
.home-page { position: relative; isolation: isolate; }
.home-page-backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--navy); }
.home-page-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-page-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,22,53,.88),rgba(3,22,53,.50) 65%,rgba(3,22,53,.63)); }
.home-page main > .section { background: rgba(3,22,53,.40); }
.home-page main > .config-section { background: rgba(3,22,53,.65); }
.home-page .partners-section { background: rgba(3,22,53,.72); }
.home-page .hf-footer { background: var(--navy); }
.home-page .section-intro p, .home-page .value-head > p, .home-page .value-chain p { color: #dbe4ef; }
@media(max-width:700px) {
 .home-page-backdrop img { object-position: 51% center; }
 .home-page-backdrop::after { background: rgba(3,22,53,.76); }
}

/* Small arrows flank the dots, without a visible counter. */
.news-controls > .news-dots { display: flex; align-items: center; gap: 0; min-width: 0; }
.news-arrow { display: inline-grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; background: rgba(3,22,53,.65); color: #fff; cursor: pointer; }
.news-arrow:hover { color: #ff873d; border-color: #ff873d; }
.news-arrow:focus-visible { outline: 2px solid #ff873d; outline-offset: 3px; }
/* Align the configurator heading with the other page introductions. */
.photo-page-configurator .configurator-cover { min-height: 0; }
.photo-page-configurator .configurator-cover-title { align-self: start; padding-top: 5rem; padding-bottom: 3.25rem; }
.photo-page-configurator .configurator-cover-title .eyebrow { margin-bottom: 1.3rem; }
.photo-page-configurator .configurator-cover-title h1 { font-size: clamp(2.25rem,4.5vw,3.8rem); }
.photo-page-solutions .page-intro { padding-top: 3.75rem; }
@media(max-width:700px) {
 .photo-page-configurator .configurator-cover-title { padding-top: 3rem; padding-bottom: 2.5rem; }
 .photo-page-solutions .page-intro { padding-top: 2.25rem; }
}
@media(max-width:650px) {
 .news-controls .news-dot { width: 24px; height: 36px; }
 .news-section .news-controls { gap: 4px; }
}

/* Floating-looking tabs: no bar, with the same intro baseline as other pages. */
.photo-page-solutions { --solutions-switch-height: 3.25rem; }
.photo-page-solutions .solutions-switch {
 position: relative; top: auto; background: transparent; border: 0;
 height: var(--solutions-switch-height); padding-top: .75rem;
}
.photo-page-solutions .solutions-tabs { padding-block: 0; }
.photo-page-solutions .solution-tab { min-height: 2.5rem; padding: .45rem 1.6rem; line-height: 1.2; }
.photo-page-solutions .page-intro { padding-top: calc(5rem - var(--solutions-switch-height)); }
@media(max-width:700px) {
 .photo-page-solutions { --solutions-switch-height: 2.25rem; }
 .photo-page-solutions .solutions-switch { padding-top: .25rem; }
 .photo-page-solutions .solution-tab { min-height: 2rem; padding: .35rem .75rem; font-size: .8rem; }
 .photo-page-solutions .page-intro { padding-top: calc(3rem - var(--solutions-switch-height)); }
}

/* Legal pages share the site typography, navigation and navy/orange palette. */
.legal-layout { display: grid; grid-template-columns: 235px minmax(0,1fr); gap: 3.5rem; align-items: start; padding-block: 3.5rem 2rem; }
.legal-summary { position: sticky; top: 115px; padding: 1.4rem; border: 1px solid #294563; border-radius: 14px; background: #081e3d; }
.legal-summary .eyebrow { margin-bottom: 1rem; font-size: .64rem; }
.legal-summary ol { list-style: none; display: grid; gap: .3rem; }
.legal-summary a { display: block; padding: .5rem 0; color: #d8e3f0; font-size: .84rem; line-height: 1.5; text-decoration: none; }
.legal-summary a:hover { color: #ff914d; }
.legal-content { min-width: 0; color: #d4deeb; font-size: .94rem; line-height: 1.8; overflow-wrap: anywhere; }
.legal-content > div { display: grid; gap: 2.5rem; }
.legal-content h2, .legal-content h3 { scroll-margin-top: 115px; }
.legal-content h2 { color: #fff; font-size: clamp(1.3rem,2vw,1.65rem); margin-bottom: 1rem; }
.legal-content h3 { color: #ff914d; font-size: 1.05rem; margin-bottom: 1rem; font-weight: 600; }
.legal-content h4 { color: #fff; font-size: .95rem; margin-bottom: .5rem; }
.legal-content p + p { margin-top: .6rem; }
.legal-section > p { margin-bottom: 1.5rem; }
.legal-content strong { color: #fff; font-weight: 600; }
.legal-content a { color: #ff9a62; text-decoration: underline; text-underline-offset: .18em; }
.legal-card { padding: 1.8rem; border: 1px solid #294563; border-radius: 16px; background: #081e3d; }
.legal-card + .legal-card { margin-top: 1.5rem; }
.legal-card > p + div { margin-top: 1.25rem; }
.legal-card > div > div + div { margin-top: 1.1rem; }
.legal-right { border-left: 2px solid var(--orange); padding-left: 1rem; }
.legal-related { padding-block: 1rem 4rem; }
.legal-page .hf-footer-link[aria-current="page"] { color: #ff914d; }
@media(max-width:920px) {
 .legal-layout { grid-template-columns: 1fr; gap: 2rem; }
 .legal-summary { position: static; }
 .legal-summary ol { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .3rem 1.3rem; }
}
@media(max-width:700px) {
 .legal-layout { padding-top: 2rem; }
 .legal-card { padding: 1.25rem; }
 .legal-content { font-size: .9rem; }
 .legal-related { padding-bottom: 3rem; }
 .legal-related .hf-btn { width: 100%; text-align: center; }
}
@media(max-width:400px) { .legal-summary ol { grid-template-columns: 1fr; } }

/* Actual configurator screenshots: preserve every image without cropping. */
.configurator-previews { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 1.5rem; margin-top: 2rem; }
.configurator-preview { min-width: 0; }
.configurator-preview > img { display: block; width: 100%; height: auto; }
.configurator-preview:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0,1.8fr) minmax(0,1fr); align-items: center; }
.configurator-preview:first-child figcaption { border-top: 0; border-left: 1px solid var(--white-08); }
.configurator-preview figcaption .eyebrow { margin-bottom: .8rem; font-size: .64rem; color: #ff914d; }
.configurator-preview figcaption h3 { line-height: 1.45; }
.configurator-preview figcaption > p:not(.eyebrow) { margin-top: .75rem; color: #cbd6e4; font-size: .9rem; line-height: 1.75; }
.configurator-name { text-wrap: balance; overflow-wrap: break-word; }
.availability-dialog { width: min(460px,calc(100% - 2.5rem)); max-height: calc(100dvh - 3rem); overflow: auto; margin: auto; padding: clamp(1.5rem,5vw,2.5rem); border: 1px solid rgba(255,255,255,.2); border-top: 3px solid var(--orange); border-radius: 18px; background: #071d3b; color: #fff; box-shadow: 0 24px 90px rgba(0,0,0,.5); }
.availability-dialog::backdrop { background: rgba(1,10,26,.8); backdrop-filter: blur(5px); }
.availability-dialog .eyebrow { color: #ff914d; margin-bottom: .8rem; }
.availability-dialog h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 1rem; }
.availability-dialog > p:not(.eyebrow) { color: #d2deec; line-height: 1.7; }
.availability-dialog form { margin-top: 1.75rem; }
.availability-dialog .hf-btn { width: 100%; cursor: pointer; }
.availability-dialog-open { overflow: hidden; }
[data-coming-soon] { cursor: pointer; }
[data-coming-soon]:disabled { opacity: .7; cursor: default; }
.configurator-name .configurator-signature { display: block; margin-top: .65em; color: #fff; font-size: .48em; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.hero-simulator h2.configurator-name { font-size: clamp(1.35rem,1.7vw,1.75rem); line-height: 1.25; margin-bottom: 1.3rem; }
.config-copy h2.configurator-name { font-size: clamp(1.65rem,2.8vw,2.5rem); line-height: 1.22; }
.configurator-cover-title h1.configurator-name { max-width: 25ch; font-size: clamp(2rem,4.3vw,3.65rem); line-height: 1.16; }
@media(max-width:850px) {
 .configurator-previews { grid-template-columns: 1fr; }
 .configurator-preview { max-width: 100%; }
 .configurator-preview:first-child { display: block; grid-column: auto; }
 .configurator-preview:first-child figcaption { border-left: 0; border-top: 1px solid var(--white-08); }
}
