/* =====================================================================
   Quid Novi · Piste A · PAGE D'ACCUEIL (s'ajoute à socle.css)
   ===================================================================== */

/* ---------- Ouverture ---------- */
.ouverture {
  --debord: clamp(72px, 13vw, 230px);
  color: var(--blanc);
  padding: calc(var(--entete) + clamp(var(--e5), 8vh, var(--e6))) 0 0;
  position: relative;
  background: linear-gradient(to bottom, var(--profond) calc(100% - var(--debord)), var(--blanc) calc(100% - var(--debord)));
}
.ouverture-texte { width: calc(100% - 2 * var(--marge)); max-width: calc(var(--largeur) - 2 * var(--marge)); margin: 0 auto; }
.ouverture-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--e2) var(--e4); margin-bottom: var(--rythme-titre); }
.ouverture-haut .surtitre { margin: 0; color: var(--eau); }
.ouverture-adresses { display: flex; flex-wrap: wrap; gap: 8px 40px; font-size: .9375rem; }
.ouverture-adresses a { text-decoration: none; color: var(--texte-clair); display: flex; flex-direction: column; border-left: 1px solid var(--filet-clair); padding-left: 16px; transition: border-color .3s ease, color .3s ease; }
.ouverture-adresses a:hover { border-color: var(--eau); color: var(--blanc); }
.ouverture-adresses strong { color: var(--blanc); font-weight: 600; }
.ouverture .titre-affiche { color: var(--blanc); }
.ouverture .titre-affiche em { color: var(--eau); white-space: nowrap; }
.ouverture-pied { display: grid; gap: var(--e4); margin-top: var(--rythme-titre); }
.ouverture-chapeau {
  margin: 0; max-width: 34ch; color: var(--texte-clair);
  font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.38;
}
.ouverture-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.lien-tel { color: var(--texte-clair); text-decoration: none; }
.lien-tel strong { color: var(--blanc); font-weight: 600; border-bottom: 1px solid var(--filet-clair); transition: border-color .3s ease; }
.lien-tel:hover strong { border-color: var(--eau); }

/* Scène de l'ouverture : sommaire dans l'aplat, photo d'équipe dans un cadre éditorial
   (jamais plus large que 960 px pour 831 px natifs, voir DESIGN.md § 6) */
.ouverture-scene {
  width: calc(100% - 2 * var(--marge)); max-width: calc(var(--largeur) - 2 * var(--marge));
  margin: var(--rythme-bloc) auto 0;
  display: grid; grid-template-columns: minmax(0, 1fr) min(960px, 74%); column-gap: var(--gouttiere);
}
.ouverture-photo { grid-column: 1 / -1; grid-row: 1; display: grid; grid-template-columns: subgrid; align-items: end; }
.ouverture-photo .photo { grid-column: 2; aspect-ratio: 831 / 554; background: var(--petrole); clip-path: inset(0 0 0 var(--masque, 0%)); }
/* Parallaxe légère : l'image glisse de ±2 % dans un cadre fixe, échelle 1,04 (rendu ≤ 1,21 fois la taille native) */
.ouverture-photo .photo img { transform: translate3d(0, var(--parallaxe, 0%), 0) scale(1.04); transform-origin: 50% 50%; transition: none; will-change: transform; }
.ouverture-photo figcaption { grid-column: 1; grid-row: 1; align-self: end; color: var(--gris); font-size: .9375rem; max-width: 24ch; }

.sommaire { grid-column: 1; grid-row: 1; align-self: start; position: relative; z-index: 1; }
.sommaire .etiquette { color: var(--eau); margin-bottom: var(--e2); }
.sommaire ol { border-top: 1px solid var(--filet-clair); }
.sommaire li { border-bottom: 1px solid var(--filet-clair); }
.sommaire a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--e2);
  padding: var(--e1) 0; min-height: 44px; text-decoration: none; color: var(--texte-clair);
  font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.01em;
  transition: color .35s ease, padding-left .5s var(--ease);
}
.sommaire a::after {
  content: ""; width: 1.05em; height: .75em; flex: none; background: currentColor; opacity: 0; transform: translateX(-8px);
  -webkit-mask: var(--fleche) center / contain no-repeat; mask: var(--fleche) center / contain no-repeat;
  transition: opacity .35s ease, transform .5s var(--ease);
}
.sommaire a:hover, .sommaire a:focus-visible { color: var(--blanc); padding-left: var(--e1); font-style: italic; }
.sommaire a:hover::after, .sommaire a:focus-visible::after { opacity: 1; transform: none; }

