:root {
  --bleu: #004e66;
  --orange: #ff5f2e;
  --jaune: #fcbe32;
  --ciel: #e1eef6;
  --white: #ffffff;
  --ink: #141414;
  --muted: #5a5a5a;
  --line: #e6e6e6;
  --font-title: "Marcellus", "Palatino Linotype", Palatino, serif;
  --font-body: "Questrial", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1336px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  min-height: 100%;
  overflow-x: hidden;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section-kicker {
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--orange);
}

.icon-arrow {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  flex: 0 0 auto;
  overflow: visible;
  transition: transform 0.25s ease;
}

.text-link:hover .icon-arrow,
.text-link:focus-visible .icon-arrow,
.service-panel:hover .icon-arrow,
.service-panel:focus-visible .icon-arrow,
.contact-submit:hover .icon-arrow,
.contact-submit:focus-visible .icon-arrow {
  transform: translate(2px, -2px);
}

.contact-submit .icon-arrow-right,
.contact-submit:hover .icon-arrow-right,
.contact-submit:focus-visible .icon-arrow-right {
  transform: translateX(3px);
}

.btn-primary,
.btn-ghost,
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.btn-primary,
.btn-ghost,
.btn-contact,
.btn-dark,
.nav-toggle {
  touch-action: manipulation;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--bleu);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: transparent;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease var(--reveal-delay, 0s),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes banner-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  color: var(--white);
  background: #0a0a0a;
  overflow-x: hidden;
}

.hero-slides,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.8s ease, transform 8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 48%,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.18) 55%,
      rgba(0, 0, 0, 0.45) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.58) 0%,
      rgba(0, 0, 0, 0.2) 34%,
      rgba(0, 0, 0, 0.28) 68%,
      rgba(0, 0, 0, 0.66) 100%
    );
}

.header {
  position: relative;
  z-index: 30;
  padding: 14px 0;
}

.nav-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
}

.logo {
  display: block;
  grid-column: 1;
  justify-self: start;
  line-height: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  grid-column: 2;
  justify-self: center;
  justify-content: center;
  align-items: center;
  row-gap: 0.15rem;
  min-width: 0;
}

.nav a {
  display: inline-flex;
  align-items: center;
  padding: 8px 8px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-mask {
  display: block;
  overflow: hidden;
  height: 1em;
  line-height: 1;
}

.nav-roll {
  display: block;
  position: relative;
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-roll span {
  display: block;
  white-space: nowrap;
  line-height: 1;
}

.nav-roll span:last-child {
  position: absolute;
  left: 0;
  top: 100%;
  color: var(--orange);
}

.nav a:hover .nav-roll,
.nav a:focus-visible .nav-roll {
  transform: translateY(-100%);
}

.nav > .btn-contact {
  display: none;
}

.btn-contact {
  grid-column: 3;
  justify-self: end;
  background: var(--orange);
  color: var(--white);
  padding: 0.58rem 0.95rem;
  font-size: 10px;
}

.btn-contact:hover,
.btn-contact:focus-visible {
  background: var(--bleu);
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  padding: 5vh 0 5.25rem;
  text-align: center;
}

.hero-logo {
  width: min(36vw, 11.5rem);
  height: auto;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35))
    drop-shadow(0 6px 18px rgba(0, 0, 0, 0.28));
  animation: rise 0.95s ease 0.06s both;
}

.hero-title {
  max-width: 44rem;
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 3.2vw, 2.25rem);
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 8px 28px rgba(0, 0, 0, 0.35);
  animation: rise 1s ease 0.1s both;
}

.hero-inner .btn-primary {
  margin-top: 0.5rem;
  animation: rise 1.1s ease 0.18s both;
}

.hero-scroll {
  position: absolute;
  inset-inline: 0;
  bottom: 1.35rem;
  z-index: 2;
  width: max-content;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
  color: rgba(255, 255, 255, 0.78);
  animation: rise 1.15s ease 0.55s both;
}

