/* dm-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/dm-sans-v17-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* dm-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  src: url('./fonts/dm-sans-v17-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/manrope-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/manrope-v23-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* manrope-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  src: url('./fonts/manrope-v23-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
:root {
  --navy: #081a31;
  --navy-2: #122d50;
  --blue: #0759ad;
  --red: #e63448;
  --red-dark: #c72539;
  --ink: #142640;
  --muted: #66788d;
  --soft: #f5f8fc;
  --line: #dfe6ee;
  --white: #ffffff;
  --wide: 1190px;
}
:root {
  --navy: #081a31;
  --navy-2: #122d50;
  --blue: #0759ad;
  --red: #e63448;
  --red-dark: #c72539;
  --ink: #142640;
  --muted: #66788d;
  --soft: #f5f8fc;
  --line: #dfe6ee;
  --white: #ffffff;
  --wide: 1190px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  font: 400 16px/1.7 "DM Sans", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure { margin-top: 0; }

h1, h2, h3, h4 {
  font-family: "Manrope", Arial, sans-serif;
  line-height: 1.16;
  letter-spacing: -.045em;
}

p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 48px), var(--wide));
  margin: auto;
}

.section { padding: 112px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; background: var(--navy); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

::selection {
  background: var(--red);
  color: #fff;
}

/* HEADER */

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: rgba(8,26,49,.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .4s ease, box-shadow .4s ease, border-color .4s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(8,26,49,.93);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 12px 35px rgba(0,0,0,.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 96px;
  transition: min-height .4s cubic-bezier(.22,1,.36,1);
}

.site-header.scrolled .nav { min-height: 72px; }

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.logo {
  width: 200px;
  height: 85px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(255,255,255,.65));
  transition: width .4s ease, height .4s ease, transform .3s ease;
}

.site-header.scrolled .logo {
  width: 168px;
  height: 64px;
}

.logo-link:hover .logo { transform: scale(1.035); }

.menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-link {
  position: relative;
  z-index: 1;
  padding: 12px 0;
  color: #cbd8e7;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .25s ease;
}

.menu-link:hover,
.menu-link.active { color: #fff; }

.nav-indicator {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 5px;
  background: var(--red);
  box-shadow: 0 0 12px rgba(230,52,72,.55);
  opacity: 0;
  pointer-events: none;
  transition: transform .42s cubic-bezier(.22,1,.36,1), width .42s cubic-bezier(.22,1,.36,1), opacity .2s ease;
}

.nav-indicator.ready { opacity: 1; }

.menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 5px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

.menu-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.18) 50%, transparent 80%);
  transform: translateX(-130%);
  transition: transform .6s ease;
  pointer-events: none;
}

.menu-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(230,52,72,.23);
}

.menu-cta:hover::before { transform: translateX(130%); }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 5px;
  background: rgba(255,255,255,.06);
  flex-shrink: 0;
}

.lang-btn {
  border: 0;
  border-radius: 3px;
  padding: 6px 9px;
  background: transparent;
  color: #c5d1df;
  font-size: 11px;
  font-weight: 800;
  transition: background .25s, color .25s;
}

.lang-btn:hover { color: #fff; }
.lang-btn.active { background: var(--red); color: #fff; }

.lang-separator {
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,.2);
}

.scroll-progress {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg,#e63448,#ff7180);
  box-shadow: 0 0 12px rgba(230,52,72,.5);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--navy) url("assets/hero-industrie.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: brightness(1.12) contrast(1.04);
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,18,36,.75) 0%, rgba(5,18,36,.46) 45%, rgba(5,18,36,.12) 100%);
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size: 110px 110px;
  pointer-events: none;
}

.hero-light {
  position: absolute;
  z-index: 2;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 140%;
  background: radial-gradient(ellipse, rgba(31,92,152,.12), transparent 65%);
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(100px,13vh,175px);
  min-height: min(960px,100svh);
  padding-top: clamp(160px,21vh,230px);
  padding-bottom: 34px;
}

.hero-content { max-width: 850px; }

.eyebrow {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  font: 800 11px/1.5 "Manrope",Arial,sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-bottom: 25px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--red);
  color: #fff;
  font: 600 14px/1.6 "DM Sans",Arial,sans-serif;
  letter-spacing: .015em;
  text-transform: none;
  text-shadow: 0 2px 10px rgba(0,0,0,.2);
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(3.1rem,6.7vw,6.55rem);
  line-height: 1.08;
  font-weight: 800;
}

.cinematic-title .title-line {
  display: block;
  overflow: hidden;
  padding-bottom: .09em;
  margin-bottom: -.09em;
}

.cinematic-title .title-line-inner {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.cinematic-title em.title-line-inner {
  color: #ff5365;
  font-style: normal;
}

.hero-content > p {
  max-width: 580px;
  margin-bottom: 0;
  color: #edf3fa;
  font-size: clamp(16px,1.6vw,19px);
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.hero-actions,
.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-intro .cinematic-eyebrow {
  opacity: 0;
  transform: translateY(18px);
  border-left-color: transparent;
}

.hero-intro .title-line-inner {
  opacity: 0;
  transform: translateY(115%);
}

.hero-intro .cinematic-description {
  opacity: 0;
  transform: translateY(25px);
}

.hero-intro .cinematic-actions {
  opacity: 0;
  transform: translateY(25px);
}

.cinematic-footer {
  opacity: 0;
  transform: translateY(15px);
}

.hero-intro.intro-visible .cinematic-eyebrow {
  animation: introFadeUp .7s .15s ease-out forwards, introBorder .65s .6s ease-out forwards;
}

.hero-intro.intro-visible .cinematic-title .title-line:nth-child(1) .title-line-inner {
  animation: introTitle 1s .4s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-intro.intro-visible .cinematic-title .title-line:nth-child(2) .title-line-inner {
  animation: introTitle 1s .58s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-intro.intro-visible .cinematic-title .title-line:nth-child(3) .title-line-inner {
  animation: introTitle 1s .76s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-intro.intro-visible .cinematic-description {
  animation: introFadeUp .9s 1.12s cubic-bezier(.22,1,.36,1) forwards;
}

.hero-intro.intro-visible .cinematic-actions {
  animation: introFadeUp .9s 1.38s cubic-bezier(.22,1,.36,1) forwards;
}

.cinematic-footer.intro-visible {
  animation: introFadeUp .8s 1.65s ease-out forwards;
}

@keyframes introTitle {
  from { opacity: 0; transform: translateY(115%); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introFadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introBorder {
  to { border-left-color: var(--red); }
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 23px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  transition: transform .3s cubic-bezier(.22,1,.36,1), background .3s, color .3s, box-shadow .3s;
}

.btn:hover { transform: translateY(-3px); }

.btn > span[aria-hidden="true"] {
  display: inline-block;
  font-size: 17px;
  transition: transform .3s;
}

.btn:hover > span[aria-hidden="true"] {
  transform: translate(3px,-2px);
}

.btn-red { color: #fff; background: var(--red); }

.btn-red:hover {
  background: var(--red-dark);
  box-shadow: 0 10px 24px rgba(230,52,72,.22);
}

.btn-ghost {
  border-color: rgba(255,255,255,.65);
  color: #fff;
  background: rgba(8,26,49,.12);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}

.btn-white { color: var(--navy); background: #fff; }
.btn-white:hover { background: #ecf1f7; }

/* HERO FOOTER */

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.17);
  color: #d3ddea;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.hero-foot a {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  white-space: nowrap;
}

.hero-foot a span:last-child {
  color: #ff5365;
  font-size: 19px;
}

/* SECTION HEADINGS */

.section-header { margin-bottom: 57px; }

.section-header h2 {
  margin-bottom: 0;
  font-size: clamp(2.3rem,4.5vw,4.3rem);
  font-weight: 800;
}

.section-header h2 span:not(.heading-ink) { color: var(--red); }
.section-header h2 .heading-ink { color: var(--ink); }

.section-header > p {
  max-width: 680px;
  margin-top: 20px;
  font-size: 16px;
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 8%;
}

.about-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 25px 55px rgba(8,26,49,.12);
}

.about-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.about-visual figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  padding: 12px 17px;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
}

.mini-heading {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font: 800 11px/1.5 "Manrope",Arial,sans-serif;
  letter-spacing: .13em;
}

.about-copy h3 {
  margin-bottom: 25px;
  font-size: clamp(1.7rem,2.65vw,2.65rem);
}

.about-copy p {
  margin-bottom: 18px;
  font-size: 15px;
}

.about-pillars {
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.about-pillars > div {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.about-pillars b {
  color: var(--red);
  font-size: 12px;
}

.text-action {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--red);
  font-size: 13px;
  font-weight: 800;
}

.text-action:hover { color: var(--red); }

/* EXPERTISES */

.expertises-section {
  padding: 110px 0 100px;
  background: #f5f7fa;
}

.expertises-heading { margin-bottom: 52px; }

.expertises-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: #66788d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

.label-line {
  width: 27px;
  height: 2px;
  background: var(--red);
}

.expertises-heading h2 {
  margin-bottom: 23px;
  color: #10243f;
  font-size: clamp(2.5rem,4.5vw,4.5rem);
  font-weight: 800;
  line-height: 1.14;
}

.expertises-heading h2 .red-dot { color: var(--red); }

.expertises-heading p {
  max-width: 650px;
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.expertises-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
}

.expertise-box {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 355px;
  padding: 34px 30px 29px;
  overflow: hidden;
  border: 1px solid #e1e6ed;
  border-radius: 6px;
  background: #fff;
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

.expertise-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s;
}

.expertise-box:hover {
  transform: translateY(-6px);
  border-color: #cbd6e3;
  box-shadow: 0 18px 42px rgba(8,26,49,.09);
}

.expertise-box:hover::before { transform: scaleX(1); }

.expertise-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 30px;
  border-radius: 5px;
  background: #f2f5f9;
  color: #193e68;
  transition: background .35s, color .35s;
}

.expertise-icon svg {
  width: 30px;
  height: 30px;
}

.expertise-box:hover .expertise-icon {
  background: #e8eef6;
  color: var(--red);
}

.expertise-category {
  display: block;
  margin-bottom: 12px;
  color: #8493a5;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
}

.expertise-box h3 {
  margin-bottom: 17px;
  color: #10243f;
  font-size: clamp(20px,1.8vw,25px);
  font-weight: 800;
}

.expertise-box p {
  margin-bottom: 26px;
  font-size: 14px;
  line-height: 1.8;
}

.expertise-bottom {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #edf0f4;
}

.expertise-bottom span {
  display: block;
  width: 27px;
  height: 2px;
  background: var(--red);
  transition: width .4s;
}

.expertise-box:hover .expertise-bottom span { width: 65px; }

.expertises-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
  color: #8b98a8;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* PROJECT ACCORDION */

.projects .section-header { margin-bottom: 48px; }

.solutions-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 9px 30px rgba(8,26,49,.035);
  transition: border-color .3s, box-shadow .35s;
}

.accordion-item:not(.is-open):hover {
  border-color: #b8c9da;
  box-shadow: 0 12px 32px rgba(8,26,49,.07);
}

.accordion-item.is-open {
  border-color: #cbd8e8;
  box-shadow: 0 20px 48px rgba(8,26,49,.09);
}

.accordion-heading {
  margin: 0;
  font-size: inherit;
  letter-spacing: normal;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 112px;
  gap: 26px;
  padding: 25px 32px;
  border: 0;
  background: #fff;
  color: var(--ink);
  text-align: left;
  transition: background .3s;
}

.accordion-item:not(.is-open) .accordion-trigger:hover {
  background: #f8fafd;
}

.accordion-item.is-open .accordion-trigger {
  background: var(--navy);
  color: #fff;
}

.accordion-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 9px;
  background: #eef3f9;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

.accordion-item.is-open .accordion-number {
  background: rgba(255,255,255,.1);
  color: #ff697a;
}

.accordion-title-group {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.accordion-title {
  font-family: "Manrope",Arial,sans-serif;
  font-size: clamp(17px,2.2vw,24px);
  font-weight: 800;
}

.accordion-description {
  color: #7d8da0;
  font-size: 13px;
  font-weight: 500;
}

.accordion-item.is-open .accordion-description { color: #b8c9db; }

.accordion-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #dce5ef;
  border-radius: 50%;
  transition: transform .35s, background .35s;
}

.accordion-icon span {
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  transition: transform .35s, background .35s;
}

.accordion-icon span:last-child { transform: rotate(90deg); }

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
  background: var(--red);
  border-color: var(--red);
}

.accordion-item.is-open .accordion-icon span { background: #fff; }
.accordion-item.is-open .accordion-icon span:last-child { transform: rotate(0); }

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1), visibility .55s;
}

.accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
  visibility: visible;
}

.accordion-inner {
  min-height: 0;
  overflow: hidden;
}

.solution-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  align-items: center;
  gap: 6%;
  padding: 32px;
  border-top: 1px solid var(--line);
}

.solution-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 390px;
  overflow: hidden;
  border-radius: 10px;
  background: #f3f6fa;
}

.solution-visual img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  transition: transform .7s;
}