/* ---------- L'office ---------- */
#office { padding-top: var(--rythme-bloc); }
.office-grille { row-gap: 40px; }
.office-titre { grid-column: 1 / 8; grid-row: 1; max-width: 13ch; }
.office-texte { grid-column: 1 / 7; grid-row: 2; align-self: end; max-width: 36rem; }
.office-texte .chapeau { color: var(--profond); margin-bottom: 1.2em; }
.office-texte p:not(.chapeau) { color: var(--gris); }
/* Citation en aplat profond qui déborde jusqu'au bord droit */
.office-citation {
  grid-column: 8 / -1; grid-row: 1 / span 2; align-self: end;
  margin: 0 calc(-1 * var(--marge)) 0 0;
  background: var(--profond); color: var(--blanc);
  padding: var(--e5) clamp(var(--e3), 4vw, var(--e5)) var(--e5) clamp(var(--e3), 3.4vw, var(--e5));
  position: relative;
}
.office-citation blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 340; font-variation-settings: "opsz" 48;
  font-size: clamp(1.7rem, 1.1rem + 1.7vw, 2.9rem); line-height: 1.12; letter-spacing: -.02em; color: var(--blanc); margin: 0;
}
.office-citation figcaption { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--filet-clair); font-size: .9375rem; color: var(--texte-clair); }
.office-citation figcaption strong { color: var(--blanc); font-weight: 600; display: block; }

.reperes {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--rythme-chapitre); border-top: 1px solid var(--filet);
}
.repere { padding: 24px var(--gouttiere) 0 0; }
.repere + .repere { padding-left: var(--gouttiere); border-left: 1px solid var(--filet); }
.repere dt {
  font-family: var(--serif); font-variation-settings: "opsz" 72;
  font-size: clamp(3rem, 1.6rem + 4.4vw, 6.5rem); line-height: 1; letter-spacing: -.045em; color: var(--petrole); font-weight: 340;
}
.repere dd { margin: 16px 0 0; color: var(--gris); max-width: 30ch; }

/* ---------- Vos situations ---------- */
.situations-entete { row-gap: 24px; align-items: end; }
.situations-entete .titre-chapitre { grid-column: 1 / 8; }
.situations-entete .chapeau { grid-column: 8 / -1; margin: 0; }
.domaines { margin-top: var(--rythme-bloc); border-top: 1px solid var(--filet-clair); counter-reset: domaine; }
.domaine { border-bottom: 1px solid var(--filet-clair); }
.domaine-titre button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left; color: var(--blanc);
  display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; align-items: center; gap: 16px 40px;
  padding: clamp(var(--e3), 3vw, var(--e4)) 0;
}
.domaine-nom {
  font-family: var(--serif); font-variation-settings: "opsz" 72;
  font-size: clamp(2rem, 1rem + 4vw, 5.25rem); line-height: 1; letter-spacing: -.035em;
  transition: transform .6s var(--ease), color .4s ease;
}
.domaine-titre button:hover .domaine-nom { transform: translateX(14px); }
.domaine-titre button[aria-expanded="true"] .domaine-nom { color: var(--eau); font-style: italic; }
.domaine-verbes { font-size: .9375rem; color: var(--texte-clair); text-align: right; max-width: 22ch; }
/* Signe + qui pivote en × (aucun signe moins) */
.domaine-signe { position: relative; width: 44px; height: 44px; border: 1px solid var(--filet-clair); border-radius: 50%; transition: background-color .3s ease, border-color .3s ease, transform .6s var(--ease); }
.domaine-signe::before, .domaine-signe::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.domaine-signe::after { transform: translate(-50%, -50%) rotate(90deg); }
.domaine-titre button:hover .domaine-signe { border-color: var(--eau); }
.domaine-titre button[aria-expanded="true"] .domaine-signe { background: var(--eau); border-color: var(--eau); color: var(--profond); transform: rotate(45deg); }