.hero-scroll-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  width: 18px;
  height: 18px;
  animation: scroll-nudge 1.8s ease-in-out 1.4s infinite;
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  color: var(--white);
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes scroll-nudge {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.65;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.4rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.28s ease, opacity 0.28s ease, top 0.28s ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 1099px) {
  .nav-wrapper {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .btn-contact {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    position: relative;
    z-index: 120;
  }

  .header,
  .site-header {
    z-index: 110;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 115;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.15rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: calc(5.5rem + env(safe-area-inset-top, 0px)) 1.75rem
      calc(2rem + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    color: var(--ink);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translate3d(0, -0.75rem, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    display: block;
    padding: 0.72rem 0;
    font-family: var(--font-title);
    font-size: clamp(1.45rem, 6vw, 2rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
  }

  .nav .btn-contact {
    display: inline-flex;
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
    margin-top: 1.35rem;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    color: var(--white);
  }

  .nav a[aria-current="page"]:not(.btn-contact),
  .nav a:hover:not(.btn-contact),
  .nav a:focus-visible:not(.btn-contact) {
    color: var(--orange);
  }

  .nav-mask {
    overflow: visible;
    height: auto;
  }

  .nav-roll span:last-child {
    display: none;
  }

  .nav a:hover .nav-roll,
  .nav a:focus-visible .nav-roll {
    transform: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .header,
  body.nav-open .site-header,
  .header.is-nav-open,
  .site-header.is-nav-open {
    z-index: 120;
    color: var(--ink);
  }

  body.nav-open .header .logo img,
  .header.is-nav-open .logo img {
    filter: brightness(0);
  }
}

@media (min-width: 900px) {
  .logo img {
    height: 58px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .btn-contact {
    padding: 0.68rem 1.15rem;
    font-size: 11px;
  }

  .hero-logo {
    width: min(16vw, 12.5rem);
  }

  .hero-inner {
    gap: 1.25rem;
    padding: 56px 0 5.5rem;
  }
}

@media (max-height: 560px) {
  .hero-scroll {
    bottom: 0.75rem;
  }
}

/* —— Maison —— */
.maison {
  background: var(--white);
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}

.maison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

.maison-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(1.9rem, 4.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  max-width: 14ch;
}

.maison-copy p {
  margin-top: 1.2rem;
  max-width: 42ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.maison-copy .text-link {
  margin-top: 1.75rem;
}

.maison-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ciel);
}

.maison-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.maison-photo:hover img {
  transform: scale(1.04);
}

@media (min-width: 900px) {
  .maison {
    padding: 8rem 0 8.5rem;
  }

  .maison-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 4rem 5rem;
  }

  .maison-photo {
    aspect-ratio: 5 / 6;
    min-height: 36rem;
  }
}

/* —— About —— */
.about {
  background: #f7f7f7;
  color: var(--ink);
  padding: 5.5rem 0 6.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.about-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  max-width: 14ch;
}

.about-copy p {
  margin-top: 1.35rem;
  max-width: 38ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.about-left-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1.5rem;
}

.about-photo {
  margin: 0;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-photo:hover img {
  transform: scale(1.04);
}

.about-photo-sm {
  width: min(42vw, 13.5rem);
  height: 17.5rem;
}

.about-right {
  display: flex;
  align-items: stretch;
  gap: 0.9rem;
}

.about-photo-lg {
  flex: 1;
  min-height: 28rem;
}

.about-established {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  align-self: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .about {
    padding: 7.5rem 0 8.5rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 2.5rem 3.5rem;
    align-items: stretch;
    min-height: 42rem;
  }

  .about-left {
    min-height: 42rem;
    justify-content: space-between;
    gap: 0;
  }

  .about-photo-sm {
    width: 13.75rem;
    height: 18.5rem;
  }

  .about-photo-lg {
    min-height: 42rem;
  }
}

/* —— Services —— */
.services {
  background: var(--white);
  color: var(--ink);
  padding: 5rem 0 5.5rem;
}

.services-intro {
  max-width: 36rem;
  margin-bottom: 3rem;
}

.services-intro h2 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.services-intro > p {
  margin-top: 1.2rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.services-panels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-panel {
  position: relative;
  display: block;
  min-height: 22rem;
  overflow: hidden;
  color: var(--white);
  background: #111;
}

.service-panel figure {
  margin: 0;
  position: absolute;
  inset: 0;
}

.service-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  transition: background 0.35s ease;
}

.service-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-height: 22rem;
  padding: 1.75rem;
}

.service-panel h3 {
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.55rem;
}

.service-panel p {
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
}

.service-panel span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-size: 0.88rem;
}

.service-panel:hover img,
.service-panel:focus-visible img {
  transform: scale(1.06);
}

.service-panel:hover::after,
.service-panel:focus-visible::after {
  background: linear-gradient(
    180deg,
    rgba(0, 78, 102, 0.18) 0%,
    rgba(0, 0, 0, 0.62) 100%
  );
}

@media (min-width: 900px) {
  .services {
    padding: 7.5rem 0 8rem;
  }

  .services-intro {
    margin-bottom: 4rem;
  }

  .services-panels {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }

  .service-panel,
  .service-panel-content {
    min-height: 32rem;
  }
}

/* —— Ateliers —— */
.ateliers {
  background: #f7f7f7;
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}

.ateliers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: stretch;
}

.ateliers-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3.5rem;
  min-width: 0;
}

.ateliers-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 14ch;
}

.ateliers-copy > p {
  margin-top: 1.35rem;
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.ateliers-copy .text-link {
  margin-top: 1.75rem;
}

.ateliers-photo {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--ciel);
}

.ateliers-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.ateliers-photo:hover img {
  transform: scale(1.04);
}

@media (min-width: 900px) {
  .ateliers {
    padding: 7.5rem 0 8rem;
  }

  .ateliers-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem 4rem;
    min-height: 36rem;
  }

  .ateliers-photo {
    aspect-ratio: auto;
    min-height: 36rem;
  }
}

/* —— Réalisations —— */
.realisations {
  background: #f7f7f7;
  color: var(--ink);
  padding: 5.5rem 0 6rem;
}

.realisations-intro {
  max-width: 36rem;
  margin-bottom: 3.5rem;
}

.realisations-intro h2 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.realisations-intro > p {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.realisations-intro .text-link {
  margin-top: 1.35rem;
}

.realisations-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.realisation {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  padding-top: 2rem;
  border-top: 1px solid #dedede;
}

.realisation-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1.5rem;
  align-items: start;
}

.realisation-meta h3 {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.25;
}

.realisation-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.25rem;
}

.realisation-facts dt {
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.realisation-facts dd {
  font-size: 0.92rem;
  line-height: 1.4;
  color: #2a2a2a;
}

.realisation-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.realisation-gallery figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ciel);
}

.realisation-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.realisation-gallery figure:hover img {
  transform: scale(1.05);
}

.realisation-gallery-single {
  grid-template-columns: minmax(0, 22rem);
}

.realisation-gallery-single figure {
  aspect-ratio: 3 / 4;
}

