/*
 * The platform's own design system for agency websites (STORY-97): a luxury
 * editorial look in black and white. A light serif set in uppercase with wide
 * tracking for the display, a light sans for the text, a white page with
 * black bands, square corners, thin rules, outlined buttons. Written against
 * the shared renderers' markup (src/components/site), page-agnostic: a
 * section looks the same wherever the builder puts it.
 *
 * Colours and faces come from the theme (src/lib/site/theme.ts) as
 * variables on .site-root: --navy (dark surfaces), --navy-2, --terra (the
 * accent, black by default: a branded site's primary colour), --terra-deep,
 * --cream (the page), --sand (secondary surfaces), --line, --muted, --ink
 * (the text), --white, --site-font-heading, --site-font-body.
 *
 * On a dark surface the accent is never used (a dark brand colour would
 * vanish on it): buttons are outlined in white, marks are white.
 */

/* ---- Base ------------------------------------------------------------- */

.site-root {
  --radius: 0;
  --radius-lg: 0;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --track: 0.18em;
  --track-display: 0.08em;
  font-family: var(--site-font-body);
  font-weight: 300;
  /* Lining figures: the serif's old-style ones sink in prices and figures. */
  font-variant-numeric: lining-nums;
  color: var(--ink);
  background: var(--cream);
}
.site-body {
  font-family: var(--site-font-body);
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
.site-main.flex-1 {
  flex: 1;
}
.site-root *,
.site-root *::before,
.site-root *::after {
  box-sizing: border-box;
}
/* Even lines: no orphan word under a title, no ragged last line in a text. */
.site-root h1,
.site-root h2,
.site-root h3 {
  text-wrap: balance;
}
.site-root p {
  text-wrap: pretty;
}
.site-root ::selection {
  background: var(--ink);
  color: var(--white);
}
.site-root :focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 3px;
}
.site-html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  .site-html {
    scroll-behavior: auto;
  }
}
.site-root img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* Line icons, drawn with the stroke; stars, social and share marks are filled. */
.site-root svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stars svg,
.r-stars svg,
.socials svg,
.share svg {
  fill: currentColor;
  stroke: none;
}
.fav.on svg {
  fill: currentColor;
}
.site-root a {
  color: inherit;
  text-decoration: none;
}
.site-root button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.site-root select {
  appearance: auto;
}
.site-root ul,
.site-root ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-root p,
.site-root figure,
.site-root blockquote {
  margin: 0;
}
.site-root b,
.site-root strong {
  font-weight: 500;
}
.site-root h1,
.site-root h2 {
  font-family: var(--site-font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: var(--track-display);
  text-transform: uppercase;
  margin: 0;
  color: inherit;
}
.site-root h1 {
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
}
.site-root h2 {
  font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem);
}
.site-root h3,
.site-root h4 {
  font-family: var(--site-font-body);
  font-weight: 500;
  margin: 0;
  color: inherit;
  text-transform: uppercase;
}
.site-root h3 {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
}
.site-root h4 {
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: var(--track);
}
/* The accented word of a title: a heavier cut, never a colour. */
.site-root h1 em,
.site-root h2 em,
.site-root h3 em {
  font-style: normal;
  font-weight: 700;
}
.site-root :focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}

