/* ==========================================================
   Prolux & Co
   Two colors carry the site: Deep Twilight (#0F0047) and
   Autumn Leaf (#F1680C). Square corners everywhere. The one
   recurring shape is the roof pitch: a slanted edge that
   rises to the right (hero, photo frames, about band).
   ========================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-wdth.woff2") format("woff2");
}

:root {
  --indigo: #0f0047;
  --indigo-deep: #09002e;
  --orange: #f1680c;
  --paper: #f8f6f2;
  --tint: #ebe8f2;
  --ink: #0f0047;
  --muted: #4f4872;
  --line: rgba(15, 0, 71, 0.2);
  --line-light: rgba(255, 255, 255, 0.2);

  --focus: var(--indigo);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: 1.25rem;
  --header-h: 4.5rem;
  --pitch: clamp(2rem, 5vw, 4.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  font-stretch: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header,
.hero,
.case__panel,
.about,
.site-footer,
.lightbox {
  --focus: var(--orange);
}

.case__media--call {
  --focus: var(--indigo);
}

.wrap {
  width: min(100% - 2 * var(--gutter), 72rem);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  font-stretch: 72%;
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--orange);
  color: var(--indigo);
  font-weight: 700;
  transition: top 0.15s ease;
}

.skip:focus {
  top: 0.75rem;
}

.icon {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--indigo);
  font-size: 0.95rem;
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  background: var(--orange);
}

.kicker--light {
  color: #fff;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.4rem;
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--indigo);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  border-color: #fff;
  background: #fff;
  color: var(--indigo);
}

.btn__num {
  font-weight: 800;
  white-space: nowrap;
}

.btn--small {
  padding: 0.6rem 1.05rem;
  font-size: 0.95rem;
}

.btn--large {
  padding: 1.1rem 1.7rem;
  font-size: 1.05rem;
}

.btn--line {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

.btn--line:hover {
  border-color: #fff;
  background: #fff;
  color: var(--indigo);
}

.btn--outline {
  border-color: var(--indigo);
  background: transparent;
  color: var(--indigo);
}

.btn--outline:hover {
  background: var(--indigo);
  color: #fff;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  border-bottom-color: var(--line-light);
  background: var(--indigo);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0 3rem;
  height: 100%;
}

.brand {
  justify-self: start;
  font-size: 1.5rem;
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

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

.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.75rem;
}

.call__label {
  display: none;
}

.menu-toggle {
  display: none;
  padding: 0.6rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

/* Language switch: FR / NL, links to the same page in the other language */

.lang {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.lang a {
  padding: 0.4rem 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.lang a:hover {
  color: #fff;
}

.lang a[aria-current="page"] {
  background: var(--orange);
  color: var(--indigo);
}

.lang--menu {
  display: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(35rem, 82svh, 47rem);
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 2.5rem) 0 calc(var(--pitch) + 2.5rem);
  background: var(--indigo);
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pitch)), 0 100%);
}

.hero > .wrap {
  position: relative;
  z-index: 2;
}

.hero__text {
  max-width: min(38rem, 54%);
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero h1 {
  font-size: clamp(3rem, 6.3vw, 5.6rem);
  line-height: 0.92;
}

.hero__accent {
  display: block;
  color: var(--orange);
}

.hero__lead {
  max-width: 28rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.hero__trust-bar {
  width: 2.75rem;
  height: 4px;
  background: var(--orange);
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 46%;
}

.hero__photo,
.hero__stripe {
  position: absolute;
  inset: 0;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.hero__stripe {
  background: var(--orange);
  transform: translateX(-2rem);
}

.hero__photo {
  background: var(--indigo-deep);
  animation: settle 1.3s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
}

.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 0, 71, 0.78) 0, rgba(15, 0, 71, 0) 7rem);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(4.5rem, 10vw, 8rem);
}

.section__title {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}

/* ---------- Services: pick your issue ---------- */

.services {
  padding-top: clamp(2rem, 4vw, 3.5rem);
}

.services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.services__hint {
  max-width: 21rem;
  color: var(--muted);
}

.cases {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: repeat(6, auto) 1fr;
  border-top: 2px solid var(--indigo);
}

