:root {
  color-scheme: dark;
  --ink: #0a1623;
  --deep: #08131f;
  --panel: #102334;
  --gold: #e6bd77;
  --paper: #f2f1e9;
  --muted: #bec9ce;
  --rule: #31414e;
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--deep); color: var(--paper); font-size: 1rem; line-height: 1.6; }
h1, h2, p { margin: 0; }
a { color: inherit; text-decoration: none; }
a, button, summary, input, textarea { -webkit-tap-highlight-color: transparent; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(100% - clamp(3rem, 11vw, 11rem), 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 4; left: 1rem; top: -8rem; padding: .6rem 1rem; color: var(--deep); background: var(--gold); }
.skip:focus { top: .5rem; }
.masthead { background: #0a1725; border-bottom: 1px solid #293845; }
.masthead-inner { min-height: 5.2rem; display: flex; align-items: center; gap: clamp(1.3rem, 3.2vw, 3.4rem); }
.brand { display: inline-flex; gap: .65rem; align-items: center; margin-right: auto; }
.brand img { display: block; width: 3.45rem; height: 3rem; object-fit: contain; }
.brand-type { display: grid; }
.brand-type strong { font-size: 1.6rem; font-weight: 720; line-height: 1.02; letter-spacing: -.055em; }
.brand-type strong span { color: var(--gold); }
.brand-type small { margin-top: .18rem; font-size: .75rem; color: #b7c3ca; letter-spacing: .01em; }
nav { display: flex; gap: clamp(1rem, 2.5vw, 2.4rem); }
nav a, .outline, .button-gold, .text-action { font-size: .94rem; font-weight: 600; }
nav a { color: #e0e5e5; }
nav a:hover, footer a:hover { color: var(--gold); }
.outline { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; border: 1px solid #9a8059; padding: .48rem 1.2rem; color: var(--gold); white-space: nowrap; }
.outline:hover { background: #202a32; border-color: var(--gold); }
.hero {
  position: relative; isolation: isolate; display: grid; align-items: center;
  min-height: clamp(32rem, 39.5vw, 39rem);
  background-color: #132635;
  background-image: linear-gradient(90deg, rgba(6,16,27,.97), rgba(7,18,30,.88) 27%, rgba(8,19,32,.60) 48%, rgba(8,19,32,.10) 78%), linear-gradient(0deg, rgba(7,17,29,.48), transparent 40%), url("../assets/paris-nuit.jpg");
  background-position: center, center, center 53%; background-size: cover; background-repeat: no-repeat;
}
.hero-inner { padding-block: clamp(3.4rem, 5vw, 5.3rem); }
.eyebrow { color: var(--gold); font-size: .81rem; line-height: 1.5; font-weight: 650; text-transform: uppercase; letter-spacing: .15em; }
.hero-label { display: flex; gap: .85rem; align-items: center; margin-bottom: 1.3rem; }
.hero-label::before { content: ""; height: 1px; width: 2.2rem; background: var(--gold); }
h1 { max-width: 13ch; color: #fffdf6; font-size: clamp(4.05rem, 6.7vw, 6.6rem); font-weight: 580; line-height: .98; letter-spacing: -.066em; }
h1 em { font-style: normal; font-weight: 350; color: #edcc91; }
.intro { margin-top: 1.45rem; max-width: 29rem; color: #e3e7e9; font-size: clamp(1.05rem, 1.3vw, 1.19rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.3rem); flex-wrap: wrap; margin-top: 1.9rem; }
.button-gold { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .66rem 1.35rem; background: var(--gold); color: #111d27; border: 1px solid var(--gold); line-height: 1.4; font-weight: 700; cursor: pointer; }
.button-gold:hover { background: #f2d29a; }
.button-gold:disabled { opacity: .6; cursor: default; }
.text-action { padding-block: .22rem; border-bottom: 1px solid #aeb3ae; }
.text-action:hover { border-color: var(--gold); color: var(--gold); }
.needs { background: #102130; padding-block: clamp(2.4rem, 4vw, 3.8rem); border-block: 1px solid var(--rule); }
.section-title h2 { font-size: clamp(2.25rem, 3.9vw, 4rem); font-weight: 510; line-height: 1.08; letter-spacing: -.055em; text-wrap: balance; }
.section-title > .eyebrow { margin-bottom: .85rem; }
.section-title > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; margin-top: 1.3rem; max-width: 37rem; }
.compact { display: flex; align-items: baseline; gap: 1.5rem; margin-bottom: 1.75rem; }
.compact > .eyebrow { margin: 0; }
.compact h2 { font-size: clamp(1.8rem, 2.4vw, 2.5rem); }
.needs-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #3c4d58; }
.need { display: grid; grid-template-columns: 2.2rem 1fr; align-content: center; column-gap: .9rem; padding: 1.45rem clamp(.8rem, 2vw, 2.1rem); }
.need + .need { border-left: 1px solid #3c4d58; }
.need:first-child { padding-left: 0; }
.need svg { align-self: start; width: 2rem; height: 2rem; color: var(--gold); grid-row: span 2; }
.need span { font-size: clamp(1.07rem, 1.45vw, 1.35rem); line-height: 1.35; font-weight: 560; }
.need small { color: var(--muted); font-size: .91rem; line-height: 1.55; margin-top: .35rem; }
.need:hover span { color: var(--gold); text-decoration: underline; text-underline-offset: .25rem; }
.missions, .contact { padding-block: clamp(4rem, 7vw, 7rem); background: var(--deep); }
.missions-layout, .contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 9vw, 8rem); }
.mission-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); scroll-margin-top: 2rem; }
summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; padding-block: 1rem; font-size: clamp(1.14rem, 1.6vw, 1.48rem); font-weight: 530; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); line-height: 1; font-weight: 380; font-size: 1.65rem; }
details[open] summary::after { content: "−"; }
summary:hover span, details:target summary span { color: var(--gold); }
details > p { max-width: 37rem; color: var(--muted); padding: 0 2.2rem 1.45rem 0; }
.cabinet { background: #122638; border-block: 1px solid var(--rule); padding-block: clamp(3.5rem, 6vw, 6rem); }
.cabinet-layout { display: grid; align-items: center; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 7vw, 7rem); }
.identity { padding: .2rem 1rem .2rem 1.6rem; border-left: 2px solid #b39461; display: flex; flex-direction: column; align-items: flex-start; }
.identity img { width: 5.75rem; height: 5rem; object-fit: contain; object-position: left center; margin-bottom: .8rem; }
.identity strong { font-size: clamp(1.6rem, 2.5vw, 2.4rem); letter-spacing: -.04em; font-weight: 550; }
.identity span { color: var(--muted); }
.cabinet .section-title h2 { font-size: clamp(2.05rem, 3.2vw, 3.2rem); }
.mail { display: inline-block; font-weight: 600; color: var(--gold); text-decoration: underline; text-underline-offset: .25rem; margin-top: 1.4rem; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.15rem; }
label { display: block; font-size: .92rem; color: #e1e6e8; font-weight: 560; }
label small { color: var(--muted); font-size: .84rem; font-weight: 400; }
input, textarea { display: block; width: 100%; margin-top: .4rem; padding: .62rem .75rem; min-height: 2.85rem; line-height: 1.4; background: #112231; border: 1px solid #536470; border-radius: 0; color: var(--paper); }
textarea { resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.full { grid-column: 1 / -1; }
.demo-note { margin: 1rem 0; font-size: .9rem; color: var(--muted); }
[data-status]:not(:empty) { padding: 1rem; border-left: 2px solid var(--gold); background: #142635; margin-top: 1rem; overflow-wrap: anywhere; }
[data-status] dt { font-weight: 700; }
[data-status] dd { margin: 0 0 .6rem; overflow-wrap: anywhere; }
footer { background: #0b1825; border-top: 1px solid var(--rule); color: var(--muted); }
.footer-inner { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; }
footer a { color: var(--paper); text-decoration: underline; text-underline-offset: .22rem; }
@media (max-width: 52rem) {
  .masthead-inner { flex-wrap: wrap; gap: 0 1rem; padding-top: .85rem; }
  nav { order: 1; width: 100%; gap: 1.6rem; }
  nav a { padding-block: .7rem; }
  .hero { min-height: 29rem; background-position: center, center, 60% center; }
  .need { grid-template-columns: 1fr; }
  .need svg { grid-row: auto; margin-bottom: .65rem; }
  .missions-layout, .contact-layout { grid-template-columns: 1fr 1.35fr; gap: 2.3rem; }
}
@media (max-width: 39rem) {
  .wrap { width: calc(100% - 2.5rem); }
  .masthead-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 .65rem; }
  .brand { grid-area: 1 / 1; min-width: 0; margin-right: 0; gap: .35rem; }
  .brand img { width: clamp(2rem, 8.5vw, 2.8rem); height: 2.7rem; flex-shrink: 0; }
  .brand-type { min-width: 0; }
  .brand-type strong { font-size: 1.34rem; }
  .brand-type small { font-size: .75rem; line-height: 1.2; }
  .masthead-contact { grid-area: 1 / 2; min-height: 2.65rem; padding: .4rem .65rem; font-size: .88rem; }
  nav { grid-area: 2 / 1 / 3 / -1; justify-content: space-between; gap: .6rem; }
  nav a { font-size: .89rem; }
  .hero { min-height: 31rem; background-image: linear-gradient(90deg,rgba(6,16,27,.88),rgba(7,18,30,.63) 66%,rgba(7,18,30,.27)),linear-gradient(0deg,rgba(7,17,29,.65),transparent 80%),url("../assets/paris-nuit.jpg"); }
  .hero-inner { padding-block: 3.6rem; }
  .hero-label { font-size: .76rem; letter-spacing: .10em; gap: .55rem; }
  .hero-label::before { width: 1.1rem; flex-shrink: 0; }
  h1 { font-size: clamp(3.25rem, 11.6vw, 4.2rem); }
  .hero-actions { gap: .85rem 1rem; }
  .compact { display: block; }
  .compact > .eyebrow { margin-bottom: .55rem; }
  .needs-grid, .missions-layout, .contact-layout, .cabinet-layout { grid-template-columns: 1fr; }
  .need, .need:first-child { grid-template-columns: 2.2rem 1fr; padding: 1.1rem 0; column-gap: 1rem; }
  .need svg { grid-row: span 2; margin-bottom: 0; }
  .need + .need { border-left: 0; border-top: 1px solid var(--rule); }
  .cabinet .section-title { order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 1.2rem; gap: .4rem; }
}
@media (max-width: 21rem) {
  .masthead-inner { gap: 0 .45rem; }
  .brand img { width: 2.1rem; }
  .brand-type small { max-width: 8rem; line-height: 1.2; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
