/* Stef1 Propreté — Démo 1 · Cinématique (bleu nuit) */
:root {
  --bg: #070B14;
  --bg-alt: #0E1424;
  --surface: #F3F4F6;
  --text: #FFFFFF;
  --text-dark: #0B1020;
  --muted: rgba(255, 255, 255, .68);
  --muted-dark: #4A5163;
  --line: rgba(255, 255, 255, .12);
  --line-dark: rgba(11, 16, 32, .12);
  --accent: #9DB8D9;
  --accent-dark: #2F4E78;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1440px;
  --gutter: clamp(20px, 5vw, 80px);
  --pad: clamp(96px, 12vh, 180px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --radius: 8px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--light :focus-visible, .form :focus-visible { outline-color: var(--accent-dark); }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-weight: 500; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* Typo */
.eyebrow { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 24px; }
.display { font-size: clamp(2.75rem, 7vw, 6rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.02; }
.section__title, h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.2; }
p { max-width: 52ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-size: .9375rem; font-weight: 500; line-height: 1.2; border: 1px solid transparent; transition: background-color 200ms, color 200ms, border-color 200ms, opacity 200ms; }
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary:hover { background: var(--accent); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 10px 20px; font-size: .875rem; }
.section--light .btn--primary, .form .btn--primary { background: var(--text-dark); color: #fff; }
.section--light .btn--primary:hover, .form .btn--primary:hover { background: var(--accent-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(7, 11, 20, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity 300ms; }
.site-header.is-scrolled::before { opacity: 1; }
.site-header__inner { position: relative; display: flex; align-items: center; gap: 32px; max-width: var(--container); margin-inline: auto; padding: 20px var(--gutter); }
.wordmark { font-weight: 600; font-size: 1.0625rem; letter-spacing: -.02em; display: inline-flex; gap: 6px; }
.wordmark span { font-weight: 400; color: var(--muted); }
.wordmark--lg { font-size: clamp(1.75rem, 3vw, 2.5rem); }
/* Logo : bleu d'origine sur un badge blanc (le fond du site est bleu nuit) */
.logo { flex: none; display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 10px; background: #fff; }
.logo img { display: block; width: auto; height: 44px; }
.logo--lg { padding: 12px 18px; border-radius: 14px; justify-self: start; align-self: start; }
.logo--lg img { height: clamp(88px, 9vw, 120px); }
@media (min-width: 1024px) { .site-header .logo img { height: 52px; } }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 32px; }
.nav a { font-size: .875rem; color: var(--muted); transition: color 200ms; }
.nav a:hover, .nav a.is-active { color: var(--text); }
.header-cta { display: none; }
.menu-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 12px; font-size: .875rem; position: relative; z-index: 2; padding: 8px 0; }
.menu-toggle__bars { display: grid; gap: 6px; width: 22px; }
.menu-toggle__bars span { height: 1.5px; background: currentColor; transition: transform 300ms var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.overlay { position: fixed; inset: 0; z-index: 1; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gutter) 40px; }
.overlay[hidden] { display: none; }
.overlay ul { display: grid; gap: 8px; }
.overlay li { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.overlay.is-open li { opacity: 1; transform: none; }
.overlay.is-open li:nth-child(2) { transition-delay: 60ms; }
.overlay.is-open li:nth-child(3) { transition-delay: 120ms; }
.overlay.is-open li:nth-child(4) { transition-delay: 180ms; }
.overlay.is-open li:nth-child(5) { transition-delay: 240ms; }
.overlay.is-open li:nth-child(6) { transition-delay: 300ms; }
.overlay.is-open li:nth-child(7) { transition-delay: 360ms; }
.overlay.is-open li:nth-child(8) { transition-delay: 420ms; }
.overlay li a { font-size: clamp(2.5rem, 11vw, 4.5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.overlay__foot { margin-top: auto; display: grid; gap: 8px; color: var(--muted); font-size: .9375rem; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--bg); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 20, .55) 0%, rgba(7, 11, 20, .35) 40%, rgba(7, 11, 20, .92) 100%); }
.hero__content { position: relative; padding: 120px var(--gutter) 96px; display: grid; justify-items: center; }
.hero__content .eyebrow { color: rgba(255, 255, 255, .8); }
.hero__line { margin: 28px auto 40px; color: rgba(255, 255, 255, .82); max-width: 44ch; }

/* Sections */
.section { padding-block: var(--pad); background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--light { background: var(--surface); color: var(--text-dark); }
.section--light .eyebrow { color: var(--muted-dark); }
.section__head { margin-bottom: clamp(56px, 8vw, 112px); }

.statement__title { max-width: 18ch; font-size: clamp(2.25rem, 5.5vw, 4.5rem); letter-spacing: -.03em; line-height: 1.05; }
.statement__cols { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 24px; color: var(--muted-dark); }

/* Split */
.split { display: grid; gap: 32px; align-items: center; }
.split + .split { margin-top: clamp(80px, 12vw, 160px); }
.split__media { overflow: hidden; border-radius: var(--radius); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__num { font-size: .875rem; color: var(--accent); margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.split__text h3 { margin-bottom: 16px; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.025em; line-height: 1.1; }
.split__text p:not(.split__num):not(.eyebrow) { color: var(--muted); }
.split__text .section__title { margin-bottom: 24px; }
.split__text .btn { margin-top: 32px; }

/* Tabs */
.tabs { display: grid; gap: 40px; align-items: center; }
.tabs__media { border-radius: var(--radius); overflow: hidden; }
.tabs__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tabs__list { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.tabs__list [role="tab"] { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .875rem; font-weight: 500; color: var(--muted-dark); transition: background-color 200ms, color 200ms, border-color 200ms; }
.tabs__list [role="tab"]:hover { color: var(--text-dark); border-color: var(--text-dark); }
.tabs__list [aria-selected="true"] { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.tabs__panel h3 { margin-bottom: 16px; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.025em; line-height: 1.1; }
.tabs__panel p { color: var(--muted-dark); }
.tabs__panel:focus-visible { outline-offset: 8px; }

/* Parallax */
.layers { position: relative; min-height: 120vh; overflow: hidden; display: grid; place-items: center; background: var(--bg); }
.layers__bg { position: absolute; inset: -20% 0; will-change: transform; }
.layers__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.layers__text { position: relative; z-index: 1; text-align: center; padding: 0 var(--gutter); }
.layers__quote { font-size: clamp(2.25rem, 6vw, 5rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; margin-inline: auto; }
.layers__fg { position: absolute; z-index: 2; right: var(--gutter); bottom: -10%; width: 42vw; max-width: 380px; will-change: transform; border-radius: var(--radius); overflow: hidden; }
.layers__fg img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* Stats */
.stats { display: grid; gap: 56px; }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 12px; }
.stats dd { font-size: clamp(4rem, 10vw, 8.5rem); font-weight: 500; letter-spacing: -.045em; line-height: .9; }
.stats dt { font-size: .875rem; color: var(--muted); max-width: 24ch; }

/* Steps */
.steps { display: grid; gap: 48px; counter-reset: none; }
.steps span { display: block; font-size: .875rem; color: var(--accent-dark); margin-bottom: 20px; font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 12px; }
.steps p { color: var(--muted-dark); max-width: 32ch; }

/* Quotes */
.quotes { display: grid; gap: 56px; }
.quotes blockquote p { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.4; letter-spacing: -.015em; max-width: 34ch; }
.quotes figcaption { margin-top: 20px; font-size: .875rem; color: var(--muted-dark); }

/* Contact */
.contact { background: var(--bg-alt); }
.contact__grid { display: grid; gap: 64px; }
.contact__intro p:not(.eyebrow) { color: var(--muted); margin-top: 24px; }
.contact__list { margin-top: 48px; display: grid; gap: 24px; }
.contact__list span { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 4px; }
.contact__list a { font-size: clamp(1.25rem, 2.2vw, 1.75rem); letter-spacing: -.02em; transition: color 200ms; }
.contact__list a:hover { color: var(--accent); }

.form { background: var(--surface); color: var(--text-dark); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); display: grid; gap: 24px; }
.form__row { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-size: .875rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; background: #fff; border: 1px solid #C9CDD6; border-radius: 6px; color: var(--text-dark); transition: border-color 200ms; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { min-height: calc(1.6em + 30px); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-dark); outline: 2px solid var(--accent-dark); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B42318; }
.field__error { font-size: .8125rem; color: #B42318; min-height: 0; }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--text-dark); }
.field--check label { font-weight: 400; color: var(--muted-dark); }
.field--check .field__error { grid-column: 1 / -1; }
.form__summary { background: #FDECEA; color: #7A1A12; border-radius: 6px; padding: 16px 20px; font-size: .9375rem; }
.form__summary ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
.form__summary a { text-decoration: underline; }
.form__status { background: #E8EEF6; color: var(--text-dark); border-radius: 6px; padding: 16px 20px; font-size: .9375rem; max-width: none; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--bg); padding: clamp(80px, 10vw, 128px) 0 40px; border-top: 1px solid var(--line); }
.site-footer__top { display: grid; gap: 48px; }
.site-footer ul { display: grid; gap: 10px; font-size: .9375rem; color: var(--muted); }
.site-footer ul a:hover { color: var(--text); }
.site-footer .eyebrow { margin-bottom: 16px; }
.site-footer__copy { margin-top: 80px; font-size: .8125rem; color: var(--muted); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Breakpoints */
@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .statement__cols { grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .site-footer__top { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
  .split { grid-template-columns: 3fr 2fr; gap: clamp(48px, 6vw, 112px); }
  .split--reverse .split__media { order: 2; }
  .split__media img { aspect-ratio: 5 / 4; }
  .tabs { grid-template-columns: 11fr 9fr; gap: clamp(48px, 6vw, 112px); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .contact__grid { grid-template-columns: 5fr 6fr; gap: clamp(64px, 8vw, 140px); align-items: start; }
  .layers__fg { width: 26vw; }
}
@media (min-width: 1280px) {
  .nav ul { gap: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .layers__bg, .layers__fg { transform: none !important; }
  .overlay li { opacity: 1; transform: none; }
}

/* FAQ (liste ouverte, sans accordéon) */
.faq { display: grid; gap: 56px; }
.faq dt { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 16px; max-width: 26ch; }
.faq dd { color: var(--muted); max-width: 52ch; }
@media (min-width: 768px) { .faq { grid-template-columns: 1fr 1fr; gap: 72px 64px; } }
@media (min-width: 640px) and (max-width: 1023px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* À propos : texte + photo du président */
.about { display: grid; gap: 48px; }
.about__photo { max-width: 420px; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about__photo figcaption { margin-top: 14px; font-size: .9375rem; font-weight: 500; color: var(--text-dark); }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(48px, 6vw, 112px); align-items: start; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .about .statement__cols { grid-template-columns: 1fr; gap: 24px; }
}

/* En bref (description de l'entreprise) */
.facts { margin-top: clamp(56px, 7vw, 96px); }
.facts__list { display: grid; column-gap: 56px; border-bottom: 1px solid var(--line-dark); }
.facts__list li { position: relative; padding: 18px 0 18px 40px; border-top: 1px solid var(--line-dark); }
.facts__list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 24px; height: 24px; border-radius: 50%; background: var(--text-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (min-width: 768px) { .facts__list { grid-template-columns: 1fr 1fr; } }

/* Atouts : crédit d'impôt, produits */
.highlights { background: var(--bg-alt); padding-block: clamp(72px, 9vw, 128px); }
.highlights__grid { display: grid; gap: 56px; }
.highlight { border-top: 1px solid var(--line); padding-top: 32px; }
.highlight .eyebrow { color: var(--accent); }
.highlight__text { font-size: clamp(1.5rem, 2.6vw, 2.25rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; max-width: 24ch; }
@media (min-width: 768px) { .highlights__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* Prestations : étiquettes */
.split__tag { display: inline-block; margin-left: 12px; padding: 3px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; vertical-align: 1px; }

/* Aide à la résiliation */
.resiliation { background: var(--accent); color: var(--text-dark); padding-block: var(--pad); }
.resiliation :focus-visible { outline-color: var(--text-dark); }
.resiliation .eyebrow { color: rgba(11, 16, 32, .72); }
.resiliation__inner { display: grid; gap: 48px; }
.resiliation__lead { margin-top: 24px; color: rgba(11, 16, 32, .8); }
.resiliation__body { display: grid; gap: 32px; }
.resiliation__options { display: grid; gap: 16px; }
.resiliation__options li { background: rgba(255, 255, 255, .62); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.resiliation__num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 24px; border-radius: 50%; background: var(--text-dark); color: #fff; font-size: .875rem; font-weight: 500; }
.resiliation__options h3 { margin-bottom: 8px; }
.resiliation__options p { color: rgba(11, 16, 32, .8); }
.resiliation__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.resiliation__foot p { font-weight: 500; }
.resiliation .btn--primary { background: var(--text-dark); color: #fff; }
.resiliation .btn--primary:hover { background: var(--accent-dark); }
@media (min-width: 640px) { .resiliation__options { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .resiliation__inner { grid-template-columns: 5fr 7fr; gap: clamp(48px, 6vw, 112px); align-items: start; } }

/* Rendez-vous et devis en ligne */
.booking [hidden] { display: none !important; }
.booking__intro { margin-top: 24px; color: var(--muted-dark); }
.mode { margin: 0 0 24px; padding: 0; min-width: 0; border: 0; }
.mode__legend { float: left; width: 100%; padding: 0; margin-bottom: 16px; font-size: .9375rem; font-weight: 500; }
.mode__options { clear: both; display: grid; gap: 12px; }
.mode__opt { position: relative; display: block; cursor: pointer; }
.mode__opt input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.mode__box { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px 24px; border: 1px solid #C9CDD6; border-radius: var(--radius); background: #fff; transition: border-color 200ms, background-color 200ms, color 200ms; }
.mode__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); color: var(--text-dark); transition: background-color 200ms, color 200ms; }
.mode__text { display: grid; gap: 2px; }
.mode__title { font-size: clamp(1.125rem, 1.6vw, 1.375rem); font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.mode__sub { font-size: .875rem; color: var(--muted-dark); }
.mode__opt:hover .mode__box { border-color: var(--text-dark); }
.mode__opt input:checked + .mode__box { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.mode__opt input:checked + .mode__box .mode__sub { color: rgba(255, 255, 255, .72); }
.mode__opt input:checked + .mode__box .mode__icon { background: rgba(255, 255, 255, .12); color: #fff; }
.mode__opt input:focus-visible + .mode__box { outline: 2px solid var(--accent-dark); outline-offset: 2px; }
@media (min-width: 640px) { .mode__options { grid-template-columns: 1fr 1fr; } }
.booking__intro a { color: var(--text-dark); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.booking__grid { display: grid; gap: 24px; align-items: start; }
.booking__steps { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.booking__steps > .form__summary { margin-bottom: 32px; }
.bstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.bstep + .bstep { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line-dark); }
.bstep__title { float: left; width: 100%; padding: 0; margin-bottom: 24px; font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 500; letter-spacing: -.015em; }
.bstep__num { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 12px; border-radius: 50%; background: var(--text-dark); color: #fff; font-size: .875rem; vertical-align: 3px; }
.bstep__body { clear: both; container-type: inline-size; }
.bstep__body > .field__error { margin-top: 12px; }
.bstep__fields { display: grid; gap: 24px; }
.field__opt { font-weight: 400; color: var(--muted-dark); }
.booking .field textarea { min-height: 96px; }

.choices { display: grid; gap: 12px; }
@container (min-width: 440px) { .choices { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; display: block; cursor: pointer; }
.choice input, .slot input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.choice__box { position: relative; display: grid; gap: 2px; height: 100%; padding: 18px 56px 18px 20px; border: 1px solid #C9CDD6; border-radius: 6px; transition: border-color 200ms, background-color 200ms, box-shadow 200ms; }
.choice__box::after { content: ""; position: absolute; right: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 1px solid #A9AFBB; border-radius: 50%; background: #fff; box-sizing: border-box; transition: border-width 150ms, border-color 150ms; }
.choice__title { font-weight: 500; }
.choice__sub { font-size: .875rem; color: var(--muted-dark); }
.choice:hover .choice__box { border-color: var(--text-dark); }
.choice input:checked + .choice__box { border-color: var(--text-dark); background: #F3F6FA; box-shadow: inset 0 0 0 1px var(--text-dark); }
.choice input:checked + .choice__box::after { border: 6px solid var(--text-dark); }
.choice input:focus-visible + .choice__box, .slot input:focus-visible + span { outline: 2px solid var(--accent-dark); outline-offset: 2px; }

.picker { display: grid; gap: 24px; }
@container (min-width: 600px) { .picker { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: start; } }
.cal { border: 1px solid var(--line-dark); border-radius: 6px; padding: 16px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cal__month { font-weight: 500; text-transform: capitalize; }
.cal__nav { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; transition: border-color 200ms, opacity 200ms; }
.cal__nav:hover:not(:disabled) { border-color: var(--text-dark); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow { margin-bottom: 4px; font-size: .75rem; font-weight: 500; color: var(--muted-dark); }
.cal__day { height: 40px; border-radius: 6px; font-size: .9375rem; font-variant-numeric: tabular-nums; transition: background-color 150ms, color 150ms; }
.cal__day:not(:disabled):hover { background: #E8EEF6; }
.cal__day:disabled { color: #A9AFBB; cursor: default; }
.cal__day[aria-pressed="true"] { background: var(--text-dark); color: #fff; }
.cal__note { margin-top: 12px; font-size: .8125rem; color: var(--muted-dark); }
.slots__label { margin-bottom: 12px; font-size: .9375rem; color: var(--muted-dark); }
.slots__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.slots__grid:empty { min-height: 148px; border: 1px dashed #C9CDD6; border-radius: 6px; }
.slot { position: relative; display: block; cursor: pointer; }
.slot span { display: grid; place-items: center; height: 44px; border: 1px solid #C9CDD6; border-radius: 6px; font-size: .9375rem; font-variant-numeric: tabular-nums; transition: border-color 200ms, background-color 200ms, color 200ms; }
.slot:hover span { border-color: var(--text-dark); }
.slot input:checked + span { background: var(--text-dark); border-color: var(--text-dark); color: #fff; }
.slot--pris { cursor: not-allowed; }
.slot--pris span, .slot--pris:hover span { border-style: dashed; border-color: #C9CDD6; color: #A9AFBB; text-decoration: line-through; }

.recap { display: grid; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius); background: var(--text-dark); color: #fff; }
.recap .eyebrow { margin-bottom: 0; color: rgba(255, 255, 255, .68); }
.recap :focus-visible { outline-color: var(--accent); }
.recap__list { display: grid; gap: 16px; }
.recap__list div { display: grid; gap: 2px; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.recap__list dt { font-size: .8125rem; color: rgba(255, 255, 255, .68); }
.recap__list dd { font-weight: 500; }
.recap .btn--primary { width: 100%; background: #fff; color: var(--text-dark); }
.recap .btn--primary:hover { background: var(--accent); }
.recap__note { font-size: .875rem; color: rgba(255, 255, 255, .68); }
@media (min-width: 1024px) {
  .booking__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  .recap { position: sticky; top: 96px; }
}
