:root {
  --navy: #0a2438;
  --navy-2: #123b58;
  --blue: #126d9b;
  --cyan: #51c4d3;
  --ice: #e9f4f7;
  --mist: #f4f7f8;
  --ink: #142633;
  --muted: #5c6e79;
  --line: #d6e1e6;
  --white: #ffffff;
  --green: #30a46c;
  --orange: #f08a4b;
  --shadow: 0 20px 60px rgba(10, 36, 56, .12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Calibri, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(10,36,56,.08); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: .04em; color: var(--navy); }
.brand-mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--white); background: linear-gradient(145deg, var(--navy-2), var(--blue)); box-shadow: 0 8px 20px rgba(18,109,155,.25); }
.brand span small { display: block; margin-top: -5px; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .11em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { text-decoration: none; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 650; color: #314854; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); background: var(--ice); }
.nav-links .nav-cta { margin-left: 8px; background: var(--navy); color: var(--white); }
.nav-links .nav-cta:hover { color: var(--white); background: var(--blue); }
.menu-toggle { display: none; border: 0; border-radius: 10px; background: var(--ice); color: var(--navy); padding: 9px 12px; font-weight: 700; }

.hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); padding: 88px 0 84px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: linear-gradient(rgba(81,196,211,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(81,196,211,.28) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(90deg, #000, transparent 80%); }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; border: 110px solid rgba(81,196,211,.12); border-radius: 50%; right: -170px; top: -170px; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .75fr; align-items: center; gap: 72px; }
.eyebrow { color: var(--cyan); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
h1, h2, h3 { color: var(--navy); line-height: 1.1; margin: 0 0 18px; }
.hero h1 { color: var(--white); font-size: clamp(42px, 5.5vw, 72px); letter-spacing: -.035em; max-width: 860px; }
.hero .lead { color: #d7e7ee; font-size: clamp(19px, 2vw, 23px); max-width: 780px; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 11px 20px; border-radius: 12px; border: 1px solid transparent; text-decoration: none; font-weight: 750; transition: .2s ease; cursor: pointer; }
.button-primary { background: var(--cyan); color: var(--navy); }
.button-primary:hover { background: #7ad4de; transform: translateY(-1px); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.06); }
.button-secondary:hover { background: rgba(255,255,255,.13); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--blue); }
.mission-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 24px; box-shadow: var(--shadow); }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(48,164,108,.15); }
.panel-list { display: grid; gap: 14px; margin-top: 20px; }
.panel-row { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.panel-index { color: var(--cyan); font-weight: 800; }
.panel-row strong { display: block; font-size: 15px; }
.panel-row span { color: #b9ced8; font-size: 13px; }

section { padding: 82px 0; }
.section-soft { background: var(--mist); }
.section-dark { background: var(--navy); color: #d8e7ee; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-intro { display: grid; grid-template-columns: .65fr 1fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.section-intro h2, .page-hero h1 { font-size: clamp(36px, 4vw, 54px); letter-spacing: -.025em; }
.section-intro p { margin: 0; color: var(--muted); font-size: 19px; }
.section-dark .section-intro p { color: #b9ced8; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 30px rgba(10,36,56,.05); }
.card-number { color: var(--blue); font-weight: 850; font-size: 14px; letter-spacing: .1em; }
.card h3 { font-size: 25px; margin-top: 28px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { color: var(--muted); padding-left: 20px; }

.metrics { display: grid; grid-template-columns: repeat(6, 1fr); border-block: 1px solid var(--line); }
.metric { padding: 28px 18px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; color: var(--navy); font-size: clamp(27px, 3vw, 40px); line-height: 1; }
.metric span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.3; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; overflow: hidden; }
.step { background: var(--navy); padding: 30px; }
.step span { color: var(--cyan); font-weight: 800; }
.step p { color: #b9ced8; margin-bottom: 0; }

.featured-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.featured-photo { position: relative; min-height: 520px; border-radius: 22px; overflow: hidden; }
.featured-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-label { position: absolute; left: 18px; bottom: 18px; padding: 8px 12px; border-radius: 10px; background: rgba(10,36,56,.88); color: white; font-size: 13px; }
.featured-copy { display: flex; flex-direction: column; justify-content: center; padding: 36px; border: 1px solid var(--line); border-radius: 22px; }
.featured-copy h2 { font-size: 42px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.tag { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--ice); color: var(--blue); font-size: 13px; font-weight: 750; }

.page-hero { padding: 68px 0; background: var(--navy); color: white; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0 0 0 55%; background: linear-gradient(135deg, transparent, rgba(81,196,211,.12)); }
.page-hero h1 { color: var(--white); max-width: 850px; }
.page-hero p { max-width: 760px; color: #c5d8e1; font-size: 20px; }
.breadcrumb { color: var(--cyan); font-size: 14px; margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.prose h2 { font-size: 38px; }
.prose h3 { font-size: 24px; margin-top: 32px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }
.quote { margin: 34px 0; padding: 24px 28px; border-left: 5px solid var(--cyan); background: var(--ice); color: var(--navy); font-size: 21px; font-weight: 650; }
.fact-panel { position: sticky; top: 110px; padding: 28px; border-radius: 20px; background: var(--navy); color: white; }
.fact-panel h3 { color: white; }
.fact-list { display: grid; gap: 18px; }
.fact-list div { padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.15); }
.fact-list div:last-child { border-bottom: 0; }
.fact-list strong { display: block; color: var(--cyan); font-size: 24px; }
.fact-list span { color: #c5d8e1; font-size: 14px; }

.service-block { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 34px 0; border-top: 1px solid var(--line); }
.service-block:last-child { border-bottom: 1px solid var(--line); }
.service-code { color: var(--blue); font-size: 22px; font-weight: 850; }
.service-block h2 { font-size: 32px; }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; padding: 0; list-style: none; }
.service-grid li { position: relative; padding-left: 22px; color: var(--muted); }
.service-grid li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); }
.method-strip { padding: 34px; border-radius: 20px; background: var(--ice); }
.method-strip ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; list-style: none; counter-reset: method; }
.method-strip li { counter-increment: method; }
.method-strip li::before { content: "0" counter(method); display: block; color: var(--blue); font-weight: 850; margin-bottom: 8px; }

.project { padding: 36px 0 54px; border-bottom: 1px solid var(--line); }
.project-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; margin-bottom: 28px; }
.project-head h2 { font-size: 36px; }
.project-status { display: inline-flex; align-items: center; gap: 8px; color: #9a5228; background: #fff2e9; padding: 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.project-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; background: var(--mist); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .3s ease; }
.gallery a:hover img { transform: scale(1.025); }
.gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.35; }
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-card { border-radius: 18px; background: var(--white); border: 1px solid var(--line); padding: 26px; }
.ai-card .status { color: var(--muted); }
.ai-card h3 { margin-top: 24px; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; }
.contact-list { display: grid; gap: 18px; margin-top: 28px; }
.contact-item { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-item span { display: block; color: var(--muted); font-size: 14px; }
.contact-item a { color: var(--navy); font-weight: 750; text-decoration: none; }
.contact-form { padding: 30px; border-radius: 20px; background: var(--mist); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 750; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #bdcdd5; border-radius: 10px; background: white; padding: 12px 13px; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(81,196,211,.35); border-color: var(--blue); }
.form-note { color: var(--muted); font-size: 13px; }

.article { width: min(calc(100% - 40px), 840px); margin-inline: auto; }
.article h2 { margin-top: 42px; font-size: 30px; }
.article p { color: #435b67; }
.article-meta { color: var(--muted); font-size: 14px; }
.article-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0; }
.article-gallery figure { margin: 0; }
.article-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }
.article-gallery figcaption { color: var(--muted); font-size: 13px; margin-top: 7px; }

.cta-band { padding: 46px 0; background: var(--cyan); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.cta-inner h2 { margin: 0; max-width: 760px; font-size: 35px; }
.site-footer { background: #061a29; color: #adc2cc; padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 46px; }
.site-footer h3 { color: white; font-size: 18px; }
.site-footer a { color: #d6e4ea; text-decoration: none; }
.site-footer a:hover { color: var(--cyan); }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }

@media (max-width: 980px) {
  .nav-links { display: none; position: absolute; top: 70px; left: 20px; right: 20px; flex-direction: column; align-items: stretch; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: flex; }
  .nav-links .nav-cta { margin-left: 0; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .two-col, .contact-grid, .featured-grid { grid-template-columns: 1fr; }
  .mission-panel { max-width: 560px; }
  .section-intro { grid-template-columns: 1fr; gap: 16px; }
  .metrics { grid-template-columns: repeat(3, 1fr); }
  .metric:nth-child(3) { border-right: 0; }
  .steps, .cards, .ai-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .project-head { grid-template-columns: 1fr; gap: 12px; }
  .fact-panel { position: static; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 62px 0; }
  .hero-grid { gap: 38px; }
  section { padding: 58px 0; }
  .cards, .steps, .ai-grid, .field-grid, .method-strip ol, .footer-grid, .article-gallery { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(2n) { border-right: 0; }
  .service-block { grid-template-columns: 1fr; gap: 8px; }
  .service-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img { aspect-ratio: 3/4; }
  .featured-photo { min-height: 400px; }
  .featured-copy { padding: 26px; }
  .cta-inner, .footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* Direction 2026 — ingénierie augmentée */
:root {
  --teal: #3c8e95;
  --teal-bright: #7ad5d8;
  --night: #061824;
  --steel: #9bb0ba;
}

.brand-mark {
  background: var(--teal) url('/assets/logo-mocotec.jpg') center / cover no-repeat;
  color: transparent;
  border-radius: 4px;
  box-shadow: none;
}

.site-header { transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.page-hero { min-height:370px; display:grid; align-items:end; padding:92px 0 66px; background:linear-gradient(90deg, rgba(6,24,36,.97), rgba(6,24,36,.72) 62%, rgba(6,24,36,.5)), url('/assets/bat-a-montage.jpg') center 48% / cover; }
.page-hero::before { content:""; position:absolute; inset:0; background-image:linear-gradient(rgba(122,213,216,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(122,213,216,.12) 1px, transparent 1px); background-size:58px 58px; mask-image:linear-gradient(90deg,black,transparent 85%); }
.page-hero .container { position:relative; z-index:2; }
.page-hero::after { background:linear-gradient(135deg, transparent, rgba(122,213,216,.2)); }
.site-header-overlay { position: absolute; inset: 0 0 auto; color: white; background: linear-gradient(to bottom, rgba(6,24,36,.72), transparent); border-bottom-color: rgba(255,255,255,.15); }
.site-header-overlay .brand { color: white; }
.site-header-overlay .brand span small { color: rgba(255,255,255,.68); }
.site-header-overlay .nav-links a { color: rgba(255,255,255,.84); }
.site-header-overlay .nav-links a:hover,
.site-header-overlay .nav-links a[aria-current="page"] { color: white; background: rgba(255,255,255,.12); }
.site-header-overlay .nav-links .nav-cta { color: var(--night); background: var(--teal-bright); }
.site-header-overlay.is-scrolled { position: fixed; background: rgba(6,24,36,.94); box-shadow: 0 12px 32px rgba(0,0,0,.18); }

.hero-immersive { min-height: 100svh; padding: 150px 0 86px; display: grid; align-items: center; isolation: isolate; background: var(--night); }
.hero-immersive::before { z-index: -1; opacity: .25; background-image: linear-gradient(rgba(122,213,216,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(122,213,216,.2) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, black, transparent 80%); }
.hero-immersive::after { z-index: -1; width: auto; height: auto; border: 0; border-radius: 0; inset: 0; background: linear-gradient(90deg, rgba(6,24,36,.97) 0%, rgba(6,24,36,.88) 42%, rgba(6,24,36,.38) 78%, rgba(6,24,36,.58) 100%), linear-gradient(0deg, rgba(6,24,36,.75), transparent 54%); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-frame { position: absolute; inset: -3%; width: 106%; height: 106%; max-width: none; object-fit: cover; opacity: 0; filter: saturate(.65) contrast(1.08); transform: scale(1.04); transition: opacity 1.5s ease, transform 9s linear; }
.hero-frame.is-active { opacity: 1; transform: scale(1.11); }
.hero-stage { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.3fr) 240px; gap: 80px; align-items: end; }
.hero-copy { max-width: 940px; }
.hero-copy .eyebrow { color: var(--teal-bright); }
.hero-immersive h1 { color: white; font-size: clamp(3.6rem, 7.1vw, 7.3rem); line-height: .91; max-width: none; letter-spacing: -.055em; }
.hero-immersive h1 em { color: transparent; font-style: normal; -webkit-text-stroke: 1.5px rgba(255,255,255,.72); text-stroke: 1.5px rgba(255,255,255,.72); }
.hero-immersive .lead { max-width: 760px; color: #d4e2e7; font-size: clamp(1.1rem, 1.6vw, 1.36rem); }
.hero-proof { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.36); }
.hero-proof div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.hero-proof strong { display: block; color: white; font-size: 2.25rem; line-height: 1; }
.hero-proof span { display: block; margin-top: 5px; color: #c4d5dc; font-size: .83rem; text-transform: uppercase; letter-spacing: .08em; }
.blueprint { position: absolute; inset: 10% 5% 10% 45%; z-index: 1; pointer-events: none; opacity: .5; }
.blueprint span { position: absolute; display: block; border: 1px solid rgba(122,213,216,.35); animation: blueprintPulse 5s ease-in-out infinite; }
.blueprint span:nth-child(1) { width: 42%; height: 70%; right: 18%; top: 10%; }
.blueprint span:nth-child(2) { width: 65%; height: 42%; right: 4%; top: 24%; animation-delay: -1s; }
.blueprint span:nth-child(3) { width: 22%; height: 84%; right: 40%; top: 0; animation-delay: -2s; }
.blueprint span:nth-child(4) { width: 6px; height: 6px; border-radius: 50%; right: 61%; top: 22%; background: var(--teal-bright); box-shadow: 0 0 0 12px rgba(122,213,216,.08); animation-delay: -3s; }
@keyframes blueprintPulse { 0%,100% { opacity:.25; transform:translateY(0); } 50% { opacity:.85; transform:translateY(-5px); } }
.scroll-cue { position: absolute; z-index: 4; left: 50%; bottom: 25px; transform: translateX(-50%); color: rgba(255,255,255,.72); text-decoration: none; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; display: grid; justify-items: center; gap: 9px; }
.scroll-cue i { width: 1px; height: 28px; background: linear-gradient(white, transparent); animation: scrollCue 1.7s ease-in-out infinite; }
@keyframes scrollCue { 0%,100% { transform:scaleY(.45); transform-origin:top; opacity:.35; } 50% { transform:scaleY(1); opacity:1; } }

.client-ribbon { padding: 34px 0 42px; overflow: hidden; background: white; border-bottom: 1px solid var(--line); }
.ribbon-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.ribbon-heading p { margin: 0; color: var(--teal); }
.ribbon-heading span { color: var(--muted); font-size: .9rem; }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.logo-track { width: max-content; display: flex; align-items: center; gap: 18px; animation: logoMarquee 28s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.client-logo { width: 180px; height: 112px; padding: 16px 22px; display: grid; place-items: center; overflow: hidden; background: white; border: 1px solid #e5ecef; border-radius: 8px; }
.client-logo-wide { width: 235px; }
.client-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 76px; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .25s, opacity .25s, transform .25s; }
.client-logo:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.035); }
@keyframes logoMarquee { to { transform: translateX(calc(-50% - 9px)); } }

.expertise-section { padding: 110px 0; background: #eef4f5; }
.expertise-section .section-intro h2,
.section-projects .section-intro h2 { font-size: clamp(2.8rem, 5.6vw, 5.2rem); line-height: .96; }
.expertise-duo { display: grid; grid-template-columns: 1fr 110px 1fr; align-items: stretch; }
.expertise-panel { position: relative; min-height: 520px; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; color: white; }
.expertise-panel::before { content:""; position:absolute; inset:0; z-index:0; background-size:cover; background-position:center; transition:transform .7s ease; }
.expertise-panel::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(0deg, rgba(6,24,36,.96), rgba(6,24,36,.14) 70%); }
.expertise-panel:hover::before { transform: scale(1.045); }
.expertise-built::before { background-image:url('/assets/bat-a-montage.jpg'); }
.expertise-digital::before { background-image:linear-gradient(145deg, #174a55, #061824 70%); }
.expertise-digital::after { background-image:linear-gradient(rgba(122,213,216,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(122,213,216,.12) 1px, transparent 1px), radial-gradient(circle at 75% 15%, rgba(122,213,216,.28), transparent 34%); background-size:42px 42px,42px 42px,auto; }
.expertise-panel > * { position:relative; z-index:2; }
.expertise-panel h3 { color:white; font-size:clamp(2.1rem,3.6vw,3.8rem); line-height:1; max-width:520px; }
.expertise-panel p { color:#d2e2e7; max-width:520px; }
.expertise-panel a { color:var(--teal-bright); font-weight:800; text-decoration:none; }
.panel-code { font-size:.78rem; font-weight:800; letter-spacing:.14em; }
.expertise-link { display:grid; place-items:center; background:var(--teal); color:white; text-align:center; }
.expertise-link span { width:1px; height:100%; background:rgba(255,255,255,.45); }
.expertise-link b { font-size:.67rem; letter-spacing:.15em; line-height:1.7; }

.section-projects { padding: 110px 0; background: white; }
.project-editorial { display:grid; grid-template-columns:1.22fr .78fr; gap:16px; min-height:760px; }
.project-stack { display:grid; grid-template-rows:1fr 1fr; gap:16px; }
.project-visual { position:relative; overflow:hidden; min-height:320px; color:white; text-decoration:none; background:var(--night); }
.project-visual img { width:100%; height:100%; object-fit:cover; filter:saturate(.82); transition:transform .65s ease, filter .65s ease; }
.project-visual::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(6,24,36,.94), transparent 66%); }
.project-visual:hover img { transform:scale(1.045); filter:saturate(1); }
.project-overlay { position:absolute; z-index:2; left:30px; right:30px; bottom:28px; }
.project-overlay small { color:var(--teal-bright); text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
.project-overlay h3 { color:white; font-size:clamp(1.65rem,3vw,3.2rem); max-width:680px; margin:8px 0 12px; }
.project-overlay > span { color:#d4e2e7; font-size:.9rem; }
.project-index { position:absolute; z-index:2; top:24px; right:24px; color:white; font-size:1.05rem; font-weight:800; border:1px solid rgba(255,255,255,.55); width:48px; height:48px; display:grid; place-items:center; border-radius:50%; }

.system-section { padding:120px 0; color:white; background:var(--night); overflow:hidden; }
.system-grid { display:grid; grid-template-columns:.82fr 1.18fr; gap:80px; align-items:center; }
.system-copy h2 { color:white; font-size:clamp(2.8rem,5vw,5rem); line-height:.96; }
.system-copy p:not(.eyebrow) { color:#b8cbd3; font-size:1.1rem; }
.brain-map { position:relative; min-height:540px; }
.brain-map svg { position:absolute; inset:0; width:100%; height:100%; }
.brain-map svg path { fill:none; stroke:rgba(122,213,216,.38); stroke-width:1.5; stroke-dasharray:8 8; animation:flow 15s linear infinite; }
@keyframes flow { to { stroke-dashoffset:-160; } }
.brain-core,.brain-node { position:absolute; z-index:2; display:grid; align-content:center; border:1px solid rgba(122,213,216,.34); background:rgba(12,45,60,.9); backdrop-filter:blur(10px); box-shadow:0 18px 50px rgba(0,0,0,.28); }
.brain-core { width:170px; height:170px; left:50%; top:50%; transform:translate(-50%,-50%); border-radius:50%; text-align:center; }
.brain-core span { color:var(--teal-bright); font-size:.7rem; letter-spacing:.16em; }
.brain-core strong { color:white; font-size:1.35rem; line-height:1.15; }
.brain-node { width:180px; min-height:84px; padding:16px 19px; border-radius:12px; }
.brain-node span { color:white; font-weight:800; }
.brain-node small { color:#9fb8c2; }
.node-mail { left:0; top:35px; }.node-radar { right:0; top:35px; }.node-opportunity { left:50%; bottom:5px; transform:translateX(-50%); }.node-time { left:-15px; bottom:85px; }.node-finance { right:-15px; bottom:85px; }

.profile-band { padding:100px 0; background:#e8f0f1; }
.profile-layout { display:grid; grid-template-columns:300px 1fr; gap:80px; align-items:center; }
.profile-layout h2 { font-size:clamp(2.6rem,4.6vw,4.7rem); line-height:1; }
.profile-layout p:not(.eyebrow) { color:var(--muted); font-size:1.1rem; max-width:800px; }
.profile-monogram { aspect-ratio:1; padding:34px; display:flex; flex-direction:column; justify-content:space-between; color:white; background:var(--teal); }
.profile-monogram span { font-size:7rem; font-weight:800; line-height:.8; letter-spacing:-.08em; }
.profile-monogram small { padding-top:18px; border-top:1px solid rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.08em; }
.text-link { align-self:center; color:var(--navy); font-weight:800; text-underline-offset:4px; }
.cta-band { background:var(--teal-bright); }
.cta-band .eyebrow { color:var(--navy); margin:0 0 8px; }

.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity:1; transform:none; }

/* References pérennes sur la page Réalisations */
.references-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.reference-card { min-height:170px; padding:24px; display:grid; place-items:center; border:1px solid var(--line); background:white; }
.reference-card img { width:100%; height:110px; object-fit:contain; filter:grayscale(1); opacity:.72; transition:.25s ease; }
.reference-card:hover img { filter:none; opacity:1; transform:scale(1.03); }

@media (max-width: 980px) {
  .site-header-overlay .nav-links { background:rgba(6,24,36,.98); border-color:rgba(255,255,255,.14); }
  .hero-stage,.system-grid { grid-template-columns:1fr; }
  .hero-proof { grid-template-columns:repeat(3,1fr); margin-top:12px; }
  .hero-proof div { border-right:1px solid rgba(255,255,255,.2); padding:16px; }
  .blueprint { inset:10% 0 5% 30%; }
  .expertise-duo { grid-template-columns:1fr; }
  .expertise-link { min-height:72px; grid-template-columns:1fr auto 1fr; gap:14px; }
  .expertise-link span { width:100%; height:1px; }
  .project-editorial { min-height:auto; grid-template-columns:1fr; }
  .project-visual-main { min-height:620px; }
  .project-stack { grid-template-columns:1fr 1fr; grid-template-rows:auto; }
  .project-stack .project-visual { min-height:420px; }
  .profile-layout { grid-template-columns:240px 1fr; gap:45px; }
}

@media (max-width: 640px) {
  .site-header-overlay .brand span:last-child { font-size:.85rem; }
  .site-header-overlay .brand span small { font-size:.52rem; }
  .hero-immersive { min-height:760px; padding:125px 0 75px; }
  .hero-immersive h1 { font-size:clamp(3.1rem,15vw,4.6rem); }
  .hero-proof { grid-template-columns:1fr 1fr 1fr; }
  .hero-proof div { padding:12px 8px; }
  .hero-proof strong { font-size:1.5rem; }
  .hero-proof span { font-size:.62rem; }
  .scroll-cue { display:none; }
  .ribbon-heading { align-items:flex-start; flex-direction:column; }
  .client-logo { width:155px; height:100px; padding:14px 18px; }
  .client-logo-wide { width:215px; }
  .client-logo img { max-height:68px; }
  .expertise-section,.section-projects,.system-section,.profile-band { padding:76px 0; }
  .expertise-panel { min-height:460px; padding:25px; }
  .project-visual-main { min-height:560px; }
  .project-stack { grid-template-columns:1fr; }
  .project-stack .project-visual { min-height:390px; }
  .project-overlay { left:21px; right:21px; bottom:20px; }
  .brain-map { min-height:640px; }
  .brain-core { width:140px; height:140px; }
  .brain-node { width:145px; min-height:76px; padding:12px; }
  .node-mail { left:0; top:20px; }.node-radar { right:0; top:20px; }.node-time { left:0; bottom:120px; }.node-finance { right:0; bottom:120px; }.node-opportunity { bottom:10px; }
  .profile-layout { grid-template-columns:1fr; }
  .profile-monogram { width:min(100%,300px); }
  .references-grid { grid-template-columns:1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-frame,.logo-track,.blueprint span,.scroll-cue i,.brain-map svg path { animation:none !important; }
  .hero-frame:not(.is-active) { display:none; }
  .reveal { opacity:1; transform:none; }
}

/* Présentation du réseau de compétences */
.about-layout { grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); }
.network-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.network-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--teal); padding: 30px; }
.network-discipline { color: var(--blue); font-size: .875rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 24px; }
.network-card h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); margin-bottom: 8px; }
.network-role { color: var(--navy); font-weight: 700; margin-top: 0; }
.network-card p:not(.network-discipline):not(.network-role) { color: var(--muted); }
.network-card p:last-child { margin-bottom: 0; }
.network-complement { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 30px; max-width: 920px; }
.network-complement h3 { font-size: 1.5rem; }
.network-complement p { color: var(--muted); margin-bottom: 0; }
.network-section { scroll-margin-top: 90px; }
@media (max-width: 980px) { .about-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .network-grid { grid-template-columns: 1fr; } .network-card { padding: 24px; } }

/* Visuel B validé : Aalo Lens / Unsplash, https://unsplash.com/photos/b08Pe9MV_eU */
.page-hero.about-hero {
  background: linear-gradient(90deg, rgba(6,24,36,.90), rgba(6,24,36,.78) 62%, rgba(6,24,36,.50)), url('/assets/ascenseur-hall-aalo-lens.jpg') center 60% / cover;
}
@media (max-width: 640px) {
  .page-hero.about-hero {
    background: linear-gradient(rgba(6,24,36,.84), rgba(6,24,36,.84)), url('/assets/ascenseur-hall-aalo-lens.jpg') 30% center / cover;
  }
}

/* Référence EPMR — Collège Les 7 Épis */
#college-les-7-epis { scroll-margin-top: 100px; }
.project-status-installed { background: var(--ice); color: var(--navy-2); }
.project-status-installed::before { display: none; }
.gallery-epmr img { aspect-ratio: 3 / 4; object-fit: contain; }
.gallery-epmr figcaption { font-size: .875rem; line-height: 1.5; }
.gallery-epmr figcaption strong { color: var(--navy); }
.gallery-epmr img[src$="7-epis-travaux-implantation.jpg"] { object-fit: cover; object-position: 45% center; }
