/* =========================================================
   LMC ENGINEERING — STYLE PRINCIPAL
   ========================================================= */

:root {
  --navy-950: #07101a;
  --navy-900: #0c1622;
  --navy-850: #101d2b;
  --navy-800: #142335;
  --navy-700: #20364f;
  --gold-500: #b99a55;
  --gold-400: #d1b66f;
  --gold-300: #e8d9ad;
  --grey-50: #f7f8fa;
  --grey-100: #eef1f4;
  --grey-200: #dde2e8;
  --grey-400: #9ca6b2;
  --grey-600: #5f6a77;
  --grey-800: #27313d;
  --white: #ffffff;
  --shadow-sm: 0 16px 40px rgba(7, 16, 26, 0.08);
  --shadow-lg: 0 35px 90px rgba(7, 16, 26, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --container: 1180px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--grey-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* HEADER */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.site-header.scrolled {
  background: rgba(7, 16, 26, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--white);
  line-height: 1;
}

.brand-mark {
  position: relative;
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.12em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.brand-sub {
  margin-top: 10px;
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  color: var(--gold-300);
}

/* =========================================================
   NAVIGATION PRINCIPALE
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

/* Tous les liens de la navigation */
.main-nav a {
  position: relative;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
}

/* Trait doré uniquement sous les liens classiques */
.main-nav a:not(.nav-cta):not(.linkedin-link)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  transition: width var(--transition);
}

/* Survol des liens */
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

/* Apparition du trait doré */
.main-nav a:not(.nav-cta):not(.linkedin-link):hover::after,
.main-nav a:not(.nav-cta):not(.linkedin-link):focus-visible::after {
  width: 100%;
}


.nav-cta {
  padding: 11px 18px;
  color: var(--navy-950) !important;
  background: var(--gold-400);
  border-radius: 999px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 900px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 75% 20%, rgba(185, 154, 85, 0.16), transparent 26%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 52%, #15283c 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: 15%;
  right: -10%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(209, 182, 111, 0.18);
  box-shadow:
    0 0 0 90px rgba(209, 182, 111, 0.03),
    0 0 0 180px rgba(209, 182, 111, 0.02);
}

.hero-glow-two {
  bottom: -280px;
  left: -180px;
  width: 520px;
  height: 520px;
  background: rgba(63, 102, 142, 0.12);
  filter: blur(90px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  align-items: center;
  gap: 70px;
  padding-top: 140px;
  padding-bottom: 100px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
}

.hero h1 span {
  display: block;
  margin-top: 12px;
  color: var(--gold-300);
}

.hero-text {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 15px 36px rgba(185, 154, 85, 0.25);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(185, 154, 85, 0.34);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.045);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 44px;
  margin-top: 48px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.45rem;
  color: var(--white);
}

.hero-stats span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.visual-frame {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
  transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.visual-topbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 9, 15, 0.5);
}

.visual-topbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.visual-topbar small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.48);
}

.visual-screen {
  min-height: 420px;
  display: grid;
  grid-template-columns: 72px 1fr;
  background:
    linear-gradient(145deg, rgba(17, 32, 48, 0.96), rgba(8, 18, 29, 0.98)),
    var(--navy-900);
}