.accordion-item.is-open .solution-visual:hover img {
  transform: scale(1.035);
}

.spp-visual {
  min-height: 370px;
  background: #e9eef5;
}

.scan-visual { min-height: 480px; }

.scan-visual img {
  width: auto;
  max-width: 100%;
  max-height: 510px;
}

.spooling-visual {
  min-height: 370px;
  background: #fff;
}

.spooling-visual img { max-height: 540px; }

.solution-content h4 {
  margin: 0 0 20px;
  font-size: clamp(2rem,3vw,3.2rem);
  overflow-wrap: anywhere;
}

.solution-subtitle {
  margin-bottom: 20px;
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
}

.solution-content > p:not(.solution-subtitle) { font-size: 15px; }

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
}

.benefits li {
  position: relative;
  padding: 10px 0 10px 27px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.benefits li::before {
  content: "✓";
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

.section-dark .section-header h2 .heading-ink { color: #fff; }
.section-dark .section-header h2 span:not(.heading-ink) { color: #ff5b6b; }

/* APPROACH */

.approach-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0 135px;
  background: radial-gradient(circle at 95% 0%,rgba(25,65,105,.3),transparent 40%), #081a31;
}

.approach-section .section-header { margin-bottom: 95px; }
.approach-description { color: #b9c9d9; }

.method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  --timeline-progress: 0%;
}

.timeline-track {
  position: absolute;
  top: 27px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 2px;
  background: rgba(255,255,255,.2);
  pointer-events: none;
}

.timeline-progress {
  display: block;
  width: var(--timeline-progress);
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 15px rgba(230,52,72,.35);
}

.timeline-step {
  position: relative;
  min-width: 0;
  padding: 0 28px;
  opacity: .45;
  transform: translateY(18px);
  transition: opacity .55s, transform .55s;
}

.timeline-step.is-active {
  opacity: 1;
  transform: translateY(0);
}

.timeline-marker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 38px;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 50%;
  background: #102943;
  color: #c7d5e4;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 0 8px #081a31;
  transition: background .45s, border-color .45s, transform .45s;
}

.timeline-step.is-active .timeline-marker {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.timeline-step.is-active:hover .timeline-marker { transform: scale(1.08); }

.timeline-content {
  max-width: 320px;
  margin: 0 auto;
  text-align: center;
}

.timeline-label {
  display: block;
  margin-bottom: 14px;
  color: #ff697a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.timeline-content h3 {
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(23px,2.4vw,31px);
}

.timeline-content p {
  margin-bottom: 0;
  color: #b9c9d9;
  font-size: 15px;
  line-height: 1.8;
}

/* CTA */

.cta-band {
  padding: 80px 0;
  color: #fff;
  background: linear-gradient(105deg,#e63648,#ad1d35);
}

.cta-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}

.cta-band .eyebrow { color: #ffe4e7; }

.cta-layout h2 {
  margin-bottom: 0;
  font-size: clamp(2rem,3.8vw,3.7rem);
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,.83fr) minmax(0,1.17fr);
  gap: 9%;
}

.contact-info h3 {
  margin-bottom: 20px;
  font-size: 27px;
}

.contact-info > p { max-width: 390px; }

.info-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.info-row small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.info-row strong,
.info-row a {
  font-size: 16px;
  font-weight: 700;
}

.info-row a:hover { color: var(--red); }

.contact-info .demo-note {
  max-width: 400px;
  margin-top: 28px;
  padding: 15px 17px;
  border-left: 3px solid var(--red);
  background: #fff;
  font-size: 13px;
}

.contact-form {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(8,26,49,.05);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 19px;
  font-size: 13px;
  font-weight: 800;
}

.form-two {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: none;
  color: var(--ink);
  background: #fbfcfe;
  font-weight: 400;
}

.contact-form textarea {
  resize: vertical;
  min-height: 125px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,52,72,.1);
}

.form-status {
  margin-bottom: 0;
  font-size: 13px;
  font-weight: 700;
}

/* FOOTER */

.footer {
  padding: 68px 0 22px;
  background: #061426;
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 55px;
}

.footer-identity p {
  max-width: 330px;
  margin-top: 25px;
  color: #a6b8ce;
  font-size: 14px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col h3 {
  margin-bottom: 6px;
  font-size: 15px;
}

.footer-col a {
  color: #a6b8ce;
  font-size: 13px;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 23px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: #90a4bc;
  font-size: 12px;
}

/* REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s, transform .7s;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  .nav { gap: 12px; }
  .logo { width: 165px; }
  .site-header.scrolled .logo { width: 145px; }
  .menu { gap: 11px; }
  .nav-links { gap: 11px; }

  .menu-link,
  .menu-cta { font-size: 11px; }

  .menu-cta { padding: 11px 12px; }
  .lang-btn { padding: 5px 6px; }
}

@media (max-width: 950px) {
  html { scroll-padding-top: 90px; }
  .section { padding: 80px 0; }

  .nav,
  .site-header.scrolled .nav { min-height: 82px; }

  .logo,
  .site-header.scrolled .logo {
    width: 145px;
    height: 65px;
  }

  .menu-toggle { display: flex; }

  .menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 17px 25px 26px;
    background: rgba(8,26,49,.98);
    box-shadow: 0 25px 30px rgba(0,0,0,.18);
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .menu.open { display: flex; }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .menu-link {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: 14px;
  }

  .menu-link.active { color: #ff7180; }
  .nav-indicator { display: none; }

  .menu-cta {
    justify-content: center;
    margin-top: 12px;
    font-size: 13px;
  }

  .language-switch {
    align-self: flex-start;
    margin-top: 15px;
  }

  .lang-btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero-layout {
    min-height: 740px;
    padding-top: 160px;
    gap: 110px;
  }

  .hero h1 { font-size: clamp(3.1rem,9vw,5.3rem); }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-visual img { height: 390px; }
  .expertises-cards { grid-template-columns: 1fr; }
  .expertise-box { min-height: 270px; }

  .accordion-trigger {
    min-height: 96px;
    padding: 20px;
    gap: 18px;
  }

  .solution-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .solution-visual,
  .scan-visual,
  .spooling-visual { min-height: 0; }

  .solution-visual img { max-height: 480px; }

  .cta-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .footer-identity { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .approach-section .section-header { margin-bottom: 60px; }

  .method-timeline {
    display: flex;
    flex-direction: column;
    gap: 44px;
  }

  .timeline-track {
    top: 28px;
    bottom: 28px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline-progress {
    width: 100%;
    height: var(--timeline-progress);
  }

  .timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    padding: 0;
  }

  .timeline-marker {
    flex: 0 0 56px;
    margin: 0;
  }

  .timeline-content {
    max-width: none;
    margin: 0;
    padding-top: 5px;
    text-align: left;
  }

  .timeline-label { margin-bottom: 8px; }

  .timeline-content h3 {
    margin-bottom: 10px;
    font-size: 25px;
  }

  .timeline-content p { font-size: 14px; }
}

@media (max-width: 600px) {
  .expertises-section { padding: 75px 0; }
  .expertises-heading h2 br { display: none; }
  .expertises-heading h2 { font-size: 2.4rem; }
  .expertises-heading p { font-size: 14px; }
  .expertise-box { padding: 27px 24px; }

  .expertises-footer {
    flex-direction: column;
    gap: 6px;
  }
}

/* SMALL SCREENS */

@media (max-width: 520px) {
  .container { width: calc(100% - 32px); }

  .hero-layout {
    min-height: 740px;
    padding-top: 148px;
    gap: 90px;
  }

  .hero h1 { font-size: clamp(2.6rem,10vw,3.8rem); }

  .hero-eyebrow {
    padding-left: 12px;
    font-size: 12px;
  }

  .hero-actions,
  .project-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-foot { font-size: 9px; }
  .hero-foot > span { max-width: 130px; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 2.25rem; }
  .about-visual img { height: 300px; }

  .about-visual figcaption {
    left: 12px;
    bottom: 12px;
    font-size: 9px;
  }

  .solutions-accordion { gap: 10px; }

  .accordion-trigger {
    min-height: 83px;
    padding: 16px;
    gap: 12px;
  }

  .accordion-number {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    font-size: 12px;
  }

  .accordion-title { font-size: 16px; }
  .accordion-description { font-size: 11px; }

  .accordion-icon {
    width: 35px;
    height: 35px;
    flex-basis: 35px;
  }

  .solution-layout {
    padding: 16px;
    gap: 24px;
  }

  .solution-content h4 { font-size: 2rem; }
  .solution-visual img { max-height: 390px; }

  .form-two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form { padding: 22px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-identity { grid-column: auto; }
}

/* ACCESSIBILITY */

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

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

  .hero-intro .cinematic-eyebrow,
  .hero-intro .title-line-inner,
  .hero-intro .cinematic-description,
  .hero-intro .cinematic-actions,
  .cinematic-footer,
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-intro .cinematic-eyebrow {
    border-left-color: var(--red);
  }

  .timeline-step {
    opacity: 1;
    transform: none;
  }
}

/* PREMIUM HOVER EFFECTS */

@media (hover: hover) and (pointer: fine) {
  .premium-magnetic {
    transition: translate .42s cubic-bezier(.22,1,.36,1), transform .3s cubic-bezier(.22,1,.36,1), background-color .3s ease, color .3s ease, box-shadow .3s ease;
    will-change: translate;
  }

  .expertise-box { isolation: isolate; }

  .expertise-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(340px circle at var(--premium-x, 50%) var(--premium-y, 50%), rgba(230,52,72,.13), rgba(230,52,72,.045) 43%, transparent 72%);
    opacity: 0;
    transition: opacity .4s ease;
  }

  .expertise-box:hover::after { opacity: 1; }

  .expertise-box > * {
    position: relative;
    z-index: 1;
  }

  .expertise-box:hover {
    transform: translateY(-7px);
    border-color: rgba(230,52,72,.36);
    box-shadow: 0 24px 52px rgba(8,26,49,.12);
  }

  .premium-project-image {
    position: relative;
    cursor: pointer;
  }

  .premium-project-image img {
    transition: transform .75s cubic-bezier(.22,1,.36,1), filter .45s ease;
  }

  .accordion-item.is-open .premium-project-image:hover img {
    transform: scale(1.045);
    filter: brightness(.92);
  }



  .text-action,
  .hero-foot a,
  .footer-links a {
    transition: color .28s ease, letter-spacing .28s ease;
  }

  .text-action:hover,
  .hero-foot a:hover {
    letter-spacing: .02em;
  }

  .text-action > span[aria-hidden="true"],
  .hero-foot a > span[aria-hidden="true"] {
    display: inline-block;
    transition: transform .32s cubic-bezier(.22,1,.36,1);
  }

  .text-action:hover > span[aria-hidden="true"] {
    transform: translate(4px,-3px);
  }

  .hero-foot a:hover > span[aria-hidden="true"] {
    transform: translateY(4px);
  }
}

/* PROJECT LIGHTBOX */

.premium-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 35px;
  background: rgba(4,14,29,.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.premium-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.premium-lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
}

.premium-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 75vh;
  margin: 0 auto;
  border-radius: 6px;
  object-fit: contain;
  box-shadow: 0 24px 65px rgba(0,0,0,.32);
}

.premium-lightbox-caption {
  margin: 16px auto 0;
  color: #edf3fa;
  text-align: center;
  font-size: 13px;
}

.premium-lightbox-close {
  position: absolute;
  right: 0;
  top: -52px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s ease;
}

.premium-lightbox-close:hover { background: #e63448; }

body.premium-lightbox-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .premium-magnetic { translate: none !important; }
  .premium-lightbox { transition: none !important; }
}

/* NOUVELLE BARRE BLEU-GRIS AU DÉFILEMENT */

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(218,230,243,.97);
  border-bottom: 1px solid rgba(8,26,49,.12);
  box-shadow: 0 8px 30px rgba(8,26,49,.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* LOGO OFFICIEL INCHANGÉ */

.site-header.scrolled .logo,
.site-header.menu-open .logo {
  filter: none;
}

/* MENU FONCÉ SUR FOND CLAIR */

.site-header.scrolled .menu-link,
.site-header.menu-open .menu-link {
  color: #142640;
}

.site-header.scrolled .menu-link:hover,
.site-header.scrolled .menu-link.active,
.site-header.menu-open .menu-link:hover,
.site-header.menu-open .menu-link.active {
  color: #e63448;
}

/* SÉLECTEUR DE LANGUE */

.site-header.scrolled .language-switch,
.site-header.menu-open .language-switch {
  border-color: rgba(8,26,49,.18);
  background: rgba(8,26,49,.05);
}

.site-header.scrolled .lang-btn,
.site-header.menu-open .lang-btn {
  color: #142640;
}

.site-header.scrolled .lang-btn:hover,
.site-header.menu-open .lang-btn:hover {
  color: #e63448;
}

.site-header.scrolled .lang-btn.active,
.site-header.menu-open .lang-btn.active {
  background: var(--red);
  color: #fff;
}

.site-header.scrolled .lang-separator,
.site-header.menu-open .lang-separator {
  background: rgba(8,26,49,.18);
}

/* MENU MOBILE BLEU-GRIS */

@media (max-width: 950px) {
  .site-header.scrolled .menu,
  .site-header.menu-open .menu {
    background: rgba(218,230,243,.99);
  }

  .site-header.scrolled .menu-toggle span,
  .site-header.menu-open .menu-toggle span {
    background: #142640;
  }

  .site-header.scrolled .menu-link,
  .site-header.menu-open .menu-link {
    border-bottom-color: rgba(8,26,49,.12);
  }
}

/* ALTERNANCE DES COULEURS NUCLIA */

/* À propos : blanc */
#about,
#apropos {
  background: #ffffff;
}

/* Expertises : bleu marine NUCLIA */
#expertises,
.expertises-section {
  background: #081a31;
}

/* Projets : blanc */
#projects,
#projets {
  background: #ffffff;
}

