/* L'Agence Médicale, feuille de style du site. Base : maquette direction A v2 (29/10/2026). */
:root {
  --ink: #16232B;
  --paper: #F6F4EF;
  --muted: #4F5F69;
  --copper: #A3542A;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Source Sans 3", Arial, sans-serif;
  --gutter: 24px;
}

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

html {
  color-scheme: light;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5625;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: normal;
  text-wrap: balance;
}

h1 {
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

a:hover {
  text-decoration-color: var(--copper);
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--paper);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

strong {
  font-weight: 600;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  padding: 0;
}

.container {
  width: calc(100% - 40px);
  max-width: 1312px;
  margin-inline: auto;
}

.section {
  margin-top: 64px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--copper);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.small {
  font-size: 14px;
  line-height: 1.5;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 16px;
  left: 20px;
  padding: 12px 20px;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--paper);
  color: var(--ink);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 600;
}

.site-header {
  border-bottom: 1px solid var(--ink);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding-block: 20px;
}

.brand {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand svg {
  flex: 0 0 auto;
  fill: currentColor;
}

.brand-wordmark {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 18px;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
}

.header-cta {
  width: 100%;
}

.hero {
  display: grid;
  gap: 36px;
  padding-top: 56px;
}

.hero-copy {
  align-self: center;
}

.hero-intro {
  max-width: 470px;
  margin-top: 24px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 28px;
}

.hero-photo img {
  aspect-ratio: 4 / 3;
}

.photo-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.section-heading h2 {
  max-width: 680px;
}

.catalogue-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 24px;
}

.filters {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid var(--ink);
  border-radius: 2px;
}

.filter-link {
  display: inline-flex;
  min-width: 110px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.filter-link + .filter-link {
  border-left: 1px solid var(--ink);
}

.filter-link--sale {
  background: var(--ink);
  color: var(--paper);
}

.filter-link:focus-visible {
  position: relative;
  z-index: 1;
}

.catalogue-note {
  max-width: 720px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.properties-grid {
  display: grid;
  gap: 40px 24px;
}

.property img {
  aspect-ratio: 3 / 2;
}

.property--featured img {
  aspect-ratio: 4 / 3;
}

.property-content {
  padding-top: 18px;
}

.property-type {
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 14px;
  font-weight: 600;
}

.property h3 {
  margin-bottom: 12px;
}

.property-surface {
  color: var(--muted);
}

.property-price {
  margin-top: 4px;
  font-weight: 600;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--muted);
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.rent-data {
  display: none;
}

#a-louer:target ~ .section-heading .filter-link--sale {
  background: var(--paper);
  color: var(--ink);
}

#a-louer:target ~ .section-heading .filter-link--rent {
  background: var(--ink);
  color: var(--paper);
}

#a-louer:target ~ .properties-grid .sale-data {
  display: none;
}

#a-louer:target ~ .properties-grid .rent-data {
  display: block;
}

.catalogue-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.catalogue-footer p {
  color: var(--muted);
}

.mission-grid {
  display: grid;
  gap: 32px;
}

.mission-photo img {
  aspect-ratio: 4 / 3;
}

.mission-intro {
  margin-bottom: 28px;
  color: var(--muted);
}

.mission-list > div {
  padding-block: 20px;
  border-top: 1px solid var(--muted);
}

.mission-list > div:last-child {
  padding-bottom: 0;
}

.mission-list dt {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
}

.mission-list dd {
  color: var(--muted);
}

.examination {
  padding-block: 56px;
  background: var(--ink);
  color: var(--paper);
}

.examination-grid {
  display: grid;
  gap: 36px;
}

.examination .eyebrow {
  color: var(--paper);
}

.examination-intro {
  max-width: 360px;
  margin-top: 24px;
}

.examination-list > div {
  display: grid;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--paper);
}

.examination-list > div:last-child {
  border-bottom: 1px solid var(--paper);
}

.examination-list dt {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}

.selling-grid {
  display: grid;
  gap: 36px;
}

.selling-intro {
  max-width: 440px;
  margin-top: 24px;
  color: var(--muted);
}

.selling-copy .button {
  margin-top: 28px;
}

.selling-step {
  padding-block: 24px;
  border-top: 1px solid var(--muted);
}

.selling-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.selling-step p {
  margin-top: 14px;
  color: var(--muted);
}

.fee {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--ink);
}

.fee-title {
  font-weight: 600;
}