.case {
  display: contents;
}

.case__heading {
  grid-column: 1;
  margin: 0;
  font-stretch: 100%;
  font-weight: inherit;
  letter-spacing: 0;
  line-height: inherit;
}

.case__button {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  padding: 1.25rem 1.25rem 1.25rem 1.5rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.case__button:hover {
  background: var(--tint);
}

.case__num {
  color: var(--orange);
  font-size: 1.35rem;
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1;
}

.case__label {
  display: block;
  font-size: 1.35rem;
  font-stretch: 85%;
  font-weight: 800;
  line-height: 1.1;
}

.case__service {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.case.is-active .case__button {
  border-bottom-color: var(--indigo);
  background: var(--indigo);
  box-shadow: inset 6px 0 0 var(--orange);
  color: #fff;
}

.case.is-active .case__service {
  color: rgba(255, 255, 255, 0.78);
}

.case__panel {
  grid-column: 2;
  grid-row: 1 / -1;
  background: var(--indigo);
  color: #fff;
}

.case__media {
  position: relative;
  aspect-ratio: 16 / 6.5;
  background: var(--indigo-deep);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2.5rem), 0 100%);
}

.case__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.case__media--call {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem 3rem;
  background: var(--orange);
  color: var(--indigo);
}

.case__call-label {
  font-size: 1.05rem;
  font-weight: 700;
}

.case__call-number {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1;
}

.case__body {
  padding: 0.25rem 2rem 2.25rem;
}

.case__title {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
}

.case__desc {
  max-width: 36rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.case__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Travaux ---------- */

.travaux {
  padding-bottom: calc(var(--pitch) + 3rem);
  background: var(--tint);
}

.travaux .section__title {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.group + .group {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.group h3 {
  margin-bottom: 1.1rem;
  padding-left: 0.85rem;
  border-left: 5px solid var(--orange);
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tile {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--indigo);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.shot {
  cursor: zoom-in;
}

.shot img,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}

.shot img {
  transition: transform 0.5s ease;
}

.shot:hover img {
  transform: scale(1.03);
}

.video__toggle {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.6rem 1rem;
  border: 0;
  background: var(--indigo);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.video__toggle:hover {
  background: var(--orange);
  color: var(--indigo);
}

/* ---------- About ---------- */

.about {
  position: relative;
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--indigo);
  color: #fff;
}

.about::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 1px);
  height: calc(var(--pitch) + 1px);
  background: var(--indigo);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem 5rem;
  align-items: center;
}

.about h2 {
  font-size: clamp(2.8rem, 6.6vw, 5.5rem);
  line-height: 0.94;
}

.about__lead {
  max-width: 30rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about__photo {
  padding: 0 1.25rem 1.25rem 0;
}

.about__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 48% 20%;
  box-shadow: 1.25rem 1.25rem 0 var(--orange);
}

.points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin: clamp(3.5rem, 7vw, 5.5rem) 0 0;
  padding: 0;
  list-style: none;
}

.point {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
}

.point::before {
  content: "";
  display: block;
  width: 2.75rem;
  height: 4px;
  margin: -1.3rem 0 1.1rem;
  background: var(--orange);
}

.point h3 {
  font-size: 1.7rem;
  font-stretch: 78%;
}

.point p {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Contact ---------- */

.contact {
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--orange);
  color: var(--indigo);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem 4rem;
  align-items: end;
}

.contact h2 {
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.92;
}

