@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b1016;
  --ink-soft: #151c25;
  --paper: #f1f0ec;
  --paper-warm: #e5e1d8;
  --white: #fff;
  --blue: #78d5f5;
  --amber: #ffb236;
  --line: rgba(11,16,22,.16);
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; line-height: 1.6; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 30; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--pad); color: var(--white); transition: background .35s, padding .35s, color .35s; }
.site-header.is-scrolled { background: rgba(11,16,22,.94); backdrop-filter: blur(18px); padding-block: .65rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; letter-spacing: .12em; line-height: 1; }
.brand img { width: 54px; height: 40px; object-fit: contain; }
.brand strong, .brand small { display: block; }
.brand strong { font: 700 1rem/1 "Manrope", sans-serif; }
.brand small { font: 500 .58rem/1.4 "Manrope", sans-serif; color: var(--blue); letter-spacing: .26em; }
.nav { display: flex; align-items: center; gap: clamp(1rem,2.6vw,2.4rem); font-size: .82rem; letter-spacing: .04em; }
.nav a:not(.nav-cta) { opacity: .78; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav-cta { border: 1px solid rgba(255,255,255,.4); padding: .7rem 1rem; }
.menu-button { display: none; border: 0; background: none; padding: .5rem; color: inherit; }
.menu-button > span:not(.sr-only) { display: block; width: 24px; height: 1px; margin: 5px; background: currentColor; }

.hero { min-height: 100svh; position: relative; display: grid; align-items: center; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("assets/forge.webp") center 52%/cover no-repeat; animation: hero-in 1.4s ease-out both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,10,14,.94) 0%, rgba(6,10,14,.68) 48%, rgba(6,10,14,.12) 100%), linear-gradient(0deg, rgba(6,10,14,.55), transparent 45%); }
.hero-content { position: relative; z-index: 2; width: min(900px, 100%); padding: 9rem var(--pad) 8rem; }
.eyebrow, .section-label { margin: 0 0 2rem; text-transform: uppercase; letter-spacing: .22em; font-size: .68rem; font-weight: 600; }
.eyebrow { display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.72); }
.eyebrow span { display: inline-block; width: 2.5rem; height: 1px; background: var(--amber); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Manrope", sans-serif; letter-spacing: -.055em; line-height: .98; font-weight: 600; }
h1 { margin-bottom: 2rem; font-size: clamp(3.3rem, 8.8vw, 8rem); }
h1 em, h2 em { font-style: normal; color: var(--amber); }
.hero-intro { max-width: 650px; font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: rgba(255,255,255,.78); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: .7rem 1.25rem; font-size: .8rem; font-weight: 600; letter-spacing: .035em; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--amber); color: var(--ink); gap: 1.5rem; }
.button-ghost { border: 1px solid rgba(255,255,255,.35); }
.button-ghost:hover { background: var(--white); color: var(--ink); }
.hero-index { position: absolute; z-index: 2; right: var(--pad); bottom: 2rem; display: flex; gap: 1.2rem; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-cue { position: absolute; z-index: 2; left: var(--pad); bottom: 1.4rem; display: flex; align-items: center; gap: .8rem; font-size: .65rem; text-transform: uppercase; letter-spacing: .16em; }
.scroll-cue i { display: block; width: 3rem; height: 1px; background: rgba(255,255,255,.5); }

.section { padding: clamp(5rem, 10vw, 9rem) var(--pad); }
.section > * { max-width: var(--max); margin-inline: auto; }
.section-label { color: #59606a; }
.section-label.light { color: rgba(255,255,255,.5); }
.manifesto { background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(280px,.7fr); gap: clamp(3rem,8vw,8rem); align-items: end; }
h2 { margin-bottom: 0; font-size: clamp(2.6rem, 6vw, 5.8rem); }
.manifesto-copy { border-left: 1px solid var(--line); padding-left: 2rem; color: #4d535a; font-size: 1.05rem; }
.manifesto-copy p:last-child { margin-bottom: 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.section-heading .section-label { margin-bottom: .8rem; }
.section-heading h2 { max-width: 850px; }
.expertises { background: var(--paper-warm); }
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 70px 1fr 50px; gap: 1rem; align-items: center; padding: 1.8rem .25rem; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.service:hover { padding-inline: 1rem; background: rgba(255,255,255,.45); }
.service-number { color: #70767c; font-size: .72rem; }
.service h3 { margin: 0 0 .35rem; font: 600 clamp(1.35rem,2.5vw,2rem)/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.service p { margin: 0; color: #626970; }
.service-mark { justify-self: end; font-size: 1.4rem; }
.service-accent h3::after { content: "Nouveau"; display: inline-block; margin-left: 1rem; padding: .2rem .45rem; vertical-align: middle; background: var(--blue); color: var(--ink); font: 600 .55rem/1 "DM Sans",sans-serif; letter-spacing: .06em; text-transform: uppercase; }

.digital { max-width: none; background: #101722; color: var(--white); display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(3rem,8vw,7rem); align-items: center; }
.digital > * { width: 100%; }
.digital-intro { max-width: 540px; margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--pad))); }
.digital-intro h2 { margin-bottom: 1.8rem; }
.digital-intro > p:not(.section-label) { color: rgba(255,255,255,.62); font-size: 1.05rem; }
.digital-intro .button { margin-top: 1.2rem; }
.digital-grid { display: grid; grid-template-columns: 1fr 1fr; }
.digital-card { position: relative; min-height: 250px; padding: clamp(1.4rem,3vw,2.2rem); border: 1px solid rgba(255,255,255,.13); margin: -1px 0 0 -1px; display: flex; flex-direction: column; justify-content: flex-end; transition: background .25s, transform .25s; }
.digital-card:first-child { grid-column: 1/-1; }
.digital-card:hover { background: rgba(255,255,255,.06); transform: translateY(-3px); }
.digital-card > span { position: absolute; top: 1.4rem; left: 1.6rem; color: rgba(255,255,255,.35); font-size: .62rem; }
.digital-card h3 { margin: 0 2rem .65rem 0; font: 600 clamp(1.25rem,2vw,1.7rem)/1.15 "Manrope",sans-serif; letter-spacing: -.035em; }
.digital-card p { margin: 0; color: rgba(255,255,255,.52); font-size: .88rem; }
.digital-card i { position: absolute; right: 1.5rem; bottom: 1.5rem; font-style: normal; color: var(--amber); }
.digital-card-accent { background: rgba(120,213,245,.08); }

.projects { max-width: none; background: var(--ink); color: var(--white); }
.projects > * { max-width: var(--max); }
.section-heading.light .section-label { color: rgba(255,255,255,.45); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.project { position: relative; min-height: 480px; overflow: hidden; background: var(--ink-soft); }
.project-wide { grid-column: 1/-1; min-height: 650px; }
.project img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.project::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.78)); }
.project:hover img { transform: scale(1.035); }
.project-info { position: absolute; z-index: 2; inset: auto 0 0; padding: clamp(1.5rem,4vw,3rem); }
.project-info p { margin-bottom: .5rem; color: rgba(255,255,255,.58); text-transform: uppercase; letter-spacing: .15em; font-size: .63rem; }
.project-info h3 { margin: 0; font: 500 clamp(1.5rem,3vw,2.6rem)/1.1 "Manrope",sans-serif; letter-spacing: -.04em; }
.projects-more { margin-top: 2rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.projects-more p { max-width: 650px; margin: 0; color: rgba(255,255,255,.55); font-size: .86rem; }
.button-outline { border: 1px solid rgba(255,255,255,.32); color: var(--white); white-space: nowrap; gap: 1.2rem; }
.button-outline:hover { background: var(--white); color: var(--ink); }

.drone { position: relative; overflow: hidden; background: #d9eef4; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.65fr); gap: clamp(3rem,9vw,9rem); align-items: center; }
.drone > * { width: 100%; }
.drone-copy { position: relative; z-index: 2; margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--pad))); }
.drone-copy p:not(.section-label) { max-width: 620px; margin: 2rem 0; font-size: 1.05rem; color: #3f5159; }
.text-link { display: inline-flex; gap: 1.4rem; padding-bottom: .4rem; border-bottom: 1px solid var(--ink); font-size: .82rem; font-weight: 600; }
.drone-cards { display: grid; grid-template-columns: 1fr 1fr; position: relative; z-index: 2; }
.drone-cards div { min-height: 160px; padding: 1.4rem; border: 1px solid rgba(11,16,22,.18); display: flex; flex-direction: column; justify-content: space-between; margin: -1px 0 0 -1px; }
.drone-cards strong { font-size: .65rem; color: #657d87; }
.drone-cards span { font: 600 1rem/1.3 "Manrope",sans-serif; }
.drone-orbit { position: absolute; width: 44vw; aspect-ratio: 1; right: -18vw; top: -18vw; border: 1px solid rgba(11,16,22,.1); border-radius: 50%; }
.drone-orbit span { position: absolute; inset: 18%; border: 1px solid rgba(11,16,22,.11); border-radius: 50%; }
.drone-orbit i { position: absolute; width: 9px; aspect-ratio: 1; top: 23%; left: 12%; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 10px rgba(255,178,54,.2); }

.method { background: var(--paper); }
.steps { list-style: none; padding: 0; margin: 0 auto; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); }
.steps li { padding: 1.6rem 1.5rem 3rem; border-right: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; }
.steps li:first-child { border-left: 1px solid var(--line); }
.steps > li > span { color: #8c9297; font-size: .65rem; }
.steps h3 { font: 600 1.25rem/1.2 "Manrope",sans-serif; margin-bottom: .6rem; }
.steps p { margin: 0; color: #666d74; font-size: .92rem; }

.about { background: var(--paper-warm); display: grid; grid-template-columns: minmax(260px,.75fr) minmax(0,1fr); gap: clamp(3rem,9vw,9rem); align-items: center; }
.about-image { margin-left: max(0px, calc((100vw - var(--max)) / 2 - var(--pad))); }
.about-image img { width: 100%; aspect-ratio: .82; object-fit: cover; object-position: center top; filter: saturate(.82) contrast(1.05); }
.about-copy { max-width: 710px; }
.about-copy > p:not(.section-label,.signature) { margin-top: 2rem; color: #545b62; font-size: 1.08rem; }
.signature { margin-top: 2.2rem; font: 600 1.35rem/1 "Manrope",sans-serif; }
.signature span { margin-left: .5rem; font: 400 .78rem/1 "DM Sans",sans-serif; color: #666; }

.contact { background: var(--ink); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1.5fr .65fr; gap: 5rem; align-items: end; }
.contact-actions { display: grid; gap: 1.3rem; }
.contact-actions > a:not(.contact-main) { color: rgba(255,255,255,.76); }
.contact-main { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.35); font: 500 1.3rem/1.2 "Manrope",sans-serif; }
.contact-actions p { color: rgba(255,255,255,.48); font-size: .82rem; }
.footer { padding: 1.5rem var(--pad); background: #070b0f; color: rgba(255,255,255,.52); display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; }
.footer p { margin: 0; }
.footer-brand { color: var(--white); }
.footer-brand img { width: 38px; height: 30px; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; }
.legal-nav a:hover { color: var(--white); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-in { from { transform: scale(1.07); filter: brightness(.6); } to { transform: scale(1); filter: brightness(1); } }

@media (max-width: 820px) {
  .menu-button { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; background: var(--ink); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 7rem var(--pad); font: 500 1.6rem/1.2 "Manrope",sans-serif; transform: translateX(100%); transition: transform .35s ease; }
  .nav.is-open { transform: none; }
  .nav-cta { margin-top: 1rem; font-size: .9rem; }
  .hero-content { padding-top: 8rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(6,10,14,.9),rgba(6,10,14,.45)), linear-gradient(0deg,rgba(6,10,14,.7),transparent); }
  .hero-index { display: none; }
  .manifesto-grid, .contact-grid, .about, .drone, .digital { grid-template-columns: 1fr; }
  .manifesto-copy { padding-left: 0; border-left: 0; }
  .section-heading { display: block; }
  .project { min-height: 420px; }
  .project-wide { min-height: 520px; }
  .drone-copy, .about-image, .digital-intro { margin-left: auto; max-width: var(--max); }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 1px solid var(--line); }
  .about-image { max-width: 480px; }
  .footer { flex-wrap: wrap; }
  .projects-more { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .brand strong { font-size: .86rem; }
  .hero { min-height: 800px; }
  .hero-media { background-position: 58% center; }
  .hero-content { align-self: end; padding-bottom: 7rem; }
  h1 { font-size: clamp(3rem,15vw,4.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .scroll-cue { display: none; }
  .service { grid-template-columns: 35px 1fr; }
  .service-mark { display: none; }
  .service-accent h3::after { margin-left: .3rem; }
  .project-grid { grid-template-columns: 1fr; }
  .project-wide { grid-column: auto; }
  .project, .project-wide { min-height: 450px; }
  .drone-cards { grid-template-columns: 1fr; }
  .digital-grid { grid-template-columns: 1fr; }
  .digital-card:first-child { grid-column: auto; }
  .drone-cards div { min-height: 110px; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 180px; border-left: 1px solid var(--line); }
  .legal-nav { width: 100%; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
