/* =========================================================
   Alliage Ferronnerie — pages intérieures et formulaire
   (complète style.css, chargé sur toutes les pages)
   ========================================================= */

/* Rideau de transition entre pages */
.curtain {
  display: none; position: fixed; inset: 0; z-index: 140;
  background: var(--color-charcoal-ink);
}
.js.has-intro body:not([data-page="home"]) .curtain { display: block; }
.js.has-intro .ph__line,
.js.has-intro [data-enter],
.js.has-intro [data-enter-media] { visibility: hidden; }

/* Lien de navigation de la page courante */
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.menu__nav > a[aria-current="page"] { color: var(--color-paper-white); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

/* En-tête de page */
.ph { padding-top: calc(var(--header-h) + clamp(56px, 11vh, 120px)); }
.ph__grid {
  display: grid; grid-template-columns: 7fr 5fr; column-gap: clamp(32px, 6vw, 100px);
  align-items: end;
}
.ph__crumb { grid-column: 1 / -1; }
.ph__crumb a { min-height: 44px; display: inline-flex; align-items: center; transition: color .3s; }
.ph__crumb a:hover { color: var(--color-charcoal-ink); }
.ph__crumb span[aria-hidden] { opacity: .5; }
.ph__title { font-size: var(--text-hero-display); font-weight: 600; line-height: 1; letter-spacing: -0.04em; }
.ph__line { display: block; padding-bottom: .06em; }
.ph__lead { font-size: 18px; line-height: 1.5; color: var(--color-graphite); max-width: 44ch; padding-bottom: 8px; }
.ph__media {
  position: relative; margin-top: clamp(56px, 8vw, 100px);
  height: clamp(320px, 62vh, 680px);
}
.ph__media .frame { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-lg); background: #000; }
.ph__media img { width: 100%; height: 118%; object-fit: cover; }

/* Collage (À propos) */
.ph__media--collage { height: clamp(380px, 70vh, 760px); }
.ph__media--collage .frame:nth-child(1) { inset: 0 34% 10% 0; }
.ph__media--collage .frame:nth-child(2) { inset: 18% 0 24% 69%; border-radius: var(--radius-md); }
.ph__media--collage .frame:nth-child(3) { inset: 60% 12% 0 52%; z-index: 2; border-radius: var(--radius-md); }

/* Section générique */
.section { padding: var(--section-y) 0; }
.section--line { border-top: 1px solid var(--line); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(48px, 6vw, 88px); }
.section__head > p { max-width: 42ch; color: var(--color-graphite); }
.lead { font-size: 20px; line-height: 1.45; letter-spacing: -0.02em; color: var(--color-graphite); max-width: 44ch; }
.prose p + p { margin-top: 16px; }
.prose p { color: var(--color-graphite); max-width: 56ch; }

/* Texte + image */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: #000; }
.split__media img { width: 100%; height: 120%; object-fit: cover; }
.split__body > .section-title { margin-bottom: var(--spacing-32); }

/* Chiffres clés */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--spacing-24); margin-top: clamp(56px, 7vw, 100px); }
.facts > div { border-top: 1px solid var(--line); padding-top: 18px; }
.facts strong { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.facts span { display: block; margin-top: 8px; font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash); }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-24); }
.member__card {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-charcoal-ink); color: var(--color-paper-white);
  display: flex; flex-direction: column; justify-content: space-between; padding: var(--spacing-24);
  transition: transform .5s var(--ease);
}
.member__card::after {
  content: ""; position: absolute; right: -20%; bottom: -60%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.09), transparent 65%);
  transition: transform 1s var(--ease);
}
.member:hover .member__card { transform: translateY(-2px); }
.member:hover .member__card::after { transform: translate(-20%, -20%); }
.member__initials { font-size: clamp(72px, 9vw, 140px); font-weight: 600; letter-spacing: -0.06em; line-height: .9; }
.member__tag { font-family: var(--font-inter-tight); font-size: 15px; color: rgba(255,255,255,.6); }
.member h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.04em; margin-top: 18px; }
.member p { color: var(--color-graphite); margin-top: 4px; max-width: 34ch; }

/* Rangées numérotées (valeurs) */
.rows { border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; grid-template-columns: 80px 5fr 6fr; gap: 24px; align-items: baseline;
  padding: clamp(24px, 3vw, 36px) 0;
}
.row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--color-charcoal-ink);
  opacity: .14; transform: scaleX(var(--line, 1)); transform-origin: left;
}
.row__num { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash); }
.row h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; transition: transform .6s var(--ease); }
.row p { color: var(--color-graphite); max-width: 48ch; }
.row:hover h3 { transform: translateX(10px); }

