/* Komorebi Group — feuille de style unique */
:root {
  --bg: #fffdfc;
  --navy: #0b2c45;
  --navy-dark: #081f33;
  --text: #465f72;
  --muted: #8193a0;
  --faint: #afadb5;
  --line: #e6e9ee;
  --surface: #f4f5f9;
  --footer: #e8eef3;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --gutter: clamp(16px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--navy);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 300; color: var(--navy); margin: 0; line-height: 1.25; }
h1 { font-size: clamp(30px, 4.2vw, 40px); }
h2 { font-size: clamp(20px, 2.6vw, 28px); }
p { margin: 0; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--navy); color: #fff; padding: 8px 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 16px; padding: 14px var(--gutter);
  background: rgba(247, 249, 250, .75);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.brand img { width: 165px; }
.site-header nav ul { display: flex; gap: clamp(8px, 2.5vw, 28px); list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  display: block; padding: 8px 10px;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--faint); border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s;
}
.site-header nav a:hover { color: var(--navy); }
.site-header nav a[aria-current="page"] { color: var(--navy); border-color: var(--muted); }
.lang {
  justify-self: end;
  font-size: 11px; letter-spacing: .08em; text-decoration: none;
  padding: 6px 12px; border-radius: 8px;
  background: #eeeef4; border: 1px solid #d8dbe6; color: var(--navy);
}
.lang:hover { background: #e4e5ee; }

/* ---------- Home ---------- */
.hero { padding: clamp(64px, 12vw, 130px) 0 clamp(48px, 9vw, 110px); max-width: 620px; }
.hero h1 { margin-bottom: 18px; }
.tagline { font-family: var(--serif); font-size: clamp(16px, 2vw, 18px); margin-bottom: 26px; }
.lead { color: var(--text); font-size: 15px; max-width: 560px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; padding-bottom: 96px; max-width: 900px; }
.card {
  display: flex; flex-direction: column; gap: 6px; min-height: 230px;
  padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff;
  text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 24px rgba(11, 44, 69, .08); transform: translateY(-2px); }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--faint); }
.card h2 { font-size: 19px; font-weight: 400; margin-bottom: 4px; }
.card p { font-size: 13px; color: var(--muted); }
.cta { margin-top: auto; padding-top: 24px; font-size: 13px; color: var(--navy); transition: transform .4s ease-in-out; }
.card:hover .cta, .card:focus-visible .cta { transform: translateX(10px); }

/* ---------- Pages intérieures ---------- */
.page-head { padding: clamp(64px, 11vw, 110px) 0 48px; max-width: 620px; }
.page-head h1 { margin-bottom: 14px; }

.pillars { display: grid; gap: 40px; padding: 24px 0 56px; max-width: 640px; }
.pillar { border-left: 2px solid var(--muted); padding-left: 14px; }
.pillar h2 { margin-bottom: 14px; }
.pillar p { color: var(--muted); font-size: 15px; }

.callout { margin: 24px 0 72px; max-width: 540px; padding: 32px 18px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.callout p { color: var(--faint); font-size: 16px; }

.closing { border-top: 1px solid var(--navy); padding: 18px 0 96px; max-width: 610px; position: relative; }
.closing .muted { position: absolute; top: -38px; color: var(--faint); font-size: 15px; }

.btn {
  display: inline-block; padding: 9px 24px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--navy); color: #f7f9fa; text-decoration: none;
  font: 400 16px var(--sans); letter-spacing: .06em; transition: background .2s;
}
.btn:hover { background: var(--navy-dark); }
.btn-block { display: block; width: 100%; }

/* ---------- Contact ---------- */
.form-wrap { padding: 32px 0 96px; }
.contact-form {
  max-width: 480px; margin: 0 auto; padding: 24px 20px;
  display: grid; gap: 18px; background: #f7f9fa;
}
.contact-form label { display: block; font-size: 14px; }
.contact-form label > input, .contact-form label > select, .contact-form label > textarea { display: block; margin-top: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 10px 12px; font: 400 15px var(--sans); color: var(--navy);
  background: #fff; border: 1px solid #a9b2bb; border-radius: 0;
}
.contact-form select { appearance: none; -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b2c45' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; }
.contact-form textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 22px var(--gutter); background: var(--footer); font-size: 12px; color: var(--navy);
}
.footer-brand { font-family: var(--serif); }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { grid-column: 1 / -1; grid-row: 2; overflow-x: auto; }
  .site-header nav ul { justify-content: space-between; }
  .site-header nav a { padding: 6px 4px; font-size: 11px; }
  .brand img { width: 140px; }
  .cards { grid-template-columns: 1fr; }
}
.form-status { font-size: 14px; color: #A3302A; margin: 0; }
.btn:disabled { opacity: .6; cursor: wait; }