@media (min-width: 700px) {
  .realisation-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .realisation-gallery-single {
    grid-template-columns: minmax(0, 22rem);
  }

  .realisation-gallery-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .realisations {
    padding: 7.5rem 0 8rem;
  }

  .realisations-intro {
    margin-bottom: 4.5rem;
  }

  .realisations-list {
    gap: 4.5rem;
  }

  .realisation {
    gap: 1.6rem;
    padding-top: 2.5rem;
  }

  .realisation-meta {
    grid-template-columns: minmax(12rem, 1.15fr) minmax(0, 2fr) auto;
    align-items: end;
    gap: 1.5rem 2rem;
  }

  .realisation-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }

  .realisation-meta .text-link {
    justify-self: end;
    white-space: nowrap;
    padding-bottom: 0.15rem;
  }
}

/* —— Footer —— */
.site-footer {
  background: var(--bleu);
  color: var(--white);
  padding: 4.5rem 0 2rem;
}

.footer-logo {
  display: block;
  width: fit-content;
  margin: 0 auto 2.25rem;
  line-height: 0;
}

.footer-logo img {
  width: min(42vw, 10.5rem);
  height: auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.35rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--orange);
}

.footer-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2.75rem;
  text-align: center;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.footer-col h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--white);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--orange);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.footer-meta a {
  transition: color 0.2s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--orange);
}

/* —— Legal pages —— */
.legal-page {
  background: var(--white);
  color: var(--ink);
}

.legal-header {
  background: var(--bleu);
  color: var(--white);
  padding: 14px 0;
}

.legal-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
}

.legal-header .logo {
  grid-column: 1;
  justify-self: start;
  line-height: 0;
}

.legal-header .logo img {
  height: 48px;
  width: auto;
}

.legal-header .nav {
  grid-column: 2;
  justify-self: center;
}

.legal-header .btn-contact {
  grid-column: 3;
  justify-self: end;
}

.legal {
  padding: 3.25rem 0 5.5rem;
}

.legal-inner {
  text-align: left;
}

.legal h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.legal-updated,
.legal-lead {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #7a7a7a;
}

.legal-lead {
  color: var(--muted);
}

.legal-content {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 2.35rem;
}

.legal-content section h2 {
  margin-bottom: 0.85rem;
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 400;
  line-height: 1.3;
}

.legal-content section h3 {
  margin: 1.5rem 0 0.7rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
}

.legal-content p,
.legal-content li {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.legal-content p + p {
  margin-top: 0.9rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0.9rem 0 0 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content a {
  color: var(--bleu);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease;
}

.legal-content a:hover,
.legal-content a:focus-visible {
  color: var(--orange);
}

.legal-content strong {
  color: var(--ink);
  font-weight: 400;
}

@media (max-width: 1099px) {
  .legal-header-inner {
    grid-template-columns: 1fr auto;
  }

  .legal-header .logo {
    grid-column: 1;
    grid-row: 1;
  }

  .legal-header .btn-contact {
    grid-column: 2;
    grid-row: 1;
  }

  .legal-header .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }
}

@media (min-width: 900px) {
  .legal-header .logo img {
    height: 58px;
  }

  .legal {
    padding: 4.25rem 0 7rem;
  }

  .legal-content {
    margin-top: 3.5rem;
    gap: 2.75rem;
  }
}

@media (min-width: 800px) {
  .site-footer {
    padding: 5.5rem 0 2.25rem;
  }

  .footer-logo {
    margin-bottom: 2.5rem;
  }

  .footer-logo img {
    width: 11.5rem;
  }

  .footer-nav {
    gap: 0.65rem 1.75rem;
    margin-bottom: 3.5rem;
    padding-bottom: 2.25rem;
  }

  .footer-info {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 3rem;
    margin-bottom: 3.25rem;
  }

  .footer-col h2 {
    font-size: 1.5rem;
  }

  .footer-meta {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .footer-meta a:nth-child(2) {
    justify-self: center;
  }

  .footer-meta p {
    justify-self: end;
    text-align: right;
  }
}

/* —— Portes & fenêtres pages —— */
.portes-page,
.fenetres-page {
  background: var(--white);
  color: var(--ink);
}

.portes-hero-actions,
.fenetres-hero-actions,
.realisations-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.85rem;
}

.material-jump {
  padding: 2.75rem 0;
}

.material-jump .fenetres-hero-actions,
.material-jump .portes-hero-actions {
  justify-content: center;
  margin-top: 0;
}

.fenetres-featured {
  padding: 0 0 1rem;
}

.fenetres-featured figure {
  margin: 0;
  overflow: hidden;
  background: var(--ciel);
}

.fenetres-featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fenetres-featured figure:hover img {
  transform: scale(1.03);
}

.portes-material,
.fenetres-material {
  padding: 4.5rem 0 5rem;
  scroll-margin-top: 1.25rem;
}

.portes-material-alt,
.fenetres-material-alt {
  background: #f7f7f7;
}

.portes-material-grid,
.fenetres-material-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: start;
}

.portes-material-copy h2,
.fenetres-material-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 14ch;
}

.portes-material-copy > p,
.fenetres-material-copy > p {
  margin-top: 1.15rem;
  max-width: 44ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.portes-material-copy .text-link,
.fenetres-material-copy .text-link {
  margin-top: 1.5rem;
}

.portes-material-gallery,
.fenetres-material-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.portes-material-gallery figure,
.fenetres-material-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--ciel);
}

.portes-material-gallery img,
.fenetres-material-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.portes-material-gallery figure:hover img,
.fenetres-material-gallery figure:hover img {
  transform: scale(1.04);
}

.portes-material-gallery figcaption,
.fenetres-material-gallery figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #4a4a4a;
}