.domaine-volet { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease-rideau); }
.domaine-volet > .domaine-corps { overflow: hidden; min-height: 0; }
.domaine.est-ouvert .domaine-volet, html:not(.js) .domaine-volet { grid-template-rows: 1fr; }
.domaine-corps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gouttiere); transition: opacity .5s ease .1s; }
.domaine:not(.est-ouvert) .domaine-corps { opacity: 0; }
html:not(.js) .domaine .domaine-corps { opacity: 1; }
.domaine-corps > * { padding-bottom: clamp(var(--e4), 4vw, var(--e5)); }
.domaine-texte { grid-column: 1 / 6; }
.domaine-texte p { color: var(--texte-clair); }
.domaine-actes { grid-column: 7 / 10; }
.domaine-actes li { padding: 9px 0; border-top: 1px solid var(--filet-clair); font-size: .9375rem; color: var(--blanc); }
.domaine-qui { grid-column: 10 / -1; }
.domaine-qui-titre { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--eau) !important; margin-bottom: 8px; }
.domaine-qui li { display: flex; flex-direction: column; padding: 8px 0; border-top: 1px solid var(--filet-clair); }
.domaine-qui a {
  font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; text-decoration: none; letter-spacing: -.01em;
  background: linear-gradient(var(--eau), var(--eau)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease);
  align-self: flex-start;
}
.domaine-qui a:hover { background-size: 100% 1px; }
.domaine-qui span { font-size: .8125rem; color: var(--texte-clair); }
.domaine-label { margin-top: 16px; width: 112px; background: var(--blanc); padding: 8px; }
.domaine-label--large { width: 200px; }

/* ---------- Vos notaires ---------- */
.notaires-entete { row-gap: 24px; align-items: end; }
.notaires-entete .titre-chapitre { grid-column: 1 / 8; }
.notaires-intro { grid-column: 8 / -1; }
.notaires-intro .chapeau { color: var(--profond); }

