/* REFRID — precise, architectural, and deliberately square. */
:root {
  --surface: #fff;
  --surface-alt: #f0f8fd;
  --line: #dce4e9;
  --line-strong: #8093a4;
  --ink: #0c2738;
  --ink-body: #566b7a;
  --ink-muted: #637888;
  --navy: #0c2738;
  --navy-deep: #081b27;
  --action: #007773;
  --action-hover: #00605d;
  --action-text: #007773;
  --action-soft: #e0f5f4;
  --brand: #00aaa6;
  --sky: #58a1d1;
  --focus: #007773;
  --frost: #9ed8ff;
  --frost-soft: #d1edff;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-full: 0;
  --font-sans: 'Roboto', 'Segoe UI', sans-serif;
  --font-display: 'Montserrat', 'Segoe UI', sans-serif;
  --container: 1328px;
  --gutter: 28px;
  --shadow-sm: none;
  --shadow-md: 0 12px 30px #0c27380c;
  --shadow-lg: none;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { border-radius: 0 !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { font-size: 16px; line-height: 1.75; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { touch-action: manipulation; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); }
a { transition: color .2s, background-color .2s, border-color .2s; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 5px; box-shadow: none; }
[hidden] { display: none !important; }
::selection { background: var(--frost-soft); color: var(--navy-deep); }
.rf-container { padding-inline: 48px; }
.rf-section { padding-block: 104px; }
.rf-section-head h2, .section-heading h2, .about h2 { font-size: clamp(32px, 3.2vw, 46px); line-height: 1.2; font-weight: 650; letter-spacing: -.02em; text-wrap: balance; }
.rf-section-head > p:last-child { max-width: 640px; }
.rf-eyebrow { color: var(--action-text); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 600; margin-bottom: 17px; }
.rf-btn { padding: 14px 24px; font-weight: 550; border-width: 1px; transition: background-color .25s, color .25s, border-color .25s; }
.rf-btn .rf-icon { width: 19px; height: 19px; margin-left: 10px; transition: transform .3s var(--ease-out); }
.rf-btn:hover .rf-icon { transform: translateX(4px); }
.rf-btn--sm { min-height: 44px; padding: 10px 17px; font-size: 13px; }
.rf-btn--lg { min-height: 58px; font-size: 14px; }
.rf-btn-group { gap: 24px; }
.rf-icon { stroke-width: 1.65; }
.skip { position: fixed; left: 20px; top: -70px; background: var(--action); color: #fff; padding: 8px 16px; z-index: 100; }
.skip:focus { top: 12px; }
main { display: block; }
.lead { color: var(--ink-body); }
/* Shared navigation */
.rf-nav { position: sticky; top: -34px; border: 0; box-shadow: 0 1px 0 #102e4412; }
.rf-nav__topbar { background: var(--navy-deep); font-size: 11px; letter-spacing: .025em; }
.rf-nav__topbar .rf-container { min-height: 34px; }
.topbar-location { color: #b6cbd8; }
.rf-nav__bar { min-height: 88px; gap: 20px; }
.rf-nav__logo { flex-shrink: 0; }
.rf-nav__logo img { height: 29px; width: auto; }
.rf-nav__links { gap: 3px; }
.rf-nav__links > li > a { padding: 29px 9px; font-size: 13px; font-weight: 550; position: relative; }
.rf-nav__links > li > a::after { content: ''; position: absolute; inset: auto 9px 20px; height: 2px; background: var(--action); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.rf-nav__links > li > a:hover, .rf-nav__links > li > a[aria-current='page'] { background: transparent; color: var(--action-text); }
.rf-nav__links > li > a:hover::after, .rf-nav__links > li > a[aria-current='page']::after { transform: scaleX(1); }
.rf-nav__sub { top: calc(100% - 4px); padding: 12px; border-top: 2px solid var(--action); transition: opacity .2s, transform .25s var(--ease-out), visibility .2s; }
.rf-nav__sub a { font-size: 13px; }
.rf-nav__actions { gap: 19px; }
.rf-nav__lang { border: 0; gap: 9px; }
.rf-nav__lang a { padding: 7px 0; font-size: 11px; color: var(--ink-muted); }
.rf-nav__lang a[aria-current='true'] { background: transparent; color: var(--action-text); }
.rf-nav__toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
/* Full-width solution showcase. One composed entrance; subsequent motion follows user input. */
.showcase { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.showcase__panel { position: relative; isolation: isolate; min-height: 650px; }
.showcase__image { position: absolute; inset: 0; z-index: -3; height: 100%; width: 100%; object-fit: cover; object-position: center; }
.showcase__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, #071c2eed 0%, #0a2438c9 30%, #0b253958 61%, #0b25390a 100%), linear-gradient(0deg, #071c2ed9, transparent 40%); }
.showcase__inner { position: relative; min-height: 650px; padding-block: 77px 142px; }
.showcase__copy { max-width: 630px; animation: hero-enter .85s var(--ease-out) both; }
.showcase__intro { display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 500; color: var(--frost-soft); margin-bottom: 27px; }
.showcase__intro .rf-icon { width: 21px; height: 21px; }
.showcase h1, .showcase h2 { color: #fff; font-size: clamp(44px, 4.5vw, 68px); line-height: 1.08; font-weight: 550; letter-spacing: -.02em; margin-bottom: 26px; }
.showcase__lead { max-width: 460px; font-size: 15px; line-height: 1.85; color: #d5e1e9; margin-bottom: 32px; }
.showcase__link { align-self: center; color: #fff; font-size: 13px; border-bottom: 1px solid #ffffff65; padding-block: 6px; }
.showcase__link:hover { text-decoration: none; border-color: #fff; }
.showcase__caption { position: absolute; right: 48px; bottom: 136px; color: #e6eff4; font-size: 9px; text-shadow: 0 1px 4px #071c2e; }
.showcase__bottom { position: absolute; inset: auto 0 0; }
.showcase__tabs { display: grid; grid-template-columns: repeat(3, 1fr); }
.showcase__tab { display: flex; align-items: center; gap: 20px; padding: 24px 28px 26px; min-height: 91px; border: 0; border-top: 1px solid #ffffff4a; background: #0a263b99; color: #c6d3dd; text-align: left; cursor: pointer; font-size: 14px; position: relative; transition: background .3s, color .3s; }
.showcase__tab + .showcase__tab { border-left: 1px solid #ffffff24; }
.showcase__tab::before { content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.showcase__tab[aria-selected='true'] { background: #0c3551e8; color: #fff; }
.showcase__tab[aria-selected='true']::before { transform: scaleX(1); }
.showcase__tab:hover { background: #163f59; color: #fff; }
.showcase__tab:focus-visible { outline: 2px solid var(--frost); outline-offset: -5px; }
.showcase__number { font-size: 11px; font-variant-numeric: tabular-nums; opacity: .6; }
.showcase__tab .rf-icon { width: 19px; height: 19px; margin-left: auto; opacity: .6; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
/* Capabilities at a glance */
.assurance { background: var(--surface-alt); border-bottom: 1px solid var(--line); }
.assurance__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.assurance__item { display: flex; align-items: center; gap: 15px; padding: 28px 23px; }
.assurance__item:first-child { padding-left: 0; }
.assurance__item:last-child { padding-right: 0; }
.assurance__item + .assurance__item { border-left: 1px solid var(--line); }
.assurance__item .rf-icon { width: 25px; height: 25px; color: var(--action-text); }
.assurance__item strong, .assurance__item span { display: block; }
.assurance__item strong { font-size: 13px; color: var(--ink); font-weight: 600; }
.assurance__item span { font-size: 11px; color: var(--ink-muted); margin-top: 3px; }
/* Photo-led expertise */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; margin-bottom: 45px; }
.section-heading > p { max-width: 370px; font-size: 14px; padding-bottom: 4px; }
.expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.expertise-card { min-width: 0; display: flex; flex-direction: column; }
.expertise-card__media { display: block; position: relative; aspect-ratio: 1.48; flex-shrink: 0; overflow: hidden; background: var(--surface-alt); }
.expertise-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .75s var(--ease-out); }
.expertise-card:first-child .expertise-card__media img { object-position: 80% center; }
.expertise-card__media > .rf-icon { position: absolute; bottom: 0; left: 0; box-sizing: content-box; padding: 15px; width: 26px; height: 26px; background: var(--action); color: #fff; }
.expertise-card__media:hover img, .expertise-card__media:focus-visible img { transform: scale(1.045); }
.expertise-card__body { padding: 25px 0 0; display: flex; flex: 1; flex-direction: column; }
.expertise-card h3 { font-size: 25px; font-weight: 650; line-height: 1.3; letter-spacing: -.015em; }
.expertise-card h3 a { color: var(--ink); }
.expertise-card__strap { font-size: 14px; color: var(--ink); font-weight: 500; margin-top: 11px; }
.expertise-card__body > p:not(.expertise-card__strap) { font-size: 13px; line-height: 1.85; margin: 9px 0 18px; max-width: 340px; }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600; padding-block: 10px; color: var(--action-text); }
.text-link .rf-icon { width: 19px; height: 19px; transition: transform .3s var(--ease-out); }
.text-link:hover { text-decoration: none; }
.text-link:hover .rf-icon { transform: translateX(5px); }
.expertise-card .text-link { margin-top: auto; border-top: 1px solid var(--line); width: 100%; padding-top: 17px; justify-content: space-between; }
/* About */
.about-section { background: var(--surface-alt); }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.about__visual { position: relative; align-self: stretch; min-height: 500px; padding-bottom: 44px; }
.about__visual > img { height: calc(100% - 44px); width: 100%; object-fit: cover; position: absolute; object-position: 60%; }
.about__stat { position: absolute; right: -24px; bottom: 0; background: var(--navy-deep); padding: 26px 32px; display: flex; align-items: center; gap: 22px; color: #fff; min-width: 275px; }
.about__stat > strong { font: 500 68px/1 var(--font-display); letter-spacing: -.025em; }
.about__stat strong span { font-size: 38px; color: var(--brand); vertical-align: top; line-height: 1.4; }
.about__stat > span { font-size: 12px; line-height: 1.75; color: #d5e5ee; }
.image-note { position: absolute; top: 10px; right: 12px; font-size: 9px; color: #fff; text-shadow: 0 1px 5px #000; }
.about__text > p:not(.rf-eyebrow) { font-size: 14px; }
.about__text .about__lead { color: var(--ink); font-size: 18px !important; font-weight: 500; line-height: 1.6; margin: 23px 0 15px; }
.about__text .rf-check-list { margin: 25px 0 20px; font-size: 13px; gap: 10px; }
.about__text .rf-check-list .rf-icon { width: 17px; height: 17px; }
/* A real four-step process, with numbering used only for sequence. */
.process { background: var(--navy-deep); color: #b9cedb; }
.process .rf-eyebrow { color: var(--brand); }
.process h2, .process h3, .process .text-link { color: #fff; }
.process .section-heading { margin-bottom: 52px; }
.process__steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process__steps li { border-top: 1px solid #ffffff32; padding-top: 21px; }
.process__number { font-size: 12px; color: var(--brand); font-variant-numeric: tabular-nums; }
.process__steps h3 { font-size: 21px; font-weight: 550; margin: 19px 0 11px; }
.process__steps p { font-size: 13px; line-height: 1.8; max-width: 230px; }
/* Partners */
.exclusive { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exclusive > a { position: relative; background: var(--surface-alt); border: 1px solid var(--line); padding: 31px 34px; display: flex; flex-direction: column; align-items: flex-start; color: var(--ink-body); transition: background .25s, border-color .25s; }
.exclusive > a:hover { background: #e8f1f6; border-color: #b7ccd9; text-decoration: none; }
.brand-wordmark { font-size: 39px; line-height: 1.3; font-weight: 750; font-family: var(--font-display); color: var(--navy); letter-spacing: -.02em; }
.brand-wordmark > span { font-size: 13px; vertical-align: top; margin-left: 3px; line-height: 2; }
.brand-wordmark--cryo { font-style: italic; letter-spacing: -.025em; }
.exclusive > a > span + span { font-size: 13px; margin-top: 6px; }
.exclusive small { font-size: 10px; color: var(--action-text); margin-top: 17px; border-left: 2px solid var(--action); padding-left: 8px; }
.exclusive > a > .rf-icon { position: absolute; bottom: 31px; right: 31px; width: 20px; }
.partner-list { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 47px; align-items: center; gap: 18px; }
.partner-list a { text-align: center; font-family: var(--font-display); color: #536a7a; font-weight: 750; font-size: 24px; letter-spacing: -.02em; }
.partner-list a:hover { color: var(--action-text); text-decoration: none; }
/* Contact and shared page components */
.contact-section { background: var(--surface-alt); }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact__details { display: grid; gap: 26px; padding-top: 12px; }
.contact__item { display: flex; gap: 18px; align-items: flex-start; }
.contact__item .rf-feature__icon { width: 45px; height: 45px; background: #e5edf3; }
.contact__item strong { display: block; color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.contact__item p { font-size: 13px; }
.contact__social { display: flex; gap: 8px; flex-wrap: wrap; }
.rf-panel--action { background: var(--navy-deep); padding: 38px; }
.rf-panel--action .rf-eyebrow { color: var(--brand); }
.rf-panel--action h3 { font-size: 24px !important; letter-spacing: -.015em; font-weight: 550 !important; }
.rf-label { font-size: 12px; font-weight: 500; }
.rf-input, .rf-select, .rf-textarea { font-size: 13px; min-height: 47px; padding: 11px 13px; }
.rf-form--on-action .rf-input, .rf-form--on-action .rf-select, .rf-form--on-action .rf-textarea { border-color: #688091; background: #ffffff04; }
.rf-form--on-action .rf-input:focus, .rf-form--on-action .rf-select:focus, .rf-form--on-action .rf-textarea:focus { border-color: var(--frost); box-shadow: 0 0 0 1px var(--frost); }
.rf-form--on-action .rf-input::placeholder, .rf-form--on-action .rf-textarea::placeholder { color: #adbfca; opacity: 1; }
.rf-form--on-action .rf-btn--outline { background: var(--action); border-color: var(--action); color: #fff; }
.rf-form--on-action .rf-btn--outline:hover { background: var(--action-hover); }
.form-status { display: none; padding: 12px; font-size: 13px; border: 1px solid var(--line); }
.form-status.is-ok { display: block; }
.rf-form--on-action .form-status.is-ok { color: #fff; border-color: #688091; }
.map-card { border: 1px solid var(--line); background: var(--surface-alt); padding: 24px; display: flex; gap: 16px; align-items: center; }
.map-card .rf-feature__icon { flex: 0 0 auto; }
.rf-card { box-shadow: none; transition: border-color .25s; }
.rf-card:hover { box-shadow: none; border-color: #aebfcb; }
.rf-banner { background: var(--navy-deep); padding: 54px 0 62px; overflow: hidden; position: relative; isolation: isolate; }
.rf-banner::before { background: linear-gradient(90deg, #0b2539 35%, #0b2539a3), url('images/cold-room.webp') center 48%/cover; position: absolute; inset: 0; opacity: 1; z-index: -1; width: auto; height: auto; }
.rf-banner h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 550; letter-spacing: -.02em; }
.rf-banner p { max-width: 620px; font-size: 16px; }
.rf-breadcrumb { font-size: 12px; }
.sub { padding: 68px 0; border-top: 1px solid var(--line); }
.sub:first-of-type { border-top: 0; }
.sub__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.sub__head .rf-section-head { margin-bottom: 0; }
.model { text-align: left; }
.model .rf-card__media { aspect-ratio: 16 / 10; }
.rf-card__media > .rf-icon { width: 68px; height: 68px; color: var(--navy); stroke-width: 1; }
.rf-card__media { background: #edf3f7; }
.model .rf-card__body { gap: 8px; }
.model .spec { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--ink-body); }
.model .spec li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.model .spec li span:last-child { color: var(--ink); font-weight: 500; text-align: right; }
.num, .rf-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.jumplist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; position: relative; }
.jumplist a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid #ffffff50; color: #fff; font-size: 12px; }
.jumplist a:hover { background: #fff; color: var(--navy-deep); text-decoration: none; }
.rf-tabs { gap: 0; border-bottom: 1px solid var(--line); }
.rf-tab { border: 0; padding: 13px 24px; background: var(--surface-alt); }
.ref-card .rf-card__body { align-items: flex-start; }
.ref-card .rf-logo-tile { width: 100%; min-height: 110px; border: 0; border-bottom: 1px solid var(--line); font-size: 18px; }
/* Closing call to action: a contained navy-to-teal panel with the charte pictogram as a watermark. */
.cta-band { padding: 16px 0 96px; background: var(--surface); }
.cta-panel { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; padding: 60px 64px; background: linear-gradient(115deg, var(--navy) 0%, var(--navy) 38%, #0b4a52 72%, var(--action-hover) 100%); color: #fff; }
.cta-panel::before { content: ''; position: absolute; top: 0; left: 64px; width: 72px; height: 4px; background: var(--brand); }
.cta-panel::after { content: ''; position: absolute; z-index: -1; right: -70px; top: 50%; width: 360px; height: 360px; transform: translateY(-50%); background: url(favicon.svg) center / contain no-repeat; opacity: .1; }
.cta-panel__text { max-width: 620px; }
.cta-panel h2 { color: #fff; font-size: 34px; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.cta-panel p { margin-top: 12px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.cta-panel__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-panel__btn { border: 0; background: var(--brand); color: var(--navy); font-size: 16px; font-weight: 600; }
.cta-panel__btn:hover { background: #fff; color: var(--navy); text-decoration: none; }
.cta-panel__btn .rf-icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.cta-panel__btn:hover .rf-icon { transform: translateX(4px); }
.cta-panel__tel { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 500; }
.cta-panel__tel .rf-icon { width: 18px; height: 18px; color: var(--brand); }
.cta-panel__tel:hover { color: var(--frost-soft); }
/* Numbered pillars: À propos « Trois métiers » and « Nos engagements » (home and À propos). */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.pillars--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillar { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px 32px 34px; background: var(--surface); }
.pillar__head { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; margin-bottom: 12px; }
.pillar__icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--navy); color: var(--brand); }
.pillar__icon .rf-icon { width: 26px; height: 26px; }
.pillar__num { font: 600 13px/1 var(--font-display); letter-spacing: .08em; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.pillar h3 { font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.pillar p { font-size: 15px; line-height: 1.7; color: var(--ink-body); }
.pillar__list { display: grid; gap: 8px; width: 100%; margin: 6px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--line); }
.pillar__list li { position: relative; padding-left: 20px; font-size: 14px; line-height: 1.5; color: var(--ink); }
.pillar__list li::before { content: ''; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--brand); }
.pillar .text-link { margin-top: auto; padding-top: 14px; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
/* Footer */
.rf-footer { background: var(--navy-deep); font-size: 13px; }
.rf-footer__contact { background: var(--navy); border-bottom: 1px solid #ffffff16; }
.rf-footer__contact .rf-container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rf-footer__contact-item a { color: inherit; }
.rf-footer__contact-item a:hover { color: var(--brand); }
.rf-footer__contact .rf-container { padding-block: 26px; gap: 25px; }
.rf-footer__contact-item { font-size: 11px; line-height: 1.7; }
.rf-footer__contact-item strong { font-size: 12px; }
.rf-footer__contact .rf-icon { color: var(--frost); width: 23px; }
.rf-footer__top { padding-block: 62px; }
.rf-footer__top .rf-container { gap: 40px; }
.rf-footer__logo img { height: 29px; width: auto; }
.rf-footer__logo p { font-size: 12px; line-height: 1.9; max-width: 300px; }
.rf-footer__title { font-size: 14px; font-weight: 550; text-transform: none; letter-spacing: 0; }
.rf-footer__newsletter { flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.rf-footer__newsletter .rf-input { width: 100%; flex-basis: 100%; background: #ffffff09; border-color: #6c8292; color: #fff; }
.rf-footer__newsletter .rf-input::placeholder { color: #b0c0cb; }
.rf-footer__newsletter .rf-btn { width: 100%; }
.rf-footer__bottom { background: #091f30; font-size: 11px; }
/* Laptop and mobile */
@media (min-width: 1600px) { .showcase__panel, .showcase__inner { min-height: 720px; } .showcase__inner { padding-top: 100px; } }
@media (max-width: 1200px) {
 .rf-container { padding-inline: 32px; }
 .rf-nav__bar { gap: 16px; }
 .rf-nav__logo img { height: 25px; }
 .rf-nav__links > li > a { font-size: 12px; padding-inline: 6px; }
 .rf-nav__actions { gap: 12px; }
 .rf-nav__cta { padding-inline: 12px; font-size: 12px; }
 .assurance__item { gap: 11px; padding-inline: 16px; }
 .assurance__item strong { font-size: 12px; }
 .about { gap: 64px; }
}
@media (max-width: 1000px) {
 .rf-nav__bar { min-height: 76px; }
 .rf-nav__logo img { height: 28px; }
 .rf-nav__links { max-height: calc(100dvh - 110px); overflow-y: auto; padding: 12px 24px 24px; }
 .rf-nav__links > li > a { padding: 12px; font-size: 15px; }
 .rf-nav__links > li > a::after { display: none; }
 .rf-nav__sub { border-top: 0; padding: 0 0 0 16px; }
 .rf-nav.is-open .rf-nav__links { animation: hero-enter .3s var(--ease-out); }
 .rf-section { padding-block: 76px; }
 .showcase__inner, .showcase__panel { min-height: 650px; }
 .showcase__inner { padding-block: 70px 140px; }
 .showcase__tab { padding: 23px 18px; gap: 12px; font-size: 12px; }
 .showcase__shade { background: linear-gradient(90deg, #071c2ef0, #0b253970), linear-gradient(0deg, #071c2ed9, transparent 40%); }
 .assurance__grid { grid-template-columns: repeat(2, 1fr); }
 .assurance__item { padding: 22px 24px; }
 .assurance__item:nth-child(3) { border-left: 0; padding-left: 0; }
 .assurance__item:nth-child(n+3) { border-top: 1px solid var(--line); }
 .section-heading { gap: 30px; }
 .section-heading > p { max-width: 310px; font-size: 13px; }
 .expertise-grid { gap: 20px; }
 .expertise-card h3 { font-size: 22px; }
 .about { gap: 45px; }
 .about__visual { min-height: 520px; }
 .about__stat { right: -12px; padding: 22px; min-width: 245px; }
 .process__steps { gap: 25px; }
 .partner-list a { font-size: 20px; }
 .contact { gap: 30px; grid-template-columns: .85fr 1.15fr; }
 .rf-panel--action { padding: 28px; }
}
@media (max-width: 760px) {
 .rf-container { padding-inline: 24px; }
 .rf-section { padding-block: 62px; }
 .rf-nav__bar { min-height: 72px; }
 .rf-nav__topbar .rf-container { justify-content: center; }
 .topbar-location { display: none; }
 .rf-nav__actions { gap: 20px; }
 .showcase__inner, .showcase__panel { min-height: 655px; }
 .showcase__inner { padding-top: 54px; padding-bottom: 150px; }
 .showcase__copy { max-width: 500px; }
 .showcase__intro { margin-bottom: 25px; font-size: 11px; }
 .showcase h1, .showcase h2 { font-size: clamp(43px, 8vw, 59px); }
 .showcase__lead { font-size: 14px; max-width: 390px; line-height: 1.8; margin-bottom: 28px; }
 .showcase__image { object-position: 60%; }
 .showcase__tabs { margin-inline: -24px; }
 .showcase__tab { display: grid; grid-template-columns: 1fr; align-content: start; gap: 9px; min-height: 91px; padding: 14px 18px; font-size: 11px; line-height: 1.45; }
 .showcase__tab .rf-icon { display: none; }
 .showcase__number { font-size: 10px; }
 .showcase__caption { right: 24px; bottom: 105px; font-size: 8px; }
 .assurance__item { gap: 12px; padding: 20px 14px; align-items: flex-start; }
 .assurance__item .rf-icon { width: 22px; height: 22px; margin-top: 2px; }
 .assurance__item strong { font-size: 11px; line-height: 1.5; }
 .assurance__item span { font-size: 10px; line-height: 1.6; }
 .section-heading { flex-direction: column; align-items: flex-start; gap: 22px; margin-bottom: 32px; }
 .section-heading > p { max-width: 480px; font-size: 14px; }
 .rf-section-head h2, .section-heading h2, .about h2 { font-size: 36px; }
 .expertise-grid { grid-template-columns: 1fr; gap: 38px; }
 .expertise-card__media { aspect-ratio: 1.6; }
 .expertise-card h3 { font-size: 26px; }
 .expertise-card__body { padding-top: 22px; }
 .expertise-card__body > p:not(.expertise-card__strap) { max-width: none; font-size: 14px; }
 .about { grid-template-columns: 1fr; gap: 42px; }
 .about__visual { min-height: 410px; margin-right: 12px; }
 .about__stat { min-width: 240px; right: -12px; }
 .about__stat > strong { font-size: 60px; }
 .about__text > p:not(.rf-eyebrow) { font-size: 14px; }
 .process__steps { grid-template-columns: 1fr 1fr; gap: 32px 26px; }
 .process .section-heading { gap: 16px; margin-bottom: 35px; }
 .process__steps h3 { font-size: 19px; }
 .process__steps p { font-size: 12px; }
 .exclusive { gap: 16px; }
 .exclusive > a { padding: 25px 20px; }
 .brand-wordmark { font-size: 31px; }
 .exclusive > a > .rf-icon { display: none; }
 .exclusive > a > span + span { font-size: 11px; }
 .exclusive small { font-size: 9px; }
 .partner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin-top: 35px; }
 .partner-list a { font-size: 23px; }
 .contact { grid-template-columns: 1fr; gap: 35px; }
 .contact__details { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding: 0; }
 .contact__item { gap: 10px; }
 .contact__item .rf-feature__icon { width: 34px; height: 34px; }
 .contact__item .rf-icon { width: 18px; height: 18px; }
 .contact__item strong { font-size: 12px; }
 .contact__item p { font-size: 12px; overflow-wrap: anywhere; }
 .rf-panel--action { padding: 27px; }
 .rf-footer__top .rf-container { gap: 32px; }
 .rf-footer__contact .rf-container { padding-block: 26px; gap: 22px; }
 .rf-footer__contact-item { gap: 10px; }
 .rf-footer__contact-item .rf-icon { width: 19px; }
 .rf-footer__contact .rf-container { grid-template-columns: minmax(0, 1fr); }
 .rf-banner { padding-block: 35px 44px; }
 .rf-banner p { font-size: 14px; }
 .rf-banner h1 { font-size: 43px; }
 .sub { padding-block: 45px; }
 .rf-card--download .rf-card__body { flex-wrap: wrap; padding: 22px; }
 .rf-card--download .rf-card__body .rf-btn { width: 100%; margin-top: 8px; }
 .cta-band { padding-bottom: 64px; }
 .cta-panel { padding: 44px 28px 36px; }
 .cta-panel::before { left: 28px; }
 .cta-panel::after { width: 240px; height: 240px; right: -90px; top: auto; bottom: -70px; transform: none; }
 .cta-panel h2 { font-size: 27px; }
 .cta-panel p { font-size: 15px; }
 .cta-panel__actions { width: 100%; }
 .cta-panel__btn { width: 100%; }
 .pillar { padding: 28px 24px; }
 .rf-table { min-width: 600px; }
}
@media (max-width: 390px) {
 .rf-container { padding-inline: 20px; }
 .rf-nav__logo img { height: 24px; }
 .rf-nav__actions { gap: 14px; }
 .partner-list a { font-size: 19px; }
 .showcase__inner, .showcase__panel { min-height: 690px; }
 .showcase h1, .showcase h2 { font-size: 42px; }
 .showcase .rf-btn-group { align-items: flex-start; gap: 10px; flex-direction: column; }
 .showcase__link { align-self: flex-start; }
 .showcase__tabs { margin-inline: -20px; }
 .showcase__tab { padding-inline: 13px; }
 .exclusive { grid-template-columns: 1fr; }
 .contact__details { grid-template-columns: 1fr; }
 .rf-panel--action { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Original company artwork, with stable space while external assets load. */
.brand-name { font: 650 28px/1.3 var(--font-sans); letter-spacing: -.015em; color: var(--navy); }
.company-mark { display: flex; align-items: center; justify-content: center; width: 100%; height: 76px; min-width: 0; }
.company-mark > img { display: block; width: 100%; height: 100%; max-width: 168px; max-height: 58px; object-fit: contain; filter: none; opacity: 1; }
.company-mark__fallback { display: none; font-size: 18px; line-height: 1.4; font-weight: 550; letter-spacing: 0; text-transform: none; color: var(--ink-body); }
.company-mark--unavailable > img { display: none; }
.company-mark--unavailable > .company-mark__fallback { display: block; }
.partner-list { gap: 0; border: 1px solid var(--line); background: #fff; align-items: stretch; }
.partner-list > a { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 112px; padding: 18px; border-right: 1px solid var(--line); font: 550 18px/1.4 var(--font-sans); letter-spacing: 0; transition: background .25s ease; }
.partner-list > a:last-child { border-right: 0; }
.partner-list > a:hover { background: var(--surface-alt); }
.ref-card .rf-logo-tile { min-height: 142px; padding: 24px; background: #fff; }
.ref-card .company-mark { height: 88px; }
.ref-card .company-mark > img { max-height: 82px; }
.catalogue-mark { max-width: 150px; margin-bottom: 14px; }
.catalogue-mark .company-mark { height: 44px; justify-content: flex-start; }
.catalogue-mark .company-mark > img { width: auto; max-width: 140px; max-height: 40px; }
.catalogue-mark .company-mark--unavailable { display: none; }
@media (max-width: 768px) {
 .partner-list > a { min-height: 100px; padding: 15px; }
 .partner-list > a:nth-child(3) { border-right: 0; }
 .partner-list > a:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
 .company-mark > img { max-height: 46px; }
}
@media (max-width: 420px) {
 .partner-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .partner-list > a:nth-child(3) { border-right: 1px solid var(--line); }
 .partner-list > a:nth-child(even) { border-right: 0; }
 .partner-list > a:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
 .brand-name { font-size: 26px; }
}

/* Section pages and home blocks generated by scripts/build_site.py */
.sub__block { margin-top: 44px; }
.sub__block + .sub__block { padding-top: 44px; border-top: 1px dashed var(--line); }
.sub__block > h3, .sub__card h3 { font-size: 22px; font-weight: 650; letter-spacing: -.01em; margin-bottom: 18px; }
.sub__card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 30px 18px; border: 1px solid var(--line); background: var(--surface-alt); }
.sub__card h3 { margin-bottom: 8px; }
.sub__title { font-size: 18px; font-weight: 650; margin: 0 0 16px; }
.rf-grid + .sub__title { margin-top: 40px; }
.rf-card--product:target, .sub__card:target, .service:target, .brand-card:target { outline: 2px solid var(--action); outline-offset: 3px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-alt); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.2; font-weight: 650; letter-spacing: -.015em; margin-top: 10px; text-wrap: balance; }
.split__lead { margin: 14px 0 22px; font-size: 16px; line-height: 1.75; max-width: 520px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 4px 32px; margin-top: 18px; border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.service { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--surface); transition: border-color .25s, box-shadow .3s; }
.service:hover { border-color: #aebfcb; box-shadow: 0 18px 40px -28px #0621396b; }
.service__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-alt); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.service:hover .service__media img { transform: scale(1.04); }
.service__icon { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: var(--action); color: #fff; }
.service__icon .rf-icon { width: 26px; height: 26px; }
.service__num { position: absolute; top: 14px; left: 16px; padding: 4px 9px; background: #0b2539cc; color: #fff; font-size: 12px; font-weight: 650; letter-spacing: .06em; }
.service__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 28px 32px 30px; }
.service h2 { font-size: 24px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; }
.service p { margin: 10px 0 16px; font-size: 15px; line-height: 1.7; }
.service .text-link { margin-top: auto; padding-top: 18px; }
/* Fabrication leads the page: full-width card, photo beside the text. */
.service--featured { grid-column: 1 / -1; flex-direction: row; }
.service--featured .service__media { flex: 0 0 56%; aspect-ratio: auto; min-height: 400px; }
.service--featured .service__body { justify-content: center; padding: 44px 48px; }
.service--featured h2 { font-size: 32px; }
.brand-grid { gap: 24px; }
.brand-card .rf-logo-tile { width: 100%; min-height: 120px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.brand-card .rf-card__body { align-items: flex-start; gap: 6px; }
.brand-card h3 { font-size: 20px; font-weight: 650; }
.brand-card p { font-size: 14px; color: var(--ink-muted); }
.brand-card .rf-badge { margin-top: 4px; }
.home-card { gap: 12px; padding: 30px; align-items: flex-start; color: var(--ink-body); }
.home-card:hover { text-decoration: none; }
.home-card h3 { color: var(--ink); font-size: 20px; font-weight: 650; letter-spacing: -.01em; margin-top: 6px; }
.home-card p { font-size: 14px; line-height: 1.7; flex: 1; }
.home-card .text-link { padding-bottom: 0; }
.home-card:hover .text-link .rf-icon { transform: translateX(5px); }
/* Product family cards (home « Nos produits »): photo on top, icon in the corner. */
.home-card--photo { gap: 0; padding: 0; }
.home-card__media { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; background: #e9eef2; }
.home-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.home-card--photo:hover .home-card__media img { transform: scale(1.05); }
.home-card__icon { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--action); color: #fff; }
.home-card__icon .rf-icon { width: 22px; height: 22px; }
.home-card__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; gap: 10px; width: 100%; padding: 24px 28px 26px; }
.home-card__body h3 { margin-top: 0; }
/* Home « Votre métier » sector grid: photo cards, a 2 × 2 lead and a 2 × 1 wide card on desktop. */
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 264px; gap: 12px; }
.sector-card { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 24px; background: var(--navy); color: #fff; }
.sector-card:hover { color: #fff; text-decoration: none; }
.sector-card:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; }
.sector-card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.sector-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 27, 39, .5) 0%, rgba(8, 27, 39, 0) 24%, rgba(8, 27, 39, .2) 40%, rgba(8, 27, 39, .92) 100%); }
.sector-card:hover > img { transform: scale(1.05); }
.sector-card__num { position: absolute; top: 18px; left: 24px; font-size: 13px; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; color: rgba(255, 255, 255, .9); }
.sector-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 56px; }
.sector-card__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 8px; background: var(--action); color: #fff; }
.sector-card__icon .rf-icon { width: 20px; height: 20px; }
.sector-card h3 { color: #fff; font-size: 20px; font-weight: 650; line-height: 1.2; letter-spacing: -.01em; text-shadow: 0 1px 12px rgba(8, 27, 39, .5); }
.sector-card p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.sector-card__go { position: absolute; right: 24px; bottom: 24px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .5); transition: background .25s, border-color .25s; }
.sector-card__go .rf-icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.sector-card:hover .sector-card__go { border-color: var(--action); background: var(--action); }
.sector-card:hover .sector-card__go .rf-icon { transform: translateX(3px); }
.sector-card--lead { grid-column: span 2; grid-row: span 2; padding: 36px; }
.sector-card--lead .sector-card__num { top: 30px; left: 36px; }
.sector-card--lead .sector-card__icon { width: 48px; height: 48px; }
.sector-card--lead .sector-card__icon .rf-icon { width: 24px; height: 24px; }
.sector-card--lead h3 { font-size: 32px; }
.sector-card--lead p { max-width: 420px; font-size: 16px; }
.sector-card--lead .sector-card__go { right: 36px; bottom: 36px; width: 48px; height: 48px; }
.sector-card--wide { grid-column: span 2; }
.sector-card--wide > img { object-position: center 35%; }
.sector-card--all { transition: background .25s; }
.sector-card--all::after { content: none; }
.sector-card--all h3 { font-size: 22px; text-shadow: none; }
.sector-card--all p { color: rgba(255, 255, 255, .72); }
.sector-card--all:hover { background: var(--action); }
.sector-card--all:hover .sector-card__go { border-color: #fff; background: #fff; color: var(--action); }
.webinar { display: flex; gap: 28px; align-items: flex-start; padding: 40px; border: 1px solid var(--line); background: var(--surface-alt); }
.webinar .rf-section-head { margin-bottom: 24px; }
#localisation .map-card { justify-content: flex-start; flex-wrap: wrap; }
#localisation .map-card > div { flex: 1; min-width: 220px; }
#localisation .map-card p { margin-top: 4px; font-size: 14px; }
@media (max-width: 1000px) {
 .split, .service-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
 .service--featured { flex-direction: column; }
 .service--featured .service__media { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
 .service--featured .service__body { padding: 28px 32px 30px; }
 .service--featured h2 { font-size: 24px; }
 .split--reverse .split__media { order: 0; }
 .pillars { grid-template-columns: minmax(0, 1fr); }
 .pillars--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .cta-panel { padding: 52px 44px; }
 .cta-panel::before { left: 44px; }
 .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
 .sector-card { min-height: 260px; }
 .sector-card--lead { grid-row: auto; min-height: 340px; padding: 28px; }
 .sector-card--lead .sector-card__num { top: 22px; left: 28px; }
 .sector-card--lead .sector-card__go { right: 28px; bottom: 28px; }
 .sector-card--lead h3 { font-size: 28px; }
 .sector-card--wide { grid-column: auto; }
 .sector-card--all { grid-column: span 2; min-height: 140px; }
}
@media (max-width: 600px) {
 .webinar { flex-direction: column; padding: 24px; }
 .service__body, .service--featured .service__body { padding: 22px 20px 24px; }
 .pillars--4 { grid-template-columns: minmax(0, 1fr); }
 /* Phones: one swipeable row that bleeds to the screen edges, next card peeking. */
 /* --bleed matches the .rf-container gutter: 24px here, 20px at 390px and below. */
 .sector-grid { --bleed: 24px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; grid-auto-rows: 320px; gap: 10px; margin: 0 calc(-1 * var(--bleed)); padding: 0 var(--bleed); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed); scrollbar-width: none; }
 .sector-grid::-webkit-scrollbar { display: none; }
 .sector-card, .sector-card--lead, .sector-card--all { grid-column: auto; min-height: 0; padding: 20px; scroll-snap-align: start; }
 .sector-card .sector-card__num, .sector-card--lead .sector-card__num { top: 16px; left: 20px; }
 .sector-card .sector-card__go, .sector-card--lead .sector-card__go { right: 20px; bottom: 20px; width: 40px; height: 40px; }
 .sector-card--lead .sector-card__icon { width: 40px; height: 40px; }
 .sector-card--lead h3 { font-size: 24px; }
 .sector-card--lead p { font-size: 14px; }
}
@media (max-width: 390px) { .sector-grid { --bleed: 20px; } }
.partner-list--brands { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.partner-list.partner-list--brands > a { border: 0; background: #fff; }
.partner-list.partner-list--brands > a:hover { background: var(--surface-alt); }
.partner-list.partner-list--brands > .partner-list__all { gap: 10px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.partner-list.partner-list--brands > .partner-list__all:hover { background: var(--action); color: #fff; }
.partner-list__all .rf-icon { width: 18px; height: 18px; }
@media (max-width: 760px) { .partner-list--brands { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Page photo behind the banner gradient (set by banner(image=…) in the generator). */
.rf-banner--image::before { content: ""; background: linear-gradient(90deg, #0b2539f2 0%, #0b2539e6 40%, #0b253980 70%, #0b253933 100%); }
.rf-banner__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
@media (max-width: 600px) {
 /* Home « Nos produits »: two families per row on phones, like the Produits menu. */
 .home-products .rf-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
 .home-products .home-card__body { gap: 6px; padding: 12px 12px 14px; }
 .home-products .home-card__icon { width: 36px; height: 36px; }
 .home-products .home-card__icon .rf-icon { width: 18px; height: 18px; }
 .home-products .home-card h3 { font-size: 15px; line-height: 1.3; }
 .home-products .home-card p { font-size: 12.5px; line-height: 1.5; }
 .home-products .home-card .text-link { gap: 10px; padding-top: 4px; font-size: 13px; }
 .home-products .home-card .text-link .rf-icon { width: 16px; height: 16px; }
}
/* Quote request (devis.html): the whole form on one page in numbered blocks. A sticky navy recap
   follows the choices and carries the send button; only the contact block is required. */
.contact__quote-link { margin-bottom: 22px; font-size: 14px; line-height: 1.6; }
.contact__quote-link a { display: inline-flex; align-items: center; gap: 6px; color: var(--brand); font-weight: 600; }
.quote-section { padding: 56px 0 96px; background: var(--surface-alt); }
.quote { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.quote__form { display: grid; gap: 20px; min-width: 0; }
.q-block { background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 100px; }
.q-block__head { display: flex; align-items: flex-start; gap: 20px; padding: 28px 32px 24px; border-bottom: 1px solid var(--line); }
.q-block__num { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--navy); color: var(--brand); font: 700 15px/1 var(--font-display); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.q-block__title { flex: 1; min-width: 0; padding-top: 2px; }
.q-block__title h2 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
.q-block__title p { margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-body); }
.q-block__meta { flex: none; display: flex; align-items: center; gap: 14px; padding-top: 6px; }
.q-badge { padding: 5px 10px; font-size: 11px; line-height: 1.2; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-body); background: var(--surface-alt); }
.q-badge--required { color: var(--action-text); background: var(--action-soft); }
.q-reset { padding: 4px 0; border: 0; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--action-text); cursor: pointer; }
.q-reset:hover { text-decoration: underline; text-underline-offset: 3px; }
.q-block__body { display: grid; gap: 30px; padding: 28px 32px 34px; }
.q-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 32px; }
/* Spec rows: label on the left, options on the right, hairlines between, like a data sheet. */
.q-lines { border-bottom: 1px solid var(--line); }
.q-lines .q-group { display: flow-root; padding: 14px 0; border-top: 1px solid var(--line); }
.q-lines .q-group__label { float: left; width: 190px; margin: 0; padding: 12px 16px 0 0; }
.q-block__body > .q-lines:first-child .q-group:first-child { padding-top: 0; border-top: 0; }
.q-block__body > .q-lines:last-child { border-bottom: 0; }
.q-block__body > .q-lines:last-child .q-group:last-child { padding-bottom: 0; }
.q-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.q-group__label { display: block; margin-bottom: 12px; padding: 0; font-size: 14px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.q-hint { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--ink-muted); }
.q-optional { font-weight: 400; color: var(--ink-muted); }
.q-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.quote .rf-label { font-size: 14px; font-weight: 600; }
.quote .rf-input, .quote .rf-select, .quote .rf-textarea { min-height: 48px; font-size: 15px; }
.quote .rf-textarea { min-height: 120px; }
/* Choices: native radios and checkboxes kept in the tab order, drawn as chips and cards. Selected = navy. */
.q-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.q-chip, .q-card { position: relative; display: block; cursor: pointer; }
.q-chip input, .q-card input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.q-chip > span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; line-height: 1.3; font-weight: 500; color: var(--ink); white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s; }
.q-chip:hover > span, .q-card:hover .q-card__body { border-color: var(--action); }
.q-chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.q-chip input:focus-visible + span, .q-card input:focus-visible + .q-card__body { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Temperature: one joined scale, a cold-to-colder bar on top of each step. */
.q-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
.q-scale .q-chip + .q-chip > span { border-left-width: 0; }
.q-scale .q-chip > span { position: relative; padding: 16px 6px 12px; font-variant-numeric: tabular-nums; }
.q-scale .q-chip > span::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 5px; background: var(--t); }
.q-scale .q-chip + .q-chip > span::before { left: 0; }
.q-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.q-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.q-card__body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; height: 100%; padding: 20px 52px 20px 20px; border: 1px solid var(--line-strong); background: var(--surface); transition: background-color .2s, border-color .2s; }
.q-card__body::after { content: ''; position: absolute; top: 18px; right: 18px; width: 20px; height: 20px; border: 1.5px solid var(--line-strong); background: var(--surface) center / 14px no-repeat; }
.q-card__icon { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-bottom: 8px; background: var(--navy); color: var(--brand); }
.q-card__icon .rf-icon { width: 21px; height: 21px; }
.q-card strong { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--ink); }
.q-card small { font-size: 13px; line-height: 1.55; color: var(--ink-body); }
.q-card input:checked + .q-card__body { border-color: var(--navy); background: var(--navy); }
.q-card input:checked + .q-card__body strong { color: #fff; }
.q-card input:checked + .q-card__body small { color: rgba(255, 255, 255, .78); }
.q-card input:checked + .q-card__body .q-card__icon { background: #ffffff14; }
.q-card input:checked + .q-card__body::after { border-color: var(--brand); background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2738' stroke-width='3'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
/* Dimensions: L × l × H = volume, each with its unit. */
.q-dims { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr); align-items: end; gap: 10px; }
.q-dims__op { padding-bottom: 13px; font: 500 20px/1 var(--font-display); color: var(--ink-muted); }
.q-unit { display: grid; gap: 6px; min-width: 0; }
.q-unit__label { font-size: 13px; line-height: 1.3; color: var(--ink-body); }
.q-unit__box { display: flex; min-width: 0; }
.q-unit__box .rf-input { flex: 1; min-width: 0; border-right: 0; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.q-unit__box .rf-input::-webkit-inner-spin-button, .q-unit__box .rf-input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.q-unit__suffix { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-strong); background: var(--surface-alt); font-size: 14px; color: var(--ink-body); }
.q-unit--total .rf-input { background: var(--action-soft); font-weight: 600; }
/* Advanced configuration: folded under one bar until the visitor opens it. */
.q-advanced { min-width: 0; }
.q-advanced__toggle { display: flex; align-items: center; gap: 20px; padding: 24px 32px; background: var(--surface); border: 1px solid var(--line); list-style: none; cursor: pointer; transition: border-color .2s; }
.q-advanced__toggle::-webkit-details-marker { display: none; }
.q-advanced__toggle:hover { border-color: var(--action); }
.q-advanced__toggle:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.q-advanced__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--action-soft); color: var(--action-text); }
.q-advanced__icon .rf-icon { width: 22px; height: 22px; }
.q-advanced__text { flex: 1; min-width: 0; }
.q-advanced__text strong { display: block; font: 600 19px/1.3 var(--font-display); color: var(--ink); }
.q-advanced__text span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--ink-body); }
.q-advanced__action { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--action); color: var(--action-text); font-size: 14px; font-weight: 600; transition: background-color .2s, color .2s; }
.q-advanced__action .rf-icon { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.q-advanced__toggle:hover .q-advanced__action { background: var(--action); color: #fff; }
.q-advanced__hide, .q-advanced[open] .q-advanced__show { display: none; }
.q-advanced[open] .q-advanced__hide { display: inline; }
.q-advanced[open] .q-advanced__action .rf-icon { transform: rotate(180deg); }
.q-advanced[open] .q-advanced__icon { background: var(--navy); color: var(--brand); }
.q-advanced__blocks { display: grid; gap: 20px; margin-top: 20px; }
.q-advanced[open] .q-advanced__blocks { animation: q-reveal .35s var(--ease-out); }
@keyframes q-reveal { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .q-advanced[open] .q-advanced__blocks { animation: none; } }
/* Recap sidebar */
.q-summary:not(.is-advanced) [data-q-adv], .q-summary:not(.is-advanced) .q-progress, .q-summary.is-advanced [data-q-adv-off] { display: none; }
.q-summary { position: sticky; top: 100px; }
.q-summary__panel { position: relative; padding: 34px 28px 28px; background: var(--navy); color: #fff; }
.q-summary__panel::before { content: ''; position: absolute; top: 0; left: 28px; width: 56px; height: 4px; background: var(--brand); }
.q-summary .rf-eyebrow { color: var(--brand); }
.q-summary h2 { margin-top: 6px; color: #fff; font-size: 24px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.q-progress { margin-top: 18px; }
.q-progress__bar { display: block; height: 4px; background: #ffffff24; }
.q-progress__bar span { display: block; width: 0; height: 100%; background: var(--brand); transition: width .4s var(--ease-out); }
.q-progress__text { display: block; margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.q-summary__list { margin: 18px 0 24px; padding: 0; list-style: none; border-top: 1px solid #ffffff24; }
.q-summary__list a { display: grid; grid-template-columns: 26px minmax(0, 1fr) 20px; gap: 12px; padding: 14px 0; border-bottom: 1px solid #ffffff24; color: #fff; text-decoration: none; }
.q-summary__num { font: 600 12px/20px var(--font-display); letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.q-summary__text strong { display: block; font-size: 14px; line-height: 20px; font-weight: 600; }
.q-summary__value { display: block; margin-top: 3px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .72); overflow-wrap: anywhere; }
.q-summary__check { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1.5px solid #ffffff4d; color: transparent; }
.q-summary__check .rf-icon { width: 14px; height: 14px; }
.q-summary__list a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.q-summary__list .is-done .q-summary__num { color: var(--brand); }
.q-summary__list .is-done .q-summary__check { border-color: var(--brand); background: var(--brand); color: var(--navy); }
.q-summary__submit { width: 100%; border: 0; background: var(--brand); color: var(--navy); font-size: 16px; font-weight: 600; }
.q-summary__submit:hover { background: #fff; color: var(--navy); }
.q-summary__submit .rf-icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.q-summary__submit:hover .rf-icon { transform: translateX(4px); }
.q-summary .form-status.is-ok { margin-top: 14px; color: #fff; border-color: #ffffff3d; }
.q-summary__note { display: flex; gap: 10px; margin-top: 18px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .75); }
.q-summary__note .rf-icon { flex: none; width: 18px; height: 18px; color: var(--brand); }
.q-summary__note a { color: #fff; font-weight: 600; white-space: nowrap; }
@media (max-width: 1200px) { .quote { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; } }
/* Beside the sidebar the options column gets too narrow for five chips: labels go above. */
@media (min-width: 1001px) and (max-width: 1200px) { .q-lines .q-group__label { float: none; width: auto; padding: 0 0 10px; } }
@media (max-width: 1000px) {
 .quote { grid-template-columns: minmax(0, 1fr); }
 .q-summary { position: static; }
}
@media (max-width: 760px) {
 .quote-section { padding: 28px 0 64px; }
 .quote__form { gap: 14px; }
 .q-block__head { flex-wrap: wrap; gap: 14px 16px; padding: 22px 20px 18px; }
 .q-block__num { width: 40px; height: 40px; font-size: 14px; }
 .q-block__title { flex-basis: calc(100% - 56px); }
 .q-block__title h2 { font-size: 19px; }
 .q-block__meta { width: 100%; justify-content: space-between; padding-top: 0; }
 .q-block__body { gap: 26px; padding: 22px 20px 26px; }
 .q-row, .q-fields, .q-cards, .q-cards--3 { grid-template-columns: minmax(0, 1fr); }
 .q-lines .q-group__label { float: none; width: auto; padding: 0 0 10px; }
 .q-dims { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .q-dims__op { display: none; }
 .q-unit--total { grid-column: 1 / -1; }
 .q-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .q-scale .q-chip:nth-child(4) > span { border-left-width: 1px; }
 .q-scale .q-chip:nth-child(n + 4) > span { border-top-width: 0; }
 .q-scale .q-chip:nth-child(4) > span::before { left: -1px; }
 .q-scale .q-chip:nth-child(n + 4) > span::before { top: 0; }
 .q-chip > span { padding: 10px 14px; }
 .q-summary__panel { padding: 30px 20px 24px; }
 .q-advanced__toggle { flex-wrap: wrap; gap: 14px 16px; padding: 20px; }
 .q-advanced__icon { width: 40px; height: 40px; }
 .q-advanced__text { flex-basis: calc(100% - 56px); }
 .q-advanced__text strong { font-size: 17px; }
 .q-advanced__action { width: 100%; justify-content: center; }
 .q-advanced__blocks { gap: 14px; margin-top: 14px; }
 .q-summary__panel::before { left: 20px; }
}