.wrap,
.inner,
.container-main {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.inner {
  max-width: 1280px;
}

/* Sections: one rhythm everywhere; a band carries its own. */
.site-main section {
  padding-block: var(--section);
}
.site-main section + section {
  padding-top: 0;
}
.site-main .hero + section,
.site-main .about + section,
.site-main .eco + section,
.site-main .sold + section,
.site-main .journey + section,
.site-main .partners + section,
.site-main .similar + section,
.site-main .related + section,
.site-main .page-hero + section {
  padding-top: var(--section) !important;
}

/* Reveal on scroll (src/components/site/Reveal.tsx adds .in). */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- Text roles -------------------------------------------------------- */

/* A small tracked label with a thin rule before it; centred heads rule both sides. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: inherit;
}
.eyebrow::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow-center::after,
.section-head .eyebrow::after,
.head .eyebrow::after,
.eco-head .eyebrow::after,
.cta-box .eyebrow::after,
.page-hero .eyebrow::after,
.hero .eyebrow::after {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-head,
.head,
.eco-head,
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section-head p,
.head p,
.eco-head p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 38rem;
}
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

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

/* Square, uppercase, tracked. Filled with the accent on a light surface;
   outlined (.btn-ghost) in the surrounding colour; outlined in white on a
   dark surface. */
.site-root .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 1rem 2rem;
  border: 1px solid var(--terra);
  background: var(--terra);
  color: var(--white);
  font-family: var(--site-font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.btn:hover {
  background: var(--terra-deep);
  border-color: var(--terra-deep);
}
.btn svg {
  width: 1em;
  height: 1em;
  flex: none;
}
.site-root .btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.site-root .btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.btn-cta {
  padding: 1.1rem 2.5rem;
  font-size: 0.8125rem;
}
.site-root .about .btn,
.site-root .cta-box .btn,
.site-root .main-card .btn,
.site-root .partner-alt .btn,
.site-root .form-card .btn,
.site-root .drawer .btn,
.site-root .site-footer .btn {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.site-root .about .btn:hover,
.site-root .cta-box .btn:hover,
.site-root .main-card .btn:hover,
.site-root .partner-alt .btn:hover,
.site-root .form-card .btn:hover,
.site-root .drawer .btn:hover,
.site-root .site-footer .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid transparent;
  transition:
    transform 0.4s var(--ease),
    border-color 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.site-header.hidden {
  transform: translateY(-100%);
}
/* The mark first, the navigation after it, the actions at the right, on the
   page's column (the same width and gutters as its text, so the navigation
   lines up with the content under it). Without a logo the wordmark is wide,
   so the navigation goes under it; narrower screens do the same. */
.header-shell {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1rem var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem clamp(1rem, 3vw, 2.5rem);
}
.header-shell:not(:has(.brand-icon)) .nav {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  margin-left: -0.625rem;
  flex-wrap: wrap;
}
.brand {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  flex: none;
}
/* The logo: its height is set here, whatever size the file has. An agency's
   logo usually carries its name, so the text wordmark steps aside beside it. */
.site-root .brand-icon {
  object-fit: contain;
  width: auto;
  max-width: 14rem;
}
.site-root .brand-icon--header,
.site-root .brand-icon--drawer {
  height: 2.5rem;
}
.site-root .brand-icon--footer {
  height: 3.25rem;
}
.brand-icon + .brand-wordmark {
  display: none;
}
.brand-wordmark {
  font-family: var(--site-font-heading);
  font-weight: 600;
  font-size: 1.375rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.brand-wordmark-maison {
  color: inherit;
}
.brand-wordmark-victoire {
  color: inherit;
  font-weight: 500;
}
.brand-wordmark-victoire:not(:empty)::before {
  content: " ";
}
.nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 0 -0.625rem;
}
.nav a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ink);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.625rem;
  right: 0.625rem;
  bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover::after {
  transform: none;
}
.nav-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-root .btn-desktop {
  min-height: 2.5rem;
  padding: 0.7rem 1.25rem;
  font-size: 0.6875rem;
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.site-root .btn-desktop:hover {
  background: var(--ink);
  color: var(--white);
}
.burger {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  padding: 0;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--ink);
}
.burger span:nth-child(2) {
  width: 1rem;
}

/* The menu (small screens): the whole screen, the pages numbered in large
   type, arriving one after the other; the call to action at its foot. */
.drawer-back {
  display: none;
}
.drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.75rem);
  transition:
    opacity 0.35s var(--ease),
    transform 0.5s var(--ease),
    visibility 0s linear 0.5s;
  overflow-y: auto;
}
.drawer.open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.35s var(--ease),
    transform 0.5s var(--ease),
    visibility 0s;
}
.drawer .d-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
  padding: 0.75rem var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.drawer .d-head .brand {
  color: var(--white);
}
.drawer .d-head .brand-wordmark {
  font-size: 1.125rem;
}
.d-close {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
}
.d-nav {
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 4vh, 2.5rem) 0;
  counter-reset: menu;
}
.d-nav-group {
  opacity: 0;
  transform: translateY(0.75rem);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}
.drawer.open .d-nav-group {
  opacity: 1;
  transform: none;
}
.drawer.open .d-nav-group:nth-child(1) {
  transition-delay: 0.1s;
}
.drawer.open .d-nav-group:nth-child(2) {
  transition-delay: 0.16s;
}
.drawer.open .d-nav-group:nth-child(3) {
  transition-delay: 0.22s;
}
.drawer.open .d-nav-group:nth-child(4) {
  transition-delay: 0.28s;
}
.drawer.open .d-nav-group:nth-child(5) {
  transition-delay: 0.34s;
}
.drawer.open .d-nav-group:nth-child(6) {
  transition-delay: 0.4s;
}
.drawer.open .d-nav-group:nth-child(n + 7) {
  transition-delay: 0.46s;
}
.d-nav-main {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: clamp(0.75rem, 2.2vh, 1.1rem) var(--gutter);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--site-font-heading);
  font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}
