/* REXOR GROUP · feuille de style unique (piste A, Éditorial). Polices servies par le site. */
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.01cf74437d.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter.80624e3e24.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("/assets/fonts/plexmono.3a71ddd1af.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #f4f1ea;
  --surface: #faf8f3;
  --ink: #171614;
  --ink-2: #3b3833;
  --muted: #69645b;
  --rule: #d8d2c6;
  --rule-strong: #171614;
  --band-bg: #171614;
  --band-fg: #f4f1ea;
  --band-muted: #a7a196;
  --focus: #7a2e22;
  --live: #2f7d4f;
  --dev: #a8781f;
  --sw-closer: #171614;
  --sw-lodgeyard: #3d5240;
  --sw-studio: #b3261e;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4.5vw, 56px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121110;
    --surface: #1a1917;
    --ink: #ede9e1;
    --ink-2: #cdc7bb;
    --muted: #9c968b;
    --rule: #2f2c28;
    --rule-strong: #8f897f;
    --band-bg: #1d1c19;
    --band-fg: #ede9e1;
    --band-muted: #9c968b;
    --focus: #e39a87;
    --live: #5fb884;
    --dev: #d9a748;
    --sw-closer: #ede9e1;
    --sw-lodgeyard: #8fae92;
    --sw-studio: #e2564b;
  }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