.portes-cta,
.fenetres-cta {
  padding: 5rem 0;
  background: var(--bleu);
  color: var(--white);
  text-align: center;
}

.portes-cta-inner,
.fenetres-cta-inner {
  max-width: 36rem;
  margin-inline: auto;
}

.portes-cta .section-kicker,
.fenetres-cta .section-kicker {
  color: rgba(255, 255, 255, 0.65);
}

.portes-cta h2,
.fenetres-cta h2 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.portes-cta p,
.fenetres-cta p {
  margin: 1.15rem auto 1.75rem;
  max-width: 40ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.84);
}

@media (min-width: 800px) {
  .portes-material-gallery,
  .fenetres-material-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .fenetres-featured img {
    aspect-ratio: 21 / 9;
    min-height: 22rem;
  }
}

@media (min-width: 900px) {
  .portes-material,
  .fenetres-material {
    padding: 6rem 0 6.5rem;
  }

  .portes-material-grid,
  .fenetres-material-grid {
    grid-template-columns: minmax(20rem, 28rem) minmax(0, 1fr);
    gap: 3rem 3.5rem;
    align-items: center;
  }

  .portes-material-grid-reverse,
  .fenetres-material-grid-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 28rem);
  }

  .portes-material-grid-reverse .portes-material-copy,
  .fenetres-material-grid-reverse .fenetres-material-copy {
    order: 2;
  }

  .portes-material-grid-reverse .portes-material-gallery,
  .fenetres-material-grid-reverse .fenetres-material-gallery {
    order: 1;
  }
}

/* —— Menuiserie page —— */
.menuiserie-page {
  background: var(--white);
  color: var(--ink);
}


.menuiserie-feature {
  padding: 0 0 1rem;
}

.menuiserie-feature figure {
  margin: 0;
  overflow: hidden;
  background: var(--ciel);
}

.menuiserie-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.menuiserie-feature figure:hover img {
  transform: scale(1.03);
}

.menuiserie-page .portes-material {
  scroll-margin-top: 0.75rem;
}

.menuiserie-page .page-banner-lead {
  max-width: 42ch;
}

.page-banner-menuiserie {
  object-position: 100% 68%;
}

.menuiserie-page .portes-material-copy > p {
  max-width: 46ch;
}

.menuiserie-page .portes-material-gallery {
  gap: 0.75rem;
}

.menuiserie-page .portes-material-gallery img {
  aspect-ratio: 3 / 4;
}

#agencement .portes-material-copy h2,
#parquet .portes-material-copy h2 {
  max-width: 16ch;
}

#agencement .portes-material-gallery img {
  object-position: center;
}

#parquet .portes-material-gallery figure:first-child img {
  object-position: center 62%;
}

#parquet .portes-material-gallery figure:last-child img {
  object-position: center 42%;
}

@media (min-width: 900px) {
  .menuiserie-page .portes-material-grid {
    grid-template-columns: minmax(18rem, min(30rem, 46%)) minmax(0, 1fr);
    gap: 2rem 2.75rem;
    align-items: center;
  }

  .menuiserie-page .portes-material-grid-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, min(30rem, 46%));
  }

  .menuiserie-page .portes-material-gallery {
    gap: 0.85rem;
  }
}

@media (min-width: 900px) {
  .menuiserie-feature img {
    aspect-ratio: 21 / 9;
    min-height: 26rem;
    max-height: 38rem;
  }
}

/* —— Ateliers page —— */
.ateliers-page {
  background: var(--white);
  color: var(--ink);
}

.ateliers-hero-tagline {
  margin: 0 0 0.85rem;
  font-family: var(--font-title);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}

.atelier-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem 3rem;
  margin: 2.35rem 0 0;
  padding: 0;
  list-style: none;
}

.atelier-logos a {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.atelier-logos a:hover,
.atelier-logos a:focus-visible {
  opacity: 0.72;
}

.atelier-logos img {
  display: block;
  width: auto;
  max-width: 11.5rem;
  max-height: 4.25rem;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.atelier-inline-logo {
  display: inline-block;
  margin: 1.15rem 0 0.35rem;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.atelier-inline-logo:hover,
.atelier-inline-logo:focus-visible {
  opacity: 0.72;
}

.atelier-inline-logo img {
  display: block;
  width: auto;
  max-width: 11.5rem;
  max-height: 4.25rem;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.ateliers-page .portes-material-gallery figure {
  background: transparent;
}

.atelier-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 26rem;
}

.atelier-stats strong {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.atelier-stats span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--muted);
}

#meuse-bois .portes-material-copy > p {
  max-width: 62ch;
}

#meuse-bois .portes-material-gallery img {
  aspect-ratio: 3 / 4;
  object-position: center;
}

#meuse-bois .portes-material-gallery figure:first-child img {
  object-position: 30% 58%;
}

#meuse-bois .portes-material-gallery figure:last-child img {
  object-position: 22% center;
}

@media (min-width: 900px) {
  #meuse-bois .portes-material-grid {
    grid-template-columns: minmax(24rem, 36rem) minmax(0, 1fr);
    gap: 2.5rem 2.75rem;
    align-items: center;
  }
}

#castel-ouvertures .portes-material-copy > p {
  max-width: none;
}

/* —— Réalisations page —— */
.realisations-page {
  background: var(--white);
  color: var(--ink);
}


.realisations-featured {
  padding: 0 0 1rem;
}

.realisations-featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.realisations-featured-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--ciel);
  min-height: 0;
}

.realisations-featured-grid img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.realisations-featured-grid figure:hover img {
  transform: scale(1.04);
}

.realisations-page-list {
  background: var(--white);
  padding-top: 3rem;
}