.d-nav-main::before {
  counter-increment: menu;
  content: counter(menu, decimal-leading-zero);
  font-family: var(--site-font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.55);
}
.d-nav-main:hover {
  opacity: 0.6;
}
.d-foot {
  margin-top: auto;
  padding: 1.5rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  .drawer,
  .d-nav-group {
    transition: none;
  }
}
.d-foot .btn {
  width: 100%;
}
.d-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 1200px) {
  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    flex-wrap: wrap;
  }
}
@media (max-width: 900px) {
  .nav,
  .site-root .btn-desktop {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (max-width: 600px) {
  .header-shell {
    padding-block: 0.75rem;
  }
  .brand-wordmark {
    font-size: 1rem;
    letter-spacing: 0.18em;
  }
}

/* ---- Hero (home, services) --------------------------------------------- */

/* A full-bleed photograph; the title centred over its foot, the calls to
   action as a row of dark translucent blocks. */
.hero {
  position: relative;
  min-height: min(86vh, 820px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-block: clamp(4rem, 10vw, 6rem) clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The photograph settles slowly as the page opens. */
  animation: site-hero-settle 9s var(--ease) both;
}
@keyframes site-hero-settle {
  from {
    transform: scale(1.08);
  }
  to {
    transform: none;
  }
}
/* The words arrive one after the other, under the photograph's motion. */
.hero-inner > .reveal:nth-child(2) {
  transition-delay: 0.15s;
}
.hero-inner > .reveal:nth-child(3) {
  transition-delay: 0.3s;
}
.hero-inner > .reveal:nth-child(4) {
  transition-delay: 0.45s;
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img {
    animation: none;
  }
  .hero-inner > .reveal {
    transition-delay: 0s;
  }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Dark enough at the foot for white text over a bright photograph. */
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--navy) 82%, transparent) 0%,
    color-mix(in srgb, var(--navy) 46%, transparent) 45%,
    color-mix(in srgb, var(--navy) 12%, transparent) 80%,
    transparent 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--wrap);
}
/* Without a photograph the hero is a band like the inner pages' one. */
.hero:not(:has(.hero-bg img)) {
  min-height: 0;
  align-items: center;
  padding-block: clamp(4rem, 8vw, 6rem);
}
.hero .eyebrow {
  color: var(--white);
}
.hero h1 {
  max-width: 30ch;
  letter-spacing: 0.1em;
}
.hero p {
  max-width: 40rem;
  font-size: clamp(0.9375rem, 0.9rem + 0.3vw, 1.0625rem);
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
}
.hero-cta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: min(100%, 44rem);
  margin-top: 1rem;
}
.site-root .hero .btn {
  min-height: 3.5rem;
  padding: 1rem 1.5rem;
  background: color-mix(in srgb, var(--navy-2) 88%, transparent);
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 0.8125rem;
  white-space: normal;
}
.site-root .hero .btn:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* ---- Page hero (inner pages) ------------------------------------------- */