p, li, dd { text-wrap: pretty; }
svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -100px; z-index: 20; background: var(--ink); color: var(--paper); padding: 10px 14px; text-decoration: none; font-weight: 500; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.eyebrow { font: 400 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.num { font: 400 12px/1 var(--mono); letter-spacing: .08em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ext { display: inline-block; width: .7em; height: .7em; margin-left: .3em; vertical-align: .02em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .site-header { background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark { display: inline-flex; align-items: baseline; gap: .55em; text-decoration: none; font: 13px/1 var(--sans); letter-spacing: .26em; white-space: nowrap; padding-block: 8px; }
.wm-strong { font-weight: 700; }
.wm-light { font-weight: 400; color: var(--ink-2); }
.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* Hero (accueil) */
.hero { padding-block: clamp(56px, 10vw, 140px) clamp(56px, 8vw, 112px); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: end; gap: 80px; } }
.hero h1, .page-hero h1 { margin-top: 28px; font: 400 clamp(2.5rem, 1.35rem + 5vw, 5.6rem)/1.02 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
.hero h1 { max-width: 13ch; }
.lead { margin-top: 32px; font-size: clamp(1.06rem, 1rem + .3vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.actions { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500; font-size: 15px; letter-spacing: .01em; border-radius: 2px; }
.btn:hover { background: var(--ink-2); }
.link-arrow { display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px; border-bottom: 1px solid var(--rule-strong); padding: 8px 0 3px; }
.link-arrow::after { content: "\00a0→"; }
.link-arrow:hover { border-bottom-width: 2px; padding-bottom: 2px; }

.hero-index ol { border-top: 1px solid var(--rule-strong); }
.hero-index a { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.hero-index a:hover .nm { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.hero-index .nm { font: 400 1.3rem/1.2 var(--serif); }
.hero-index .ds { font-size: 13px; color: var(--muted); text-align: right; }
.hero-index .is-next .nm { color: var(--muted); }

/* Titres de page (pages intérieures) */
.page-hero { padding-block: clamp(56px, 9vw, 128px) clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 18ch; font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.75rem); }
.page-hero .lead { max-width: 40em; }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section + .section { border-top: 1px solid var(--rule); }
.section--surface { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font: 400 clamp(2rem, 1.3rem + 2.6vw, 3.25rem)/1.08 var(--serif); letter-spacing: -.02em; max-width: 20ch; text-wrap: balance; }

/* Marques */
.brand-list { border-top: 1px solid var(--rule-strong); }
.brand { position: relative; display: grid; gap: 20px 48px; padding: 36px 0 40px; border-bottom: 1px solid var(--rule); }
@media (min-width: 900px) {
  .brand { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); grid-template-rows: auto 1fr; }
  .brand-id { grid-row: 1 / 3; }
  .brand-meta { grid-column: 3; grid-row: 1; }
  .brand-link { grid-column: 3; grid-row: 2; align-self: end; }
  .brand-desc { grid-row: 1 / 3; }
}
.brand-id { display: grid; gap: 10px; align-content: start; }
.brand-id h3 { font: 400 clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem)/1.05 var(--serif); letter-spacing: -.015em; display: flex; align-items: center; gap: 14px; }
.brand-id h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--swatch, var(--muted)); flex: none; }
.brand--closer { --swatch: var(--sw-closer); }
.brand--lodgeyard { --swatch: var(--sw-lodgeyard); }
.brand--studio { --swatch: var(--sw-studio); }
.brand--studio h3 { letter-spacing: .02em; }
.brand-id .cat { color: var(--muted); font-size: 15px; }
.brand-desc { color: var(--ink-2); max-width: 34em; }
.brand-meta { display: grid; gap: 14px; align-content: start; }
.brand-meta dt, .facts dt, .foot-h, .card .eyebrow { font: 400 11px/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand-meta dd { font-size: 15px; margin-top: 2px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot--live { background: var(--live); }
.dot--dev { background: var(--dev); }
.brand-link { justify-self: start; font-weight: 500; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding: 8px 0 3px; }
.brand-link::after { content: ""; position: absolute; inset: 0; }
.brand:has(.brand-link:hover) .brand-link { border-bottom-width: 2px; padding-bottom: 2px; }
.brand:has(.brand-link:hover) h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.brand--next { border-bottom-style: dashed; }
.brand--next .brand-id h3 { color: var(--muted); }
.brand--next .brand-id h3::before { background: transparent; border: 1px dashed var(--muted); }

/* Méthode */
.method-list { display: grid; gap: 40px; }
@media (min-width: 900px) { .method-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; } }
.method-list li { border-top: 1px solid var(--rule-strong); padding-top: 20px; display: grid; gap: 12px; align-content: start; }
.method-list h3 { font: 400 1.6rem/1.15 var(--serif); letter-spacing: -.01em; }
.method-list p { color: var(--ink-2); }

/* Fiche société */
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.split .section-head { margin-bottom: 0; align-content: start; }
.lede-sm { color: var(--ink-2); max-width: 26em; }
.facts { border-top: 1px solid var(--rule-strong); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 600px) { .facts > div { grid-template-columns: 190px minmax(0, 1fr); gap: 24px; } }
.facts dt { line-height: 1.9; }
.facts a, .prose a, .card a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.facts a:hover, .prose a:hover, .card a:hover { text-decoration-thickness: 2px; }

/* Bandeau contact */
.cta { background: var(--band-bg); color: var(--band-fg); padding-block: clamp(64px, 9vw, 120px); }
.cta .eyebrow { color: var(--band-muted); }
.cta-title { margin-top: 20px; font: 400 clamp(1.8rem, 1.2rem + 2.4vw, 3rem)/1.12 var(--serif); letter-spacing: -.015em; max-width: 22ch; text-wrap: balance; }
.cta-mail { display: inline-block; margin-top: 32px; font: 400 clamp(1.25rem, 1rem + 1.2vw, 1.75rem)/1.2 var(--serif); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; overflow-wrap: anywhere; }
.cta-mail:hover { border-bottom-width: 2px; padding-bottom: 3px; }
.cta :focus-visible { outline-color: currentColor; }

/* Pages intérieures : blocs titre + texte */
.rows > li { display: grid; gap: 16px; padding-block: 32px; border-top: 1px solid var(--rule); }
.rows > li:first-child { border-top-color: var(--rule-strong); }
@media (min-width: 900px) { .rows > li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; } }
.rows h3 { font: 400 1.6rem/1.2 var(--serif); letter-spacing: -.01em; }
.rows p { color: var(--ink-2); max-width: 36em; }
.rows p + p { margin-top: 1em; }

/* Contact */
.cards { display: grid; gap: 0; border-top: 1px solid var(--rule-strong); }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
.card { display: grid; gap: 12px; align-content: start; padding: 32px 0; border-bottom: 1px solid var(--rule); }
.card h2 { font: 400 1.9rem/1.1 var(--serif); letter-spacing: -.015em; }
.card p { color: var(--ink-2); }
.card .mail { font: 400 1.25rem/1.3 var(--serif); overflow-wrap: anywhere; }
.card .site { font-size: 15px; }

/* Textes juridiques */
.prose { max-width: 46em; }
.prose h2 { font: 400 clamp(1.5rem, 1.2rem + 1vw, 1.9rem)/1.2 var(--serif); letter-spacing: -.01em; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 600; font-size: 1.05rem; margin-top: 28px; }
.prose p, .prose ul, .prose dl { margin-top: 16px; color: var(--ink-2); }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--muted); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .facts { margin-top: 20px; color: var(--ink); }
.prose .note { margin-top: 48px; font-size: 14px; color: var(--muted); }
.summary { margin-bottom: 48px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--rule); }
.summary p { margin: 0; color: var(--ink); }

/* 404 */
.notfound { padding-block: clamp(80px, 14vw, 180px); }
.notfound h1 { font: 400 clamp(2.4rem, 1.4rem + 4vw, 4.5rem)/1.05 var(--serif); letter-spacing: -.02em; margin-top: 24px; }
.notfound p { margin-top: 20px; color: var(--ink-2); }
.notfound .actions { margin-top: 32px; }

/* Pied de page */
.site-footer { padding-block: 64px 32px; font-size: 15px; border-top: 1px solid var(--rule); }
.cta + .site-footer, main + .site-footer { border-top: 0; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.addr { margin-top: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; font-style: normal; }
.foot-col { display: grid; gap: 4px; align-content: start; }
.foot-col a { text-decoration: none; color: var(--ink-2); padding-block: 4px; justify-self: start; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot-h { margin-bottom: 6px; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: 13px; }

@media (max-width: 560px) {
  .header-inner { flex-wrap: wrap; padding-block: 12px 4px; gap: 4px; min-height: 0; }
  .nav { width: 100%; justify-content: space-between; gap: 12px; }
  .hero-index .ds { display: none; }
  .hero-index a { grid-template-columns: 32px minmax(0, 1fr); }
  html { scroll-padding-top: 112px; }
}

@media print {
  .site-header, .skip, .cta, .actions { display: none; }
  body { background: #fff; color: #000; }
  a { text-decoration: none; }
}