/* Notre approche : bleu marine NUCLIA */
#approach,
.approach-section {
  background: #081a31;
}

/* Contact : bleu marine NUCLIA */
#contact {
  background: #081a31;
}

/* EXPERTISES : TEXTES SUR FOND BLEU MARINE */

.expertises-section .expertises-heading h2 {
  color: #ffffff;
}

.expertises-section .expertises-heading p {
  color: #c5d3e3;
}

.expertises-section .expertises-label {
  color: #a8bad0;
}

/* On conserve les textes foncés dans les cartes blanches */

.expertises-section .expertise-box h3 {
  color: #10243f;
}

.expertises-section .expertise-box p {
  color: #66788d;
}


/* SECTION CONTACT : FOND BLANC */

#contact {
  background: #ffffff !important;
}

/* Grand titre */
#contact .section-header h2,
#contact .section-header h2 .heading-ink {
  color: #10243f !important;
}

/* On conserve les mots rouges */
#contact .section-header h2 span:not(.heading-ink) {
  color: #e63448 !important;
}

/* Description sous le titre */
#contact .section-header p {
  color: #66788d !important;
}

/* Textes à gauche */
#contact .contact-info h3,
#contact .contact-info strong,
#contact .contact-info a {
  color: #10243f !important;
}

#contact .contact-info > p,
#contact .info-row small {
  color: #66788d !important;
}