/* A black band with the page's title centred in it. */
.page-hero {
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.page-hero .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.page-hero h1 {
  max-width: 28ch;
}
.page-hero p {
  max-width: 42rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

/* ---- About (home) ------------------------------------------------------ */

/* A black band: the portrait on the left, the pitch and the figures beside it. */
.about {
  background: var(--navy);
  color: var(--white);
  padding-block: var(--section) !important;
}
/* After a hero without a photograph, two black bands meet: a rule parts them. */
.hero:not(:has(.hero-bg img)) + .about {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-portrait {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  background: var(--navy-2);
}
.about-portrait::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  z-index: -1;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-grid > .reveal:last-child {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.about .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.about-grid p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
}
.quote {
  padding: 0;
  border: 0;
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: inherit;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.stat {
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, currentColor 35%, transparent);
}
.stat .num {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: clamp(2.75rem, 2rem + 3vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
  color: inherit;
}
.stat .lbl {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: inherit;
  opacity: 0.75;
}

/* ---- Steps (home) ------------------------------------------------------ */

div.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 2rem;
}
.step {
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--ink);
  background: transparent;
}
.step .n {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.step h3 {
  margin-bottom: 0.75rem;
}
.step p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---- Listings: cards --------------------------------------------------- */

.biens-grid,
.grid,
.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem 1.5rem;
}
.bien a,
.card,
.sim {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
}
.bien article {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.bien-img,
.card-img,
.sim-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  overflow: hidden;
}
.bien-img img,
.card-img img,
.sim-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.bien a:hover img,
.card:hover img,
.sim:hover img {
  transform: scale(1.04);
}
/* A listing without photographs yet: a quiet frame and a word, not a blank. */
.bien-img:not(:has(img))::before,
.card-img:not(:has(img))::before,
.sim-img:not(:has(img))::before {
  content: "Photos à venir";
  position: absolute;
  inset: 0.75rem;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 45%, transparent);
}
.bien-tag,
.tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.45rem 0.7rem;
  background: var(--terra);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.tag.sale {
  background: var(--ink);
}
.tag.sold {
  background: var(--white);
  color: var(--ink);
}
.fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}
.fav svg {
  width: 1rem;
  height: 1rem;
}
.fav.on {
  color: var(--terra);
}
.bien-body,
.card-body,
.sim-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 0 0;
  flex: 1;
}
.loc {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.bien-body h3,
.card-body h3,
.sim-body h3 {
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  line-height: 1.45;
}
.bien-meta,
.card-feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.card-feats span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.card-feats svg {
  width: 1rem;
  height: 1rem;
  color: var(--ink);
}
.bien-meta .price,
.card-foot .price,
.sim .row .price {
  font-family: var(--site-font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.bien-meta .price {
  margin-left: auto;
}
.card-foot,
.sim .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}
.card-foot .arrow {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition:
    background 0.25s,
    color 0.25s;
}
.card-foot .arrow svg {
  width: 1rem;
  height: 1rem;
}
.card:hover .arrow {
  background: var(--ink);
  color: var(--white);
}
.card-foot .arrow svg {
  transition: transform 0.35s var(--ease);
}
.card:hover .arrow svg {
  transform: translateX(3px);
}

/* The listings page */
.sec-head {
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  margin-inline: 0;
}
.sec-head .count {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0;
  color: var(--ink);
}
.sec .empty {
  color: var(--muted);
}
section.sold {
  background: var(--sand);
  padding-block: var(--section) !important;
}
section.sold .sec-head {
  align-items: flex-end;
}
section.sold .sec-head > div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.sold-carousel {
  position: relative;
}
.sold-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}
.sold-track::-webkit-scrollbar {
  display: none;
}
.sold-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  scroll-snap-align: start;
}
.sold-nav {
  position: absolute;
  top: 40%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-50%);
  transition:
    background 0.25s,
    color 0.25s;
}
.sold-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}
.sold-nav-prev {
  left: -1.25rem;
}
.sold-nav-next {
  right: -1.25rem;
}
.sold-nav:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

/* ---- Eco / partners marquee ------------------------------------------- */