.screen-sidebar {
  padding: 28px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.screen-sidebar span {
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.screen-sidebar span.active {
  background: var(--gold-400);
  box-shadow: 0 0 22px rgba(209, 182, 111, 0.3);
}

.screen-content {
  padding: 34px;
}

.screen-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.screen-title span:first-child {
  width: 42%;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.screen-title span:last-child {
  width: 14%;
  height: 9px;
  border-radius: 999px;
  background: rgba(209, 182, 111, 0.45);
}

.diagram {
  position: relative;
  height: 220px;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 25px 25px;
}

.node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 70px;
  height: 42px;
  border: 1px solid rgba(209, 182, 111, 0.48);
  border-radius: 9px;
  color: var(--gold-300);
  background: #13263a;
  font-size: 0.75rem;
  font-weight: 750;
  box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

.node-main {
  top: 30px;
  left: calc(50% - 35px);
}

.node-a {
  bottom: 30px;
  left: 12%;
}

.node-b {
  bottom: 30px;
  left: calc(50% - 35px);
}

.node-c {
  right: 12%;
  bottom: 30px;
}

.line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(209,182,111,.2), rgba(209,182,111,.75), rgba(209,182,111,.2));
  transform-origin: left center;
}

.line-a {
  top: 87px;
  left: 50%;
  width: 150px;
  transform: rotate(132deg);
}

.line-b {
  top: 72px;
  left: 50%;
  width: 95px;
  transform: rotate(90deg);
}

.line-c {
  top: 87px;
  left: 50%;
  width: 150px;
  transform: rotate(48deg);
}

.screen-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.screen-cards article {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.screen-cards span,
.screen-cards strong {
  display: block;
}

.screen-cards span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.46);
}

.screen-cards strong {
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--white);
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--white);
  background: rgba(10, 24, 37, 0.92);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.floating-card-one {
  left: -32px;
  bottom: 75px;
}

.floating-card-two {
  top: 70px;
  right: -22px;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--gold-400);
  font-weight: 900;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 0.86rem;
}

.floating-card small {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.68rem;
}

/* TRUST STRIP */

.trust-strip {
  border-bottom: 1px solid var(--grey-200);
  background: var(--white);
}

.trust-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--grey-600);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-inner span {
  position: relative;
}

.trust-inner span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* GENERAL SECTIONS */

.section {
  padding: 120px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  color: var(--navy-950);
}

.section-heading > p:last-child {
  max-width: 670px;
  margin-top: 20px;
  color: var(--grey-600);
  font-size: 1.03rem;
}

.section-heading.light h2 {
  color: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.expertise-card {
  position: relative;
  overflow: hidden;
  min-height: 370px;
  padding: 32px;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 10px 25px rgba(7, 16, 26, 0.035);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.expertise-card::before {
  content: "";
  position: absolute;
  inset: auto -80px -95px auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  border: 1px solid rgba(185, 154, 85, 0.2);
  transition: transform 350ms ease;
}

.expertise-card:hover {
  transform: translateY(-8px);
  border-color: rgba(185, 154, 85, 0.55);
  box-shadow: var(--shadow-sm);
}

.expertise-card:hover::before {
  transform: scale(1.15);
}

.card-number {
  position: absolute;
  top: 26px;
  right: 28px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--grey-400);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--gold-400);
  background: var(--navy-950);
  font-size: 1.4rem;
}

.expertise-card h3 {
  margin: 26px 0 12px;
  color: var(--navy-950);
  font-size: 1.35rem;
}

.expertise-card p {
  color: var(--grey-600);
}

.expertise-card ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.expertise-card li {
  position: relative;
  margin-top: 9px;
  padding-left: 18px;
  color: var(--grey-800);
  font-size: 0.9rem;
}

.expertise-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 1px;
  background: var(--gold-500);
}


/* PÔLES MÉTIERS */

.poles-section {
  position: relative;
  padding: 110px 0;
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
}

.poles-heading {
  margin-bottom: 46px;
}

.poles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pole-card {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 34px;
  border: 1px solid rgba(185, 154, 85, 0.24);
  border-radius: var(--radius-md);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(209, 182, 111, 0.14), transparent 30%),
    linear-gradient(145deg, var(--navy-900), var(--navy-950));
  box-shadow: 0 18px 45px rgba(7, 16, 26, 0.12);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.pole-card::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -80px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(209, 182, 111, 0.14);
  border-radius: 50%;
}

.pole-card:hover {
  transform: translateY(-8px);
  border-color: rgba(209, 182, 111, 0.6);
  box-shadow: 0 28px 65px rgba(7, 16, 26, 0.18);
}

.pole-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(209, 182, 111, 0.45);
  border-radius: 16px;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.45rem;
}