/* Bandes sombres */
.dark-panel { background: var(--color-absolute-black); color: var(--color-paper-white); padding: var(--section-y) 0; border-radius: var(--radius-lg); }
.dark-panel .eyebrow { color: rgba(255,255,255,.6); }
.dark-panel .muted { color: rgba(255,255,255,.66); }
.dark-panel :focus-visible { outline-color: #fff; }
.statement { font-size: var(--text-section-heading); font-weight: 700; line-height: 1.1; letter-spacing: -0.04em; max-width: 24ch; }

/* Grand mot et bandeau */
.big-word { display: block; font-size: clamp(64px, 14vw, 220px); font-weight: 600; letter-spacing: -0.06em; line-height: .9; white-space: nowrap; }
.marquee-row { border-block: 1px solid var(--line); padding: 18px 0; overflow: hidden; margin-top: clamp(40px, 6vw, 80px); }
.marquee-row > div { display: flex; gap: 32px; width: max-content; white-space: nowrap; }
.marquee-row span, .marquee-row b { font-size: clamp(28px, 3.4vw, 44px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.2; }
.marquee-row b { font-weight: 400; color: var(--color-soft-ash); }
.overflow-clip { overflow: hidden; }

/* Sous-navigation (Services) */
.subnav-wrap { position: sticky; top: 12px; z-index: 50; margin-top: clamp(40px, 6vw, 72px); pointer-events: none; }
.subnav {
  pointer-events: auto;
  display: flex; gap: 4px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: 4px; border-radius: var(--radius-xl);
  background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--radius-lg);
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-graphite);
  transition: background-color .35s, color .35s;
}
.subnav a:hover { background: var(--color-studio-canvas); }
.subnav a.is-on { background: var(--color-charcoal-ink); color: var(--color-paper-white); }

/* Bloc service détaillé */
.svc-block { padding: var(--section-y) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc-block__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.svc-block__head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 72px); }
.svc-block__num { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash); }
.svc-block__title { font-size: var(--text-editor-heading); font-weight: 600; letter-spacing: -0.04em; line-height: 1; margin: 12px 0 24px; }
.svc-block__head > p { color: var(--color-graphite); font-size: 18px; max-width: 40ch; }
.svc-block__media { grid-column: 7 / span 6; position: relative; height: clamp(460px, 70vh, 720px); }
.svc-block__media .frame { position: absolute; overflow: hidden; background: #000; }
.svc-block__media .frame img { width: 100%; height: 120%; object-fit: cover; }
.svc-block__media .frame--main { inset: 0 0 14% 12%; border-radius: var(--radius-lg); }
.svc-block__media .frame--detail { inset: 52% 62% 0 0; border-radius: var(--radius-md); z-index: 2; box-shadow: 0 0 0 8px var(--color-studio-canvas); }
.svc-block--flip .svc-block__head { grid-column: 8 / span 5; grid-row: 1; }
.svc-block--flip .svc-block__media { grid-column: 1 / span 6; grid-row: 1; }
.svc-block--flip .frame--main { inset: 0 12% 14% 0; }
.svc-block--flip .frame--detail { inset: 52% 0 0 62%; }
.specs { margin-top: var(--spacing-32); border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash); }
.specs dd { font-size: 15px; color: var(--color-charcoal-ink); }
.svc-block__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: var(--spacing-24); }

/* Colonnes de propriétés (matériaux) */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-24); }
.prop { border-top: 1px solid var(--line); padding-top: 20px; }
.prop h3 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.prop > p { color: var(--color-graphite); margin: 12px 0 18px; max-width: 36ch; }
.prop ul li { position: relative; padding-left: 18px; font-size: 15px; color: var(--color-graphite); line-height: 1.7; }
.prop ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--color-charcoal-ink); }