.fee-amount {
  color: var(--copper);
  font-family: var(--sans);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.fee-amount span {
  font-size: 18px;
}

.fee-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.team-intro {
  max-width: 430px;
  color: var(--muted);
}

.team-grid {
  display: grid;
  gap: 36px 24px;
}

.person img {
  aspect-ratio: 4 / 3;
}

.person figcaption {
  padding-top: 20px;
}

.person-role {
  margin-top: 6px;
  color: var(--muted);
}

.review {
  display: grid;
  gap: 24px;
  margin-top: 48px;
  padding-block: 28px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.review-label {
  font-weight: 600;
}

.review-status {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.review blockquote {
  max-width: 820px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.25;
}

.review figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact {
  padding-top: 48px;
  border-top: 1px solid var(--ink);
}

.contact-grid {
  display: grid;
  gap: 36px;
}

.contact-intro {
  max-width: 400px;
  margin-top: 24px;
  color: var(--muted);
}

.contact-area {
  margin-top: 28px;
}

.contact-area strong,
.contact-area span {
  display: block;
}

.contact-area span {
  color: var(--muted);
}

.form-required {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.project-legend,
.field-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

.project-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-option {
  position: relative;
}

.project-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
}

.project-option label {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--muted);
  border-radius: 2px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

.project-option input:checked + label {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.project-option input:focus-visible + label {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.fields-grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
}

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--muted);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5625;
}

.field textarea {
  min-height: 144px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 1;
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.consent {
  display: flex;
  min-height: 44px;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding-block: 10px;
  cursor: pointer;
}

.consent input {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--ink);
}

.consent span {
  font-size: 14px;
  line-height: 1.5;
}

.privacy-link {
  margin-left: 32px;
  font-size: 14px;
}

.form-submit {
  margin-top: 24px;
}

.form-submit .button {
  width: 100%;
}

.button:disabled,
.button:disabled:hover {
  border-color: var(--muted);
  background: var(--muted);
  color: var(--paper);
  cursor: not-allowed;
}

.form-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.site-footer {
  margin-top: 64px;
  padding-block: 40px 24px;
  border-top: 1px solid var(--ink);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.footer-address {
  margin-top: 20px;
  font-style: normal;
}

.footer-registration {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.footer-heading {
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-coverage p + p {
  margin-top: 8px;
  color: var(--muted);
}

.legal-group {
  margin-top: 40px;
  border-top: 1px solid var(--muted);
}

.legal-details {
  padding-block: 4px;
  border-bottom: 1px solid var(--muted);
  scroll-margin-top: 24px;
}

.legal-details summary {
  min-height: 44px;
  padding-block: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.legal-content {
  max-width: 850px;
  padding-block: 8px 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.legal-content p + p {
  margin-top: 12px;
}

.legal-content dl > div {
  display: grid;
  gap: 4px;
  padding-block: 12px;
}

.legal-content dt {
  color: var(--ink);
  font-weight: 600;
}

@media (min-width: 600px) {
  .header-inner {
    justify-content: space-between;
  }

  .header-cta {
    width: auto;
  }

  .site-nav {
    order: 3;
    justify-content: flex-start;
    gap: 32px;
  }

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

  .property--featured {
    grid-column: 1 / -1;
  }

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

  .person h3 {
    font-size: 23px;
  }

  .examination-list > div {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 24px;
  }

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

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

  .form-submit .button {
    width: auto;
  }

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

  .footer-company {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  body {
    font-size: 18px;
    line-height: 1.5556;
  }

  .container {
    width: calc(100% - 128px);
  }

  .section {
    margin-top: 112px;
  }

  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 48px;
  }

  h3 {
    font-size: 28px;
  }

  .hero {
    padding-top: 72px;
    gap: 48px;
  }

  .hero-intro {
    margin-top: 28px;
  }

  .hero-actions {
    margin-top: 32px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .small,
  .photo-caption,
  .catalogue-note,
  .property-type,
  .property-features,
  .fee-note,
  .review-status,
  .review figcaption,
  .form-required,
  .form-note,
  .consent span,
  .privacy-link {
    font-size: 16px;
  }

  .mission-list > div {
    padding-block: 24px;
  }

  .examination {
    padding-block: 80px;
  }

  .review {
    margin-top: 64px;
    padding-block: 40px;
  }

  .review blockquote {
    font-size: 36px;
  }

  .contact {
    padding-top: 64px;
  }

  .site-footer {
    margin-top: 112px;
    padding-top: 56px;
  }
}

@media (min-width: 1100px) {
  .header-inner {
    min-height: 112px;
    flex-wrap: nowrap;
    gap: 28px;
  }

  .brand-wordmark {
    font-size: 28px;
  }

  .site-nav {
    order: initial;
    width: auto;
    flex-wrap: nowrap;
    gap: 24px;
    margin-left: auto;
    font-size: 16px;
  }

  .header-cta {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .hero,
  .properties-grid,
  .mission-grid,
  .examination-grid,
  .selling-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .hero {
    padding-top: 80px;
    align-items: center;
  }

  .hero-copy {
    grid-column: 1 / span 5;
  }

  .hero-photo {
    grid-column: 7 / span 6;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .property {
    grid-column: span 3;
  }

  .property--featured {
    grid-column: span 6;
  }

  .property--featured h3 {
    font-size: 34px;
  }

  .property:not(.property--featured) h3 {
    font-size: 26px;
  }

  .property:not(.property--featured) .property-surface,
  .property:not(.property--featured) .property-price {
    font-size: 16px;
  }

  .mission-photo {
    grid-column: 1 / span 5;
  }

  .mission-copy {
    grid-column: 7 / span 6;
  }

  .examination-heading {
    grid-column: 1 / span 4;
  }

  .examination-list {
    grid-column: 6 / span 7;
  }

  .examination-list > div {
    grid-template-columns: 150px minmax(0, 1fr);
    padding-block: 28px;
  }

  .selling-copy {
    grid-column: 1 / span 5;
  }

  .selling-process {
    grid-column: 7 / span 6;
  }

  .person h3 {
    font-size: 30px;
  }

  .review {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gutter);
  }

  .review-source {
    grid-column: 1 / span 3;
  }

  .review figure {
    grid-column: 5 / span 8;
  }

  .contact-copy {
    grid-column: 1 / span 4;
  }

  .contact-form {
    grid-column: 6 / span 7;
  }

  .footer-company {
    grid-column: 1 / span 6;
  }

  .footer-navigation {
    grid-column: 8 / span 2;
  }

  .footer-coverage {
    grid-column: 10 / span 3;
  }

  .legal-content dl > div {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: 72px;
  }

  .section {
    margin-top: 128px;
  }

  .site-nav {
    gap: 30px;
  }

  .examination {
    padding-block: 96px;
  }

  .contact h2 {
    font-size: 56px;
  }

  .site-footer {
    margin-top: 128px;
  }
}

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

@media print {
  .site-header,
  .skip-link,
  .filters,
  .contact-form,
  .footer-navigation {
    display: none;
  }

  .container {
    width: 100%;
  }

  .section,
  .site-footer {
    margin-top: 48px;
  }

  .examination {
    border-block: 1px solid var(--ink);
    background: var(--paper);
    color: var(--ink);
  }

  .examination .eyebrow {
    color: var(--ink);
  }

  .examination-list > div {
    border-color: var(--ink);
  }

  .property,
  .person,
  .selling-step {
    break-inside: avoid;
  }
}

/* ------------------------------------------------------------------
   Compléments site (fiches, listes, pages intérieures), 29/10/2026.
   Accueil conforme à la maquette Codex (consigne Cédric 29/10 : « respecte la maquette de Codex à la lettre »).
   Concaténé après site.css par build/build.mjs.
   ------------------------------------------------------------------ */
:root { --sand: #E9E5DA; --ink-soft: rgba(22, 35, 43, 0.14); }

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

/* Cartes bien (accueil et listes) */
.bien { display: block; text-decoration: none; color: inherit; }
.bien img, .bien-sans-photo { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--sand); }
.bien--principal img { aspect-ratio: 3 / 2; }
.bien:hover img { opacity: 0.92; }
.bien-infos { border-top: 1px solid var(--ink); margin-top: 16px; padding-top: 14px; display: grid; gap: 6px; }
.bien-statut { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.bien h3 { font-size: 24px; }
.bien-prix { font-weight: 600; font-size: 19px; font-variant-numeric: tabular-nums; }
.bien-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; color: var(--muted); font-size: 15px; }
.bien-points li + li::before { content: "\00B7"; margin: 0 10px; color: var(--ink-soft); }
.properties-grid .bien--principal { grid-column: span 2; grid-row: span 2; }
.properties-grid--liste .bien { grid-column: span 1; }

/* Fil d'Ariane, en-tête de page intérieure */
.fil { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.fil span { margin: 0 8px; }
.page-entete { padding-top: 56px; padding-bottom: 24px; }
.page-entete h1 { font-size: clamp(36px, 5vw, 64px); max-width: 18ch; margin-top: 12px; }
.page-intro { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 62ch; margin-top: 24px; }
.page-entete .hero-actions { margin-top: 32px; }

/* Fiche bien */
.fiche { padding-top: 56px; padding-bottom: 120px; }
.fiche-entete { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 32px; }
.fiche-entete h1 { grid-column: 1; font-size: clamp(32px, 4.2vw, 56px); max-width: 22ch; margin-top: 10px; }
.fiche-entete .eyebrow { grid-column: 1; }
.fiche-prix { grid-column: 2; grid-row: 1 / 2; font-family: var(--serif); font-size: 36px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; text-align: right; }
.fiche-action { grid-column: 2; grid-row: 2 / 3; justify-self: end; }
.fiche-galerie { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.fiche-galerie .fiche-photo:first-child { grid-row: span 2; }
.fiche-photo img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.fiche-galerie .fiche-photo:first-child img { aspect-ratio: 3 / 2; height: 100%; }
.fiche-galerie:has(.fiche-photo:only-child) { grid-template-columns: 1fr; }
.fiche-galerie:has(.fiche-photo:only-child) .fiche-photo:first-child { grid-row: auto; }
.fiche-grille { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; margin-top: 56px; align-items: start; }
.fiche-texte h2 { font-size: 28px; margin: 40px 0 14px; }
.fiche-texte h2:first-child { margin-top: 0; }
.fiche-description { white-space: pre-line; font-size: 18px; line-height: 1.6; }
.fiche-points { list-style: none; margin: 0; padding: 0; }
.fiche-points li { padding: 12px 0; border-top: 1px solid var(--ink-soft); }
.fiche-points li:last-child { border-bottom: 1px solid var(--ink-soft); }
.fiche-aside { position: sticky; top: 24px; border: 1px solid var(--ink-soft); padding: 28px; display: grid; gap: 20px; background: #FFFFFF; }
.fiche-faits { margin: 0; display: grid; gap: 0; }
.fiche-faits div { display: grid; grid-template-columns: minmax(90px, 110px) 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--ink-soft); }
.fiche-faits dd { overflow-wrap: anywhere; }
.fiche-faits div:first-child { border-top: 0; padding-top: 0; }
.fiche-faits dt { color: var(--muted); font-size: 15px; }
.fiche-faits dd { margin: 0; font-weight: 600; }
.fiche-faits--large div { grid-template-columns: 220px 1fr; padding: 16px 0; }
.fiche-faits--large dd { font-weight: 400; }
.fiche-note { color: var(--muted); font-size: 14px; }

/* Listes */
.liste { padding-top: 56px; }
.liste-vide { padding: 40px 0; color: var(--muted); }

/* Contact : coordonnées, portraits en attente, textes légaux */
.coordonnees { margin: 32px 0 0; display: grid; gap: 18px; }
.coordonnees div { border-top: 1px solid var(--ink-soft); padding-top: 14px; }
.coordonnees dt { font-weight: 600; }
.coordonnees dd { margin: 4px 0 0; color: var(--muted); }
.person-portrait { aspect-ratio: 4 / 5; background: var(--sand); display: flex; align-items: flex-end; padding: 14px; }
.person-portrait span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.texte-legal { max-width: 760px; }
.texte-legal h2 { font-size: 26px; margin: 36px 0 12px; }
.texte-legal p { color: var(--muted); }

@media (max-width: 900px) {
  .pillars, .figures { grid-template-columns: 1fr; }
  .pillar { padding: 28px 0; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--ink-soft); padding-left: 0; }
  .band-dark .container { grid-template-columns: 1fr; }
  .band-dark .actions { justify-self: start; }
  .fiche-grille { grid-template-columns: 1fr; gap: 40px; }
  .fiche-aside { position: static; }
  .fiche-entete { grid-template-columns: 1fr; }
  .fiche-prix { grid-column: 1; grid-row: auto; text-align: left; }
  .fiche-action { grid-column: 1; grid-row: auto; justify-self: start; }
  .fiche-galerie { grid-template-columns: 1fr; }
  .fiche-galerie .fiche-photo:first-child { grid-row: auto; }
  .properties-grid .bien--principal { grid-column: span 1; grid-row: auto; }
}

/* Erreur de formulaire (retour serveur) et marqueur de galerie */
.form-error { border-left: 2px solid var(--copper); padding: 12px 16px; color: var(--ink); background: #FFFFFF; margin-bottom: 8px; }
.form-error:focus { outline: 2px solid var(--copper); outline-offset: 2px; }
.fiche-photo figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.person img { aspect-ratio: 4 / 5; object-fit: cover; }

/* Cartes de biens générées (format de la maquette, lien englobant) */
.property-link { display: block; color: inherit; text-decoration: none; }
.property-link:hover img { opacity: 0.92; }
.property-sans-photo { aspect-ratio: 4 / 3; width: 100%; background: var(--sand); }
.properties-grid--liste { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .properties-grid--liste { grid-template-columns: 1fr; } }

/* Questions fréquentes (page Réglementation) */
.faq { max-width: 860px; }
.faq-item { border-top: 1px solid var(--ink-soft); }
.faq-item:last-child { border-bottom: 1px solid var(--ink-soft); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 48px 22px 0; font-family: var(--serif); font-size: 24px; line-height: 1.2; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 28px; color: var(--copper); }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item div { padding: 0 0 24px; color: var(--muted); max-width: 68ch; }