.pole-label {
  display: block;
  margin-top: 30px;
  color: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pole-card h3 {
  margin: 10px 0 14px;
  font-size: 1.75rem;
}

.pole-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.pole-card a {
  position: absolute;
  left: 34px;
  bottom: 30px;
  z-index: 1;
  color: var(--gold-300);
  font-size: 0.86rem;
  font-weight: 750;
}

.pole-card a span {
  display: inline-block;
  margin-left: 7px;
  transition: transform var(--transition);
}

.pole-card a:hover span {
  transform: translateX(5px);
}

/* GROUPES D'EXPERTISE */

.expertise-group + .expertise-group {
  margin-top: 82px;
  padding-top: 76px;
  border-top: 1px solid var(--grey-200);
}

.expertise-group-heading {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: start;
  gap: 24px;
  margin-bottom: 32px;
}

.expertise-group-heading > span {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold-400);
  font-weight: 900;
}

.expertise-group-heading .eyebrow {
  margin-bottom: 7px;
}

.expertise-group-heading h3 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  letter-spacing: -0.035em;
}

/* DARK SECTION */

.section-dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 10%, rgba(185, 154, 85, 0.12), transparent 28%),
    var(--navy-950);
}

.section-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
}

.section-dark .container {
  position: relative;
  z-index: 1;
}

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.commitment-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(8px);
  transition: transform var(--transition), background var(--transition);
}

.commitment-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}

.commitment-card > span {
  display: inline-flex;
  padding-bottom: 14px;
  color: var(--gold-400);
  border-bottom: 1px solid rgba(209, 182, 111, 0.3);
  font-weight: 800;
}

.commitment-card h3 {
  margin: 56px 0 14px;
  font-size: 1.26rem;
}

.commitment-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* ABOUT */

.about-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 90px;
}

.about-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(11, 24, 38, 0.96), rgba(22, 42, 62, 0.96)),
    var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.about-panel {
  position: relative;
  width: min(78%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.025);
  box-shadow:
    0 0 0 34px rgba(255, 255, 255, 0.02),
    0 0 0 70px rgba(255, 255, 255, 0.012);
}

.about-panel p {
  margin: 0;
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.13em;
}

.about-panel small {
  position: absolute;
  top: 66%;
  letter-spacing: 0.42em;
  color: var(--gold-300);
}

.about-line {
  position: absolute;
  top: 33%;
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--gold-400);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-copy > p:not(.eyebrow) {
  color: var(--grey-600);
  font-size: 1.02rem;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.about-points div {
  padding: 18px;
  border: 1px solid var(--grey-200);
  border-radius: 14px;
  background: var(--grey-50);
}

.about-points strong,
.about-points span {
  display: block;
}

.about-points strong {
  color: var(--navy-950);
}

.about-points span {
  margin-top: 6px;
  color: var(--grey-600);
  font-size: 0.78rem;
}

/* PROCESS */

.process-section {
  background: var(--grey-50);
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 11%;
  right: 11%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-500), transparent);
}

.process-step {
  position: relative;
  padding-top: 76px;
}

.process-step > span {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 8px solid var(--grey-50);
  border-radius: 50%;
  color: var(--navy-950);
  background: var(--gold-400);
  font-weight: 900;
}

.process-step h3 {
  margin: 0 0 12px;
  color: var(--navy-950);
}

.process-step p {
  margin: 0;
  color: var(--grey-600);
}

/* CONTACT */