/* Finitions */
.finish-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); }
.finish-grid h3 { font-size: 16px; font-weight: 700; line-height: 1.66; margin-bottom: 8px; }
.finish { display: grid; grid-template-columns: minmax(150px, 40%) 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-light); }
.finish strong { font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.finish span { color: rgba(255,255,255,.7); font-size: 15px; }

/* Galerie Réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 44px; padding: 0 16px; border-radius: var(--radius-md);
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500;
  background: var(--color-paper-white); color: var(--color-graphite);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.filter:hover { transform: translateY(-2px); }
.filter:active { transform: scale(.97); }
.filter[aria-pressed="true"] { background: var(--color-charcoal-ink); color: var(--color-paper-white); }
.gallery-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 72px); }
.gallery-count { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash); font-variant-numeric: tabular-nums; }
.gallery { columns: 3 300px; column-gap: 16px; margin-top: 24px; }
.g-item { break-inside: avoid; display: block; margin: 0 0 28px; }
.g-item[hidden] { display: none; }
.g-item__btn { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-md); background: #000; }
.g-item--tall .g-item__btn { aspect-ratio: 3 / 4; }
.g-item--wide .g-item__btn { aspect-ratio: 4 / 3; }
.g-item--big .g-item__btn { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }
.g-item__btn img { width: 100%; height: 100%; object-fit: cover; transition: scale .9s var(--ease); }
.g-item__btn:hover img { scale: 1.03; }
.g-item__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; }
.g-item__meta span:last-child { color: var(--color-soft-ash); }

/* Visionneuse */
.lightbox {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(17, 17, 17, .97); color: var(--color-paper-white);
}
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox__inner { height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: 20px var(--gutter); gap: 16px; }
.lightbox__top, .lightbox__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-inter-tight); font-size: 15px; }
.lightbox__stage { position: relative; min-height: 0; display: grid; place-items: center; }
.lightbox__img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-md); }
.lightbox__title { font-size: 20px; font-weight: 600; letter-spacing: -0.03em; }
.lightbox__cat, .lightbox__count { color: rgba(255,255,255,.6); }
.lb-btn {
  min-width: 48px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-lg);
  background: var(--color-paper-white); color: var(--color-graphite); padding: 0 16px; font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.lb-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lightbox__nav { display: flex; gap: 8px; }
.lightbox :focus-visible { outline-color: #fff; }

/* Processus détaillé */
.toc { margin-top: var(--spacing-32); display: grid; gap: 2px; }
.toc a {
  display: flex; align-items: center; gap: 12px; min-height: 40px; width: fit-content;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash);
  transition: color .3s;
}
.toc a::before { content: ""; width: 12px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.toc a.is-on, .toc a:hover { color: var(--color-charcoal-ink); }
.toc a.is-on::before { width: 28px; }
.step--rich { padding-bottom: clamp(64px, 9vh, 112px); scroll-margin-top: 100px; }
.step__vn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.step__vn > div { background: var(--color-paper-white); border-radius: var(--radius-lg); padding: 18px 20px; }
.step__vn h4 { margin: 0 0 6px; font-family: var(--font-inter-tight); font-size: 15px; font-weight: 700; }
.step__vn p { font-size: 15px; }
.step__fig { margin-top: 20px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius-md); background: #000; }
.step__fig img { width: 100%; height: 120%; object-fit: cover; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spacing-24); }
.price-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-charcoal-ink); color: var(--color-paper-white);
  padding: var(--spacing-24); min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--ease);
}
.price-card:hover { transform: translateY(-2px); }
.price-card .price-card__unit { font-size: clamp(36px, 4vw, 56px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--color-paper-white); margin: 0; }
.price-card p { color: rgba(255,255,255,.7); font-size: 15px; margin-top: 12px; }
.price-card small { font-family: var(--font-inter-tight); font-size: 15px; color: rgba(255,255,255,.55); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; min-height: 44px;
  font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 36px; height: 36px; border-radius: var(--radius-md); background: var(--color-paper-white); transition: background-color .3s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; background: var(--color-charcoal-ink); transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details.is-open summary i { background: var(--color-charcoal-ink); }
.faq details.is-open summary i::before, .faq details.is-open summary i::after { background: #fff; }
.faq details.is-open summary i::after { transform: rotate(0deg); }
.faq summary:hover i { transform: rotate(90deg); }
.faq__a { overflow: hidden; }
.faq__a p { padding: 0 60px 28px 0; color: var(--color-graphite); max-width: 70ch; }

/* =========================================================
   FORMULAIRE DE DEVIS
   ========================================================= */
.quote { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.info-card { background: var(--color-charcoal-ink); color: var(--color-paper-white); border-radius: var(--radius-lg); padding: var(--spacing-24); }
.info-card h2, .next-card h2 { font-size: 16px; font-weight: 700; line-height: 1.66; margin-bottom: 12px; }
.info-card dl { display: grid; gap: 14px; }
.info-card dt { font-family: var(--font-inter-tight); font-size: 15px; color: rgba(255,255,255,.55); }
.info-card dd { color: #f7f7f7; font-size: 15px; }
.info-card .link-draw { color: var(--color-paper-white); }
.info-card :focus-visible { outline-color: #fff; }
.next-card { border-radius: var(--radius-lg); background: var(--color-paper-white); padding: var(--spacing-24); }
.next-card ol { display: grid; gap: 12px; counter-reset: n; }
.next-card li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 15px; color: var(--color-graphite); counter-increment: n; }
.next-card li::before { content: counter(n, decimal-leading-zero); font-family: var(--font-inter-tight); font-weight: 700; color: var(--color-charcoal-ink); }

.form-block { border: 0; margin: 0; padding: 0 0 clamp(40px, 5vw, 64px); min-width: 0; }
.form-block + .form-block { border-top: 1px solid var(--line); padding-top: clamp(32px, 4vw, 48px); }
.form-block > legend {
  display: flex; align-items: baseline; gap: 14px; padding: 0; margin-bottom: 24px; float: left; width: 100%;
  font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1;
}
.form-block > legend + * { clear: both; }
.form-block > legend span { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--color-soft-ash); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--color-charcoal-ink); }
.req { color: var(--color-soft-ash); }
.opt { color: var(--color-soft-ash); font-weight: 400; }
.hint { font-size: 13px; color: var(--color-soft-ash); line-height: 1.4; margin-top: -2px; }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: 400 16px/1.4 var(--font-inter); color: var(--color-charcoal-ink);
  background: var(--color-paper-white); border: 0; border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .3s;
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: #8a8a8a; }
.input:hover { box-shadow: inset 0 0 0 1px rgba(34,34,34,.35); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--color-charcoal-ink); }
.input[readonly] { background: #f6f6f6; color: var(--color-soft-ash); }
textarea.input { min-height: 160px; resize: vertical; }
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23222' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; padding-right: 44px;
}
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--color-charcoal-ink); }
.error { font-size: 14px; font-weight: 600; color: var(--color-charcoal-ink); display: flex; gap: 8px; align-items: center; }
.error:empty { display: none; }
.error::before { content: "!"; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--color-charcoal-ink); color: #fff; font-size: 12px; display: grid; place-items: center; }