.trombinoscope {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: var(--gouttiere); row-gap: var(--e5);
  margin-top: var(--rythme-bloc);
}
.notaire { position: relative; scroll-margin-top: 100px; }
.notaire:nth-child(2) { margin-top: clamp(0px, 3vw, var(--e4)); }
.notaire:nth-child(3) { margin-top: clamp(0px, 7vw, var(--e6)); }
.notaire:nth-child(4) { margin-top: clamp(0px, 3vw, var(--e4)); }
.notaire:nth-child(5) { margin-top: 0; }
/* Portrait entier au ratio natif (435 × 442), en couleur */
.notaire-photo { aspect-ratio: 435 / 442; max-width: 435px; }
.notaire-photo img { object-position: 50% 30%; }
.notaire:hover .notaire-photo img { transform: scale(1.04); }
/* Devise : se révèle sur le portrait au survol */
.notaire-devise {
  position: absolute; top: 0; left: 0; width: 100%; max-width: 435px; aspect-ratio: 435 / 442; z-index: 2;
  display: flex; align-items: flex-end; overflow: hidden; pointer-events: none;
}
.notaire-devise-boite {
  width: 100%; padding: 16px 24px 24px; background: var(--profond); color: var(--blanc);
  transform: translateY(101%); transition: transform .65s var(--ease-rideau);
}
.notaire-devise p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.125rem; line-height: 1.3; }
.notaire:hover .notaire-devise-boite { transform: none; }
.notaire-nom {
  margin-top: 16px; font-family: var(--serif); font-variation-settings: "opsz" 72;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.08; letter-spacing: -.02em; color: var(--profond);
}
.notaire-nom span.trait { background: linear-gradient(var(--petrole), var(--petrole)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.notaire:hover .notaire-nom span.trait { background-size: 100% 1px; }
.notaire-specialite { margin: 8px 0 8px; color: var(--petrole); font-weight: 600; font-size: .9375rem; }
.notaire-parcours { color: var(--gris); font-size: .9375rem; margin: 0; }
.notaire:target .notaire-nom { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* ---------- Les offices ---------- */
.offices-titre { max-width: 12ch; }
.offices { display: grid; grid-template-columns: 1fr 1fr; margin-top: var(--rythme-bloc); border-top: 1px solid var(--filet-clair); }
.office { padding: clamp(var(--e4), 4vw, var(--e5)) clamp(var(--e2), 3vw, var(--e5)) 0 0; }
.office + .office { padding-left: clamp(var(--e2), 3vw, var(--e5)); border-left: 1px solid var(--filet-clair); }
.office-ville { font-family: var(--serif); font-variation-settings: "opsz" 72; font-size: clamp(3.2rem, 1.4rem + 6vw, 8.5rem); line-height: .92; letter-spacing: -.05em; color: var(--eau); }
.office-accroche { font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); line-height: 1.35; margin: 24px 0 40px; max-width: 30ch; }
.office-fiche { display: grid; gap: 24px; }
.office-fiche address { font-style: normal; display: flex; flex-direction: column; font-size: 1.125rem; color: var(--blanc); }
.office-contact { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.office-contact a { color: var(--blanc); text-decoration: none; align-self: flex-start; border-bottom: 1px solid var(--filet-clair); transition: border-color .3s ease; overflow-wrap: anywhere; }
.office-contact a:first-child { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); letter-spacing: -.02em; border: 0; }
.office-contact a:hover { border-color: var(--eau); }
.horaires { margin: 0; border-top: 1px solid var(--filet-clair); }
.horaires div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; border-bottom: 1px solid var(--filet-clair); }
.horaires dt { color: var(--texte-clair); }
.horaires dd { margin: 0; color: var(--blanc); }
.office-equipe { font-size: .9375rem; margin: 0; }
.office .lien-fleche { color: var(--eau); justify-self: start; }

/* ---------- Rendez-vous ---------- */
.rdv { row-gap: var(--rythme-titre); }
.rdv .titre-chapitre { grid-column: 1 / 10; }
.rdv-cas { grid-column: 1 / -1; display: grid; grid-template-columns: 7fr 5fr; gap: var(--gouttiere); }
.rdv-bloc { padding: clamp(var(--e3), 4vw, var(--e5)); border: 1px solid var(--filet); display: flex; flex-direction: column; align-items: flex-start; }
.rdv-bloc--plein { background: var(--eau); border-color: var(--eau); }
.rdv-texte { font-family: var(--serif); font-size: clamp(1.35rem, 1.05rem + 1vw, 2.1rem); line-height: 1.25; letter-spacing: -.015em; color: var(--profond); max-width: 26ch; margin: 16px 0 1.4em; }
.rdv-liens { display: flex; flex-direction: column; gap: 8px; margin: auto 0 0; color: var(--profond); }
.js .rdv-bloc--plein { background: transparent; position: relative; isolation: isolate; }
.js .rdv-bloc--plein::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--eau);
  transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-rideau);
}
.js .rdv-bloc--plein > * { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .5s, transform .8s var(--ease) .5s; }
.js .rdv-bloc--plein.est-visible::before { transform: none; }
.js .rdv-bloc--plein.est-visible > * { opacity: 1; transform: none; }
.js:not(.socle-pret) .rdv-bloc--plein::before, .js:not(.socle-pret) .rdv-bloc--plein > * { animation: secours-socle 0s 3s forwards; }

/* ---------- Honoraires ---------- */
.honoraires { row-gap: 40px; }
.honoraires-entete { grid-column: 1 / 6; }
.honoraires-entete .titre-chapitre { margin-bottom: 40px; }
.honoraires-entete .chapeau { color: var(--profond); }
.honoraires-entete .lien-fleche { color: var(--petrole); }
.tarifs { grid-column: 7 / -1; border-collapse: collapse; width: 100%; align-self: start; }
.tarifs thead th { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gris); text-align: left; padding: 0 0 16px; border-bottom: 1px solid var(--profond); }
.tarifs thead th:last-child, .tarifs td { text-align: right; }
.tarifs tbody th, .tarifs td { padding: 24px 0; border-bottom: 1px solid var(--filet); vertical-align: baseline; }
.tarifs tbody tr { transition: background-color .3s ease; }
.tarifs tbody tr:hover { background: rgba(255, 255, 255, .55); }
.tarifs tbody th { text-align: left; font-family: var(--serif); font-weight: 400; font-size: clamp(1.2rem, 1rem + .6vw, 1.6rem); color: var(--profond); letter-spacing: -.01em; padding-right: 24px; }
.tarifs tbody th span { display: block; font-family: var(--sans); font-size: .875rem; color: var(--gris); letter-spacing: 0; margin-top: 2px; }
.tarifs td { font-weight: 600; color: var(--petrole); white-space: nowrap; font-variant-numeric: tabular-nums; }
.honoraires-note { grid-column: 7 / -1; font-size: .875rem; color: var(--gris); margin: 0; }