.contact__lead {
  max-width: 26rem;
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.contact__phone {
  display: block;
  margin-top: 2rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-stretch: 72%;
  font-weight: 800;
  line-height: 0.95;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.contact__phone:hover {
  color: #fff;
}

.contact__list {
  margin: 0;
}

.contact__list > div {
  padding-block: 1.25rem;
  border-top: 2px solid var(--indigo);
}

.contact__list > div:last-child {
  border-bottom: 2px solid var(--indigo);
}

.contact__list dt {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact__list dd {
  margin: 0.4rem 0 0;
}

.contact__mail {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.contact__mail:hover {
  color: #fff;
}

.contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
  margin-top: 0.9rem;
}

.contact__status {
  font-size: 0.95rem;
  font-weight: 700;
}

.contact address {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Quote form ---------- */

.quote {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 2px solid var(--indigo);
}

.quote__title {
  font-size: 1.4rem;
  line-height: 1.2;
}

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

.quote__field {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.quote__field em {
  font-style: normal;
  font-weight: 500;
}

.quote__field input,
.quote__field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--indigo);
  border-radius: 0;
  background: #fff;
  color: var(--indigo);
  font: inherit;
  font-weight: 500;
}

.quote__field textarea {
  resize: vertical;
}

.quote__field input:focus,
.quote__field textarea:focus {
  outline: 3px solid #fff;
  outline-offset: 1px;
}

.quote__submit {
  justify-self: start;
  background: var(--indigo);
  color: #fff;
}

.quote__submit:hover {
  border-color: #fff;
  background: #fff;
  color: var(--indigo);
}

.quote__submit[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.quote__status {
  min-height: 1.4em;
  font-weight: 700;
}

.quote__note {
  font-size: 0.85rem;
}

.quote__note a {
  text-decoration: underline;
}

.quote__trap {
  position: absolute;
  left: -9999px;
}

@media (max-width: 40rem) {
  .quote__row {
    grid-template-columns: 1fr;
  }

  .quote__submit {
    justify-self: stretch;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 2.25rem;
  background: var(--indigo-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer a {
  color: #fff;
}

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

/* ---------- Lightbox ---------- */

.lightbox {
  width: min(94vw, 90rem);
  max-height: 92svh;
  padding: 0;
  border: 0;
  background: var(--indigo-deep);
  color: #fff;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(9, 0, 46, 0.9);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82svh;
  object-fit: contain;
}

.lightbox figcaption {
  padding: 0.75rem 1.25rem 1rem;
  font-weight: 700;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  padding: 0.6rem 1.1rem;
  border: 0;
  background: var(--orange);
  color: var(--indigo);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.lightbox__close {
  top: 0.75rem;
  right: 0.75rem;
}

.lightbox__nav {
  top: 45%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: 0.75rem;
}

.lightbox__next {
  right: 0.75rem;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: #fff;
}

/* ---------- Tablet and mobile ---------- */

@media (max-width: 900px) {
  /* Menu becomes a button; the links open in a panel under the header */
  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 0 0.75rem;
  }

  .menu-toggle {
    display: inline-block;
  }

  .call__number {
    display: none;
  }

  .call__label {
    display: inline;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    border-bottom: 1px solid var(--line-light);
    background: var(--indigo);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__link {
    padding: 0.95rem 0;
    border-top: 1px solid var(--line-light);
    color: #fff;
    font-size: 1.1rem;
  }

  .nav__link:first-child {
    border-top: 0;
  }

  .lang--header {
    display: none;
  }

  .lang--menu {
    display: flex;
    gap: 0.35rem;
    margin-left: -0.6rem;
    padding-top: 1rem;
  }

  .lang--menu a {
    padding: 0.55rem 0.9rem;
    font-size: 0.95rem;
  }

  /* Hero: text first, then the photo with a slanted top edge */
  .hero {
    display: block;
    min-height: 0;
    padding-bottom: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--pitch)), 0 100%);
  }

  .hero__text {
    max-width: 34rem;
  }

  .hero__media {
    position: relative;
    width: auto;
    aspect-ratio: 4 / 3;
    max-height: 62svh;
    margin: 2.5rem 0 0;
  }

  .hero__stripe {
    display: none;
  }

  .hero__photo {
    clip-path: polygon(0 var(--pitch), 100% 0, 100% 100%, 0 100%);
  }

  .hero__photo::after {
    display: none;
  }

  /* The cases become an accordion: the answer opens under the tapped case */
  .cases {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .case__heading,
  .case__panel {
    grid-column: 1;
    grid-row: auto;
  }

  .case__media {
    aspect-ratio: 16 / 8;
  }

  .case__body {
    padding: 0.25rem 1.5rem 2rem;
  }

  .case__media--call {
    padding: 1.5rem 1.5rem 3rem;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__photo {
    max-width: 30rem;
  }

  .points {
    grid-template-columns: 1fr;
  }
}

/* ---------- Mobile: each group of photos swipes sideways ---------- */

@media (max-width: 700px) {
  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 0.75rem;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .gallery::-webkit-scrollbar {
    display: none;
  }

  .tile {
    scroll-snap-align: start;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .case__button {
    gap: 1rem;
    padding: 1.1rem 1rem 1.1rem 1.25rem;
  }

  .contact__phone {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }
}

/* ---------- Reduced motion ---------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ==========================================================
   Service pages (fr/ and nl/ folders), and the link from each
   homepage problem to its service page
   ========================================================== */

/* Hero: a little smaller than the homepage, page titles are longer */

.hero--page h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.4rem);
  line-height: 0.95;
}

.hero--page .hero__photo img {
  object-position: var(--pos, 40% 30%);
}

/* Legal pages (privacy): title band without a photo, quieter headings */

.hero--legal {
  min-height: 0;
  padding-bottom: calc(var(--pitch) + 1.5rem);
}

.hero--legal .hero__text {
  max-width: 40rem;
}

.prose--legal h2 {
  margin-top: 2.25rem;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
}

.prose--legal h2:first-child {
  margin-top: 0;
}

/* Body */

.page-body {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.crumbs a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 0.2em;
}

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

.page-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 3rem 4.5rem;
  align-items: start;
}

.prose > * + * {
  margin-top: 1.1rem;
}

.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: 2rem;
  font-size: 1.45rem;
  font-stretch: 85%;
  line-height: 1.1;
}

.prose h3 + p {
  margin-top: 0.6rem;
}

.prose p,
.prose ul {
  max-width: 40rem;
}

.prose ul {
  margin-bottom: 0;
  padding: 0;
  list-style: none;
}

.prose li {
  position: relative;
  padding-left: 1.5rem;
}

.prose li + li {
  margin-top: 0.6rem;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.6rem;
  height: 0.6rem;
  background: var(--orange);
}

.prose p a {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

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

.photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 44rem;
  margin-top: 1.5rem;
}

.photos figure {
  margin: 0;
}

.photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
  background: var(--indigo);
}

.photos figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Call card next to the text */

.aside-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  padding: 1.75rem;
  background: var(--indigo);
  color: #fff;
  box-shadow: 0.75rem 0.75rem 0 var(--orange);
  --focus: var(--orange);
}

.aside-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.aside-card p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.88);
}