.choice-group { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.choice-group > legend { font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; padding: 0; margin-bottom: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--radius-md);
  background: var(--color-paper-white); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-graphite);
  transition: background-color .3s, color .3s, box-shadow .3s, transform .3s var(--ease);
  pointer-events: none;
}
.choice:hover span { transform: translateY(-2px); }
.choice input:checked + span { background: var(--color-charcoal-ink); color: var(--color-paper-white); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--color-charcoal-ink); outline-offset: 3px; }
.choice-group.has-error .choice span { box-shadow: inset 0 0 0 2px var(--color-charcoal-ink); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--color-graphite); cursor: pointer; min-height: 44px; padding-top: 10px; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--color-charcoal-ink); }

.drop {
  position: relative; display: grid; place-items: center; text-align: center; gap: 8px;
  min-height: 200px; padding: 32px 24px; border-radius: var(--radius-lg);
  background-color: var(--color-paper-white);
  border: 1.5px dashed rgba(34, 34, 34, .3);
  cursor: pointer; transition: background-color .3s, transform .4s var(--ease);
}
.drop:hover { transform: translateY(-2px); }
.drop.is-over { background-color: #f4f4f4; transform: scale(1.01); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop:focus-within { outline: 2px solid var(--color-charcoal-ink); outline-offset: 3px; }
.drop__icon { width: 48px; height: 48px; border-radius: var(--radius-lg); background: var(--color-charcoal-ink); display: grid; place-items: center; margin: 0 auto; }
.drop__icon svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; }
.drop strong { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; }
.drop small { display: block; font-family: var(--font-inter-tight); font-size: 14px; color: var(--color-soft-ash); margin-top: 4px; }
.previews { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.previews:not(:empty) { margin-top: 12px; }
.preview { position: relative; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--color-paper-white); box-shadow: inset 0 0 0 1px var(--line); }
.preview img { width: 100%; height: 100%; object-fit: cover; }
.preview__doc { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--color-soft-ash); }
.preview__name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.7)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.preview__rm { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border-radius: var(--radius-md); background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.preview__rm svg { width: 14px; height: 14px; stroke: #222; stroke-width: 1.8; fill: none; }
.file-count { font-family: var(--font-inter-tight); font-size: 14px; color: var(--color-soft-ash); }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding-top: 8px; }
.form-status { font-size: 15px; color: var(--color-graphite); }
.form-status:empty { display: none; }
.form-status.is-error { font-weight: 600; color: var(--color-charcoal-ink); }
.btn.is-loading { opacity: .7; pointer-events: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { padding: clamp(24px, 4vw, 48px) 0; }
.form-done h2 { font-size: var(--text-section-heading); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; max-width: 18ch; }
.form-done h2:focus { outline: none; }
.form-done p { margin: 20px 0 32px; color: var(--color-graphite); font-size: 18px; max-width: 46ch; }
.form-done__actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

/* Liste « compris » sur fond clair */
.included--light { margin-top: 0; }
.included--light li { color: rgba(34, 34, 34, .14); }
.included--light li.is-on { color: var(--color-charcoal-ink); }

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 2px;
  border-radius: var(--radius-lg); box-shadow: inset 0 0 0 1px var(--line);
}
.lang-switch__item {
  min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; border-radius: 6px;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash);
  transition: background-color .3s, color .3s;
}
.lang-switch__item[aria-current] { background: var(--color-charcoal-ink); color: var(--color-paper-white); }
a.lang-switch__item:hover { background: var(--color-paper-white); color: var(--color-charcoal-ink); }
.header.menu-open .lang-switch { box-shadow: inset 0 0 0 1px var(--line-light); }
.header.menu-open .lang-switch__item { color: rgba(255,255,255,.7); }
.header.menu-open .lang-switch__item[aria-current] { background: var(--color-paper-white); color: var(--color-charcoal-ink); }
.footer__legal-links { display: inline-flex; flex-wrap: wrap; gap: 0 24px; }