/* ---------- Contact ---------- */
.contact-grille { row-gap: 40px; }
.contact-intro { grid-column: 1 / 7; }
.contact-intro .titre-chapitre { margin-bottom: 40px; }
/* Un seul courriel pour les deux offices : dit une fois, sous les deux fiches */
.offices-courriel {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--e1) var(--e3);
  margin: var(--e5) 0 0; padding-top: var(--e3); border-top: 1px solid var(--filet-clair); color: var(--texte-clair);
}
.offices-courriel a { color: var(--blanc); font-family: var(--serif); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); letter-spacing: -.01em; text-decoration: none; border-bottom: 1px solid var(--filet-clair); overflow-wrap: anywhere; transition: border-color .3s ease; }
.offices-courriel a:hover { border-color: var(--eau); }
.contact-direct { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.contact-direct a { color: var(--eau); text-decoration: none; align-self: flex-start; border-bottom: 1px solid var(--filet-clair); overflow-wrap: anywhere; }
.contact-direct a:hover { border-color: var(--eau); }
.contact-grille .formulaire { grid-column: 8 / -1; }

/* ---------- Adaptations ---------- */
@media (min-width: 600px) {
  .titre-affiche .l { display: block; }
}
@media (min-width: 1100px) {
  .ouverture-texte { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 26rem); column-gap: clamp(var(--e4), 4vw, var(--e5)); align-items: end; }
  .ouverture-haut { grid-column: 1 / -1; }
  .ouverture .titre-affiche { font-size: clamp(3.1rem, .6rem + 7.4vw, 9.6rem); }
  .ouverture-pied { margin-top: 0; padding-bottom: .9rem; gap: 24px; }
  .ouverture-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 1180px) {
  .notaire-nom { font-size: 1.4rem; }
  .domaine-texte { grid-column: 1 / -1; }
  .domaine-actes { grid-column: 1 / 7; }
  .domaine-qui { grid-column: 8 / -1; }
}
@media (max-width: 899px) {
  .ouverture-scene { grid-template-columns: minmax(0, 1fr); }
  .sommaire { display: none; }
  .ouverture-photo { grid-template-columns: minmax(0, 1fr); }
  .ouverture-photo .photo { grid-column: 1; }
  .ouverture-photo figcaption { grid-column: 1; grid-row: 2; max-width: none; padding-top: var(--e2); }
  .ouverture { --debord: clamp(120px, 34vw, 260px); }
  .office-titre, .office-texte, .office-citation { grid-column: 1 / -1; grid-row: auto; }
  .office-citation { margin: 8px calc(-1 * var(--marge)) 0; }
  .reperes { grid-template-columns: 1fr; }
  .repere { padding-right: 0; }
  .repere + .repere { padding-left: 0; border-left: 0; border-top: 1px solid var(--filet); margin-top: 24px; }
  .repere dd { margin-top: 8px; }
  .situations-entete .titre-chapitre, .situations-entete .chapeau,
  .notaires-entete .titre-chapitre, .notaires-intro,
  .rdv .titre-chapitre, .honoraires-entete, .tarifs, .honoraires-note,
  .contact-intro, .contact-grille .formulaire { grid-column: 1 / -1; }
  .domaine-titre button { grid-template-columns: minmax(0, 1fr) 44px; }
  .domaine-verbes { grid-column: 1 / 2; grid-row: 2; text-align: left; max-width: none; }
  .domaine-signe { grid-column: 2; grid-row: 1 / 3; }
  .domaine-actes, .domaine-qui { grid-column: 1 / -1; }
  .domaine-actes { padding-bottom: 24px; }
  .trombinoscope { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notaire:nth-child(n) { margin-top: 0; }
  .notaire:nth-child(2n) { margin-top: clamp(0px, 6vw, var(--e5)); }
  /* Cinquième portrait : pleine largeur, portrait à gauche et nom à droite, aucune case vide */
  .notaire:nth-child(5) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: inherit; align-items: end; }
  .notaire:nth-child(5) .notaire-photo { grid-row: 1 / span 2; }
  .notaire:nth-child(5) .notaire-nom { align-self: end; margin-top: 0; }
  .notaire:nth-child(5) .notaire-titre { align-self: start; }
  .offices { grid-template-columns: 1fr; }
  .office + .office { padding-left: 0; border-left: 0; border-top: 1px solid var(--filet-clair); margin-top: 40px; }
  .rdv-cas { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .ouverture { padding-top: 112px; }
  .ouverture-actions .bouton { width: 100%; }
  .trombinoscope { column-gap: 16px; row-gap: 40px; }
  .notaire:nth-child(n) { margin-top: 0; }
  .notaire-nom { font-size: 1.3rem; margin-top: 16px; }
  .notaire-specialite, .notaire-parcours { font-size: .875rem; }
  .tarifs tbody th { padding-right: 16px; }
  .tarifs td { white-space: normal; }
}
/* Écrans tactiles : la devise s'affiche sous le portrait */
/* Écrans sans survol : la devise reste visible en permanence, en citation sous la fiche */
@media (hover: none) {
  .notaire-devise {
    position: static; width: auto; max-width: 34ch; aspect-ratio: auto; display: block; overflow: visible; pointer-events: auto;
    margin: var(--e2) 0 0; padding: var(--e2) 0 0; border-top: 1px solid var(--filet);
  }
  .notaire-devise-boite { transform: none; transition: none; background: none; color: var(--profond); padding: 0; }
  .notaire-devise p {
    font-size: 1.0625rem; line-height: 1.4; color: var(--petrole);
    font-variation-settings: "opsz" 24; text-wrap: pretty;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ouverture-photo .photo { clip-path: none !important; }
  .ouverture-photo .photo img { transform: none !important; }
  .js .rdv-bloc--plein::before, .js .rdv-bloc--plein > * { opacity: 1 !important; transform: none !important; }
}

/* Horaires rappelés à côté du formulaire */
.contact-horaires { margin: 40px 0 0; border-top: 1px solid var(--filet-clair); }
.contact-horaires div { padding: 16px 0; border-bottom: 1px solid var(--filet-clair); }
.contact-horaires dt { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--eau); }
.contact-horaires dd { margin: 4px 0 0; color: var(--texte-clair); }
.notaire-nom { transition: color .4s ease; }
.notaire:hover .notaire-nom { color: var(--petrole); }

/* Équipe de cinq : titre accordé sous le nom */
/* En bas de casse : les capitales espacées restent réservées aux folios et aux étiquettes */
.notaire-titre { margin: 8px 0 0; font-size: .9375rem; font-weight: 500; color: var(--gris); }
.notaire-titre + .notaire-specialite { margin-top: 8px; }
@media (min-width: 900px) and (max-width: 1180px) {
  .trombinoscope { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .notaire:nth-child(n) { margin-top: 0; }
  .notaire:nth-child(3n+2) { margin-top: clamp(0px, 5vw, var(--e5)); }
}

/* ---------- Finition de l'accueil ---------- */
/* Offices : les deux colonnes partagent les mêmes lignes (adresses alignées) */
.offices { grid-auto-rows: auto; }
.office { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.office-accroche { margin: var(--e3) 0 var(--e4); align-self: start; }
/* Cinq portraits : noms à la mesure de la colonne */
@media (min-width: 1181px) {
  .notaire-nom { font-size: clamp(1.4rem, .8rem + .9vw, 1.75rem); }
}
/* Chiffres repères : aucun bloc flottant, base alignée */
.reperes { align-items: start; }
.repere dt { min-height: 1em; }
/* Très petits écrans (320 px, largeur de référence WCAG) : les noms composés tiennent dans leur colonne */
@media (max-width: 359px) {
  .notaire-nom { font-size: 1rem; }
}