.realisation-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0 0 2.75rem;
}

.realisation-filter {
  min-width: 9.5rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid var(--bleu);
  background: var(--white);
  color: var(--bleu);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.realisation-filter:hover,
.realisation-filter:focus-visible {
  background: rgba(0, 78, 102, 0.06);
}

.realisation-filter.is-active {
  background: var(--bleu);
  color: var(--white);
}

.realisation-filter.is-active:hover,
.realisation-filter.is-active:focus-visible {
  background: var(--bleu);
  color: var(--white);
}

.realisation[hidden] {
  display: none;
}

.realisation-empty {
  margin: 0 0 2rem;
  color: var(--muted);
}

.realisation-empty[hidden] {
  display: none;
}

.realisations-page .realisation {
  scroll-margin-top: 1.5rem;
}

.realisations-page .realisation-meta h2 {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.25;
}

.realisation-copy {
  max-width: 62ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

@media (min-width: 800px) {
  .realisations-featured-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 0.85rem;
    min-height: 22rem;
  }

  .realisations-featured-grid img {
    aspect-ratio: auto;
  }
}

@media (min-width: 900px) {
  .realisations-page-list {
    padding: 4.5rem 0 7rem;
  }
}

/* —— Contact page —— */
.contact-page {
  background: var(--white);
  color: var(--ink);
}

.contact-block {
  padding: 1.35rem 1.25rem 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  width: min(100%, var(--container));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #d0d0d0;
  background: var(--white);
}

.contact-panel-media {
  position: relative;
  margin: 0;
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ciel);
}

.contact-panel-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.contact-panel-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.75rem 1.35rem 3.5rem;
}