.contact-section {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 80%, rgba(185, 154, 85, 0.14), transparent 30%),
    linear-gradient(135deg, var(--navy-950), #14283d);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.65);
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.contact-details a,
.contact-details > div {
  display: flex;
  flex-direction: column;
  padding: 17px 20px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.contact-details span {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-details strong {
  margin-top: 4px;
  color: var(--white);
  font-size: 0.95rem;
}

.contact-form {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

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

.contact-form label {
  display: block;
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  outline: none;
  background: rgba(3, 10, 17, 0.48);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(209, 182, 111, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select option {
  color: var(--grey-800);
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--gold-300);
  text-align: center;
  font-size: 0.86rem;
}

.form-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  text-align: center;
}

/* FOOTER */

.site-footer {
  padding: 42px 0;
  color: rgba(255, 255, 255, 0.64);
  background: #040a10;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

/* RESPONSIVE */

@media (max-width: 1080px) {
  .hero-inner {
    gap: 45px;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .commitment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .poles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid {
    gap: 55px;
  }

  .floating-card-two {
    right: -8px;
  }
}

@media (max-width: 860px) {
  .site-header {
    background: rgba(7, 16, 26, 0.94);
    backdrop-filter: blur(16px);
  }

  .menu-toggle {
    display: block;
  }

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

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

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

  .main-nav {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    align-content: start;
    gap: 0;
    height: calc(100dvh - 82px);
    padding: 30px 20px;
    background: rgba(7, 16, 26, 0.985);
    transform: translateX(100%);
    transition: transform 280ms ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 17px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.08rem;
  }

  .nav-cta {
    margin-top: 18px;
    text-align: center;
    border-bottom: 0 !important;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: auto;
    margin-top: 25px;
  }

  .visual-frame {
    transform: none;
  }

  .trust-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 25px 0;
  }

  .trust-inner span:not(:last-child)::after {
    display: none;
  }

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

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

  .pole-card {
    min-height: 300px;
  }

  .about-visual {
    min-height: 430px;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 45px 28px;
  }

  .process::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 74px;
  }

  .main-nav {
    top: 74px;
    height: calc(100dvh - 74px);
  }

  .hero-inner {
    padding-top: 125px;
    padding-bottom: 75px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .visual-screen {
    min-height: 360px;
    grid-template-columns: 52px 1fr;
  }

  .screen-sidebar {
    padding: 22px 12px;
  }

  .screen-sidebar span {
    width: 26px;
    height: 26px;
  }

  .screen-content {
    padding: 22px 16px;
  }

  .diagram {
    height: 180px;
  }

  .line-a,
  .line-c {
    width: 105px;
  }

  .screen-cards {
    gap: 7px;
  }

  .screen-cards article {
    padding: 10px 7px;
  }

  .screen-cards strong {
    font-size: 0.78rem;
  }

  .floating-card {
    display: none;
  }

  .section,
  .contact-section,
  .poles-section {
    padding: 84px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2.35rem;
  }

  .expertise-grid,
  .commitment-grid,
  .about-points,
  .process,
  .form-row {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: auto;
  }

  .expertise-group + .expertise-group {
    margin-top: 58px;
    padding-top: 54px;
  }

  .expertise-group-heading {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .expertise-group-heading > span {
    width: 48px;
    height: 48px;
  }

  .commitment-card {
    min-height: 250px;
  }

  .about-visual {
    min-height: 350px;
  }

  .about-panel {
    width: 70%;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==============================
  	    CURSEUR ÉCLAIR
   ============================== */

html,
body,
body * {
  cursor: url("images/curseur-eclair-32x32.png") 0 0, auto !important;
}

/* ==============================
  	    LUEUR BLEU
   ============================== */

a:hover,
button:hover {
    filter: drop-shadow(0 0 6px #00bfff);
}

/* ==============================
       PARTICULES DU CURSEUR ÉCLAIR - MINI ÉCLAIRS DE TRAÎNÉE
   ============================== */
/* ==============================
   PARTICULES DU CURSEUR
   ============================== */

.cursor-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  pointer-events: none;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow:
    0 0 5px #38bdf8,
    0 0 10px #38bdf8,
    0 0 15px #ffffff;

  z-index: 999999;
  transform: translate(-50%, -50%);
  animation: particleFade 600ms ease-out forwards;
}

@keyframes particleFade {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--move-x)),
        calc(-50% + var(--move-y))
      )
      scale(0);
  }
}


/* ==============================
   MINI FLASH AU CLIC
   ============================== */

.cursor-flash {
  position: fixed;
  width: 12px;
  height: 12px;
  pointer-events: none;
  border-radius: 50%;

  border: 2px solid #ffffff;

  box-shadow:
    0 0 8px #ffffff,
    0 0 16px #38bdf8,
    0 0 30px #38bdf8;

  z-index: 999999;
  transform: translate(-50%, -50%);
  animation: cursorFlash 450ms ease-out forwards;
}

@keyframes cursorFlash {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.3);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(4);
  }
}
/* =========================================================
   LOADER PREMIUM V3 — LMC ENGINEERING
   ========================================================= */

/*
   Le loader recouvre entièrement la page au démarrage.
   Sa fermeture est déclenchée par le JavaScript avec :
   .power-loader--closing
*/

#power-loader {
  position: fixed;
  inset: 0;
  z-index: 99999999;

  display: grid;
  place-items: center;

  overflow: hidden;
  background:#020407;
}
 
  opacity: 1;
  visibility: visible;
  pointer-events: all;

  transition:
    opacity 450ms ease,
    visibility 450ms ease;
}