/* Lien dans le texte */
.inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .3s; }
.inline-link:hover { text-decoration-color: transparent; }

/* Mentions légales */
.legal { display: grid; grid-template-columns: 3fr 9fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2px; }
.legal__toc a {
  display: inline-flex; align-items: center; min-height: 40px; width: fit-content;
  font-family: var(--font-inter-tight); font-size: 15px; font-weight: 500; color: var(--color-soft-ash); transition: color .3s;
}
.legal__toc a:hover { color: var(--color-charcoal-ink); }
.legal__body { max-width: 72ch; }
.legal__body h2 {
  font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.15;
  margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); scroll-margin-top: 100px;
}
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { max-width: 68ch; }
.legal__body strong { color: var(--color-charcoal-ink); font-weight: 600; }
.legal__date { margin-top: 48px; font-family: var(--font-inter-tight); font-size: 15px; color: var(--color-soft-ash); }

/* 404 */
.notfound { min-height: 100svh; padding-bottom: var(--section-y); }
.notfound .ph__lead p { margin-bottom: 28px; }
.notfound__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .toc { display: none; }
  .legal { grid-template-columns: 1fr; }
  .legal__toc { position: relative; top: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .ph__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 48px 1fr; }
  .row p { grid-column: 2; }
  .svc-block__grid { display: flex; flex-direction: column; gap: 40px; }
  .svc-block__head { position: relative; top: 0; }
  .svc-block__media { width: 100%; height: clamp(360px, 70vw, 560px); }
  .cols3 { grid-template-columns: 1fr; gap: 40px; }
  .finish-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .price-card { min-height: 220px; }
  .quote { grid-template-columns: 1fr; }
  .quote__aside { position: relative; top: 0; grid-template-columns: 1fr 1fr; order: 2; }
  .section__head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767px) {
  .ph { padding-top: calc(var(--header-h) + 40px); }
  .ph__media { height: 56vh; min-height: 300px; }
  .ph__media--collage .frame:nth-child(1) { inset: 0 22% 22% 0; }
  .ph__media--collage .frame:nth-child(2) { inset: 8% 0 50% 70%; }
  .ph__media--collage .frame:nth-child(3) { inset: 58% 6% 0 40%; }
  .facts { gap: 16px; }
  .team { grid-template-columns: 1fr; }
  .member__card { aspect-ratio: 16 / 10; }
  .specs > div { grid-template-columns: 1fr; gap: 2px; }
  .svc-block__media .frame--main, .svc-block--flip .frame--main { inset: 0 0 18% 0; }
  .svc-block__media .frame--detail, .svc-block--flip .frame--detail { inset: 56% 52% 0 0; }
  .finish { grid-template-columns: 1fr; gap: 4px; }
  .gallery { columns: 2; column-gap: 12px; }
  .g-item { margin-bottom: 20px; }
  .g-item__meta { font-size: 13px; }
  .g-item__meta span:last-child { display: none; }
  .step__vn { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quote__aside { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .faq__a p { padding-right: 0; }
  .lightbox__bottom { flex-direction: column; align-items: stretch; }
  .lightbox__nav { justify-content: space-between; }
  .subnav-wrap { top: 8px; }
  .big-word { font-size: 18vw; }
}
@media (prefers-reduced-motion: reduce) {
  .js.has-intro .ph__line, .js.has-intro [data-enter], .js.has-intro [data-enter-media] { visibility: visible; }
  .curtain { display: none !important; }
}

/* Lien Instagram sous la galerie */
.gallery-more { margin-top: 16px; }