.contact-panel-form h1 {
  font-family: var(--font-title);
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.contact-panel-form > p {
  margin-top: 0.95rem;
  max-width: 38rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.contact-form {
  position: relative;
  margin-top: 2rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.contact-field {
  margin: 0;
  min-width: 0;
}

.contact-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
  display: block;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #d7d7d7;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact-field select {
  min-height: 3.15rem;
  cursor: pointer;
}

.contact-select {
  position: relative;
}

.contact-select-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 3.15rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid #d7d7d7;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.contact-select.is-placeholder .contact-select-value {
  color: #8a8a8a;
}

.contact-select-chevron {
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
  margin-right: 0.15rem;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.contact-select.is-open .contact-select-chevron {
  transform: rotate(180deg);
}

.contact-select-trigger:hover,
.contact-select-trigger:focus-visible {
  border-color: #b8b8b8;
  outline: none;
}

.contact-select.is-open .contact-select-trigger,
.contact-select-trigger:focus-visible {
  border-color: var(--bleu);
}

.contact-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% - 1px);
  left: 0;
  right: 0;
  max-height: 22rem;
  margin: 0;
  padding: 0.3rem 0;
  overflow: auto;
  list-style: none;
  border: 1px solid var(--bleu);
  background: var(--white);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.contact-select-menu[hidden] {
  display: none;
}

.contact-select-option {
  padding: 0.72rem 1.15rem;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.4;
  cursor: pointer;
}

.contact-select-option:hover,
.contact-select-option:focus {
  outline: none;
  background: #f4f7f8;
}

.contact-select-option.is-selected {
  background: rgba(0, 78, 102, 0.08);
  color: var(--bleu);
}

.contact-panel:has(.contact-select.is-open) {
  overflow: visible;
}

.contact-field select:invalid {
  color: #8a8a8a;
}

.contact-field textarea {
  min-height: 9rem;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #8a8a8a;
}

.contact-field input:hover,
.contact-field textarea:hover,
.contact-field select:hover {
  border-color: #b8b8b8;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
  outline: none;
  border-color: var(--bleu);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-left: auto;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.contact-legal {
  max-width: 28rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #8a8a8a;
}

.contact-legal a {
  color: var(--bleu);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.contact-legal a:hover,
.contact-legal a:focus-visible {
  color: var(--orange);
}

.contact-status {
  margin-top: 1.15rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--bleu);
}

.contact-status.is-error {
  color: #b42318;
}

.contact-places {
  padding: 3.5rem 0 5.5rem;
  background: var(--white);
}

.contact-places-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.contact-place {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.75rem 1.35rem 1.85rem;
  border: 1px solid var(--line);
  text-align: center;
}

.contact-place h2 {
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.contact-place figure {
  margin: 0.35rem 0 0.15rem;
  width: 100%;
  overflow: hidden;
  background: var(--ciel);
}

.contact-place img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-place:hover img {
  transform: scale(1.04);
}

.contact-place .contact-place-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  background: var(--white);
}

.contact-place-logo img {
  width: auto;
  max-width: 72%;
  height: auto;
  max-height: 62%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.contact-place:hover .contact-place-logo img {
  transform: none;
}

.contact-place p,
.contact-place a {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

.contact-place a {
  color: var(--ink);
  transition: color 0.2s ease;
}

.contact-place a:hover,
.contact-place a:focus-visible {
  color: var(--orange);
}

.contact-place-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

@media (min-width: 700px) {
  .contact-places-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 800px) {
  .contact-block {
    padding: 1.75rem 1.5rem 0;
  }

  .contact-panel {
    grid-template-columns: 1fr 1fr;
    min-height: min(72svh, 40rem);
  }

  .contact-panel-media {
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }

  .contact-panel-form {
    min-width: 0;
    padding: 3.25rem clamp(1.5rem, 3.5vw, 3.75rem) 3.5rem;
  }

  .contact-fields {
    grid-template-columns: 1fr 1fr;
  }

  .contact-field-full {
    grid-column: 1 / -1;
  }

  .contact-places {
    padding: 4.5rem 0 7rem;
  }
}

/* —— Shared inner-page header —— */
.site-header {
  position: relative;
  z-index: 40;
  background: var(--white);
  color: var(--ink);
  padding: 14px 0;
  padding-top: max(14px, env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--line);
}

.site-header .nav a {
  color: var(--ink);
}

.site-header .nav a[aria-current="page"] {
  color: var(--orange);
}

.site-header .btn-contact:hover,
.site-header .btn-contact:focus-visible {
  background: var(--bleu);
}

/* —— Shared page title —— */
.page-hero,
.portes-hero,
.fenetres-hero,
.realisations-hero,
.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 2.75rem 0 2.25rem;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(225, 238, 246, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
  text-align: left;
}

.page-hero-surface {
  display: none;
}

.page-hero-layout,
.portes-hero-inner,
.fenetres-hero-inner,
.realisations-hero-inner,
.contact-hero-inner {
  position: relative;
  z-index: 1;
  display: block;
}

.page-hero-copy,
.page-hero-meta {
  min-width: 0;
}

.page-hero-meta {
  padding-top: 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  animation-delay: 0.12s;
}

@keyframes page-hero-in {
  from {
    opacity: 0;
    transform: translateY(1.15rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-copy,
  .page-hero-meta {
    animation: none;
  }
}

.page-hero-kicker,
.page-hero .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6a6a6a;
}

.page-hero-kicker::before,
.page-hero .section-kicker::before {
  content: "";
  width: 2.75rem;
  height: 2px;
  background: var(--orange);
  flex-shrink: 0;
}

.page-hero h1,
.portes-hero h1,
.fenetres-hero h1,
.realisations-hero h1,
.contact-hero h1 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 18ch;
  width: 100%;
  color: var(--ink);
}

.page-hero h1::before,
.portes-hero h1::before,
.fenetres-hero h1::before,
.realisations-hero h1::before,
.contact-hero h1::before {
  display: none;
}

.page-hero-badge,
.page-banner-badge {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jaune);
}

.page-hero-lead,
.portes-hero-lead,
.fenetres-hero-lead,
.realisations-hero-lead {
  margin-top: 0.85rem;
  max-width: 48ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.75;
  color: var(--muted);
}

.page-hero-lead:first-child,
.portes-hero-lead:first-child,
.fenetres-hero-lead:first-child,
.realisations-hero-lead:first-child,
.page-hero-badge + .page-hero-lead {
  margin-top: 0;
}

.page-hero-badge + .page-hero-lead {
  margin-top: 0;
}

.page-hero .btn-dark {
  background: var(--bleu);
  color: var(--white);
  border: 0;
}

.page-hero .btn-dark:hover,
.page-hero .btn-dark:focus-visible {
  background: var(--orange);
}

.page-hero .atelier-logos img {
  filter: none;
  opacity: 1;
}

@media (min-width: 900px) {
  .portes-hero,
  .fenetres-hero,
  .realisations-hero,
  .contact-hero,
  .page-hero {
    padding: 3.25rem 0 2.75rem;
  }
}

.page-intro {
  padding: 4rem 0 3.25rem;
  background: var(--white);
}

.page-intro-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.page-intro-copy {
  min-width: 0;
}

.page-intro-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.page-intro-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.page-intro-gallery figure {
  margin: 0;
  overflow: hidden;
  background: var(--ciel);
}

.page-intro-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-intro-gallery figure:hover img {
  transform: scale(1.04);
}

.page-intro h2 {
  font-family: var(--font-title);
  font-size: clamp(1.85rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 16ch;
}

.page-intro-inner > p,
.page-intro-copy > p {
  margin-top: 1.15rem;
  max-width: 54ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.page-intro-inner > .section-kicker + h2,
.page-intro-copy > .section-kicker + h2 {
  margin-top: 0;
}

.page-intro-badge {
  display: inline-flex;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.page-intro .portes-hero-actions,
.page-intro .fenetres-hero-actions,
.page-intro .realisations-hero-actions,
.page-intro .atelier-logos {
  margin-top: 1.85rem;
}

.ateliers-page .page-intro .ateliers-hero-tagline {
  color: #6a6a6a;
}

@media (min-width: 900px) {
  .page-intro {
    padding: 5rem 0 4rem;
  }

  .page-intro-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem 4rem;
  }
}

.about-page {
  background: var(--white);
  color: var(--ink);
}

/* —— Inner page photo banner —— */
.page-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(72svh, 36rem);
  overflow: hidden;
  color: var(--white);
  background: #0a0a0a;
}

.page-banner-media,
.page-banner-overlay {
  position: absolute;
  inset: 0;
}

.page-banner-media {
  z-index: 0;
  animation: banner-zoom 18s ease-out both;
}

.page-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner-porte {
  object-position: center 32%;
}

.page-banner-portes {
  object-position: center 58%;
}

.portes-page .page-banner-lead {
  max-width: 58ch;
}

.portes-page .portes-material-copy > p {
  max-width: 46ch;
}

.portes-page .portes-material-gallery {
  gap: 0.75rem;
}

.portes-page .portes-material-gallery img {
  aspect-ratio: 3 / 4;
}

@media (min-width: 900px) {
  .portes-page .portes-material-grid {
    grid-template-columns: minmax(18rem, min(30rem, 46%)) minmax(0, 1fr);
    gap: 2rem 2.75rem;
    align-items: center;
  }

  .portes-page .portes-material-grid-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, min(30rem, 46%));
  }

  .portes-page .portes-material-gallery {
    gap: 0.85rem;
  }
}

.fenetres-page .page-banner-lead {
  max-width: 58ch;
}

.fenetres-page .fenetres-material-copy > p {
  max-width: 46ch;
}

.fenetres-page .fenetres-material-gallery {
  gap: 0.75rem;
}

.fenetres-page .fenetres-material-gallery img {
  aspect-ratio: 3 / 4;
}

#mixte .fenetres-material-copy h2 {
  max-width: 16ch;
}

#mixte .fenetres-material-gallery {
  grid-template-columns: 1fr;
}