.eco {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding-block: var(--section) !important;
}
.eco-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy);
}
.eco-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(1);
}
.eco .inner {
  position: relative;
  z-index: 1;
}
.eco .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.eco-head p {
  color: rgba(255, 255, 255, 0.75);
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: site-marquee 40s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track .tag {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track .tag svg {
  width: 1rem;
  height: 1rem;
  color: var(--white);
}
@keyframes site-marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

/* ---- Call to action box ---------------------------------------------- */

.cta-final,
.cta {
  padding-block: 0 var(--section) !important;
}
.site-main section:first-child.cta,
.site-main section:first-child.cta-final {
  padding-top: var(--section) !important;
}
.cta-box {
  width: min(var(--wrap), calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(3.5rem, 8vw, 6rem) var(--gutter);
  background: var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.cta-box .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}
.cta-box h2 {
  max-width: 30ch;
}
.cta-box p {
  max-width: 38rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}
.cta-box .btn {
  margin-top: 0.5rem;
}

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

.conviction-grid,
.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.conviction-grid > .reveal:first-child,
.intro-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
.conviction-grid p,
.intro-text p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.intro-text .lead {
  color: var(--ink);
  font-weight: 400;
  font-size: 1.125rem;
}
.conviction-right {
  position: relative;
}
.conviction-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.conviction-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.manifesto {
  position: relative;
  margin: -3rem 1.5rem 0;
  padding: 2.25rem 2rem 1.75rem;
  background: var(--navy);
  color: var(--white);
}
.quote-mark {
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: var(--site-font-heading);
  font-size: 4rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.5);
}
.manifesto-text {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.manifesto-by {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.6875rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.manifesto-by .ln {
  width: 2rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.intro-portrait {
  position: relative;
}
.portrait-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-portrait .badge {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--navy);
  color: var(--white);
}
.intro-portrait .badge .n {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1;
}
.intro-portrait .badge .l {
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  opacity: 0.8;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.value article {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--ink);
  background: var(--white);
}
.ic {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  margin-bottom: 1.25rem;
}
.ic svg {
  width: 1.25rem;
  height: 1.25rem;
}
.value h3 {
  margin-bottom: 0.75rem;
}
.value p {
  color: var(--muted);
  font-size: 0.875rem;
}
.journey {
  background: var(--sand);
  padding-block: var(--section) !important;
}
.journey .stats-row {
  margin-top: 0;
}

/* ---- Services page ---------------------------------------------------- */

.intro .wrap:not(:has(.intro-grid)) {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
.intro h2 {
  max-width: 24ch;
}
.quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.quick span {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
section.steps .wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5rem);
}
.step:has(.step-media) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
}
.step:nth-child(even) .step-media {
  order: 2;
}
.step-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}
.step-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-media .num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: var(--white);
  color: var(--ink);
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.5rem;
}
.step-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.step-text .k {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.step-text h3 {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  line-height: 1.2;
  letter-spacing: 0.06em;
  margin: 0;
}
.step-text p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.step-text ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.step-text li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
}
.step-text li svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  color: var(--ink);
}
.partners {
  background: var(--sand);
  padding-block: var(--section) !important;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.partner {
  height: 100%;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.partner-alt {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.partner-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.partner-num {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: 0;
  opacity: 0.35;
}
.partner h3 {
  margin-bottom: 0.6rem;
}
.partner p {
  font-size: 0.875rem;
  color: var(--muted);
}
.partner-alt p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Pricing --------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem;
  align-items: start;
}
.main-card {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--navy);
  color: var(--white);
}
.flag {
  display: inline-block;
  padding: 0.5rem 0.8rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.rate {
  margin-top: 1.5rem;
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: clamp(4rem, 2rem + 8vw, 7rem);
  line-height: 1;
  letter-spacing: 0;
}
.rate .unit {
  font-size: 0.4em;
  color: rgba(255, 255, 255, 0.6);
}
.rate-sub {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}
.divider {
  height: 1px;
  margin: 2rem 0;
  background: rgba(255, 255, 255, 0.2);
}
.incl-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}
.incl {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.incl li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.incl svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  color: var(--white);
}
.cta-row {
  margin-top: 2rem;
}
.side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.min-card,
.trust-card {
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
}
.min-card .v {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 2.5rem;
  letter-spacing: 0;
  line-height: 1;
}
.min-card h3 {
  margin: 0.6rem 0;
}
.min-card p {
  color: var(--muted);
  font-size: 0.875rem;
}
.trust-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.t-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 400;
  font-size: 0.9375rem;
}
.t-item svg {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ink);
}

/* ---- Listing detail --------------------------------------------------- */

.crumb {
  padding: 1.25rem 0;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumb .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}
.crumb a:hover {
  color: var(--ink);
}
.crumb .sep {
  opacity: 0.5;
}
.gallery {
  padding-block: 0 2rem !important;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  aspect-ratio: 3 / 1.4;
}
.gallery-trigger {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--sand);
  overflow: hidden;
}
.gallery-trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-trigger:hover img {
  transform: scale(1.03);
}
.g-main {
  grid-column: span 2;
  grid-row: span 2;
}
.g-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--navy) 55%, transparent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.g-more svg {
  width: 1.5rem;
  height: 1.5rem;
}
.detail {
  padding-top: 1rem !important;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.detail .d-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
/* The listing's title: the property, stated in the text face. */
.detail .d-head h1 {
  font-family: var(--site-font-body);
  font-weight: 500;
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.06em;
}
.addr {
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.keyfacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.keyfact {
  padding: 1rem 0 0;
  border-top: 1px solid var(--ink);
}
.keyfact svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.keyfact .v {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: 0;
  line-height: 1;
}
.keyfact .l {
  margin-top: 0.4rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.block {
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.block h2 {
  font-family: var(--site-font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: var(--track);
  margin-bottom: 1.25rem;
}
.block p,
.property-description p {
  color: var(--ink);
}
.property-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.feats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.feat {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.feat svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--ink);
}
.side {
  position: sticky;
  top: 6rem;
}
.price-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--ink);
}
.plabel {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-card .price {
  margin-top: 0.75rem;
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
  letter-spacing: 0;
  line-height: 1;
}
.ppm {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  color: var(--muted);
}
.agent {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.agent img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.an {
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ar {
  font-size: 0.75rem;
  color: var(--muted);
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.actions .btn {
  width: 100%;
}
.visit-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  background: var(--sand);
  font-size: 0.875rem;
}
.visit-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.assurance {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--sand);
  font-size: 0.875rem;
}
.a-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.a-item svg {
  flex: none;
  width: 1rem;
  height: 1rem;
  color: var(--ink);
}
.similar {
  background: var(--sand);
  padding-block: var(--section) !important;
}
.sim-body .row span:first-child {
  font-size: 0.8125rem;
}

/* ---- Gallery lightbox ------------------------------------------------- */

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: color-mix(in srgb, var(--navy) 96%, transparent);
  color: var(--white);
}
.gallery-lightbox-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
}
.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 300;
}
.gallery-lightbox-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox-figure {
  position: relative;
  width: min(100%, 1200px);
  height: 100%;
}
.gallery-lightbox-figure img {
  object-fit: contain;
}
.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: color-mix(in srgb, var(--navy) 60%, transparent);
  color: var(--white);
  transform: translateY(-50%);
}
.gallery-lightbox-nav svg {
  width: 1.25rem;
  height: 1.25rem;
}
.gallery-lightbox-prev {
  left: 1rem;
}
.gallery-lightbox-next {
  right: 1rem;
}
.gallery-lightbox-foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
}
.gallery-lightbox-count {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  flex: none;
}
.gallery-lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery-lightbox-thumb {
  position: relative;
  flex: none;
  width: 5rem;
  height: 3.5rem;
  padding: 0;
  border: 1px solid transparent;
  overflow: hidden;
  background: var(--navy-2);
  opacity: 0.6;
}
.gallery-lightbox-thumb img {
  object-fit: cover;
}
.gallery-lightbox-thumb.active {
  border-color: var(--white);
  opacity: 1;
}

