:root {
  color-scheme: light;
  --hf-ink: #172b42;
  --hf-ink-soft: #536275;
  --hf-paper: #f7f5f0;
  --hf-surface: #ffffff;
  --hf-line: #d9dee4;
  --hf-accent: #a17d3c;
  --hf-accent-ink: #34260f;
  --hf-success: #176340;
  --hf-error: #a12c28;
  --hf-radius: 1.25rem;
  --hf-shadow: 0 1.5rem 4rem rgba(23, 43, 66, .1);
  --hf-max: 76rem;
  --hf-gutter: clamp(1rem, 4vw, 4rem);
  --hf-section: clamp(4rem, 9vw, 8rem);
  --hf-display: Georgia, 'Times New Roman', serif;
  --hf-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--hf-paper); color: var(--hf-ink); font: 400 1rem/1.7 var(--hf-body); }
figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .25em; }
button, input, textarea, select { font: inherit; }
button, .hf-button { min-height: 3rem; touch-action: manipulation; }
:focus-visible { outline: .2rem solid var(--hf-accent); outline-offset: .2rem; }
.hf-skip { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .75rem 1rem; transform: translateY(-200%); background: var(--hf-ink); color: #fff; }
.hf-skip:focus { transform: none; }
.hf-shell { width: min(var(--hf-max), calc(100% - 2 * var(--hf-gutter))); margin-inline: auto; }
.hf-eyebrow { margin: 0 0 .75rem; color: var(--hf-accent-ink); font-size: .75rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.hf-topbar { position: relative; z-index: 10; border-bottom: 1px solid color-mix(in srgb, var(--hf-line), transparent 25%); }
.hf-topbar__inner { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.hf-wordmark { font-weight: 780; letter-spacing: -.02em; text-decoration: none; }
.hf-nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.5rem); }
.hf-nav a { min-height: 2.75rem; display: inline-flex; align-items: center; color: var(--hf-ink-soft); font-size: .9rem; font-weight: 650; text-decoration: none; }
.hf-nav a:hover { color: var(--hf-ink); }
.hf-button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .7rem 1.05rem; border: 1px solid var(--hf-ink); border-radius: 999px; background: var(--hf-ink); color: var(--hf-surface); font-weight: 720; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, opacity .2s ease; }
.hf-button:hover { transform: translateY(-2px); }
.hf-button:active { transform: translateY(0); }
.hf-button[disabled] { cursor: wait; opacity: .58; transform: none; }
.hf-button--ghost { background: transparent; color: var(--hf-ink); }
.hf-icon { width: 1rem; height: 1rem; flex: 0 0 auto; }
.hf-hero { min-height: min(52rem, 82svh); display: grid; align-items: center; padding-block: clamp(4rem, 10vw, 9rem); }
.hf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(15rem, .8fr); gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.hf-hero h1 { max-width: 13ch; margin: 0; font-family: var(--hf-display); font-size: clamp(3rem, 8.5vw, 7.75rem); font-weight: 500; letter-spacing: -.055em; line-height: .92; text-wrap: balance; }
.hf-hero__lead { max-width: 38rem; margin: 1.75rem 0 0; color: var(--hf-ink-soft); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.hf-hero__meta { display: grid; gap: 1rem; padding: 1.5rem; border-top: 1px solid var(--hf-line); border-bottom: 1px solid var(--hf-line); }
.hf-hero__meta p { margin: 0; }
.hf-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hf-hero__media { margin-top: clamp(2rem, 6vw, 5rem); overflow: hidden; border-radius: var(--hf-radius); background: var(--hf-line); box-shadow: var(--hf-shadow); aspect-ratio: 16 / 9; }
.hf-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hf-section { padding-block: var(--hf-section); border-top: 1px solid var(--hf-line); scroll-margin-top: 2rem; }
.hf-section__head { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, 1fr); gap: 2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.hf-section h2 { max-width: 15ch; margin: 0; font-family: var(--hf-display); font-size: clamp(2.25rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.hf-section__intro { max-width: 42rem; margin: 0; color: var(--hf-ink-soft); font-size: 1.1rem; }
.hf-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1rem; }
.hf-card { grid-column: span 4; min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--hf-line); border-radius: var(--hf-radius); background: var(--hf-surface); }
.hf-card h3 { margin: 0 0 .75rem; font-size: 1.3rem; line-height: 1.25; }
.hf-card p { color: var(--hf-ink-soft); }
.hf-card__foot { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--hf-line); }
.hf-price { color: var(--hf-ink); font-weight: 750; font-variant-numeric: tabular-nums; }
.hf-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.hf-step { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--hf-line); counter-increment: steps; }
.hf-step::before { content: counter(steps, decimal-leading-zero); color: var(--hf-accent-ink); font-weight: 750; }
.hf-step h3, .hf-step p { margin-top: 0; }
.hf-project { grid-column: span 6; overflow: hidden; padding: 0; }
.hf-project__image { background: var(--hf-line); aspect-ratio: 4 / 3; }
.hf-project__image img { width: 100%; height: 100%; object-fit: cover; }
.hf-project__copy { padding: clamp(1.25rem, 3vw, 2rem); }
.hf-proof { grid-column: span 6; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.hf-proof__mark { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--hf-accent); border-radius: 50%; color: var(--hf-accent-ink); }
.hf-faq { display: grid; gap: .75rem; }
.hf-faq details { border-top: 1px solid var(--hf-line); }
.hf-faq summary { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; font-size: 1.1rem; font-weight: 700; list-style: none; }
.hf-faq summary::-webkit-details-marker { display: none; }
.hf-faq summary::after { content: ''; width: .7rem; height: .7rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
.hf-faq details[open] summary::after { transform: rotate(225deg); }
.hf-faq details p { max-width: 48rem; margin: 0 0 1.5rem; color: var(--hf-ink-soft); }
.hf-contact { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(2rem, 7vw, 7rem); }
.hf-form { display: grid; gap: 1rem; padding: clamp(1.25rem, 4vw, 2.5rem); border-radius: var(--hf-radius); background: var(--hf-surface); box-shadow: var(--hf-shadow); }
.hf-form-step { display: grid; gap: 1rem; padding-block: .5rem 1.5rem; border-bottom: 1px solid var(--hf-line); }
.hf-form-step[hidden] { display: none; }
.hf-form-step__head { display: grid; gap: .25rem; }
.hf-form-step__head h3, .hf-form-step__head p { margin: 0; }
.hf-form-step__head h3 { font-size: 1.2rem; line-height: 1.3; }
.hf-form-step__head p { color: var(--hf-ink-soft); }
.hf-form-step__eyebrow { color: var(--hf-accent-ink) !important; font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.hf-field { display: grid; gap: .4rem; }
.hf-field label, .hf-legend { font-weight: 700; }
.hf-field small { color: var(--hf-ink-soft); }
.hf-field input, .hf-field textarea, .hf-field select { width: 100%; min-height: 3rem; padding: .75rem .85rem; border: 1px solid var(--hf-line); border-radius: .7rem; background: var(--hf-paper); color: var(--hf-ink); }
.hf-field textarea { min-height: 8rem; resize: vertical; }
.hf-trap { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hf-options { display: grid; gap: .5rem; }
.hf-option { min-height: 3rem; display: flex; align-items: center; gap: .75rem; padding: .55rem .75rem; border: 1px solid var(--hf-line); border-radius: .7rem; }
.hf-option input { width: 1.2rem; min-height: auto; margin: 0; }
.hf-field[aria-invalid='true'] { padding: .75rem; border: 2px solid var(--hf-error); border-radius: .75rem; }
.hf-form__state { min-height: 1.75rem; margin: 0; font-weight: 650; }
.hf-form[data-state='loading'] .hf-form__state { color: var(--hf-ink-soft); }
.hf-form[data-state='success'] .hf-form__state { color: var(--hf-success); }
.hf-form[data-state='error'] .hf-form__state { color: var(--hf-error); }
.hf-unavailable { padding: 1.25rem; border-left: .25rem solid var(--hf-accent); background: var(--hf-surface); }
.hf-footer { padding-block: 2rem max(2rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--hf-line); }
.hf-footer__inner { display: flex; justify-content: space-between; gap: 2rem; align-items: center; }
.hf-signature { width: 7.75rem; height: auto; opacity: .72; }
.hf-family-visual .hf-signature { box-sizing: content-box; padding: .45rem .6rem; border-radius: .35rem; background: #fff; opacity: .9; }

/* Direction 2 : visuelle, plus dense, contrastée et centrée sur les images. */
.hf-family-visual { --hf-paper: #101a26; --hf-surface: #182635; --hf-ink: #f7f2e8; --hf-ink-soft: #bdc7d2; --hf-line: #344557; --hf-accent: #d2b67e; --hf-accent-ink: #f1d69e; --hf-shadow: 0 2rem 5rem rgba(0,0,0,.3); color-scheme: dark; }
.hf-family-visual .hf-topbar { position: absolute; inset: 0 0 auto; color: var(--hf-ink); border-color: rgba(255,255,255,.2); }
.hf-family-visual .hf-hero { min-height: 100svh; }
.hf-family-visual .hf-hero h1, .hf-family-visual .hf-section h2 { font-family: var(--hf-body); font-weight: 720; }
.hf-family-visual .hf-hero__grid { align-items: center; }
.hf-family-visual .hf-hero__media { grid-column: 1 / -1; margin-top: 0; border-radius: 0; aspect-ratio: 21 / 9; }
.hf-family-visual .hf-card { border-radius: .25rem; }
.hf-family-visual .hf-project { grid-column: span 4; }
.hf-family-visual .hf-project__image { aspect-ratio: 3 / 4; }
.hf-family-visual .hf-button { background: var(--hf-accent); border-color: var(--hf-accent); color: #1b160e; }
.hf-family-visual .hf-button--ghost { background: transparent; color: var(--hf-ink); border-color: var(--hf-line); }
.hf-theme-sable { --hf-paper: #f2ede3; --hf-surface: #fbf8f1; --hf-accent: #9c7541; --hf-accent-ink: #4d351b; }
.hf-theme-mineral { --hf-paper: #eef1f1; --hf-surface: #fafcfc; --hf-accent: #536b6a; --hf-accent-ink: #264240; }
.hf-family-visual.hf-theme-clair { --hf-paper: #f5f3ed; --hf-surface: #ffffff; --hf-ink: #182331; --hf-ink-soft: #526071; --hf-line: #d8dee4; --hf-accent: #b38a4c; --hf-accent-ink: #4b3515; color-scheme: light; }

@media (max-width: 880px) {
  .hf-nav a:not(.hf-button) { display: none; }
  .hf-hero__grid, .hf-section__head, .hf-contact { grid-template-columns: 1fr; }
  .hf-card, .hf-proof { grid-column: span 6; }
  .hf-family-visual .hf-project { grid-column: span 6; }
}
@media (max-width: 560px) {
  .hf-topbar__inner { min-height: 4.5rem; }
  .hf-nav .hf-button { padding-inline: .85rem; }
  .hf-hero { min-height: auto; padding-top: 6rem; }
  .hf-hero h1 { font-size: clamp(2.8rem, 15vw, 4.5rem); }
  .hf-card, .hf-proof, .hf-project, .hf-family-visual .hf-project { grid-column: 1 / -1; }
  .hf-footer__inner { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
