
/* Plafonds Techniques Sàrl — feuille de style du site */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('archivo.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --platre: #F4F4F1;
  --blanc: #FFFFFF;
  --ink: #23231F;
  --ink-2: #55544C;
  --taupe: #77766A;
  --line: #DCDBD3;
  --line-dark: rgba(255, 255, 255, .14);
  --olive: #2D2C26;
  --olive-2: #3A3932;
  --sable: #E7D5A2;
  --sable-2: #D3BC80;
  --bronze: #7A5F23;
  --wide: 116%;
  --wider: 122%;
  --max: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --sec: clamp(72px, 10vw, 136px);
  --head-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--platre);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'kern', 'liga';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 620; font-stretch: var(--wide); line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 5.3rem); font-stretch: var(--wider); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.15rem); }
h3 { font-size: 1.28rem; line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; }
.sec.white { background: var(--blanc); }
.sec.tight { padding: calc(var(--sec) * .62) 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--sable); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }
.dark :focus-visible, .head :focus-visible, .hero :focus-visible, .foot :focus-visible { outline-color: var(--sable); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- boutons et liens */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px;
  font: inherit; font-size: .98rem; font-weight: 600; font-stretch: 108%; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s;
}
.btn.sable { background: var(--sable); color: var(--ink); }
.btn.sable:hover { background: #F1E3BB; }
.btn.ink { background: var(--ink); color: #fff; }
.btn.ink:hover { background: #3a3a34; }
.btn.line { border-color: currentColor; color: inherit; background: transparent; }
.btn.line:hover { background: rgba(255, 255, 255, .08); }
.light .btn.line:hover, .btn.line.on-light:hover { background: rgba(0, 0, 0, .04); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--sable-2); }
.link:hover { text-decoration-color: currentColor; }

/* ---------- en-tête */
.head { position: sticky; top: 0; z-index: 50; background: var(--olive); color: #fff; transition: background-color .25s, box-shadow .25s; }
.head .wrap { height: var(--head-h); display: flex; align-items: center; gap: 28px; }
.head .logo { display: block; flex: none; }
.head .logo img { width: 204px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 14px; text-decoration: none; font-size: .98rem; font-weight: 500; color: rgba(255, 255, 255, .86); border-bottom: 1px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current=page] { color: #fff; border-bottom-color: var(--sable); }
.head .tel { text-decoration: none; font-weight: 600; font-stretch: 108%; color: var(--sable); white-space: nowrap; font-variant-numeric: tabular-nums; }
.head .btn { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid rgba(255, 255, 255, .35); color: #fff; font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 2px; cursor: pointer; }
body.home .head { position: fixed; left: 0; right: 0; background: transparent; }
body.home .head.solid, body.home .head.open { background: var(--olive); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }

/* ---------- héros (accueil) */
.hero { position: relative; min-height: max(640px, min(100svh, 940px)); color: #fff; background: var(--olive); display: flex; align-items: flex-end; overflow: hidden; }
.hero .slides, .hero .slide { position: absolute; inset: 0; }
.hero .slide { opacity: 0; transition: opacity 1.6s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 9s linear; }
.hero .slide.on img { transform: scale(1); }
.hero::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(29, 28, 23, .86) 0%, rgba(29, 28, 23, .62) 38%, rgba(29, 28, 23, .12) 78%),
  linear-gradient(0deg, rgba(29, 28, 23, .78) 0%, rgba(29, 28, 23, 0) 42%),
  linear-gradient(180deg, rgba(29, 28, 23, .55) 0%, rgba(29, 28, 23, 0) 22%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(36px, 6vw, 64px); padding-top: calc(var(--head-h) + 60px); }
.hero h1 { max-width: 15ch; }
.hero .lead { color: rgba(255, 255, 255, .84); margin: 28px 0 36px; max-width: 54ch; }
.hero-foot { margin-top: clamp(44px, 7vw, 88px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .22); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hero-cap { font-size: .92rem; color: rgba(255, 255, 255, .78); min-height: 1.5em; }
.hero-cap b { color: #fff; font-weight: 600; }
.dots { display: flex; gap: 8px; }
.dots button { width: 44px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255, 255, 255, .3); }
.dots button[aria-current=true]::before { background: var(--sable); }
.hero .h-in > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .h-in > :nth-child(2) { animation-delay: .12s; }
.hero .h-in > :nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- en-tête des pages intérieures */
.phead { background: var(--olive); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.phead.photo { min-height: 460px; display: flex; align-items: flex-end; }
.phead.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phead.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 28, 23, .88) 0%, rgba(29, 28, 23, .55) 50%, rgba(29, 28, 23, .2) 100%), linear-gradient(0deg, rgba(29, 28, 23, .6), rgba(29, 28, 23, 0) 50%); }
.phead .wrap { position: relative; z-index: 2; width: 100%; }
.phead h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 16ch; }
.phead .lead { color: rgba(255, 255, 255, .82); margin: 22px 0 0; }
.crumbs { font-size: .9rem; color: rgba(255, 255, 255, .62); margin-bottom: 22px; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- faits clés */
.facts { background: var(--blanc); border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0 auto; padding: 0 var(--gut); max-width: var(--max); display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 34px 28px 34px 0; }
.facts li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.facts b { display: block; font-weight: 620; font-stretch: var(--wide); font-size: 1.12rem; line-height: 1.25; margin-bottom: 6px; }
.facts span { color: var(--ink-2); font-size: .95rem; line-height: 1.45; display: block; }

/* ---------- titres de section */
.shead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 60px); }
.shead p { margin: 18px 0 0; }
.shead.split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.shead.split p { margin: 6px 0 0; }

/* ---------- mosaïque de réalisations */
.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.tile { position: relative; display: block; text-decoration: none; color: inherit; grid-column: span 4; background: none; border: 0; padding: 0; text-align: left; font: inherit; cursor: pointer; }
.tile .ph { position: relative; overflow: hidden; background: #d9d8d0; aspect-ratio: 4 / 3; }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.tile:hover .ph img { transform: scale(1.035); }
.tile .cap { padding: 14px 0 0; }
.tile .cap h3 { font-size: 1.12rem; }
.tile .cap p { margin: 4px 0 0; font-size: .93rem; color: var(--ink-2); line-height: 1.45; }
.mosaic .tile.big { grid-column: span 8; grid-row: span 2; display: flex; flex-direction: column; }
.mosaic .tile.big .ph { aspect-ratio: auto; flex: 1; min-height: 420px; }
.mosaic .tile.mid { grid-column: span 4; }
.mosaic .tile.third { grid-column: span 4; }

/* ---------- échantillonnier des systèmes */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sw { display: block; text-decoration: none; color: inherit; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 18px 22px; background: var(--blanc); transition: background-color .2s; }
.sw:hover { background: #FAFAF7; }
.sw svg { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.sw h3 { font-size: 1.02rem; margin: 16px 0 6px; }
.sw p { font-size: .9rem; line-height: 1.45; color: var(--ink-2); margin: 0; }

/* ---------- références */
.dark { background: var(--olive); color: #fff; }
.dark .lead, .dark .muted { color: rgba(255, 255, 255, .74); }
.refs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
.refs h2 { max-width: 12ch; }
.ref-group + .ref-group { margin-top: 44px; }
.ref-group h3 { font-size: .98rem; font-weight: 500; font-stretch: 100%; color: var(--sable); margin-bottom: 18px; letter-spacing: 0; }
.ref-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.ref-list li { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line-dark); font-size: clamp(1.02rem, 1.4vw, 1.2rem); font-weight: 560; font-stretch: 110%; line-height: 1.25; }

/* ---------- méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: st; border-top: 2px solid var(--ink); }
.steps li { padding: 26px 28px 0 0; counter-increment: st; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(st); display: block; font-size: 2.6rem; font-weight: 300; font-stretch: var(--wider); line-height: 1; color: var(--taupe); margin-bottom: 26px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.12rem; margin-bottom: 10px; }
.steps p { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* ---------- deux colonnes texte et photo */
.duo { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo.rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.duo.rev > .duo-img { order: 2; }
.duo-img { position: relative; }
.duo-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo-img figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 10px; }
.duo h2 { margin-bottom: 26px; }
.duo .lead { margin-bottom: 1.2em; }
.checks { list-style: none; padding: 0; margin: 26px 0 34px; border-top: 1px solid var(--line); }
.checks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 23px; width: 14px; height: 7px; border-left: 2px solid var(--bronze); border-bottom: 2px solid var(--bronze); transform: rotate(-45deg); }

/* ---------- bandeau d’appel */
.cta { background: var(--sable); color: var(--ink); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.cta h2 { max-width: 18ch; }
.cta p { margin: 20px 0 0; max-width: 56ch; color: #3e3a2c; }
.cta .btns { justify-content: flex-end; }
.cta .btn.line:hover { background: rgba(0, 0, 0, .05); }
.cta .cta-contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(35, 35, 31, .2); font-size: .97rem; line-height: 1.6; }
.cta .cta-contact a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(35, 35, 31, .35); }
.cta .cta-contact a:hover { text-decoration-color: currentColor; }
.cta .sep { display: inline-block; width: 22px; }
.card.com { border-color: var(--ink); border-width: 2px; }
.card .com-nom { font-size: 1.15rem; font-weight: 620; font-stretch: var(--wide); margin-bottom: 2px; }

/* ---------- pied de page */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: .95rem; }
.foot .wrap { padding-top: 72px; padding-bottom: 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.foot img { width: 210px; height: auto; }
.foot h2 { font-size: .98rem; font-weight: 600; font-stretch: 108%; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.foot p { margin: 0 0 .7em; line-height: 1.55; }
.foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot .tel-big { font-size: 1.3rem; font-weight: 600; font-stretch: 110%; color: var(--sable); font-variant-numeric: tabular-nums; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 26px; font-size: .86rem; color: rgba(255, 255, 255, .55); }
.foot-legal a { color: rgba(255, 255, 255, .7); }

/* ---------- réalisations (page) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { font: inherit; font-size: .95rem; font-weight: 500; padding: 10px 18px; min-height: 44px; border: 1px solid var(--line); background: var(--blanc); color: var(--ink); border-radius: 2px; cursor: pointer; }
.filters button:hover { border-color: var(--taupe); }
.filters button[aria-pressed=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button span { color: var(--taupe); margin-left: 6px; font-variant-numeric: tabular-nums; }
.filters button[aria-pressed=true] span { color: var(--sable); }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px clamp(16px, 2vw, 28px); }
.pgrid .tile { grid-column: auto; }
.pgrid .tile[hidden] { display: none; }
.tag { position: absolute; left: 12px; top: 12px; background: var(--sable); color: var(--ink); font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 2px; }
.tile .count { position: absolute; right: 12px; bottom: 12px; background: rgba(29, 28, 23, .78); color: #fff; font-size: .8rem; padding: 4px 10px; border-radius: 2px; }
.empty { padding: 40px 0; color: var(--ink-2); }

/* ---------- visionneuse */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 18, 15, .96); color: #fff; z-index: 200; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb::backdrop { background: rgba(18, 18, 15, .9); }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gut); }
.lb-title { font-weight: 600; font-stretch: 110%; }
.lb-title span { display: block; font-weight: 400; font-stretch: 100%; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; padding: 0 72px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.lb button { font: inherit; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 2px; cursor: pointer; min-height: 44px; padding: 0 16px; }
.lb button:hover { background: rgba(255, 255, 255, .16); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; padding: 0 !important; font-size: 1.4rem; line-height: 1; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lb-bot { padding: 14px var(--gut) 20px; display: flex; justify-content: space-between; gap: 16px; font-size: .9rem; color: rgba(255, 255, 255, .72); }

/* ---------- systèmes (page) */
.sys { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 56px); padding: 52px 0; border-top: 1px solid var(--line); align-items: start; }
.sys:last-child { border-bottom: 1px solid var(--line); }
.sys .swatch svg { width: 100%; height: auto; aspect-ratio: 1; border: 1px solid var(--line); background: #fff; display: block; }
.sys h2 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); margin-bottom: 16px; }
.sys dl { margin: 22px 0 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; font-size: .95rem; }
.sys dt { color: var(--taupe); }
.sys dd { margin: 0; }
.sys figure { margin: 0; }
.sys figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sys figcaption { font-size: .88rem; color: var(--ink-2); margin-top: 10px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.services > div { padding: 26px 28px 0 0; }
.services > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.services h3 { margin-bottom: 10px; font-size: 1.12rem; }
.services p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- entreprise */
.prose { max-width: 66ch; }
.prose p { margin-bottom: 1.1em; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.cols3 > div { padding: 26px 28px 0 0; }
.cols3 > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.cols3 h3 { margin-bottom: 10px; font-size: 1.12rem; }
.cols3 p { color: var(--ink-2); font-size: .97rem; margin: 0; }
.cantons { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cantons li { border: 1px solid var(--line); background: var(--blanc); padding: 8px 14px; border-radius: 2px; font-size: .95rem; }
.cantons li b { font-weight: 600; margin-right: 6px; }
.addr { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.addr > div { padding: 24px 24px 24px 0; }
.addr > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.addr h3 { font-size: 1.02rem; margin-bottom: 8px; }
.addr p { margin: 0; color: var(--ink-2); }

/* ---------- contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .92rem; font-weight: 600; margin-bottom: 8px; }
.field label i { font-style: normal; color: var(--taupe); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--blanc); border: 1px solid #C9C8BF; border-radius: 2px; padding: 13px 14px; min-height: 52px; }
.field textarea { min-height: 170px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--bronze); outline-offset: 0; border-color: var(--bronze); }
.field .hint { font-size: .85rem; color: var(--ink-2); margin-top: 6px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.hp { position: absolute; left: -5000px; }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-left: 3px solid #B5442F; background: #FBEDEA; color: #6F2416; display: none; }
.form-msg.on { display: block; }
.card { background: var(--blanc); border: 1px solid var(--line); padding: 30px; }
.card + .card { margin-top: 16px; }
.card h2 { font-size: 1.15rem; margin-bottom: 14px; }
.card p { margin: 0 0 .6em; }
.card .tel-big { font-size: 1.5rem; font-weight: 620; font-stretch: var(--wide); text-decoration: none; display: inline-block; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.map { margin-top: var(--sec); position: relative; background: #E7E6DF; aspect-ratio: 21 / 8; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map .map-in { max-width: 46ch; padding: 24px; }
.map .map-in p { color: var(--ink-2); font-size: .92rem; }

/* ---------- textes légaux */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.4rem; margin: 2.2em 0 .7em; }
.legal h2:first-child { margin-top: 0; }

/* ---------- adaptatif */
@media (max-width: 1180px) {
  .head .tel { display: none; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --head-h: 72px; }
  .head .logo img { width: 176px; }
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: var(--head-h); background: var(--olive); flex-direction: column; align-items: stretch; padding: 8px var(--gut) 24px; gap: 0; border-top: 1px solid var(--line-dark); }
  .head.open .nav { display: flex; }
  .nav a { padding: 16px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current=page] { border-bottom-color: var(--line-dark); color: var(--sable); }
  .nav .tel-m { display: block; color: var(--sable); font-weight: 600; }
  .nav .btn { margin-top: 18px; }
  .head > .wrap > .btn { display: none; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .mosaic .tile.big, .mosaic .tile.mid, .mosaic .tile.third, .tile { grid-column: span 6; }
  .mosaic .tile.big { grid-column: 1 / -1; grid-row: auto; }
  .mosaic .tile.big .ph { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .refs { grid-template-columns: 1fr; gap: 28px; }
  .refs h2 { max-width: none; }
  .steps, .services, .cols3 { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3), .services > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps li:nth-child(n+3), .services > div:nth-child(n+3) { margin-top: 36px; }
  .cols3 > div:nth-child(3) { padding-left: 0; border-left: 0; margin-top: 36px; }
  .duo, .duo.rev { grid-template-columns: 1fr; }
  .duo.rev > .duo-img { order: 0; }
  .duo-img img { aspect-ratio: 16 / 10; }
  .cta .wrap { grid-template-columns: 1fr; }
  .cta .btns { justify-content: flex-start; }
  .pgrid { grid-template-columns: 1fr 1fr; }
  .sys { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .sys figure { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .shead, .shead.split { grid-template-columns: 1fr; }
}
@media (min-width: 981px) { .nav .tel-m { display: none; } .nav .btn { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 22px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .mosaic .tile.big, .mosaic .tile.mid, .mosaic .tile.third, .tile { grid-column: 1 / -1; }
  .swatches { grid-template-columns: 1fr 1fr; }
  .sw { padding: 12px 12px 16px; }
  .ref-list { grid-template-columns: 1fr 1fr; }
  .steps, .services, .cols3 { grid-template-columns: 1fr; }
  .steps li, .services > div, .cols3 > div, .steps li + li, .services > div + div, .cols3 > div + div { padding-left: 0; border-left: 0; }
  .steps li + li, .services > div + div, .cols3 > div + div { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .pgrid { grid-template-columns: 1fr; }
  .sys { grid-template-columns: 1fr; padding: 40px 0; }
  .sys .swatch { max-width: 220px; }
  .sys figure { grid-column: auto; }
  .form { grid-template-columns: 1fr; }
  .addr { grid-template-columns: 1fr; }
  .addr > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: -62px; transform: none; }
  .lb-prev { left: auto; right: 76px; }
  .lb-bot { padding-right: 150px; }
  .map { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero .slide img { transform: none; }
}
@media print {
  .head, .foot, .cta, .hero .slides, .filters { display: none; }
  body { background: #fff; }
}

/* ---------- choix de la langue */
.langs { display: flex; align-items: center; gap: 0; flex: none; }
.langs a { padding: 8px 6px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-decoration: none; color: rgba(255, 255, 255, .58); border-bottom: 1px solid transparent; }
.langs a:hover { color: #fff; }
.langs a[aria-current=true] { color: var(--sable); border-bottom-color: var(--sable); }
.head .wrap > .nav + .langs { margin-left: -10px; }
@media (max-width: 980px) {
  .head .wrap > .nav + .langs { margin-left: auto; }
  .langs + .tel + .btn + .menu-btn, .langs ~ .menu-btn { margin-left: 4px; }
}
@media print { .langs { display: none; } }
@media (max-width: 640px) {
  .head .wrap { gap: 10px; }
  .head .logo img { width: 138px; }
  .langs a { padding: 8px 4px; font-size: .76rem; }
  .menu-btn { padding: 8px 11px; }
}
@media (max-width: 360px) { .head .logo img { width: 118px; } }
.sec.apres-hero { padding-top: clamp(40px, 5vw, 64px); }
.sec.apres-hero .shead { margin-bottom: clamp(22px, 3vw, 34px); }

/* ---------- page Plafonds : galerie et fiche technique */
.sys-gal { margin: 0; }
.sys-main { position: relative; }
.sys .sys-gal .sys-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: opacity .2s; }
.fiche-btn { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: rgba(35, 35, 31, .86); color: #fff; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; backdrop-filter: blur(4px); }
.fiche-btn svg { color: var(--sable); flex: none; }
.fiche-btn:hover { background: var(--olive); }
.sys-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.sys-thumbs button { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4 / 3; overflow: hidden; opacity: .7; transition: opacity .15s, border-color .15s; }
.sys-thumbs button:hover { opacity: 1; }
.sys-thumbs button[aria-current=true] { border-color: var(--bronze); opacity: 1; }
.sys-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fiche-lien { margin: 18px 0 0; }
.fiche-lien .link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: inherit; cursor: pointer; }
dialog.fiche { width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 4px; background: #fff; color: var(--ink); box-shadow: 0 24px 80px rgba(0, 0, 0, .35); }
dialog.fiche::backdrop { background: rgba(18, 18, 15, .72); }
.fiche-tete { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 28px 18px; background: var(--olive); color: #fff; }
.fiche-kick { margin: 0 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sable); }
.fiche-tete h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.15; }
.fiche-fermer { flex: none; min-height: 40px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 3px; background: none; color: #fff; font: inherit; font-size: .9rem; cursor: pointer; }
.fiche-fermer:hover { border-color: #fff; }
.fiche-corps { padding: 6px 28px 28px; }
.fiche-corps h3 { margin: 22px 0 8px; font-size: 1.02rem; color: var(--bronze); }
.fiche-corps p { margin: 0; line-height: 1.6; color: var(--ink-2); }
.fiche-corps ul.checks { margin: 0; }
.fiche-cta { margin-top: 26px !important; }
@media (max-width: 560px) { .fiche-tete, .fiche-corps { padding-left: 20px; padding-right: 20px; } .fiche-btn span { display: none; } .fiche-btn { padding: 0 10px; } }

.encart-pro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; background: var(--blanc); border: 1px solid var(--line); border-left: 4px solid var(--bronze); padding: clamp(22px, 4vw, 40px); }
.encart-pro h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 10px; }
.encart-pro p { margin: 0; max-width: 70ch; }
@media (max-width: 760px) { .encart-pro { grid-template-columns: 1fr; } }
.nav a { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1400px) { .nav a { padding: 10px 9px; font-size: .94rem; } .nav .btn { padding-left: 14px; padding-right: 14px; } .langs a { padding-left: 5px; padding-right: 5px; } }

/* ---------- Studio visuel ---------- */
.studio { padding-top: calc(var(--sec) * .55); }
.studio-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.studio-lieux { display: flex; flex-direction: column; gap: 6px; position: sticky; top: 96px; }
.studio-lieux button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; text-align: left; font: inherit; font-weight: 600; color: var(--ink); background: var(--blanc); border: 1px solid var(--line); border-radius: 6px; padding: 11px 14px; cursor: pointer; }
.studio-lieux button span { font-weight: 400; font-size: .85em; color: var(--ink-2); }
.studio-lieux button:hover { border-color: var(--sable-2); }
.studio-lieux button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.studio-lieux button[aria-selected="true"] span { color: var(--sable); }
.studio-hero { margin: 0; background: #1d1f1c; border-radius: 8px; overflow: hidden; }
.studio-hero img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; margin: 0 auto; transition: opacity .2s; }
.studio-hero.charge img { opacity: .55; }
.studio-hero figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 12px 16px; color: #fff; font-size: .95rem; }
.studio-note { color: var(--sable); font-size: .88rem; }
.studio-note[hidden], .studio-choix[hidden] { display: none !important; }
.studio-choix { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 14px; }
.studio-choix a { display: block; background: var(--blanc); border: 1px solid var(--line); border-radius: 6px; padding: 5px; font-size: .86rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.studio-choix a:hover { border-color: var(--sable-2); }
.studio-choix a[aria-current] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.studio-choix img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; background: #e9e7df; margin-bottom: 5px; }
.studio-choix span { display: block; padding: 0 3px 3px; }
.studio-avert { font-size: .85rem; color: var(--ink-2); margin-top: 16px; }
.studio-suite { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 18px; }
@media (max-width: 980px) {
  .studio-grid { grid-template-columns: 1fr; gap: 16px; }
  .studio-lieux { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .studio-lieux button { width: auto; white-space: nowrap; flex: 0 0 auto; }
}
@media (max-width: 640px) { .studio-choix { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* en-tête : 7 entrées de menu, on resserre entre 981 et 1320 px pour que tout tienne sur une ligne */
.head .btn { white-space: nowrap; }
@media (min-width: 981px) and (max-width: 1320px) {
  .head .tel { display: none; }
  .nav a { padding: 10px 9px; font-size: .94rem; }
  .langs a { padding-left: 5px; padding-right: 5px; }
}
@media (min-width: 981px) and (max-width: 1060px) {
  .head .logo img { width: 150px; height: auto; }
  .nav a { padding: 10px 7px; font-size: .9rem; }
}
/* 981–1140 px : l'entrée « Contact » est masquée, le bouton doré mène à la même page */
@media (min-width: 981px) and (max-width: 1140px) {
  .nav a[href$="contact.html"]:not(.btn) { display: none; }
}