/* ---- Carnet (blog) --------------------------------------------------- */

.filters {
  padding-block: 1.5rem !important;
}
.filters .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.chip {
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.chip:hover {
  border-color: var(--ink);
}
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.featured {
  padding-top: 2rem !important;
}
.feature-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: transparent;
}
.feature-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--sand);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-media .flag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
}
.feature-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0 0 clamp(1.5rem, 4vw, 3rem);
}
.cat {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.feature-body h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  text-transform: none;
  letter-spacing: 0;
}
.feature-body p {
  color: var(--muted);
}
.feature-meta,
.art-meta,
.article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}
.feature-body .more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--ink);
}
.feature-body .more svg {
  width: 1rem;
  height: 1rem;
}
.articles .head {
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  text-align: left;
  max-width: none;
  margin-inline: 0;
}
.articles .head span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
}
.art-grid,
.rel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.art,
.rel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
}
.art-img,
.rel-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--sand);
  overflow: hidden;
}
.art-img img,
.rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.art:hover img,
.rel:hover img {
  transform: scale(1.04);
}
.art-img .cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  padding: 0.45rem 0.7rem;
  background: var(--white);
  color: var(--ink);
}
/* The text in a white panel over the foot of the photograph. */
.art-body,
.rel-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: -4.5rem 1.5rem 0;
  padding: 1.5rem 1.25rem 0;
  background: var(--white);
  flex: 1;
}
.art-body h3,
.rel-body h3 {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}
.art-body p {
  font-size: 0.875rem;
  color: var(--muted);
}
.art-meta {
  margin-top: auto;
  padding-top: 0.5rem;
}
.rel-body .read {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
}
.related {
  background: var(--sand);
  padding-block: var(--section) !important;
}