/* =========================================================
   DISPARITION DU LOADER
   ========================================================= */

#power-loader.power-loader--closing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* =========================================================
   BRUIT ÉLECTRONIQUE DISCRET
   ========================================================= */

.power-loader__noise {
  position: absolute;
  inset: 0;

  z-index: 1;
  opacity: 0.12;
  pointer-events: none;

  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 4px
    );

  animation: loaderNoise 160ms steps(2) infinite;
}


/* =========================================================
   LOGO CENTRAL
   ========================================================= */

.power-loader__brand {
  position: absolute;
  top: 50%;
  left: 50%;

  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;

  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  filter: brightness(0.25) blur(5px);

  animation: loaderLogoPowerOn 900ms ease 180ms forwards;
}


/* Texte principal : LMC */

.power-loader__brand-mark {
  position: relative;
  display: block;

  color: #ffffff;

  font-size: clamp(58px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.08em;

  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.45),
    0 0 22px rgba(56, 189, 248, 0.40),
    0 0 55px rgba(56, 189, 248, 0.16);
}


/* Ligne dorée sous LMC */

.power-loader__brand-mark::after {
  content: "";
  position: absolute;

  left: 5%;
  right: 5%;
  bottom: -14px;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      #d1b66f 20%,
      #f1dfab 50%,
      #d1b66f 80%,
      transparent
    );

  transform: scaleX(0);
  transform-origin: center;

  box-shadow:
    0 0 8px rgba(209, 182, 111, 0.65),
    0 0 20px rgba(209, 182, 111, 0.25);

  animation: loaderGoldLine 450ms ease 500ms forwards;
}


/* Texte secondaire : ENGINEERING */

.power-loader__brand-sub {
  display: block;

  margin-top: 26px;
  margin-left: 7px;

  color: #d1b66f;

  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 650;
  letter-spacing: 0.52em;

  opacity: 0;
  transform: translateY(7px);

  animation: loaderSubtitle 420ms ease 610ms forwards;
}


/* =========================================================
   IMPULSION ÉLECTRIQUE
   ========================================================= */

.power-loader__pulse {
  position: absolute;
  top: 50%;
  left: -60%;

  z-index: 4;

  width: 55%;
  height: 3px;

  opacity: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(56, 189, 248, 0.15) 30%,
      rgba(125, 211, 252, 0.9) 72%,
      #ffffff 100%
    );

  box-shadow:
    0 0 6px rgba(255, 255, 255, 0.95),
    0 0 15px rgba(56, 189, 248, 0.95),
    0 0 36px rgba(56, 189, 248, 0.60),
    0 0 75px rgba(56, 189, 248, 0.25);

  transform: translateY(-50%) skewX(-24deg);

  animation: loaderPulseTravel 520ms
    cubic-bezier(0.65, 0, 0.35, 1)
    70ms forwards;
}


/* =========================================================
   ANIMATION DU LOGO
   ========================================================= */

@keyframes loaderLogoPowerOn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.86);
    filter: brightness(0.2) blur(5px);
  }

  38% {
    opacity: 0.35;
  }

  58% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.035);
    filter:
      brightness(1.7)
      blur(0)
      drop-shadow(0 0 24px rgba(56, 189, 248, 0.65));
  }

  78% {
    transform: translate(-50%, -50%) scale(0.985);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter:
      brightness(1)
      blur(0)
      drop-shadow(0 0 12px rgba(56, 189, 248, 0.22));
  }
}


