/* Bureau Maire site styles. Colours and type from the Bureau Maire design system. */

@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Syncopate"; src: url("../fonts/syncopate-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #ffffff;          /* blanc (ivoire de la charte : #faf6ee) */
  --ink: #16291f;         /* sapin nuit */
  --ink-2: #2a4134;       /* sapin clair */
  --creme: #f1eadc;
  --pierre: #d9d3c7;
  --muted: #5b5a54;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Syncopate", "Arial Black", sans-serif;
  --gutter: 48px;
  --max: 1296px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--creme); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Header */
.site-header .wrap { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: clamp(125px, 13vw, 142px); height: auto; }
.nav-link { font-size: 15px; font-weight: 500; line-height: 1.2; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .25s; }
.nav-link:hover, .nav-link[aria-current="page"] { border-bottom-color: var(--ink); color: var(--ink); }

/* Type helpers */
.overline { margin: 0 0 32px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.label { margin: 0; font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; }
.display { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.15; }
.text-link { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }

/* Intro */
.intro { padding-top: 160px; padding-bottom: 140px; }
.intro h2 { margin: 0; max-width: 980px; font-size: 40px; line-height: 1.35; font-weight: 400; letter-spacing: -.01em; }

/* Services */
.services { padding-bottom: 140px; }
.services-head { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: end; margin-bottom: 48px; }
.services-head .overline { margin-bottom: 12px; }
.services-head .display { font-size: 34px; }
.services-head > p { margin: 0; max-width: 480px; justify-self: end; color: var(--ink-2); }
.svc-list { border-top: 1px solid var(--ink); }
.svc { border-bottom: 1px solid var(--ink); }
.svc-btn { width: 100%; display: grid; grid-template-columns: 80px minmax(0, 1fr) 48px; align-items: center; gap: 16px; padding: 32px 16px; background: transparent; border: 0; cursor: pointer; text-align: left; color: var(--ink); font: inherit; transition: background-color .3s; }
.svc-btn:hover { background: var(--creme); }
.svc-num { font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--ink-2); }
.svc-title { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; }
.svc-sign { justify-self: end; font-size: 28px; line-height: 1; transition: transform .3s; }
.svc-btn:hover .svc-sign { transform: translateX(6px); }
.svc-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; padding: 0 16px 40px 112px; }
.svc-body[hidden] { display: none; }
.svc-body p { margin: 0; }
.svc-body .desc { max-width: 520px; font-size: 19px; line-height: 1.6; }
.svc-body ul { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.9; color: var(--ink-2); }

/* Text blocks */
.blocks { padding-bottom: 140px; }
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 48px; border-top: 1px solid var(--ink); padding-top: 32px; }
.block + .block { margin-top: 96px; }
.block p { margin: 0; max-width: 760px; font-size: 22px; line-height: 1.5; }

/* Contact page */
.contact-main { padding-top: 160px; padding-bottom: 140px; }
.contact-main h1 { margin: 0 0 32px; }
.mail { font-size: 40px; line-height: 1.3; }
.contact-grid { margin-top: 120px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; border-top: 1px solid var(--ink); padding-top: 32px; }
.contact-grid h2 { margin-bottom: 8px; }
.contact-grid p { margin: 0; }

/* Legal page */
.legal { padding-top: 120px; padding-bottom: 120px; max-width: 860px; }
.legal h1 { font-size: 28px; margin-bottom: 48px; }
.legal h2 { margin: 48px 0 12px; }
.legal p { margin: 0 0 12px; }

/* Footer */
.site-footer { padding-bottom: 48px; }
.footer-row { border-top: 1px solid var(--pierre); padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.footer-note { font-size: 13px; color: var(--muted); }
.footer-legal { margin: 20px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.footer-legal a { color: var(--muted); }

/* Entrance */
.fade { animation: fade 1.2s ease both; }
.fade-2 { animation-delay: .15s; }
.fade-3 { animation-delay: .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; } .svc-btn, .svc-sign { transition: none; } }

/* Mobile */
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .site-header .wrap { height: 72px; }
  .intro, .contact-main { padding-top: 72px; padding-bottom: 72px; }
  .intro h2 { font-size: 26px; }
  .services, .blocks { padding-bottom: 72px; }
  .services-head, .block, .contact-grid, .svc-body { grid-template-columns: minmax(0, 1fr); }
  .services-head { gap: 16px; }
  .services-head > p { justify-self: start; }
  .services-head .display { font-size: 24px; }
  .svc-btn { grid-template-columns: 40px minmax(0, 1fr) 28px; padding: 24px 8px; }
  .svc-title { font-size: 18px; }
  .svc-body { padding: 0 8px 28px; gap: 16px; }
  .block { gap: 16px; }
  .block + .block { margin-top: 64px; }
  .block p { font-size: 19px; }
  .mail { font-size: 22px; word-break: break-word; }
  .contact-grid { margin-top: 64px; gap: 28px; }
}
nav {display:flex;gap:clamp(16px,4vw,48px)}
.landing {min-height:100svh;display:grid;align-content:center;justify-items:center;gap:42px}
.landing h1 {width:min(100%, 1044px);margin:0}
.landing img {width:100%;height:auto}
.inquiry {max-width:700px;padding-top:clamp(30px,6vh,80px);padding-bottom:32px}
.inquiry form,.inquiry label {display:grid;gap:6px}
.inquiry form {margin:28px 0;gap:16px}
.inquiry input,.inquiry textarea {border:1px solid var(--pierre);padding:10px;font:inherit;color:inherit;width:100%;border-radius:0}
.inquiry button {justify-self:start;background:var(--ink);color:white;padding:12px 24px;border:0;font:inherit;cursor:pointer}
.inquiry footer {font-size:13px;margin-top:32px}
.landing .nav-link { font-size: clamp(19px, 2vw, 22px); }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