.aside-card__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Other services */

.related {
  padding-block: clamp(3rem, 7vw, 5rem);
  background: var(--tint);
}

.related h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.related__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.75rem 0 0;
  padding: 0;
  border-top: 2px solid var(--indigo);
  list-style: none;
}

.related__list a {
  display: block;
  height: 100%;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.2rem;
  font-stretch: 85%;
  font-weight: 800;
  line-height: 1.15;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.related__list a:hover {
  background: var(--indigo);
  color: #fff;
}

@media (max-width: 900px) {
  .page-body__grid {
    grid-template-columns: 1fr;
  }

  .aside-card {
    position: static;
    max-width: 32rem;
  }

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

@media (max-width: 600px) {
  .photos {
    grid-template-columns: 1fr;
  }

  .related__list {
    grid-template-columns: 1fr;
  }
}

/* Homepage: link from each problem to its service page */

.case__more {
  margin-top: 1.25rem;
}

.case__more a {
  padding-bottom: 0.15rem;
  border-bottom: 2px solid var(--orange);
  color: #fff;
  font-weight: 700;
  transition: color 0.15s ease;
}

.case__more a::after {
  content: " \2192";
}

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

/* ---------- Cookie choice ---------- */

.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding-block: 1rem;
  background: var(--indigo-deep);
  color: #fff;
  border-top: 3px solid var(--orange);
  --focus: var(--orange);
}

.consent[hidden] {
  display: none;
}

.consent__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.consent__text {
  margin: 0;
  max-width: 44rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.consent__actions {
  display: flex;
  gap: 0.75rem;
}

.footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.footer-link:hover {
  color: var(--orange);
}

@media (max-width: 560px) {
  .consent__actions {
    width: 100%;
  }

  .consent__actions .btn {
    flex: 1;
  }
}