/* The article page */
.article-page article {
  padding-top: 1.5rem;
}
.article-head .wrap {
  max-width: 48rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb .sep {
  opacity: 0.5;
}
.article-head h1 {
  font-size: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  text-transform: none;
  letter-spacing: 0;
}
.article-head .lead {
  font-size: 1.125rem;
  color: var(--muted);
}
.article-meta {
  justify-content: center;
}
.author {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  color: var(--ink);
}
.av {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.cover {
  padding-block: 0 !important;
}
.cover figure {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--sand);
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
}
.article-body .wrap {
  max-width: 48rem;
}
.article-html,
.rich-html,
.prose-content .rich-html {
  font-size: 1rem;
  line-height: 1.8;
}
.article-html h2,
.rich-html h2 {
  font-size: 1.75rem;
  text-transform: none;
  letter-spacing: 0;
  margin: 2.5rem 0 1rem;
}
.article-html h3,
.rich-html h3 {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  margin: 2rem 0 0.75rem;
}
.article-html p,
.rich-html p {
  margin: 0 0 1.25rem;
}
.article-html ul,
.rich-html ul {
  list-style: disc outside;
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.article-html ol,
.rich-html ol {
  list-style: decimal outside;
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.article-html a,
.rich-html a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
.article-html blockquote,
.rich-html blockquote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 1px solid var(--ink);
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.375rem;
  line-height: 1.4;
}
.article-html img,
.rich-html img {
  margin: 2rem 0;
}
.article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tags span {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.share {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.share .lbl {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 0.25rem;
}
.share a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.share a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.share svg {
  width: 1rem;
  height: 1rem;
}
.author-box {
  display: flex;
  gap: 1.25rem;
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
}
.author-box img {
  flex: none;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}
.ab-name {
  font-weight: 500;
  letter-spacing: 0.04em;
}
.ab-role {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.author-box p {
  font-size: 0.875rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.5rem;
  align-items: start;
}
.info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
}
.info-panel > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-panel h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}
.info-panel > p {
  color: var(--muted);
}
.info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.info-item .ic {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  border-color: var(--line);
}
.info-item .ic svg {
  width: 1rem;
  height: 1rem;
}
.info-item > span:last-child {
  display: flex;
  flex-direction: column;
}
.it-label {
  font-size: 0.625rem;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--muted);
}
.it-value {
  font-weight: 500;
}
a.it-value:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.info-steps {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.st {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.st b {
  flex: none;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 500;
}
.info-agent {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.info-agent img {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
}
.ia-name {
  font-weight: 500;
}
.ia-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* The forms: a black box, the fields underlined in it. */
.form-card {
  padding: clamp(2rem, 4vw, 3rem);
  background: var(--navy);
  color: var(--white);
}
.form-intro {
  margin-bottom: 2rem;
}
.form-intro h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.form-intro p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}
.seg-label,
.field label,
.form-grid label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.field label .opt,
.form-grid label .opt {
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: none;
  opacity: 0.7;
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}
.seg span {
  position: relative;
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid color-mix(in srgb, currentColor 45%, transparent);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s;
}
.seg label svg {
  width: 1rem;
  height: 1rem;
}
.seg input:checked + label {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.form-card .seg input:checked + label {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.seg input:focus-visible + label {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
.field {
  margin-bottom: 1.25rem;
}
.site-root input[type="text"],
.site-root input[type="email"],
.site-root input[type="tel"],
.site-root input[type="number"],
.site-root select,
.site-root textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 40%, transparent);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  transition: border-color 0.25s;
}
.site-root textarea {
  min-height: 7rem;
  resize: vertical;
}
.site-root input:focus,
.site-root select:focus,
.site-root textarea:focus {
  outline: none;
  border-bottom-color: currentColor;
}
.site-root input::placeholder,
.site-root textarea::placeholder {
  color: currentColor;
  opacity: 0.5;
}
.form-card select {
  color-scheme: dark;
}
.field-error,
.form-error {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: #b91c1c;
}
.form-card .field-error,
.form-card .form-error {
  color: #fca5a5;
}
.form-error {
  margin-top: 1rem;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.5rem 0 1.75rem;
  font-size: 0.8125rem;
  opacity: 0.85;
}
.consent input {
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  accent-color: var(--ink);
}
.form-card .consent input {
  accent-color: var(--white);
}
.consent a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.form-submit .note {
  font-size: 0.75rem;
  opacity: 0.7;
}
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid currentColor;
}
.form-success h3 {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
}

/* ---- Estimation ------------------------------------------------------- */

.estimation-page .intro {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem) !important;
}
.estimation-page .intro .container-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 48rem;
}
.estimation-page .intro p {
  font-size: 1rem;
  color: var(--muted);
}
.estimation-page .intro .note {
  font-size: 0.8125rem;
}
.form-section {
  padding-top: 0 !important;
}
.form-section .container-main {
  max-width: 52rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.form-grid .span-2 {
  grid-column: span 2;
}
.req {
  margin-left: 0.2rem;
  opacity: 0.7;
}
.form-card .submit {
  margin-top: 1.75rem;
}
.site-root .submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 1rem 2.25rem;
  border: 1px solid var(--terra);
  background: var(--terra);
  color: var(--white);
  font-family: var(--site-font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.submit:hover {
  background: var(--terra-deep);
  border-color: var(--terra-deep);
}
.site-root .form-card .submit {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.site-root .form-card .submit:hover {
  background: var(--white);
  color: var(--navy);
}
.submit:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ---- Legal pages ----------------------------------------------------- */

.legal-page section {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.legal-page .prose-content {
  max-width: 48rem;
}
.legal-page h1 {
  margin-bottom: 2rem;
}
.legal-page .rich-html h2 {
  font-size: 1.5rem;
}

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

.site-footer {
  background: var(--navy);
  color: var(--white);
}
.footer-shell {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0 var(--gutter);
}
/* The reviews: a light panel at the head of the footer, three quotations set
   in the display face under one line for the rating. Nothing moves, no
   avatars: the words carry it. (The markup repeats the reviews for a
   marquee; the copy is not shown.) */
.foot-inner {
  /* Keeps the panel's top margin inside the footer (no collapse through it). */
  display: flow-root;
}
.foot-reviews {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding: clamp(3rem, 5.5vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
  background: var(--cream);
  color: var(--ink);
}
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}
.reviews-head h3 {
  max-width: 20ch;
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}
.reviews-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.reviews-rating .score b {
  font-weight: 500;
  color: var(--ink);
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--ink);
}
.stars svg {
  width: 0.8rem;
  height: 0.8rem;
}
.r-stars {
  display: none;
}
.reviews-marquee {
  overflow: visible;
}
.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
}
.review {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 1px solid var(--line);
  background: transparent;
}
.review[aria-hidden="true"] {
  display: none;
}
.r-text {
  font-family: var(--site-font-heading);
  font-weight: 500;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.45;
  color: var(--ink);
}
.r-text::before {
  content: "« ";
}
.r-text::after {
  content: " »";
}
.r-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.r-avatar {
  display: none;
}
.r-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.r-name {
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.r-role {
  font-size: 0.75rem;
  color: var(--muted);
}
.foot-main {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  max-width: 20rem;
}
.foot-brand .brand {
  color: var(--white);
}
.brand--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.brand-wordmark--footer {
  font-size: 1.5rem;
}
.foot-brand p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
}
.socials {
  display: flex;
  gap: 0.5rem;
}
.socials a {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.socials a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.socials svg {
  width: 0.9rem;
  height: 0.9rem;
}
/* A column: its heading over a list ruled on the left. */
.foot-col {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.foot-col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.9rem;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}
.foot-col h4 {
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.foot-col a,
.foot-col span {
  padding-left: 0.9rem;
  font-size: 0.8125rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.85);
}
.foot-col a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.foot-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
}
.foot-bottom .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.foot-bottom .badge b {
  color: var(--white);
  font-weight: 500;
}
.legal {
  display: flex;
  gap: 1.25rem;
}
.legal a:hover {
  color: var(--white);
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 1024px) {
  div.steps,
  .biens-grid,
  .grid,
  .sim-grid,
  .values-grid,
  .partners-grid,
  .art-grid,
  .rel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sold-slide {
    flex-basis: calc((100% - 1.5rem) / 2);
  }
  .stats-row,
  .keyfacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .about-grid,
  .conviction-grid,
  .intro-grid,
  .price-grid,
  .detail-grid,
  .contact-grid,
  .feature-card,
  .step:has(.step-media) {
    grid-template-columns: minmax(0, 1fr);
  }
  .step:nth-child(even) .step-media {
    order: 0;
  }
  .feature-body {
    padding: 1.5rem 0 0;
  }
  .side {
    position: static;
  }
  .about-portrait {
    max-width: 24rem;
  }
  .intro-portrait .badge {
    right: 1rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    aspect-ratio: auto;
  }
  .g-main {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }
  .gallery-trigger:not(.g-main) {
    aspect-ratio: 4 / 3;
  }
  .sold-nav-prev {
    left: 0.25rem;
  }
  .sold-nav-next {
    right: 0.25rem;
  }
}
@media (max-width: 600px) {
  div.steps,
  .biens-grid,
  .grid,
  .sim-grid,
  .values-grid,
  .partners-grid,
  .art-grid,
  .rel-grid,
  .field-row,
  .form-grid,
  .cols,
  .hero-cta {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid .span-2 {
    grid-column: auto;
  }
  .sold-slide {
    flex-basis: 85%;
  }
  .stats-row {
    gap: 1rem;
  }
  .hero {
    min-height: 70vh;
  }
  .hero h1 {
    letter-spacing: 0.06em;
  }
  .reviews-track {
    grid-template-columns: minmax(0, 1fr);
  }
  .review {
    padding-left: 0;
    padding-top: 1.25rem;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .sec-head,
  .articles .head {
    flex-direction: column;
    align-items: flex-start;
  }
  .art-body,
  .rel-body {
    margin-inline: 1rem;
  }
  .author-box {
    flex-direction: column;
  }
  .foot-bottom .row {
    flex-direction: column;
    align-items: flex-start;
  }
}