#mixte .fenetres-material-gallery img {
  aspect-ratio: 4 / 3;
  object-position: center 55%;
}

#aluminium .fenetres-material-gallery figure:first-child img {
  object-position: 72% center;
}

#aluminium .fenetres-material-gallery figure:last-child img {
  object-position: center 42%;
}

#pvc .fenetres-material-gallery figure:first-child img {
  object-position: 42% center;
}

#pvc .fenetres-material-gallery figure:last-child img {
  object-position: 28% center;
}

@media (min-width: 900px) {
  .fenetres-page .fenetres-material-grid {
    grid-template-columns: minmax(18rem, min(30rem, 46%)) minmax(0, 1fr);
    gap: 2rem 2.75rem;
    align-items: center;
  }

  .fenetres-page .fenetres-material-grid-reverse {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, min(30rem, 46%));
  }

  .fenetres-page .fenetres-material-gallery {
    gap: 0.85rem;
  }
}

#bois .portes-material-gallery figure:first-child img {
  object-position: center 42%;
}

#bois .portes-material-gallery figure:last-child img {
  object-position: 72% 38%;
}

#interieures .portes-material-copy h2 {
  max-width: 16ch;
}

#interieures .portes-material-gallery figure:first-child img {
  object-position: center 30%;
}

#interieures .portes-material-gallery figure:last-child img {
  object-position: center 38%;
}

#cocheres .portes-material-copy h2 {
  max-width: 15ch;
}

.portes-material-copy .btn-primary {
  margin-top: 1.6rem;
  white-space: normal;
  text-align: center;
}

#alu-pvc .portes-material-copy h2 {
  max-width: 16ch;
}

#alu-pvc .portes-material-gallery figure:first-child img {
  object-position: 58% center;
}

#alu-pvc .portes-material-gallery figure:last-child img {
  object-position: center 42%;
}

.page-banner-atelier {
  object-position: center 46%;
}

.page-banner-overlay {
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.5) 34%,
      rgba(0, 0, 0, 0.18) 62%,
      rgba(0, 0, 0, 0.08) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.28) 0%,
      rgba(0, 0, 0, 0.12) 38%,
      rgba(0, 0, 0, 0.42) 100%
    );
}

.page-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding: 4.5rem 0 3.25rem;
  animation: rise 0.95s ease 0.12s both;
}

.page-banner .section-kicker {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.page-banner h1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 18ch;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 10px 28px rgba(0, 0, 0, 0.45);
}

.about-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 1.35rem;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.about-badge-line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

.page-banner-lead {
  margin-top: 1.25rem;
  max-width: 42ch;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 6px 18px rgba(0, 0, 0, 0.35);
}

.page-banner-lead + .page-banner-lead {
  margin-top: 0.85rem;
}

.page-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.85rem;
}