/* Formulaire blanc */
#contact .contact-form {
  background: #ffffff;
  border: 1px solid #dfe6ee;
  box-shadow: 0 15px 40px rgba(8, 26, 49, 0.08);
}

/* Textes du formulaire */
#contact .contact-form label {
  color: #10243f;
}

/* Champs */
#contact .contact-form input,
#contact .contact-form textarea,
#contact .contact-form select {
  background: #f8fafc;
  color: #10243f;
  border: 1px solid #dfe6ee;
}

/* Encadré d'information */
#contact .demo-note {
  background: #f5f7fa;
  color: #66788d;
  border-left: 3px solid #e63448;
}

/* FOOTER : LOGO NUCLIA PLUS VISIBLE */

/* Logo et nom côte à côte */
.footer-identity .logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

/* Taille du logo officiel */
.footer-identity .logo {
  width: 100px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.15));
}

/* Nom de l'entreprise en blanc */
.footer-identity .logo-link::after {
  content: "NUCLIA";
  color: #ffffff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Adaptation sur téléphone */
@media (max-width: 600px) {
  .footer-identity .logo-link::after {
    font-size: 27px;
  }

  .footer-identity .logo {
    width: 80px;
    height: 90px;
  }
}

/* ==========================================
   NUCLIA - TIMELINE INTERACTIVE
   SECTION : NOTRE APPROCHE
   ========================================== */

/* Les étapes restent visibles et alignées */
#methodTimeline.timeline-interactive .timeline-step {
  opacity: 1 !important;
  transform: none !important;
}

/* Cercles cliquables */
#methodTimeline.timeline-interactive .timeline-marker {
  cursor: pointer;
  margin-bottom: 0;
  background: #102943;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #c7d5e4;
  transform: scale(1);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* Effet au survol */
#methodTimeline.timeline-interactive .timeline-marker:not([aria-disabled="true"]):hover {
  transform: scale(1.12);
  border-color: #e63448;
  color: #ffffff;
  box-shadow:
    0 0 0 8px #081a31,
    0 0 25px rgba(230, 52, 72, 0.25);
}

/* Cercle sélectionné */
#methodTimeline.timeline-interactive
.timeline-step.is-selected .timeline-marker {
  background: #e63448;
  border-color: #e63448;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow:
    0 0 0 8px #081a31,
    0 0 28px rgba(230, 52, 72, 0.35);
}

/* Accessibilité clavier */
#methodTimeline.timeline-interactive
.timeline-marker:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

/* Contenu masqué au départ */
#methodTimeline.timeline-interactive .timeline-content {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    max-height 0.55s cubic-bezier(.22, 1, .36, 1),
    margin-top 0.45s ease,
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(.22, 1, .36, 1),
    visibility 0.5s;
}

/* Apparition au clic */
#methodTimeline.timeline-interactive
.timeline-step.is-selected .timeline-content {
  max-height: 300px;
  margin-top: 38px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Titres */
#methodTimeline.timeline-interactive .timeline-content h3 {
  color: #ffffff;
}

/* Descriptions */
#methodTimeline.timeline-interactive .timeline-content p {
  color: #b9c9d9;
}

/* Libellés rouges */
#methodTimeline.timeline-interactive .timeline-label {
  color: #ff697a;
}

/* Progression rouge contrôlée par le clic */
#methodTimeline.timeline-interactive .timeline-progress {
  width: 0 !important;
  transition: width 0.6s cubic-bezier(.22, 1, .36, 1);
}

#methodTimeline.timeline-interactive[data-selected="1"]
.timeline-progress {
  width: 50% !important;
}

#methodTimeline.timeline-interactive[data-selected="2"]
.timeline-progress {
  width: 100% !important;
}

/* Adaptation mobile */
@media (max-width: 700px) {
  #methodTimeline.timeline-interactive .timeline-step {
    align-items: flex-start;
  }

  #methodTimeline.timeline-interactive .timeline-marker {
    flex-shrink: 0;
  }

  #methodTimeline.timeline-interactive .timeline-content {
    margin-top: 0;
    padding-top: 0;
  }

  #methodTimeline.timeline-interactive
  .timeline-step.is-selected .timeline-content {
    margin-top: 0;
    padding-top: 5px;
    max-height: 350px;
  }

  #methodTimeline.timeline-interactive .timeline-progress {
    width: 100% !important;
    height: 0 !important;
    transition: height 0.6s cubic-bezier(.22, 1, .36, 1);
  }

  #methodTimeline.timeline-interactive[data-selected="1"]
  .timeline-progress {
    height: 50% !important;
  }

  #methodTimeline.timeline-interactive[data-selected="2"]
  .timeline-progress {
    height: 100% !important;
  }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  #methodTimeline.timeline-interactive .timeline-marker,
  #methodTimeline.timeline-interactive .timeline-content,
  #methodTimeline.timeline-interactive .timeline-progress {
    transition: none !important;
  }
}

/* ==========================================
   NUCLIA - FINITIONS PREMIUM
   APPARITIONS + RETOUR EN HAUT
   ========================================== */

/* Apparitions progressives des éléments */
.nuclia-polish {
  opacity: 0;
  transform: translateY(30px);
}

.nuclia-polish.is-shown {
  animation: nucliaPolishIn 0.85s
    cubic-bezier(.22, 1, .36, 1) both;
  animation-delay: var(--polish-delay, 0ms);
}

@keyframes nucliaPolishIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Décalage subtil des éléments déjà animés */
.expertises-cards > .reveal:nth-child(2),
.solutions-accordion > .reveal:nth-child(2) {
  transition-delay: 110ms;
}

.expertises-cards > .reveal:nth-child(3),
.solutions-accordion > .reveal:nth-child(3) {
  transition-delay: 220ms;
}

/* BOUTON RETOUR EN HAUT */

.nuclia-back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 900;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 54px;
  height: 54px;

  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;

  background: #e63448;
  color: #ffffff;

  box-shadow:
    0 10px 30px rgba(230,52,72,.25),
    0 4px 15px rgba(8,26,49,.15);

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(22px) scale(.85);

  transition:
    opacity .35s ease,
    visibility .35s ease,
    transform .45s cubic-bezier(.22,1,.36,1),
    background .3s ease,
    box-shadow .3s ease;
}

/* Apparition après défilement */
.nuclia-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Icône */
.nuclia-back-to-top svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition: transform .3s ease;
}

/* Survol */
.nuclia-back-to-top:hover {
  background: #c72539;
  transform: translateY(-5px) scale(1.04);

  box-shadow:
    0 16px 38px rgba(230,52,72,.32),
    0 6px 18px rgba(8,26,49,.18);
}

.nuclia-back-to-top:hover svg {
  transform: translateY(-3px);
}

/* Clic */
.nuclia-back-to-top:active {
  transform: scale(.95);
}

/* Focus clavier */
.nuclia-back-to-top:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

/* Adaptation téléphone */
@media (max-width: 600px) {
  .nuclia-back-to-top {
    width: 46px;
    height: 46px;
    right: 17px;
    bottom: 20px;
    border-radius: 13px;
  }

  .nuclia-back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Accessibilité : mouvements réduits */
@media (prefers-reduced-motion: reduce) {
  .nuclia-polish {
    opacity: 1 !important;
    transform: none !important;
  }

  .nuclia-polish.is-shown {
    animation: none !important;
  }

  .nuclia-back-to-top {
    transition: none !important;
  }
}

/* Etapes verrouillees jusqu'a l'ouverture de la precedente. */
#methodTimeline.timeline-interactive .timeline-marker[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .4;
}

/* Contact signature */
#contact .contact-motto {
  margin: 38px 0 0;
  max-width: 400px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(20px, 1.7vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.025em;
  color: #102943;
}

#contact .contact-motto-accent {
  color: var(--red);
}

.project-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.project-contact-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-contact-link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }

/* Selected solution in the contact form */
.contact-project-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 24px;
  border-left: 3px solid var(--red);
  border-radius: 4px;
  background: #f5f7fa;
}
.contact-project-context[hidden] { display: none; }
.contact-project-context p { margin: 0; font-size: 14px; color: #102943; }
.contact-project-context strong { display: block; margin-top: 4px; }
.contact-project-context button { background: transparent; border: 0; color: var(--red); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; }

.contact-form label[hidden] { display: none; }

/* Keep anchor destinations clear of the fixed navigation. */
html { scroll-padding-top: calc(var(--navigation-height, 90px) + 16px); }
@media (max-width: 950px) {
  .menu {
    top: var(--navigation-height, 82px);
    max-height: calc(100dvh - var(--navigation-height, 82px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Subtle photo preview hint. */
.project-image-caption { display: none; }
.premium-project-image { position: relative; cursor: pointer; }
.premium-project-image .project-image-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  padding: 16px 20px;
  background: rgba(8,26,49,.9);
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.project-image-caption strong { font-size: 14px; }
.project-image-caption > span { font-size: 12px; color: #d8e4f1; }
.premium-project-image:hover .project-image-caption,
.premium-project-image:focus-visible .project-image-caption {
  opacity: 1;
  transform: none;
}
@media (hover: none) {
  .premium-project-image .project-image-caption { position: relative; opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .premium-project-image .project-image-caption { transition: none; transform: none; }
}

.contact-draft-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 16px; font-size: 12px; color: var(--muted); }
.contact-draft-tools[hidden] { display: none; }
.contact-draft-tools button { border: 0; padding: 4px 0; background: transparent; font: inherit; color: var(--red); text-decoration: underline; cursor: pointer; }

.phone-field > label { display: block; margin-bottom: 8px; }
.phone-input-group { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px; }
.phone-input-group > * { min-width: 0; width: 100%; }
@media (max-width: 520px) { .phone-input-group { grid-template-columns: 1fr; } }

.phone-input-group > select[hidden] { display: none; }
.country-picker { position: relative; min-width: 0; }
.country-picker-trigger { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 51px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 5px; background: #f7f9fb; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.country-picker-trigger > span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-picker-trigger::after { content: ''; width: 7px; height: 7px; border-right: 2px solid #66788d; border-bottom: 2px solid #66788d; transform: rotate(45deg); transition: transform .2s; }
.country-picker.is-open .country-picker-trigger::after { transform: rotate(225deg); }
.country-picker img { flex: 0 0 24px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.country-picker-panel { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: max(100%, 280px); max-width: calc(100vw - 72px); padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 16px 45px rgba(8,26,49,.16); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.country-picker.is-open .country-picker-panel { opacity: 1; visibility: visible; transform: none; }
.country-picker-panel input { font-size: 13px; padding: 10px 12px; margin-bottom: 8px; }
.country-picker-list { max-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
.country-picker-option { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 10px; border: 0; border-radius: 6px; background: transparent; font: inherit; font-size: 13px; text-align: left; color: var(--ink); cursor: pointer; }
.country-picker-option:hover, .country-picker-option:focus-visible { background: #f0f4f9; }
.country-picker-option[aria-pressed="true"] { background: #fff0f2; color: #c72539; font-weight: 700; }
.country-picker-trigger:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .country-picker-panel, .country-picker-trigger::after { transition: none; } }

/* Subtle sending feedback and drawn success check. */
.form-status[data-status] { display: flex; align-items: center; gap: 10px; }
.form-status[data-status="sending"]::before {
  content: ''; flex: 0 0 16px; width: 16px; height: 16px;
  border: 2px solid #dfe6ee; border-top-color: var(--red); border-radius: 50%;
  animation: form-spin .85s linear infinite;
}
.form-status[data-status="success"] {
  padding: 13px 15px; margin-top: 18px; border-radius: 7px;
  background: #edf8f1; animation: form-feedback-in .25s ease-out;
}
.form-success-icon { width: 28px; height: 28px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: #d5efdf; }
.form-success-icon path { fill: none; stroke: #187848; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 28; stroke-dashoffset: 0; animation: form-check .45s ease-out both; }
#contactForm button[type="submit"]:disabled { opacity: .65; cursor: wait; }
#contactForm .contact-submit { position: relative; min-width: min(224px,100%); max-width: 100%; overflow: hidden; gap: 12px; }
#contactForm .contact-submit > .contact-submit-icon { position: relative; display: block; flex: 0 0 20px; width: 20px; height: 20px; transform: none; }
.contact-submit-icon svg { position: absolute; inset: 0; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.submit-arrow { transition: transform .25s ease; }
.submit-check { opacity: 0; }
.submit-spinner { display: none; position: absolute; inset: 2px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; }
#contactForm .contact-submit[data-state="sending"] { opacity: 1; }
.contact-submit[data-state="sending"] .submit-arrow,
.contact-submit[data-state="success"] .submit-arrow { opacity: 0; }
.contact-submit[data-state="sending"] .submit-spinner { display: block; animation: form-spin .8s linear infinite, submit-spinner-in .15s .3s both; }
.contact-submit[data-state="success"] .submit-check { opacity: 1; }
.contact-submit[data-state="success"] .submit-check path { stroke-dasharray: 28; stroke-dashoffset: 0; animation: form-check .4s ease-out both; }
@keyframes submit-spinner-in { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) {
  .contact-submit:is([data-state="idle"],[data-state="error"]):hover .submit-arrow { transform: translate(2px,-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .submit-arrow { transition: none; }
  .contact-submit:is([data-state="idle"],[data-state="error"]):hover .submit-arrow { transform: none; }
  .contact-submit[data-state="sending"] .submit-spinner,
  .contact-submit[data-state="success"] .submit-check path { animation: none; }
}
@keyframes form-spin { to { transform: rotate(360deg); } }
@keyframes form-check { from { stroke-dashoffset: 28; } to { stroke-dashoffset: 0; } }
@keyframes form-feedback-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .form-status[data-status="sending"]::before, .form-status[data-status="success"], .form-success-icon path { animation: none; }
}

.contact-form .field-error { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; color: #b42318; }
.contact-form .field-error[hidden] { display: none; }
.contact-form [aria-invalid="true"] { border-color: #b42318; }

/* One gentle pulse and staggered text on step opening. */
@media (prefers-reduced-motion: no-preference) {
  #methodTimeline.timeline-interactive .timeline-step.is-selected .timeline-marker {
    animation: method-marker-pulse .48s ease-out;
  }
  #methodTimeline.timeline-interactive .timeline-step.is-selected .timeline-content > * {
    animation: method-text-in .42s ease-out both;
  }
  #methodTimeline.timeline-interactive .timeline-step.is-selected .timeline-content > :nth-child(2) { animation-delay: .07s; }
  #methodTimeline.timeline-interactive .timeline-step.is-selected .timeline-content > :nth-child(3) { animation-delay: .14s; }
}
@keyframes method-marker-pulse {
  0% { transform: scale(1); }
  45% { transform: scale(1.16); }
  100% { transform: scale(1.08); }
}
@keyframes method-text-in {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Two-tone expertise icons. */
.expertise-icon { border-radius: 12px; border: 1px solid #e3eaf3; background: #f2f5f9; }
.expertise-icon .expertise-icon-accent { stroke: var(--red); }
.expertise-box:hover .expertise-icon { color: #193e68; }

/* Consistent primary button feedback. */
.btn, .menu-cta {
  transition: transform .22s ease, background-color .22s ease, color .22s ease, box-shadow .22s ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover, .menu-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8,26,49,.16);
  }
  .btn-red:not(:disabled):hover, .menu-cta:hover {
    box-shadow: 0 8px 20px rgba(230,52,72,.2);
  }
}
.btn:not(:disabled):active, .menu-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(8,26,49,.12);
}
.btn:focus-visible, .menu-cta:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.btn:disabled { transform: none; box-shadow: none; }
.btn:disabled > span[aria-hidden="true"] { transform: none; }
@media (hover: none) {
  .btn:hover, .menu-cta:hover { transform: none; box-shadow: none; }
  .btn:hover > span[aria-hidden="true"] { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .menu-cta, .btn > span[aria-hidden="true"], .menu-cta::before { transition: none; }
  .btn:hover, .menu-cta:hover, .btn:active, .menu-cta:active { transform: none; }
  .btn:hover > span[aria-hidden="true"] { transform: none; }
}

/* Custom subject dropdown */
.subject-field > select[hidden] { display: none; }
.subject-picker { position: relative; width: 100%; }
.subject-picker-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 7px; background: #f7f9fb; color: #66788d; font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.subject-picker-trigger.has-value { color: var(--ink); }
.subject-picker-trigger::after { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
.subject-picker.is-open .subject-picker-trigger { border-color: var(--red); box-shadow: 0 0 0 3px rgba(230,52,72,.08); }
.subject-picker.is-open .subject-picker-trigger::after { transform: rotate(225deg); }
.subject-picker-options { position: absolute; z-index: 25; top: calc(100% + 8px); left: 0; right: 0; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 14px 35px rgba(8,26,49,.14); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.subject-picker.is-open .subject-picker-options { opacity: 1; visibility: visible; transform: none; }
.subject-picker-option { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 10px; padding: 12px 14px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.subject-picker-option:hover, .subject-picker-option:focus { outline: none; background: #f0f4f9; }
.subject-picker-option[aria-selected="true"] { background: #fff0f2; color: #c72539; }
.subject-picker-option[aria-selected="true"]::after { content: ''; width: 6px; height: 11px; margin-right: 3px; border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
.subject-picker-trigger:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .subject-picker-trigger, .subject-picker-trigger::after, .subject-picker-options { transition: none; } }

.contact-form .subject-field[hidden] { display: none; }
.contact-form .subject-field > span { display: block; margin-bottom: 8px; }


/* Faint engineering grid behind the approach section. */
.approach-section { isolation: isolate; }
.approach-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(149,180,210,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(149,180,210,.065) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 65% 50%, #000 15%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 65% 50%, #000 15%, transparent 85%);
}
.approach-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(25,65,105,.22), transparent 60%);
}

/* Match the approach heading to the current open step. */
#approche .section-header h2 .approach-title-word { color: #fff; transition: color .3s ease; }
#approche .section-header h2 .approach-title-word.is-current { color: #ff5b6b; }
@media (prefers-reduced-motion: reduce) { #approche .section-header h2 .approach-title-word { transition: none; } }

/* A short sentence follows the selected approach step. */
.approach-step-caption { display: grid; margin-top: 18px; min-height: 30px; }
.approach-step-caption > span { grid-area: 1 / 1; color: #eef4fc; font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.approach-step-caption > span.is-current { opacity: 1; visibility: visible; transform: none; }
@media (prefers-reduced-motion: reduce) { .approach-step-caption > span { transition: none; transform: none; } }

/* Refined footer layout. */
.footer { border-top: 2px solid var(--red); padding: 72px 0 28px; background: #061426; }
.footer .footer-top { grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, .7fr); align-items: start; gap: 48px; padding-bottom: 56px; }
.footer .footer-identity { grid-column: auto; min-width: 0; }
.footer .footer-identity .logo { width: 68px; height: 78px; }
.footer .footer-identity .logo-link { gap: 14px; }
.footer .footer-identity .logo-link::after { font-size: 28px; letter-spacing: .09em; }
.footer .footer-identity p { max-width: 280px; margin: 24px 0 0; font-size: 13px; line-height: 1.9; }
.footer .footer-col { min-width: 0; gap: 8px; padding-top: 10px; align-items: flex-start; }
.footer .footer-col h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; color: #edf3fa; }
.footer .footer-col a { display: inline-flex; align-items: center; max-width: 100%; min-height: 34px; padding: 5px 0; font-size: 13px; line-height: 1.7; transition: color .2s; }
.footer .footer-col a:hover { color: #ff7180; }
.footer .footer-bottom { align-items: center; border-color: rgba(166,184,206,.16); padding-top: 24px; gap: 14px 28px; font-size: 11px; line-height: 1.8; color: #91a5bd; }
@media (max-width: 1050px) {
  .footer .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 56px; }
  .footer .footer-identity { grid-column: auto; }
  .footer .footer-identity p { max-width: 310px; }
}
@media (max-width: 540px) {
  .footer { padding: 48px 0 24px; }
  .footer .footer-top { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 40px; }
  .footer .footer-col { gap: 8px; padding-top: 0; }
  .footer .footer-col h3 { margin-bottom: 12px; }
  .footer .footer-col a { min-height: 36px; }
  .footer .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}


/* Decorative expertise numbering, clear of the text. */
.expertise-box .expertise-watermark {
  position: absolute;
  top: 12px;
  right: 20px;
  z-index: 0;
  font-family: "Manrope", sans-serif;
  font-size: 108px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.07em;
  color: rgba(25,62,104,.075);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 520px) { .expertise-box .expertise-watermark { font-size: 90px; right: 18px; } }

/* Expertise cards follow the visitor's scroll instead of a timed animation. */
@media (prefers-reduced-motion: no-preference) {
  .expertises-cards > .expertise-box.reveal.scroll-reveal {
    animation: none;
    opacity: clamp(.5, calc(.5 + var(--expertise-progress, 0) * 1.5), 1);
    translate: calc((1 - var(--expertise-progress, 0)) * 110px) 0;
    transform: none;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    transition-delay: 0s;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .expertises-cards > .expertise-box.reveal.scroll-reveal:hover { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .expertises-cards > .expertise-box.reveal.scroll-reveal { opacity: 1; translate: none; transform: none; animation: none; }
}

/* Contain the horizontal entrance within the expertise section. */
.expertises-section { overflow-x: clip; }



/* Mobile project photos: complete visuals, compact frames and a separate caption. */
@media (max-width: 950px) {
  #projets .solution-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border: 1px solid #e3eaf2;
    border-radius: 9px;
    background: #f3f6fa;
  }
  #projets .solution-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    object-position: center;
  }
  #projets .scan-visual img {
    height: clamp(260px, 62vw, 380px);
    object-fit: contain;
    background: #102033;
  }
  #projets .spooling-visual { background: #fff; }
  #projets .premium-project-image .project-image-caption {
    position: static;
    width: 100%;
    padding: 11px 14px;
    gap: 3px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: #102943;
  }
  #projets .project-image-caption strong { font-size: 12px; }
  #projets .project-image-caption > span { font-size: 11px; }
}
@media (hover: none) {
  #projets .accordion-item.is-open .solution-visual:hover img { transform: none; filter: none; }
}



/* Gentle press feedback on project headers. */
#projets .accordion-trigger {
  transition: background-color .3s ease, transform .12s ease;
  transform-origin: center;
}
#projets .accordion-trigger:active { transform: scale(.99); }
@media (prefers-reduced-motion: reduce) {
  #projets .accordion-trigger { transition: none; }
  #projets .accordion-trigger:active { transform: none; }
}



/* Project carousel: one front card and two recessed previews. */
.project-carousel { --carousel-shift: 375px; }
.project-carousel-stage {
  position: relative;
  height: 475px;
  perspective: 1400px;
  isolation: isolate;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}
.project-carousel-card {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: min(56%, 580px);
  padding: 0;
  overflow: hidden;
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 45px rgba(8,26,49,.12);
  font: inherit;
  text-align: left;
  cursor: pointer;
  backface-visibility: hidden;
  transition: transform .65s cubic-bezier(.22,1,.36,1), opacity .5s, box-shadow .5s, border-color .3s;
}
.project-carousel-card[data-position="0"] { z-index: 3; transform: translate(-50%,-50%); opacity: 1; }
.project-carousel-card[data-position="-1"] { z-index: 1; transform: translate(-50%,-50%) translateX(calc(var(--carousel-shift) * -1)) rotateY(18deg) scale(.82); opacity: .58; }
.project-carousel-card[data-position="1"] { z-index: 1; transform: translate(-50%,-50%) translateX(var(--carousel-shift)) rotateY(-18deg) scale(.82); opacity: .58; }
.project-carousel-card:hover { border-color: #8ba5bf; }
.project-carousel-card:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.project-carousel-photo { display: block; height: 245px; overflow: hidden; background: #eaf0f6; }
.project-carousel-photo img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; -webkit-user-drag: none; }
.project-carousel-photo-0 img { object-position: center 30%; }
.project-carousel-photo-1 img { object-position: center 35%; }
.project-carousel-photo-2 img { object-fit: contain; background: #f6f9fc; }
.project-carousel-card-body { display: block; padding: 21px 25px 23px; }
.project-carousel-number { display: block; margin-bottom: 9px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.project-carousel-name { display: block; min-height: 2.6em; font-family: "Manrope", sans-serif; font-size: clamp(18px, 2vw, 24px); font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.project-carousel-summary { display: block; min-height: 36px; margin-top: 8px; color: #66788d; font-size: 12px; line-height: 1.5; font-weight: 400; }
.project-carousel-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 580px; margin: 5px auto 0; }
.project-carousel-controls { display: flex; align-items: center; gap: 16px; }
.project-carousel-arrow { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid #d6e0ec; border-radius: 50%; background: #fff; color: #193e68; font-size: 22px; cursor: pointer; transition: background-color .2s, color .2s; }
.project-carousel-arrow:hover { background: #102943; color: #fff; }
.project-carousel-arrow:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.project-carousel-position { min-width: 44px; color: #637b95; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.project-carousel-discover { min-height: 46px; font-size: 12px; padding: 12px 19px; }
.projects-carousel-ready .solutions-accordion { margin-top: 30px; }
.projects-carousel-ready .accordion-item { display: none; scroll-margin-top: 16px; }
.projects-carousel-ready .accordion-item.is-carousel-current.is-open { display: block; }
@media (max-width: 950px) {
  .project-carousel { --carousel-shift: 310px; }
  .project-carousel-stage { height: 435px; }
  .project-carousel-card { width: 64%; max-width: 490px; }
  .project-carousel-photo { height: 215px; }
  .project-carousel-footer { max-width: 490px; }
}
@media (max-width: 600px) {
  .project-carousel { --carousel-shift: 64vw; }
  .project-carousel-stage { height: 360px; margin-inline: -8px; }
  .project-carousel-card { width: 78%; border-radius: 12px; }
  .project-carousel-card[data-position="-1"] { transform: translate(-50%,-50%) translateX(calc(var(--carousel-shift) * -1)) rotateY(12deg) scale(.85); }
  .project-carousel-card[data-position="1"] { transform: translate(-50%,-50%) translateX(var(--carousel-shift)) rotateY(-12deg) scale(.85); }
  .project-carousel-photo { height: 180px; }
  .project-carousel-card-body { padding: 17px 17px 19px; }
  .project-carousel-name { font-size: 18px; }
  .project-carousel-summary { font-size: 11px; min-height: 34px; }
  .project-carousel-footer { flex-wrap: wrap; justify-content: center; gap: 18px; }
  .project-carousel-controls { gap: 20px; }
  .project-carousel-discover { width: 100%; max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .project-carousel-card, .project-carousel-arrow { transition: none; }
}


/* Open the selected card into its complete project sheet. */
.projects-carousel-ready.project-detail-open .project-carousel { display: none; }
.projects-carousel-ready.project-detail-open .solutions-accordion { margin-top: 0; }
.projects-carousel-ready .accordion-content { transition: none; }
.projects-carousel-ready .solution-content { transition: opacity .35s ease, transform .35s ease; }
.project-detail-transition.project-detail-opening .solution-content { opacity: 0; transform: translateY(8px); }
::view-transition-old(root) { display: none; }
::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-group(project-photo) { animation-duration: .7s; animation-timing-function: cubic-bezier(.22,1,.36,1); }
::view-transition-old(project-photo), ::view-transition-new(project-photo) { height: 100%; border-radius: 10px; overflow: hidden; animation-duration: .7s; mix-blend-mode: normal; }
::view-transition-old(project-photo) { animation-duration: .16s; }
::view-transition-new(project-photo) { animation-duration: .24s; }
::view-transition-image-pair(project-photo) { isolation: isolate; }
@media (prefers-reduced-motion: reduce) {
  .projects-carousel-ready .solution-content { transition: none; }
}

/* A single energy pulse travels between the approach steps on selection. */
#methodTimeline.has-step-signal .timeline-step.is-selected .timeline-marker { animation: none; }
.approach-signal-ring { position: absolute; top: -11px; left: -11px; width: calc(100% + 22px); height: calc(100% + 22px); overflow: visible; pointer-events: none; opacity: 0; transform: rotate(-90deg); }
.approach-signal-ring circle { fill: none; stroke: #ff8393; stroke-width: 1.7; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.is-signal-target > .approach-signal-ring { opacity: 1; filter: drop-shadow(0 0 5px rgba(255,91,107,.3)); }
.approach-arrival-halo { position: absolute; inset: -7px; border: 1.5px solid rgba(255,121,139,.7); border-radius: 50%; pointer-events: none; }
#methodTimeline .approach-step-signal { position: absolute; z-index: 3; top: 0; left: 0; width: 0; height: 0; pointer-events: none; }
#methodTimeline .approach-step-signal[hidden] { display: none; }
.approach-step-signal::before { content: ''; position: absolute; right: 0; top: -1.5px; width: 70px; height: 3px; background: linear-gradient(90deg, transparent, #ef435a 75%, #ffd6dd); border-radius: 3px; }
.approach-step-signal::after { content: ''; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #ffe1e7; box-shadow: 0 0 8px #ff5b75, 0 0 18px rgba(239,67,90,.7); }
@media (prefers-reduced-motion: no-preference) {
  #methodTimeline.has-step-signal .timeline-step.is-selected .timeline-content > * { animation-delay: var(--approach-arrival-delay, .08s); }
  #methodTimeline.has-step-signal .timeline-step.is-selected .timeline-content > :nth-child(2) { animation-delay: calc(var(--approach-arrival-delay, .08s) + .08s); }
  #methodTimeline.has-step-signal .timeline-step.is-selected .timeline-content > :nth-child(3) { animation-delay: calc(var(--approach-arrival-delay, .08s) + .16s); }
}
@media (prefers-reduced-motion: reduce) { .approach-arrival-halo, #methodTimeline .approach-step-signal { display: none; } }

/* Step content unfolds into a card when the signal reaches its number. */
#methodTimeline.has-step-cards .timeline-content {
  position: relative;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-align: left;
  transition: max-height .55s cubic-bezier(.22,1,.36,1), margin-top .45s ease, padding .45s ease, background-color .4s ease, border-color .4s ease, opacity .35s ease, visibility .35s;
}
#methodTimeline.has-step-cards .timeline-step.is-selected .timeline-content {
  max-height: 360px;
  min-height: 194px;
  padding: 20px 18px;
  background: #0c223b;
  border-color: rgba(150,179,210,.13);
  opacity: .78;
  transform: none;
}
#methodTimeline.has-step-cards .timeline-step.is-current-step .timeline-content {
  background: #102c49;
  border-color: rgba(170,198,225,.3);
  box-shadow: 0 16px 34px rgba(0,0,0,.12);
  opacity: 1;
}
#methodTimeline.has-step-cards .timeline-content::after {
  content: '';
  position: absolute;
  top: 0;
  left: 22px;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: #ff657b;
  opacity: 0;
  transition: opacity .3s;
}
#methodTimeline.has-step-cards .is-current-step .timeline-content::after { opacity: 1; }
#methodTimeline.has-step-cards .timeline-step.is-awaiting-signal .timeline-content { opacity: 0; visibility: hidden; }
#methodTimeline.has-step-cards .timeline-content h3 { margin: 0; font-size: clamp(20px,1.6vw,24px); }
#methodTimeline.has-step-cards .timeline-card-heading { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(185,207,231,.14); }
.timeline-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(185,207,231,.25); border-radius: 9px; background: rgba(185,207,231,.04); color: #c7d7e8; transition: background .35s, border-color .35s, color .35s; }
.timeline-card-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
#methodTimeline.has-step-cards .is-current-step .timeline-card-icon { background: #ed3049; border-color: #ed3049; color: #fff; }
#methodTimeline.has-step-cards .is-current-step .timeline-content { border-color: rgba(185,207,231,.45); box-shadow: 0 15px 35px rgba(0,0,0,.16); }
#methodTimeline.has-step-cards .timeline-content::after { width: 48px; height: 3px; }
@media (hover: hover) {
  #methodTimeline.has-step-cards .is-selected .timeline-content:hover { border-color: rgba(185,207,231,.55); background: #17344f; }
}
#methodTimeline.has-step-cards .timeline-label { margin-bottom: 12px; font-size: 10px; }
#methodTimeline.has-step-cards .timeline-content p { font-size: 14px; line-height: 1.75; }
@media (max-width: 700px) {
  #methodTimeline.has-step-cards .timeline-step.is-selected .timeline-content { min-height: 0; padding: 21px 18px; }
  #methodTimeline.has-step-cards .timeline-content { max-width: calc(100% - 82px); flex: 1; }
  #methodTimeline.has-step-cards .timeline-content::after { left: 18px; }
  #methodTimeline.has-step-cards .timeline-card-heading { gap: 10px; padding-bottom: 15px; margin-bottom: 14px; }
  .timeline-card-icon { width: 30px; height: 30px; flex-basis: 30px; }
  .timeline-card-icon svg { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  #methodTimeline.has-step-cards .timeline-content, #methodTimeline.has-step-cards .timeline-content::after { transition: none; }
}
/* Security experience: open composition and a shield with a travelling light. */
.security-section { background: #fff; }
.security-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 28px; }
.security-section-heading .eyebrow { margin: 0; }
.security-heading-note { color: #8391a2; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.security-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: 58px; }
.security-copy { position: relative; z-index: 3; min-width: 0; padding: 26px 0 20px; }
.security-kicker { display: block; margin-bottom: 22px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.security-copy h2 { margin: 0 0 23px; color: var(--ink); font-size: clamp(40px,4.15vw,60px); font-weight: 800; letter-spacing: -.055em; line-height: 1.1; }
.security-title-accent { color: var(--red); }
.security-intro { max-width: 480px; margin: 0 0 26px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.security-tabs { display: flex; flex-direction: column; }
.security-tab { position: relative; display: flex; align-items: center; gap: 17px; width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; font-size: 14px; font-weight: 600; transition: color .25s; }
.security-tab:first-child { border-top: 1px solid var(--line); }
.security-tab::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: #ed5a72; transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.22,1,.36,1); }
.security-tab[aria-selected='true'] { color: var(--ink); }
.security-tab[aria-selected='true']::after { transform: scaleX(1); }
.security-tab:hover { color: var(--ink); }
.security-tab:focus-visible { outline: 2px solid #ff8a9b; outline-offset: 4px; border-radius: 2px; }
.security-tab-symbol { display: inline-flex; flex: 0 0 23px; color: #617e93; transition: color .3s; }
.security-tab-symbol svg { display: block; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.security-tab[aria-selected='true'] .security-tab-symbol { color: var(--red); }
.security-tab > svg { flex: 0 0 17px; width: 17px; height: 17px; margin-left: auto; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .35; transition: transform .35s,opacity .35s; }
.security-tab[aria-selected='true'] > svg { opacity: 1; transform: translateX(3px); }
.security-panel-stack { display: grid; padding-top: 20px; }
.security-panel { grid-area: 1/1; align-self: start; }
/* Inactive panels reserve the longest text's height and remain inert. */
.security-panel[hidden] { display: block; visibility: hidden; pointer-events: none; }
.security-panel p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.security-panel:focus-visible { outline: 1px solid #81cfe0; outline-offset: 5px; }
.security-media { position: relative; width: 100%; min-width: 0; aspect-ratio: 600/650; filter: drop-shadow(0 16px 17px rgba(8,26,49,.12)); }
.security-window { position: absolute; inset: 0; overflow: hidden; clip-path: url(#securityShieldClip); }
.security-shell { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.security-shell use { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.security-shell-base { stroke: #9fc9d8; stroke-width: 1; }
.security-shell-draw { stroke: #72cfe3; stroke-width: 1.5; stroke-dasharray: 100; stroke-dashoffset: 100; }
.security-entered .security-shell-draw { animation: security-shield-draw 1.9s cubic-bezier(.4,0,.2,1) both; }
.security-shell-light { stroke: #c3faff; stroke-width: 2.8; stroke-dasharray: 3 97; stroke-dashoffset: 100; filter: drop-shadow(0 0 4px #51cae5); animation: security-shell-travel 7s linear infinite; animation-play-state: paused; }
.security-in-view .security-shell-light { animation-play-state: running; }
.security-shell-wave { stroke: #51aac4; stroke-width: 1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.security-artboard { position: absolute; top: -2%; left: 50%; width: auto; height: 104%; aspect-ratio: 1408/768; transform: translateX(-63%) translate3d(var(--security-x,0px),var(--security-y,0px),0); transition: transform .65s cubic-bezier(.22,1,.36,1); will-change: auto; }
.security-artboard > img { width: 100%; height: 100%; max-width: none; }
.security-network { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.security-orbit-base { fill: none; stroke: #a2e2f5; stroke-width: .6; opacity: .14; }
.security-orbit { fill: none; stroke: #acf4ff; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 13 37; opacity: .7; transform-origin: 885px 400px; animation: security-orbit-turn 16s linear infinite; animation-play-state: paused; }
.security-orbit-inner { stroke: #5bd0e9; stroke-width: .7; stroke-dasharray: 4 21; opacity: .4; animation-duration: 24s; animation-direction: reverse; }
.security-shield-trace { fill: none; stroke: #ddfcff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; filter: drop-shadow(0 0 7px #5ce9ff); }
.security-entered .security-shield-trace { animation: security-shield-draw 2s .15s cubic-bezier(.4,0,.2,1) both; }
.security-packet { fill: none; stroke: #c8fbff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 7 93; stroke-dashoffset: 100; opacity: .3; filter: drop-shadow(0 0 6px #5ce9ff); animation: security-packet-travel 3.2s linear infinite; animation-play-state: paused; transition: opacity .5s; }
.security-packet-two { animation-delay: -1.1s; }
.security-packet-three { animation-delay: -2.1s; }
.security-stage[data-security-focus='0'] .security-packet-one,
.security-stage[data-security-focus='1'] .security-packet-two,
.security-stage[data-security-focus='2'] .security-packet-three { opacity: 1; }
.security-node { fill: #c2f6ff; opacity: .7; filter: drop-shadow(0 0 5px #5ce9ff); }
.security-response-ring { fill: none; stroke: #b9f5ff; stroke-width: 1.5; opacity: 0; transform-origin: 885px 400px; }
.security-entered .security-response-ring { animation: security-arrival-pulse 1.6s 1.1s ease-out both; }
.security-in-view .security-orbit,.security-in-view .security-packet { animation-play-state: running; }
.security-signature { grid-column: 1/-1; display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.security-signature-icon { display: flex; color: var(--red); }
.security-signature-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.security-signature p { margin: 0; color: var(--muted); font-size: 11px; }
.security-wordmark { margin-left: auto; color: var(--muted); font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.security-wordmark > span { padding: 0 8px; color: var(--red); }
@keyframes security-orbit-turn { to { transform: rotate(360deg); } }
@keyframes security-shield-draw { from { stroke-dashoffset: 100; opacity: 0; } 15% { opacity: 1; } to { stroke-dashoffset: 0; opacity: .85; } }
@keyframes security-packet-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes security-arrival-pulse { from { opacity: .7; transform: scale(.9); } to { opacity: 0; transform: scale(1.4); } }
@keyframes security-shell-travel { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@media (min-width: 951px) and (max-width: 1150px) {
 .security-stage { column-gap: 36px; }
 .security-copy h2 { font-size: 45px; }
 .security-intro { font-size: 13px; }
 .security-tab { font-size: 13px; gap: 12px; }
}
@media (max-width: 950px) {
 .security-stage { grid-template-columns: 1fr; row-gap: 24px; }
 .security-copy { padding: 10px 0 0; }
 .security-copy h2 { font-size: clamp(42px,7.3vw,62px); }
 .security-intro { max-width: 620px; }
 .security-media { width: min(100%,480px); justify-self: center; }
 .security-signature { margin-top: 6px; }
 .security-wordmark { display: none; }
}
@media (max-width: 520px) {
 .security-heading-note { font-size: 7px; letter-spacing: .08em; }
 .security-section-heading { gap: 12px; margin-bottom: 20px; }
 .security-copy { padding: 8px 0 0; }
 .security-kicker { font-size: 8px; margin-bottom: 19px; }
 .security-copy h2 { font-size: clamp(36px,9.4vw,47px); }
 .security-intro { font-size: 13px; line-height: 1.85; margin-bottom: 21px; }
 .security-tab { font-size: 13px; gap: 12px; padding-block: 15px; }
 .security-panel-stack { padding-top: 18px; }
 .security-panel p { font-size: 12px; }
 .security-signature { padding-top: 19px; }
 .security-signature p { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 .security-artboard { transform: translateX(-63%); transition: none; }
 .security-tab,.security-tab::after,.security-tab svg,.security-tab-number { transition: none; }
 .security-orbit,.security-packet,.security-entered .security-shield-trace,.security-entered .security-response-ring { animation: none; }
 .security-shield-trace { stroke-dashoffset: 0; opacity: .7; }
 .security-shell-light,.security-entered .security-shell-draw { animation: none; }
 .security-shell-draw { stroke-dashoffset: 0; }
}
.expertises-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 0 78px; align-items: start; }
.expertises-section .expertises-heading { position: sticky; top: 132px; margin-bottom: 0; }
.expertises-section .expertises-heading h2 { font-size: clamp(32px, 3vw, 44px); line-height: 1.16; letter-spacing: -.035em; margin-bottom: 28px; }
.expertises-section .expertises-heading h2 br { display: none; }
.expertises-section .expertises-heading h2 .expertise-title-accent { color: #ff435b; }
.expertises-section .expertises-heading h2 span[data-i18n="expertiseTitle2"] { display: block; color: #ffffff; margin-top: 10px; }
.expertises-section .expertises-heading h2 .red-dot { display: none; }
.expertises-section .expertises-heading p { font-size: 16px; line-height: 1.9; color: #c0cede; }
.expertises-section .expertises-footer { grid-column: 1 / -1; margin-top: 62px; }
.expertise-list { min-width: 0; padding-top: 4px; }
.expertise-list-title { margin: 0 0 25px; font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: #acbfd5; }
.expertise-accordions { border-top: 1px solid #3a4a60; }
.expertise-fold { position: relative; border-bottom: 1px solid #3a4a60; background: transparent; }
.expertise-fold::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 44px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.expertise-fold.is-open::after { transform: scaleX(1); }
.expertise-fold h4 { margin: 0; }
.expertise-toggle { width: 100%; display: flex; align-items: flex-start; gap: 22px; padding: 30px 0; border: 0; background: transparent; color: #ffffff; text-align: left; cursor: pointer; font: inherit; }
.expertise-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: -3px; }
.expertise-fold-number { color: #93a6bd; font-size: 35px; line-height: 1; font-weight: 500; letter-spacing: -.05em; min-width: 43px; transition: color .3s, transform .3s; font-variant-numeric: tabular-nums; }
.expertise-fold-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.expertise-fold-number svg { display: block; width: 34px; height: 34px; }
.is-open .expertise-fold-number, .expertise-toggle:hover .expertise-fold-number { color: #ff435b; transform: translateY(3px); }
.expertise-fold-copy { flex: 1; min-width: 0; }
.expertise-fold-title { display: block; font-size: clamp(20px, 1.8vw, 25px); font-weight: 600; line-height: 1.35; letter-spacing: -.02em; }
.expertise-fold-summary { display: block; margin-top: 9px; color: #c0cede; font-size: 15px; line-height: 1.7; font-weight: 400; }
.expertise-fold-plus { position: relative; width: 34px; height: 34px; flex-shrink: 0; border: 1px solid #52657e; border-radius: 50%; transition: background .25s, border-color .25s, transform .3s; }
.expertise-toggle:hover .expertise-fold-plus { border-color: #ffffff; transform: scale(1.08); }
.expertise-fold-plus::before, .expertise-fold-plus::after { content: ''; position: absolute; width: 12px; height: 2px; background: currentColor; left: 10px; top: 15px; transition: transform .3s; }
.expertise-fold-plus::after { transform: rotate(90deg); }
.is-open .expertise-fold-plus { color: #ffffff; border-color: var(--red); background: var(--red); }
.is-open .expertise-fold-plus::after { transform: rotate(0); }
.expertise-fold-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s ease, visibility .4s; }
.expertise-fold-panel > div { overflow: hidden; }
.expertise-fold-panel p { margin: 0; padding: 0 0 0 65px; color: #d9e3ef; font-size: 16px; line-height: 1.85; transition: padding-bottom .4s; }
.is-open .expertise-fold-panel { grid-template-rows: 1fr; visibility: visible; }
.is-open .expertise-fold-panel p { padding-bottom: 32px; }
@media (max-width: 1050px) {
  .expertises-layout { gap: 0 40px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
  .expertise-toggle { gap: 16px; }
  .expertise-fold-number { font-size: 29px; min-width: 35px; }
  .expertise-fold-panel p { padding-left: 51px; }
}
@media (max-width: 800px) {
  .expertises-layout { display: block; }
  .expertises-section .expertises-heading { position: static; margin-bottom: 46px; }
  .expertises-section .expertises-heading h2 { max-width: 620px; font-size: clamp(30px, 6vw, 42px); }
}
@media (max-width: 600px) {
  .expertise-toggle { gap: 12px; padding: 24px 0; }
  .expertise-fold-number { min-width: 29px; font-size: 26px; }
  .expertise-fold-number svg { width: 27px; height: 27px; }
  .expertise-fold-title { font-size: 20px; }
  .expertise-fold-plus { width: 30px; height: 30px; }
  .expertise-fold-plus::before, .expertise-fold-plus::after { top: 13px; left: 8px; }
  .expertise-fold-summary { font-size: 14px; }
  .expertise-fold-panel p { padding-left: 41px; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .expertise-fold-panel, .expertise-fold-panel p, .expertise-fold-plus, .expertise-fold-plus::after, .expertise-fold-number, .expertise-fold::after { transition: none; }
}