/* =========================================================
   ANIMATION DE LA LIGNE DORÉE
   ========================================================= */

@keyframes loaderGoldLine {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}


/* =========================================================
   APPARITION DE “ENGINEERING”
   ========================================================= */

@keyframes loaderSubtitle {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

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


/* =========================================================
   DÉPLACEMENT DE L’IMPULSION
   ========================================================= */

@keyframes loaderPulseTravel {
  0% {
    left: -60%;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  78% {
    opacity: 1;
  }

  100% {
    left: 115%;
    opacity: 0;
  }
}


/* =========================================================
   MOUVEMENT DU BRUIT
   ========================================================= */

@keyframes loaderNoise {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(1px);
  }

  100% {
    transform: translateY(-1px);
  }
}


/* =========================================================
   ACCESSIBILITÉ — ANIMATIONS RÉDUITES
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .power-loader__brand {
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: none;
    animation: none;
  }

  .power-loader__brand-mark::after {
    transform: scaleX(1);
    animation: none;
  }

  .power-loader__brand-sub {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .power-loader__pulse,
  .power-loader__noise {
    animation: none;
  }
}

/* =========================================================
   LINKEDIN — NAVBAR PREMIUM
   Icône blanche, halo bleu électrique au survol
   ========================================================= */

.linkedin-link {
    position: relative;

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

    width: 42px;
    height: 42px;

    margin-left: 8px;

    color: #ffffff;
    opacity: 0.82;

    border-radius: 50%;

    transition:
        color 0.3s ease,
        opacity 0.3s ease,
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Dimensions de l’icône */
.linkedin-link svg {
    width: 21px;
    height: 21px;

    fill: currentColor;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

/* Petite ligne électrique sous l’icône */
.linkedin-link::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 3px;

    width: 0;
    height: 2px;

    background: #38bdf8;

    border-radius: 999px;

    transform: translateX(-50%);

    box-shadow:
        0 0 6px rgba(56, 189, 248, 0.8),
        0 0 12px rgba(56, 189, 248, 0.45);

    transition: width 0.3s ease;
}

/* Survol premium */
.linkedin-link:hover {
    color: #38bdf8;
    opacity: 1;

    background-color: rgba(56, 189, 248, 0.06);

    transform: translateY(-2px);

    box-shadow:
        0 0 12px rgba(56, 189, 248, 0.16),
        inset 0 0 12px rgba(56, 189, 248, 0.04);
}

.linkedin-link:hover svg {
    transform: scale(1.08);

    filter:
        drop-shadow(0 0 5px rgba(56, 189, 248, 0.7))
        drop-shadow(0 0 12px rgba(56, 189, 248, 0.35));
}

.linkedin-link:hover::after {
    width: 18px;
}

/* Navigation au clavier */
.linkedin-link:focus-visible {
    color: #38bdf8;

    outline: 2px solid #38bdf8;
    outline-offset: 4px;
}

/* Réduction des animations pour l’accessibilité */
@media (prefers-reduced-motion: reduce) {
    .linkedin-link,
    .linkedin-link svg,
    .linkedin-link::after {
        transition: none;
    }

    .linkedin-link:hover,
    .linkedin-link:hover svg {
        transform: none;
    }
}
/* =========================================================
   LINKEDIN — NAVBAR
   ========================================================= */

.main-nav .linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  color: rgba(255, 255, 255, 0.82);
  border-radius: 50%;

  transition:
    color 0.3s ease,
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.main-nav .linkedin-link svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: currentColor;
}

/* Sécurité : aucun trait doré sous LinkedIn */
.main-nav .linkedin-link::after {
  display: none;
}

.main-nav .linkedin-link:hover,
.main-nav .linkedin-link:focus-visible {
  color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);

  box-shadow:
    0 0 8px rgba(56, 189, 248, 0.35),
    0 0 18px rgba(56, 189, 248, 0.16);
}