.page-banner-actions .btn-dark {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.page-banner-actions .btn-dark:hover,
.page-banner-actions .btn-dark:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

@media (min-width: 900px) {
  .page-banner {
    min-height: min(78svh, 42rem);
  }

  .page-banner-inner {
    padding: 6rem 0 4rem;
  }
}

.about-story {
  padding: 3.5rem 0 5rem;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-story-copy,
.about-engagement-copy {
  min-width: 0;
}

.about-story-copy h2,
.about-values-intro h2,
.about-engagement-copy h2,
.method-copy h2 {
  font-family: var(--font-title);
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  max-width: 18ch;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.about-story-copy > p {
  margin-top: 1.15rem;
  max-width: 44ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.about-story-copy .text-link {
  margin-top: 1.5rem;
}

.about-partners {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-partners-label {
  margin-bottom: 1.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.about-partners ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  list-style: none;
  align-items: center;
}

.about-partners li {
  min-width: 0;
}

.about-partners a {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s ease;
}

.about-partners a:hover,
.about-partners a:focus-visible {
  opacity: 0.72;
}

.about-partners img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 2.75rem;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.about-partner-text {
  font-family: var(--font-title);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 1.3;
  color: #6a6a6a;
}

.about-story-photo,
.about-engagement-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f0f0f0;
}

.about-story-photo {
  aspect-ratio: 4 / 3;
}

.about-story-photo img,
.about-engagement-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-story-photo:hover img,
.about-engagement-photo:hover img {
  transform: scale(1.04);
}

.about-values {
  background: #f7f7f7;
  padding: 4.5rem 0 5rem;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

.method-photo {
  margin: 0;
  overflow: hidden;
}

.method-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 62%;
}

.method-copy .section-kicker {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.about-values-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.about-values-intro > p {
  margin-top: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.about-values-intro .text-link {
  margin-top: 1.5rem;
}

.method-steps {
  list-style: none;
  counter-reset: method;
  display: grid;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0;
  max-width: 44ch;
}

.method-steps li {
  counter-increment: method;
  display: grid;
  grid-template-columns: 1.15rem minmax(0, 1fr);
  gap: 0.45rem;
  align-items: baseline;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.method-steps li::before {
  content: counter(method);
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--orange);
}

.about-values-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.about-values-gallery figure {
  margin: 0;
  min-width: 0;
}

.about-values-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #f0f0f0;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-values-gallery figure:hover img {
  transform: scale(1.03);
}

.about-values-gallery figcaption {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #4a4a4a;
}

.about-engagement {
  padding: 4.5rem 0 5rem;
  background: var(--white);
}

.about-engagement-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-engagement-copy > p {
  margin-top: 1.15rem;
  max-width: 44ch;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--muted);
}

.engagement-points {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  max-width: 38ch;
}

.engagement-points li {
  padding: 0.9rem 0;
  border-top: 1px solid #dedede;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
}

.engagement-points li:last-child {
  border-bottom: 1px solid #dedede;
}

.about-engagement-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.85rem;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  background: var(--bleu);
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  background: var(--orange);
  transform: translateY(-2px);
}

@media (min-width: 800px) {
  .about-values-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 900px) {
  .about-story {
    padding: 5rem 0 6.5rem;
  }

  .about-story-grid,
  .about-engagement-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem 4rem;
    align-items: stretch;
  }

  .about-story-photo,
  .about-engagement-photo {
    aspect-ratio: auto;
    min-height: 32rem;
    height: 100%;
  }

  .about-story-photo {
    aspect-ratio: 4 / 3;
    min-height: 0;
    height: auto;
    align-self: start;
  }

  .about-values {
    padding: 6rem 0 6.5rem;
  }

  .method-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 3rem 4.5rem;
  }

  .about-values-intro {
    margin-bottom: 3rem;
  }

  .about-engagement {
    padding: 6rem 0 6.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-logo,
  .hero-title,
  .hero-inner .btn-primary,
  .hero-scroll,
  .hero-scroll-arrow,
  .hero-slide,
  .page-banner-inner,
  .page-banner-media,
  .nav-roll,
  .nav,
  .nav-toggle span,
  .nav-toggle span::before,
  .nav-toggle span::after,
  .reveal {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .nav a:hover .nav-roll {
    transform: none;
  }

  .nav a:hover {
    color: var(--orange);
  }

  .maison-photo img,
  .about-photo img,
  .ateliers-photo img,
  .service-panel img,
  .realisation-gallery img,
  .realisations-featured-grid img,
  .about-story-photo img,
  .about-values-gallery img,
  .about-engagement-photo img,
  .page-banner-media img,
  .portes-material-gallery img,
  .fenetres-material-gallery img,
  .fenetres-featured img,
  .menuiserie-feature img,
  .page-intro-gallery img,
  .contact-atelier-photo img,
  .contact-field input,
  .contact-field textarea,
  .contact-field select {
    transition: none;
  }
}

@media (max-width: 699px) {
  .container {
    width: min(100% - 3.25rem, var(--container));
  }

  .contact-block {
    padding: 1.35rem 0 0;
  }

  .contact-panel {
    width: min(100% - 3.25rem, var(--container));
  }

  .contact-panel-form {
    padding: 1.75rem 1.25rem 2.15rem;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-submit {
    margin-left: 0;
    width: 100%;
  }

  .logo img {
    height: 42px;
  }

  .btn-contact {
    padding: 0.55rem 0.7rem;
    font-size: 9px;
  }

  .hero-inner {
    padding: 2.5rem 0 4.5rem;
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(1.15rem, 6.4vw, 1.55rem);
    letter-spacing: 0.05em;
  }

  .hero-scroll {
    bottom: 1rem;
  }

  .maison,
  .about,
  .services,
  .ateliers,
  .realisations {
    padding: 3.5rem 0 4rem;
  }

  .maison-copy h2,
  .about-copy h2,
  .services-intro h2,
  .realisations-intro h2 {
    max-width: none;
  }

  .about-left-bottom {
    grid-template-columns: 1fr;
  }

  .about-photo-sm {
    width: 100%;
    height: 16rem;
  }

  .about-established {
    writing-mode: horizontal-tb;
    transform: none;
    letter-spacing: 0.16em;
  }

  .about-photo-lg {
    min-height: 22rem;
  }

  .service-panel {
    min-height: 18rem;
  }

  .page-banner {
    min-height: min(64svh, 28rem);
  }

  .page-banner-inner {
    padding: 2.75rem 0 2.15rem;
  }

  .page-banner h1 {
    max-width: none;
    font-size: clamp(1.55rem, 8.4vw, 2.2rem);
  }

  .page-banner-lead {
    font-size: 0.98rem;
    max-width: none;
  }

  .about-badge {
    max-width: 100%;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.7rem;
    gap: 0.4rem 0.55rem;
  }

  .about-badge-line {
    width: 1.15rem;
  }

  .page-intro {
    padding: 3rem 0 2.5rem;
  }

  .portes-material,
  .fenetres-material,
  .about-story,
  .about-values,
  .about-engagement {
    padding: 3.25rem 0 3.5rem;
  }

  .contact-form .btn-primary {
    width: 100%;
  }

  .contact-atelier {
    padding: 1.5rem 1.15rem 1.25rem;
  }

  .footer-nav {
    gap: 0.45rem 0.95rem;
  }

  .footer-nav a {
    font-size: 0.75rem;
  }

  .about-partners ul {
    gap: 0.75rem 0.85rem;
  }

  .about-partners img {
    max-height: 2.15rem;
  }

  .atelier-logos img,
  .atelier-inline-logo img {
    max-width: 9.5rem;
    max-height: 3.5rem;
  }
}

@media (max-width: 419px) {
  .btn-contact {
    padding: 0.5rem 0.58rem;
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .logo img {
    height: 38px;
  }
}
