:root {
  --bg: #ffffff;
  --bg-alt: #ffffff;
  --bg-dark: #111111;
  --text: #111111;
  --text-muted: #555555;
  --border: #dddddd;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* scroll-behavior: auto par défaut, smooth seulement quand ready */
  scroll-behavior: auto;
}

html.scroll-restore-pending {
  scroll-behavior: auto !important;
}

html.scroll-restore-pending body {
  visibility: hidden;
}

/* Activer smooth scroll une fois la page initialisée */
html.is-ready {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Roboto Flex", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: #f2f2f2;
  /* ✅ au lieu de var(--bg) */
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------- */
/* HEADER COMPLET (TOPBAR + NAV) */
/* --------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
}

/* TOPBAR */
.topbar {
  background-color: #111111;
  color: #ffffff;
  font-size: 0.8rem;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.topbar__email {
  text-decoration: none;
  color: #ffffff;
}

.topbar__left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 1.2rem;
}

.topbar__item:last-child {
  margin-right: 0;
}

.topbar__item span {
  font-weight: 600;
}

.topbar__icon-img {
  width: 18px;
  height: 18px;
  filter: invert(1);
  opacity: 0.9;
}

.topbar__left span {
  opacity: 0.9;
}

/* Langues FR / EN / ESP */
.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.lang-switch {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  opacity: 0.7;
}

.lang-switch--active {
  font-weight: 600;
  opacity: 1;
}

.lang-switch__sep {
  color: #ffffff;
  opacity: 0.7;
}

/* NAVBAR */
.header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Logo dans le header : caché au début, visible après scroll */
.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Quand JS ajoute cette classe, le logo devient visible */
.site-header--logo-visible .header__logo {
  opacity: 1;
  pointer-events: auto;
}

.header__logo img {
  height: 80px;
  width: auto;
}

/* Logo par défaut / scrollé */
.header__logo .logo-default {
  display: block;
}

.header__logo .logo-scrolled {
  display: none;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__mobile-tools {
  display: none;
  align-items: center;
  gap: 0.7rem;
}

.header__mobile-location {
  display: none;
  align-items: center;
  gap: 0.38rem;
  color: rgba(17, 17, 17, 0.58);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.header__mobile-location svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav__link {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 1px;
  background-color: var(--text);
  transition: width 0.2s ease;
}

.nav__link:hover::after {
  width: 100%;
}

/* BURGER MENU */
.header__phone-link,
.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.1);
  padding: 0;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.18s ease;
}

.header__burger {
  flex-direction: column;
  gap: 4px;
}

.header__burger span {
  width: 20px;
  height: 2px;
  background-color: var(--text);
  transition: background-color 0.25s ease;
}

.header__phone-link img {
  width: 18px;
  height: 18px;
  filter: brightness(0) saturate(100%);
  transition: filter 0.25s ease;
}

.header__phone-link:hover,
.header__burger:hover {
  background: rgba(17, 17, 17, 0.05);
  border-color: rgba(17, 17, 17, 0.18);
  transform: translateY(-1px);
}

/* --------------------------------------------- */
/* HERO */
/* --------------------------------------------- */

.hero--intro {
  position: relative;
  height: calc(100vh - 235px);
  min-height: 430px;
  background: #f2f2f2;
  /* zone grise */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content-centered {
  position: relative;
  text-align: center;
}

.hero__content--logo-only {
  max-width: none;
}

.hero__brand-intro {
  --hero-logo-source-width: min(86vw, 760px);
  --hero-logo-source-height: calc(var(--hero-logo-source-width) * 290 / 861);
  --hero-ask-source-left: calc(var(--hero-logo-source-width) * 42 / 861);
  --hero-ask-source-width: calc(var(--hero-logo-source-width) * 370 / 861);
  --hero-avocats-source-left: calc(var(--hero-logo-source-width) * 426 / 861);
  --hero-avocats-source-width: calc(var(--hero-logo-source-width) * 390 / 861);
  --hero-logo-gap: calc(var(--hero-logo-source-width) * 14 / 861);
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--hero-logo-gap);
  line-height: 1;
  margin-inline: auto;
}

.hero__logo-part,
.hero__logo-avocats-image {
  background-image: url("./images/logo-removebg-preview.png?v=20260503b");
  background-repeat: no-repeat;
  background-size: var(--hero-logo-source-width) var(--hero-logo-source-height);
}

.hero__logo-part--ask {
  width: var(--hero-ask-source-width);
  height: var(--hero-logo-source-height);
  background-position: calc(-1 * var(--hero-ask-source-left)) top;
  opacity: 1;
  transform: translateY(0);
  animation: heroLogoFade 0.9s ease-out 0.15s both;
}

.hero__logo-avocats-mask {
  position: relative;
  width: var(--hero-avocats-source-width);
  height: var(--hero-logo-source-height);
  margin-top: 0;
  overflow: hidden;
  opacity: 1;
  animation: heroLogoAvocatsReveal 1.05s steps(7, end) 1.05s both;
}

.hero__logo-avocats-image {
  position: absolute;
  top: 0;
  left: calc(-1 * var(--hero-avocats-source-left));
  width: var(--hero-logo-source-width);
  height: var(--hero-logo-source-height);
  background-position: left top;
}

.hero__logo-avocats-mask::after {
  content: "";
  position: absolute;
  top: 36%;
  right: 0;
  width: 2px;
  height: 28%;
  background: #111111;
  opacity: 0;
  animation:
    heroTypingCaret 0.72s step-end 1.05s 4,
    heroCaretOut 0.01s linear 3.96s forwards;
}

/* Logo au centre, très grand + fondu */
@keyframes heroLogoFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroAvocatsType {
  from {
    width: 0;
  }

  to {
    width: 7ch;
  }
}

@keyframes heroLogoAvocatsReveal {
  from {
    width: 0;
  }

  to {
    width: var(--hero-avocats-source-width);
  }
}

@keyframes heroAvocatsFade {
  to {
    opacity: 1;
  }
}

@keyframes heroTypingCaret {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@keyframes heroCaretOut {
  to {
    opacity: 0;
  }
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title-big {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero__subtitle-big {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Bouton héro */
.btn-hero-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 2.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #ffffff, #e6e6e6);
  color: #111111;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

.btn-hero-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.65),
      transparent);
  opacity: 0.7;
  pointer-events: none;
}

.btn-hero-modern__label {
  position: relative;
  z-index: 1;
}

.btn-hero-modern__icon {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
  color: #111111;
  background-color: rgba(255, 255, 255, 0.4);
}

.btn-hero-modern__icon-svg {
  width: 14px;
  height: 14px;
}

.btn-hero-modern:hover {
  background: linear-gradient(135deg, #111111, #222222);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-1px);
}

.btn-hero-modern:hover .btn-hero-modern__icon {
  transform: translateX(4px);
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

/* --------------------------------------------- */
/* SECTIONS */
/* --------------------------------------------- */

.section {
  padding: 4rem 0;
  background-color: #ffffff;
}

.section--legal {
  border-top: 1px solid var(--border);
}

.section--last {
  padding-bottom: 5rem;
}

.section__title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section__intro {
  color: var(--text-muted);
  max-width: 40rem;
  margin-bottom: 2rem;
}

/* --------------------------------------------- */
/* ÉQUIPE – CARTES AVOCATS */
/* --------------------------------------------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.lawyer-card {
  width: 70%;
  margin: 0 auto;
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.2rem;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.lawyer-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 0.6rem;
  cursor: pointer;
}

.lawyer-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.lawyer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lawyer-image-wrapper:hover .lawyer-image {
  filter: blur(2px);
  transform: scale(1.03);
}

.lawyer-image-wrapper:hover .lawyer-overlay {
  opacity: 1;
}

.lawyer-card__name {
  font-size: 1.1rem;
  margin: 0;
}

.lawyer-card__role {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* "Voir le profil" : noir, gras, souligné */
.lawyer-card__link {
  margin-top: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111111;
  text-decoration: underline;
  cursor: pointer;
}

/* --------------------------------------------- */
/* MODAL PROFIL AVOCAT */
/* --------------------------------------------- */

.lawyer-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.lawyer-modal--active {
  display: block;
}

.lawyer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.lawyer-modal__content {
  position: relative;
  max-width: 900px;
  margin: 6vh auto;
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.8rem 1.8rem 2.1rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.lawyer-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}

.lawyer-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 1.8rem;
  align-items: stretch;
}

.lawyer-modal__photo {
  border-radius: 0.75rem;
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  min-height: 260px;
}

.lawyer-modal__text {
  font-size: 0.95rem;
}

.lawyer-modal__header h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
}

/* Nom + LinkedIn côte à côte */
.lawyer-modal__name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lawyer-modal__name-row h3 {
  margin: 0;
  line-height: 1;
}

.lawyer-modal__name-row a {
  display: flex;
  align-items: center;
}

.lawyer-modal__linkedin-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
  transform: none;
}

.lawyer-modal__role {
  margin: 0 0 0.3rem 0;
  color: var(--text-muted);
}

.lawyer-modal__email,
.lawyer-modal__langues {
  margin: 0 0 0.2rem 0;
}

.lawyer-modal__links {
  margin: 0.4rem 0 0.8rem 0;
}

.lawyer-modal__links a {
  font-size: 0.9rem;
  color: #111111;
  text-decoration: underline;
}

.lawyer-modal__text h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
}

#modal-matieres {
  padding-left: 1.2rem;
  margin: 0;
}

/* --------------------------------------------- */
/* DOMAINES D’ACTIVITÉ – VERSION MODERNE        */
/* --------------------------------------------- */

.section--domains {
  background: #f6f6f6;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.domain-card {
  position: relative;
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.8rem 2.1rem;
  border: 2.25px solid rgba(17, 17, 17, 0.9);
  box-shadow:
    7px 7px 0 rgba(17, 17, 17, 0.055),
    0 18px 40px rgba(0, 0, 0, 0.055);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.domain-card:hover {
  transform: translateY(-4px);
  box-shadow:
    10px 10px 0 rgba(17, 17, 17, 0.08),
    0 22px 46px rgba(0, 0, 0, 0.12);
  border-color: #111111;
  background-color: #ffffff;
}

.domain-card__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.domain-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.domain-card__icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.domain-card__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Liste sans gros bullets, avec tiret doré custom */
.domain-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.domain-card__list li{
  position: relative;
  padding-left: 18px;          /* espace pour les chevrons */
  display: block;               /* on n'a plus besoin du flex */
} 

.domain-card__list li+li {
  margin-top: 0.15rem;
}

.domain-card__list li::before,
.domain-card__list li::after{
  content: "";
  position: absolute;
  top: 0.8em;                   /* aligné sur la 1ère ligne */
  width: 5px;
  height: 5px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateY(-50%) rotate(-45deg);
}

.domain-card__list li::before{
  left: 0;
  border-color: #aaa;           /* gris 1 */
}

.domain-card__list li::after{
  left: 5px;
  border-color: #ccc;           /* gris 2 (plus clair) */
}

@media (max-width: 768px) {
  .domain-card {
    padding: 1.5rem 1.6rem;
  }
}

/* --------------------------------------------- */
/* CONTACT – VERSION MODERNE                     */
/* --------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: flex-start;
}

/* Texte + coordonnées à gauche */
.contact__block {
  margin-bottom: 2rem;
}

/* Carte du formulaire côté droit */
.contact__form-wrapper {
  width: 100%;
}

.contact__form {
  border-radius: 1.15rem;
  padding: 1.5rem 1.7rem;
  /* plus compact */
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  /* moins d'espace entre les groupes */
}

/* Lignes avec 2 colonnes (Prénom / Nom, Email / Téléphone) */
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  /* plus serré */
  margin-bottom: 0.3rem;
  /* moins d'espace sous la ligne */
}

.form__group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 0.25rem;
  /* label + champ rapprochés */
  margin-bottom: 0.3rem;
  /* moins d'espace vertical global */
}

.form__group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Inputs + textarea */
.form__group input,
.form__group textarea {
  border-radius: 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.7rem 0.9rem;
  font: inherit;
  background: #fafafa;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.form__group textarea {
  min-height: 140px;
  /* un peu plus petit pour gagner de la place */
  resize: vertical;
}

/* Focus propre */
.form__group input:focus,
.form__group textarea:focus {
  outline: none;
  border-color: #111111;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}

/* --------------------------------------------- */
/* CONTACT – STATUT FORMULAIRE                   */
/* --------------------------------------------- */

.form__status {
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.4;
}

.form__status--success {
  color: #116b28;
}

.form__status--error {
  color: #b01010;
}

/* Optionnel : léger effet visuel quand le formulaire est en envoi */
.contact__form--loading {
  opacity: 0.8;
  pointer-events: none;
}

/* Messages d'erreur sous les champs */
.form__error {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: #b00020;
  /* rouge propre */
}

/* Champ en erreur */
.form__group--error input,
.form__group--error textarea {
  border-color: #b00020;
  background-color: #fff7f7;
  box-shadow: 0 0 0 1px rgba(176, 0, 32, 0.25);
}

/* --------------------------------------------- */
/* GOOGLE MAPS EMBED                             */
/* --------------------------------------------- */

.contact__map {
  margin-top: 1.5rem;
}

.map-embed {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 260px;
}

/* --------------------------------------------- */
/* INPUT FICHIER – STYLE MODERNE                 */
/* --------------------------------------------- */

.form__group input[type="file"] {
  padding: 0.55rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  background: #fafafa;
  font-size: 0.9rem;
}

/* Bouton moderne (navigateurs récents) */
.form__group input[type="file"]::file-selector-button {
  border: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  padding: 0.55rem 1.4rem;
  margin-right: 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease,
    box-shadow 0.2s ease;
}

.form__group input[type="file"]::file-selector-button:hover {
  background: #222222;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

/* Fallback Safari */
.form__group input[type="file"]::-webkit-file-upload-button {
  border: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  padding: 0.55rem 1.4rem;
  margin-right: 1rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  cursor: pointer;
}

/* --------------------------------------------- */
/* BOUTON ENVOYER                                */
/* --------------------------------------------- */

.btn {
  font: inherit;
  cursor: pointer;
}

.btn--primary {
  align-self: flex-start;
  border-radius: 999px;
  border: 1px solid #111111;
  background-color: #111111;
  color: #ffffff;
  padding: 0.75rem 2.4rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease;
}

.btn--primary:hover {
  background: #000000;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

/* --------------------------------------------- */
/* ICÔNES & COORDONNÉES                          */
/* --------------------------------------------- */

.contact__details {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact__detail-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text);
}

.contact__detail-line a {
  color: inherit;
  text-decoration: none;
}

.contact__detail-line a:hover {
  text-decoration: underline;
}

.contact__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  filter: none;
}

/* --------------------------------------------- */
/* GOOGLE MAPS PLACEHOLDER                       */
/* --------------------------------------------- */

.contact__map .map-placeholder {
  border-radius: 0.75rem;
  border: 1px dashed var(--border);
  padding: 2.2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: #fafafa;
}

/* --------------------------------------------- */
/* RESPONSIVE CONTACT                            */
/* --------------------------------------------- */

@media (max-width: 960px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .contact__form {
    padding: 1.4rem 1.4rem;
  }
}

/* --------------------------------------------- */
/* BLOCS LÉGAUX */
/* --------------------------------------------- */

.legal-content {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: justify;
}

.legal-content h3 {
  font-size: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.legal-content p {
  margin: 0 0 0.7rem 0;
}

.legal-content ul {
  margin: 0 0 0.7rem 0;
  padding-left: 1.2rem;
}

/* --------------------------------------------- */
/* FOOTER */
/* --------------------------------------------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
  background-color: #ffffff;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  gap: 1rem;
}

.footer__links {
  display: flex;
  gap: 1.2rem;
}

.footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer__links a:hover {
  text-decoration: underline;
}

.footer__contact {
  display: none;
}

#footer-contact {
  scroll-margin-top: 108px;
}

.footer__contact-title {
  margin: 0 0 0.15rem;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.footer__contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.72;
}

/* --------------------------------------------- */
/* RESPONSIVE */
/* --------------------------------------------- */

@media (max-width: 960px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar__inner {
    flex-direction: column;
    gap: 0.3rem;
    align-items: flex-start;
  }

  .lawyer-modal__layout {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }

  .header__mobile-tools {
    display: flex;
  }

  .header__phone-link,
  .header__burger {
    display: flex;
  }

  .header__nav {
    position: absolute;
    top: 100%;
    right: 0;
    padding: 1rem 1.5rem;
    background-color: #ffffff;
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .header__nav--open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero__title-big {
    font-size: 2.2rem;
  }
}

/* --------------------------------------------- */
/* HEADER VERSION SCROLLÉE */
/* --------------------------------------------- */

/* TOPBAR : on la replie au scroll au lieu de la supprimer */
.topbar {
  max-height: 52px;
  /* ajuste si besoin */
  overflow: hidden;
  transition: max-height .25s ease, opacity .25s ease, transform .25s ease;
  will-change: max-height, opacity, transform;
}

.site-header--scrolled .topbar {
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
}

.site-header--scrolled .header {
  background-color: #111111;
  border-bottom-color: #000000;
}

.site-header--scrolled .nav__link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header--scrolled .nav__link::after {
  background-color: #ffffff;
}

.site-header--scrolled .header__burger span {
  background-color: #ffffff;
}

.site-header--scrolled .header__phone-link {
  border-color: rgba(255, 255, 255, 0.18);
}

.site-header--scrolled .header__phone-link img {
  filter: brightness(0) invert(1);
}

.site-header--scrolled .header__mobile-location {
  color: rgba(255, 255, 255, 0.8);
}

.site-header--scrolled .header__phone-link:hover,
.site-header--scrolled .header__burger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.26);
}

/* Switch logo noir → blanc quand scrolled */
.site-header--scrolled .header__logo .logo-default {
  display: none;
}

.site-header--scrolled .header__logo .logo-scrolled {
  display: block;
}

/* Assure que le container du plugin prend toute la hauteur */
.form__group .iti {
  display: block;
  width: 100%;
  min-width: 0;
}

/* Champ téléphone : wrapper principal du plugin */
.form__group .iti--separate-dial-code {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 0.7rem;
  /* ✅ même arrondi */
  border: 1px solid rgba(0, 0, 0, 0.08);
  /* ✅ même bordure */
  background: #fafafa;
  /* ✅ même fond */
  overflow: visible;
  /* coins propres */
}

/* Container gauche (drapeau + indicatif) */
.form__group .iti__flag-container {
  display: flex;
  align-items: stretch;
  /* ✅ important */
  padding: 0;
  /* on laisse le padding au bon élément */
  background: transparent;
  /* le fond sera sur le bloc interne */
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

/* Le vrai bloc visible à gauche (celui qui contient drapeau + +33) */
.form__group .iti__selected-flag {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  /* ✅ remplit toute la hauteur */
  padding: 0 0.6rem;
  /* ✅ padding ici */
  background: #f2f2f2;
  /* ✅ fond gris qui remplit bien */
}

.form__group .iti input.iti__tel-input {
  display: block;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding-right: 0.9rem;
}

/* Focus */
.form__group .iti--separate-dial-code.iti--allow-dropdown.iti--focus {
  border-color: #111111;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.form__group .iti--separate-dial-code.iti--focus {
  border-color: #111111;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.form__group--error .iti--separate-dial-code {
  border-color: #b00020;
  background-color: #fff7f7;
  box-shadow: 0 0 0 1px rgba(176, 0, 32, 0.25);
}

/* Liste déroulante */
.form__group .iti__country-list {
  z-index: 10;
  border-radius: 0.7rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* On neutralise le style input de base SANS casser le padding auto du plugin */
#telephone {
  display: block;
  width: 100% !important;
  min-width: 0;
  max-width: 100%;
  border: none;
  background: transparent;
  box-shadow: none;
}

/* 1) Le dropdown ne doit JAMAIS être coupé par le bloc du drapeau */
.form__group .iti__flag-container {
  overflow: visible !important;
}

/* 2) Le dropdown doit passer au-dessus */
.form__group .iti__country-list {
  z-index: 9999 !important;
}

/* 3) Sécurité : s’assurer que le parent ne coupe pas non plus */
.form__group,
.contact__form,
.form__row {
  overflow: visible;
}

/* Micro-fix : le fond gris du +33 ne doit pas toucher pile les coins arrondis */
.form__group .iti__selected-flag {
  /* On rentre le bloc gris d'1px pour éviter le "bleed" dans les coins */
  margin: 1px 0 1px 1px;
  height: calc(100% - 2px);

  /* Rayon légèrement plus petit que le wrapper */
  border-top-left-radius: calc(0.7rem - 1px);
  border-bottom-left-radius: calc(0.7rem - 1px);
}

/* (sécurité) le container garde bien la forme du champ */
.form__group .iti__flag-container {
  border-top-left-radius: 0.7rem;
  border-bottom-left-radius: 0.7rem;
}

/* ============================================================
   TEAM – DESIGN PLUS MODERNE (noir / blanc / gris)
   À COLLER EN BAS DU style.css
   ============================================================ */

/* Grille plus équilibrée */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.2rem;
}

/* Carte plus premium */
.lawyer-card {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  min-height: 540px;

  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.25rem;
  background: #ffffff;
  padding: 1.4rem;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;

  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  position: relative;
  overflow: hidden;
}

/* Petit “grain” très léger (style luxe, discret) */
.lawyer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(0, 0, 0, 0.04), transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(0, 0, 0, 0.03), transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(0, 0, 0, 0.025), transparent 45%);
  pointer-events: none;
}

.lawyer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.10);
  border-color: rgba(0, 0, 0, 0.14);
}

/* Zone image plus “hero”, mieux cadrée */
.lawyer-image-wrapper {
  width: 100%;
  max-width: 360px;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;

  /* cadre premium */
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  background: #f6f6f6;
}

/* Image plus clean */
.lawyer-image {
  width: 100%;
  height: 320px;
  /* garde ton ratio actuel, mais plus “net” */
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Hover plus moderne : zoom léger + contraste */
.lawyer-image-wrapper:hover .lawyer-image {
  transform: scale(1.06);
  filter: contrast(1.02);
}

/* Overlay déjà présent : on le rend plus élégant */
.lawyer-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.10));
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

/* Typo + hiérarchie meilleure */
.lawyer-card__name {
  margin: 0.6rem 0 0;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.lawyer-card__role {
  margin: 0;
  font-size: 0.9rem;
  color: #4b4b4b;
}

/* Séparateur fin (donne du rythme) */
.lawyer-card__role::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 0.9rem auto 0;
  background: rgba(0, 0, 0, 0.10);
}

/* CTA moderne (sans changer le HTML) */
.lawyer-card__link {
  margin-top: 0.2rem;
  text-decoration: none;
  /* on remplace le soulignement par un vrai bouton */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);

  background: #111111;
  color: #ffffff;

  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;

  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.lawyer-card__link:hover {
  background: #000000;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

/* Responsive */
@media (max-width: 960px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .lawyer-card {
    max-width: 560px;
  }
}

/* Hover image : zoom + blur léger */
.lawyer-image-wrapper:hover .lawyer-image {
  transform: scale(1.06);
  filter: blur(2px) contrast(1.02);
}

/* Carte : réduire l'espace gauche/droite (en réduisant la carte), et augmenter un poil le haut */
.lawyer-card {
  max-width: 440px !important;
  /* ↓ diminue les marges gauche/droite autour de l'image */
  padding-top: 2rem !important;
  /* ↑ un tout petit peu plus d'air en haut */
}

/* ===========================
   MODAL AVOCAT – MODERNE
   =========================== */

.lawyer-modal__backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.lawyer-modal__content {
  max-width: 980px;
  margin: 5vh auto;
  padding: 0;
  /* on va gérer padding à l’intérieur */
  border-radius: 1.2rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  /* coins parfaits */
}

/* Layout interne plus premium */
.lawyer-modal__layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

/* Colonne photo : propre, sans blur */
.lawyer-modal__photo {
  min-height: 100%;
  background-size: cover;
  background-position: center;
  filter: none;
  /* ✅ enlève le blur actuel */
  position: relative;
}

/* léger dégradé en bas de la photo (style luxe) */
.lawyer-modal__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

/* Colonne texte */
.lawyer-modal__text {
  padding: 2rem 2.2rem;
  overflow: auto;
  max-height: 86vh;
  /* scroll si trop de contenu */
}

/* Header typographique */
.lawyer-modal__header h3 {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  margin: 0 0 0.35rem 0;
}

.lawyer-modal__role {
  margin: 0 0 1.1rem 0;
  color: #555;
}

/* Lignes “meta” (email / langues / linkedin) */
.lawyer-modal__email,
.lawyer-modal__langues {
  margin: 0.35rem 0;
  color: #333;
}

.modal-meta-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #222;
}

.modal-meta-line svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  opacity: 0.85;
}

/* Lien LinkedIn plus moderne */
.lawyer-modal__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;

  margin-top: 0.6rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;

  border: 1px solid rgba(0, 0, 0, 0.14);
  background: #111;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lawyer-modal__links a:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.lawyer-modal__links a svg {
  width: 16px;
  height: 16px;
}

/* Bouton close plus discret */
.lawyer-modal__close {
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: #111;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.15s ease, background 0.2s ease;
}

.lawyer-modal__close:hover {
  background: #fff;
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 900px) {
  .lawyer-modal__layout {
    grid-template-columns: 1fr;
  }

  .lawyer-modal__photo {
    min-height: 240px;
  }

  .lawyer-modal__text {
    padding: 1.4rem 1.4rem;
    max-height: 70vh;
  }
}

.modal-meta-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #222;
}

.modal-meta-line img {
  width: 16px;
  height: 16px;
  opacity: 0.85;
}

/* Icône LinkedIn (si c'est une image) : taille fixe */
.lawyer-modal__links a img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}

/* Container des liens : on les aligne proprement */
.lawyer-modal__links {
  margin-top: 0.6rem;
}

/* Le lien devient une simple pastille cliquable */
.lawyer-modal__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 999px;

  background: #111;
  border: 1px solid rgba(0, 0, 0, 0.14);
  text-decoration: none;

  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.lawyer-modal__links a:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

/* Taille de l'icône */
.lawyer-modal__links a img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
  filter: invert(1);
  /* rend l'icône blanche si ton png est noir */
}

/* Photo dans le modal : vraie <img> */
.lawyer-modal__photo {
  overflow: hidden;
  /* coins propres */
  background: #f2f2f2;
}

.lawyer-modal__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* cadrage pro */
}

/* ============================================================
   MODAL AVOCAT – V3 ULTRA MODERNE (photo | séparateur | texte)
   À COLLER TOUT EN BAS DU CSS
   ============================================================ */

.lawyer-modal__backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
}

.lawyer-modal__content {
  max-width: 1100px;
  margin: 5vh auto;
  padding: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  /* coins parfaits du conteneur global */
  background: #fff;
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.40);
}

/* Disposition + “séparateur” au milieu */
.lawyer-modal__layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}

/* Colonne photo : coins arrondis uniquement à gauche, DROITE carrée */
.lawyer-modal__photo {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.10);
  /* ✅ séparateur */
  border-top-left-radius: 1.25rem;
  border-bottom-left-radius: 1.25rem;
  border-top-right-radius: 0;
  /* ✅ pas arrondi côté texte */
  border-bottom-right-radius: 0;
  /* ✅ pas arrondi côté texte */
  background: #f2f2f2;
  filter: none;
}

/* Image injectée */
.lawyer-modal__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Dégradé léger, très premium */
.lawyer-modal__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.08), transparent 45%);
  pointer-events: none;
}

/* Colonne texte */
.lawyer-modal__text {
  padding: 2.1rem 2.3rem;
  max-height: 86vh;
  overflow: auto;
}

/* Header : on prépare un coin en haut à droite pour LinkedIn */
.lawyer-modal__header {
  position: relative;
  padding-right: 3.2rem;
  /* évite collision avec le bouton close/zone droite */
  margin-bottom: 1.1rem;
}

.lawyer-modal__header h3 {
  margin: 0 0 0.35rem 0;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
}

.lawyer-modal__role {
  margin: 0 0 1.05rem 0;
  color: #555;
}

/* Lignes “meta” (mail + langues) */
.modal-meta-line {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.45rem 0;
  color: #222;
  font-size: 0.95rem;
}

.modal-meta-line img {
  width: 18px;
  /* ✅ icônes un peu plus grandes */
  height: 18px;
  display: block;
  object-fit: contain;
  opacity: 0.9;
}

/* Placement LinkedIn : en haut à droite du bloc infos (logique) */
.lawyer-modal__links {
  position: absolute;
  top: 0.15rem;
  right: 0;
  margin: 0;
}

/* LinkedIn : icône seule, sans fond (tu mettras un logo bleu) */
.lawyer-modal__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  padding: 0;

  background: transparent;
  /* ✅ plus de fond noir */
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.9rem;
  text-decoration: none;

  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lawyer-modal__links a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.22);
}

.lawyer-modal__links a img {
  width: 22px;
  /* ✅ LinkedIn plus grand */
  height: 22px;
  display: block;
  object-fit: contain;
}

/* Bio plus lisible */
#modal-bio {
  margin-top: 1.2rem;
  line-height: 1.7;
  color: #2a2a2a;
  text-align: justify;
  white-space: pre-line;
}

/* Domaines en “chips” (ultra moderne) */
#modal-matieres {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#modal-matieres li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.8rem;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.4;
  border-radius: 0;
  background: transparent;
  border: none;
}

/* Double chevron >> gris moderne */
#modal-matieres li::before,
#modal-matieres li::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateY(-50%) rotate(-45deg);
  transition: border-color 0.2s ease;
}

#modal-matieres li::before {
  left: 0;
  border-color: #aaa;
}

#modal-matieres li::after {
  left: 5px;
  border-color: #ccc;
}

/* Bouton close : propre et discret */
.lawyer-modal__close {
  top: 1rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.10);
  display: grid;
  place-items: center;
}

/* Responsive */
@media (max-width: 900px) {
  .lawyer-modal__layout {
    grid-template-columns: 1fr;
  }

  .lawyer-modal__photo {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    /* séparateur horizontal */
    border-top-right-radius: 1.25rem;
    border-bottom-left-radius: 0;
  }

  .lawyer-modal__text {
    max-height: 70vh;
    padding: 1.4rem 1.4rem;
  }
}

/* ===== Séparateur premium (glass + halo) entre photo et texte ===== */

/* On enlève le séparateur basique */
.lawyer-modal__photo {
  border-right: none !important;
}

/* On prépare l'empilement pour que la bande passe au-dessus */
.lawyer-modal__layout {
  position: relative;
}

.lawyer-modal__photo,
.lawyer-modal__text {
  position: relative;
  z-index: 1;
}

/* La bande “glass” au milieu (pile entre les 2 colonnes) */
.lawyer-modal__layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 420px;
  /* ⚠️ doit matcher la largeur de la colonne photo */
  width: 28px;
  height: 100%;
  transform: translateX(-14px);
  /* centre la bande sur la jonction */

  /* Effet verre + dégradé subtil */
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.16),
      rgba(255, 255, 255, 0.10),
      rgba(0, 0, 0, 0.06));

  /* Le “wow” : flou du fond derrière la bande */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Détails premium : 2 traits fins + halo */
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  border-right: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 0 45px rgba(0, 0, 0, 0.22);

  pointer-events: none;
  z-index: 2;
}

/* Mobile : on coupe la bande verticale et on garde un séparateur horizontal élégant */
@media (max-width: 900px) {
  .lawyer-modal__layout::before {
    display: none;
  }

  .lawyer-modal__photo {
    border-bottom: none !important;
  }

  /* Bande “glass” horizontale entre photo et texte */
  .lawyer-modal__photo::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 100%;
    height: 28px;

    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.16),
        rgba(255, 255, 255, 0.10),
        rgba(0, 0, 0, 0.06));

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 0 45px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    z-index: 2;
  }
}

/* La croix doit toujours être au-dessus de tout */
.lawyer-modal__close {
  position: absolute;
  z-index: 9999;
  pointer-events: auto;
}

/* Sécu : tout pseudo-élément décoratif ne doit jamais bloquer les clics */
.lawyer-modal__content::before,
.lawyer-modal__content::after,
.lawyer-modal__layout::before,
.lawyer-modal__layout::after,
.lawyer-modal__photo::before,
.lawyer-modal__photo::after {
  pointer-events: none;
}

/* LinkedIn : on force à être visible et cliquable */
.lawyer-modal__links {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 9999 !important;
  pointer-events: auto !important;

  /* placement logique, à gauche du X */
  position: absolute !important;
  top: 1rem !important;
  right: 5rem !important;
}

.lawyer-modal__links a {
  display: inline-flex !important;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
}

.lawyer-modal__links a img {
  width: 26px;
  height: 26px;
  display: block;
  object-fit: contain;
}

.lawyer-modal__links a:hover img {
  transform: translateY(-1px);
}

.lawyer-modal__links a img {
  transition: transform 0.15s ease;
}

/* LinkedIn : pas de filtre + un peu plus gros */
.lawyer-modal__links a img {
  filter: none !important;
  /* ✅ enlève toute transformation de couleur */
  width: 30px !important;
  /* ✅ plus gros */
  height: 30px !important;
  object-fit: contain;
  display: block;
}

/* LinkedIn sous les domaines : placement + spacing */
#modal-linkedin {
  margin-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.65);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition: transform 0.15s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  text-decoration: none;
}

/* Icône plus grande */
#modal-linkedin img {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
}

/* Hover ultra moderne : lift + glow + focus ring doux */
#modal-linkedin:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.85);
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.14),
    0 0 0 4px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Accessibilité clavier */
#modal-linkedin:focus-visible {
  outline: none;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.14),
    0 0 0 4px rgba(0, 0, 0, 0.10);
}

/* LinkedIn sous les domaines (plus de position absolute) */
.lawyer-modal__links {
  position: static !important;
  margin-top: 1.1rem;
  display: flex;
  justify-content: flex-start;
}

/* Le lien = icône moderne “glass” */
#modal-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 46px;
  height: 46px;

  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.10);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.90);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition: transform 0.16s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
}

/* Icône plus grande + on garde la couleur BLEUE */
#modal-linkedin img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
  filter: none !important;
  /* ✅ empêche tout invert/filtre qui la rendrait noire */
}

/* Hover ultra moderne */
#modal-linkedin:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.16),
    0 0 0 5px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* Focus clavier */
#modal-linkedin:focus-visible {
  outline: none;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.16),
    0 0 0 5px rgba(0, 0, 0, 0.10);
}

/* LinkedIn : SANS bordures, juste l’icône */
#modal-linkedin {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  border-radius: 12px;
  /* juste pour un hover doux, invisible sans fond */
  text-decoration: none;
  transition: transform 0.16s ease, background 0.2s ease;
}

#modal-linkedin img {
  width: 34px;
  /* ajuste si tu veux + grand */
  height: 34px;
  display: block;
  object-fit: contain;
}

/* Hover moderne (très léger, pas “bouton”) */
#modal-linkedin:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.04);
  /* subtil */
}

/* ============================================================
   MODAL V4 — encore + moderne (sans toucher au contenu)
   À coller tout en bas
   ============================================================ */

/* Fond du modal + ombre plus premium */
.lawyer-modal__content {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
}

/* Layout : un peu plus “air” */
.lawyer-modal__layout {
  grid-template-columns: 460px minmax(0, 1fr);
}

/* Photo : contraste léger et rendu “pro” */
.lawyer-modal__photo img {
  transform: scale(1.01);
  filter: contrast(1.03) saturate(1.02);
}

/* Séparateur ultra clean (hairline + glow) */
.lawyer-modal__layout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 460px;
  /* doit matcher la colonne photo */
  width: 30px;
  height: 100%;
  transform: translateX(-15px);
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.14),
      rgba(255, 255, 255, 0.22),
      rgba(0, 0, 0, 0.05));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.02),
    0 0 55px rgba(0, 0, 0, 0.20);
}

/* Colonne texte : plus premium (padding + “paper”) */
.lawyer-modal__text {
  padding: 2.2rem 2.6rem;
}

/* Titre plus “brand” */
.lawyer-modal__header h3 {
  font-size: 1.55rem;
  letter-spacing: -0.01em;
}

/* Sous-titre plus léger */
.lawyer-modal__role {
  font-size: 0.98rem;
  color: rgba(0, 0, 0, 0.58);
}

/* Lignes mail/langues : meilleure hiérarchie */
.modal-meta-line {
  gap: 0.7rem;
  color: rgba(0, 0, 0, 0.78);
}

.modal-meta-line img {
  width: 18px;
  height: 18px;
  opacity: 0.95;
}

/* Bio : lisibilité ++ */
#modal-bio {
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.75;
  max-width: 58ch;
  text-align: justify;
  white-space: pre-line;
}

/* “Domaines” : chips plus modernes */
#modal-matieres {
  gap: 0.6rem;
}

#modal-matieres li {
  background: transparent;
  border: none;
  box-shadow: none;
  transition: none;
}

#modal-matieres li:hover {
  transform: none;
  box-shadow: none;
}

/* LinkedIn en bas : alignement + hover ultra subtil */
#modal-linkedin {
  margin-top: 1rem;
  opacity: 0.9;
}

#modal-linkedin:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: transparent;
  /* garde ton style actuel */
}

/* Bouton close plus “soft” */
.lawyer-modal__close {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10);
}

/* Responsive : cohérent avec nouvelle largeur */
@media (max-width: 900px) {
  .lawyer-modal__layout {
    grid-template-columns: 1fr;
  }

  .lawyer-modal__layout::before {
    display: none;
  }

  .lawyer-modal__text {
    padding: 1.5rem 1.5rem;
  }
}

/* =========================
   LinkedIn : net + moderne
   ========================= */

/* retire tout cadre/fond/ombre */
#modal-linkedin {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;

  width: auto !important;
  height: auto !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;
  /* juste pour l'effet hover */
  transition: transform .18s ease, filter .18s ease;
}

/* image plus nette (évite le blur dû au scaling) */
#modal-linkedin img {
  width: 36px;
  /* ajuste si tu veux */
  height: 36px;
  display: block;

  /* 🔥 netteté */
  image-rendering: auto;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  filter: none !important;
}

/* hover premium : petit “lift” + glow */
#modal-linkedin:hover {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.18));
}

/* feedback au clic */
#modal-linkedin:active {
  transform: translateY(-1px) scale(0.98);
}

/* =========================
   Domaines : bullet points modernes
   ========================= */

#modal-matieres {
  gap: 0.5rem;
  margin-top: 0.9rem;
}

/* base bullet point */
#modal-matieres li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.5rem;

  border-radius: 0;
  border: none;

  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;

  color: #333;
  font-weight: 400;
  font-size: 0.9rem;

  box-shadow: none;

  transition: none;
}

/* petit reflet “shine” (très moderne) */
/* Puce dorée moderne */
/* Double chevron >> gris (override) */
#modal-matieres li::before,
#modal-matieres li::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 2px solid;
  border-bottom: 2px solid;
  transform: translateY(-50%) rotate(-45deg);
  transition: border-color 0.2s ease;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

#modal-matieres li::before {
  left: 0;
  border-color: #aaa;
}

#modal-matieres li::after {
  left: 5px;
  border-color: #ccc;
}

/* hover : accentuation subtile */
#modal-matieres li:hover {
  color: #444;
}

#modal-matieres li:hover::before {
  border-color: #777;
}

#modal-matieres li:hover::after {
  border-color: #999;
}

/* option : si tu veux qu'elles soient moins “grosses” */
/* Responsive : ajustement pour mobile */
@media (max-width: 900px) {
  #modal-matieres li {
    font-size: 0.92rem;
    padding: 0.4rem 0;
    padding-left: 20px;
  }
}

#equipe,
#acces {
  scroll-margin-top: -70px;
  /* ajuste si besoin */
}

#domaines {
  scroll-margin-top: -50px;
  /* ajuste si besoin */
}

#contact {
  scroll-margin-top: -30px;
  /* ajuste si besoin */
}

/* =========================================
   FOOTER : boutons ultra modernes
   ========================================= */

.footer__links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 0.95rem;
  border-radius: 999px;

  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;

  color: rgba(0, 0, 0, 0.75);

  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(0, 0, 0, 0.10);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform 0.16s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

/* petit “shine” moderne */
.footer__links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.85),
      rgba(255, 255, 255, 0.15));
  opacity: 0.35;
  pointer-events: none;
}

/* hover premium */
.footer__links a:hover {
  transform: translateY(-2px);
  color: rgba(0, 0, 0, 0.92);
  border-color: rgba(0, 0, 0, 0.18);
  background: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.14),
    0 0 0 5px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* focus clavier (accessibilité) */
.footer__links a:focus-visible {
  outline: none;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.14),
    0 0 0 5px rgba(0, 0, 0, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

/* FOOTER : hover inversion (sans surlignage/shine) */
.footer__links a::before {
  display: none !important;
  /* enlève l'effet surligné */
}

.footer__links a {
  background: transparent;
  color: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: none;
  transition: transform 0.16s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer__links a:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
}

/* petit feedback au clic */
.footer__links a:active {
  transform: translateY(-1px);
}

/* FOOTER : mêmes codes visuels que le bouton "ENVOYER" */
.footer__links a {
  /* enlever le soulignement (normal + hover) */
  text-decoration: none !important;

  /* même style que .btn--primary */
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;

  /* même “pill” */
  border-radius: 999px;
  border: 1px solid #111111;
  background: transparent;
  color: #111111;

  /* padding équilibré (corrige le “collé en haut”) */
  padding: 0.75rem 1.6rem;
  line-height: 1;
  /* important pour centrer visuellement */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease,
    border-color 0.2s ease;
}

/* sécurité : pas de soulignement au hover/focus */
.footer__links a:hover,
.footer__links a:focus,
.footer__links a:focus-visible {
  text-decoration: none !important;
}

/* Hover inversion (comme tu voulais) */
.footer__links a:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
  transform: translateY(-1px);
}

.footer__links a:active {
  transform: translateY(0);
  box-shadow: none;
}

/* FOOTER : boutons noirs -> hover blanc */
.footer__links a {
  text-decoration: none !important;

  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;

  border-radius: 999px;
  border: 1px solid #111111;

  background: #111111;
  /* base noir */
  color: #ffffff;
  /* texte blanc */

  padding: 0.75rem 1.6rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.1s ease,
    border-color 0.2s ease;
}

/* jamais de soulignement */
.footer__links a:hover,
.footer__links a:focus,
.footer__links a:focus-visible {
  text-decoration: none !important;
}

/* hover blanc */
.footer__links a:hover {
  background: #ffffff;
  color: #111111;
  border-color: #111111;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.20);
  transform: translateY(-1px);
}

.footer__links a:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ============================= */
/* LEGAL PAGES – ULTRA MODERNE   */
/* ============================= */

.section--legal {
  background: radial-gradient(1200px 500px at 50% -120px, rgba(0, 0, 0, 0.06), transparent 60%),
    linear-gradient(#ffffff, #f7f7f7);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-page {
  max-width: 980px;
}

.legal-head {
  margin-bottom: 1.2rem;
  padding: 1.2rem 0 0.2rem;
}

.legal-title {
  margin-bottom: 0.35rem;
  font-size: clamp(1.8rem, 2.2vw, 2.3rem);
  letter-spacing: -0.02em;
}

.legal-subtitle {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 50rem;
}

/* petites pastilles FR/EN/ES */
.legal-chips {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.legal-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;
  backdrop-filter: blur(10px);
  transition: transform 0.15s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.legal-chip:hover {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-1px);
}

/* Carte principale */
.legal-content {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.2rem;
  padding: 1.6rem 1.7rem;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(12px);
}

/* Titres FR/EN/ES stylés comme des sections */
.legal-content h3 {
  margin: 1.2rem 0 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.02));
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #111111;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

/* Texte plus premium / lisible */
.legal-content p {
  margin: 0 0 0.85rem;
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.72);
}

/* Liens (mail) */
.legal-content a {
  color: #111111;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* Listes modernisées */
.legal-content ul {
  margin: 0.6rem 0 1rem;
  padding-left: 0;
  list-style: none;
}

.legal-content li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.45rem 0;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.72);
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

/* Mobile */
@media (max-width: 640px) {
  .legal-content {
    padding: 1.25rem 1.1rem;
    border-radius: 1rem;
  }

  .legal-content h3 {
    padding: 0.7rem 0.8rem;
  }
}

/* =========================
   Dropdown langues (topbar)
   ========================= */

.lang-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: .25rem .35rem;
}

.lang-dd__flag {
  font-size: 18px;
  line-height: 1;
}

.lang-dd__chev {
  opacity: .85;
  font-size: 12px;
}

/* menu */
.lang-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  background: #fff;
  border-radius: 10px;
  padding: .5rem;
  margin: 0;
  list-style: none;
  box-shadow: 0 14px 35px rgba(0, 0, 0, .18);
  border: 1px solid rgba(0, 0, 0, .08);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}

.lang-dd--open .lang-dd__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dd__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .75rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: #111;
}

.lang-dd__item:hover {
  background: rgba(0, 0, 0, .06);
}

.lang-dd__label {
  font-weight: 600;
  letter-spacing: .08em;
}

/* Sécurité : le dropdown doit être cliquable au-dessus */
.topbar {
  position: relative;
  z-index: 9999;
}

.lang-dd {
  position: relative;
  z-index: 9999;
}

.lang-dd__menu {
  z-index: 9999;
}

/* ============================= */
/* LANG DROPDOWN DANS LA NAVBAR  */
/* ============================= */

.header__nav {
  gap: 1.6rem;
}

/* Container dropdown */
.lang-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Bouton */
.lang-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  background: transparent;
  border: none;
  cursor: pointer;

  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 0.35rem 0.45rem;
  border-radius: 10px;

  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-dd__btn:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text);
}

.lang-dd__chev {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Menu */
.lang-dd__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);

  min-width: 140px;
  padding: 0.35rem;
  border-radius: 12px;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  display: none;
  z-index: 9999;
}

/* Ouvert */
.lang-dd--open .lang-dd__menu {
  display: block;
}

/* Item */
.lang-dd__item {
  width: 100%;
  text-align: left;

  border: none;
  background: transparent;
  cursor: pointer;

  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  font: inherit;
  color: #111;

  transition: background-color 0.15s ease;
}

.lang-dd__item:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Image du drapeau dans le bouton principal */
.lang-dd__flag-btn {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

/* Quand header est scrolled (fond noir) */
.site-header--scrolled .lang-dd__btn {
  color: rgba(255, 255, 255, 0.85);
}

.site-header--scrolled .lang-dd__btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* 🔥 pousse le sélecteur de langue tout à droite */
.header__nav .lang-dd {
  margin-left: auto;
}

/* (optionnel) un tout petit espace à droite pour pas coller au bord */
.header__nav .lang-dd__btn {
  margin-right: 0.2rem;
}

/* =========================
   Dropdown langues (header)
   ========================= */

.lang-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 1rem;
  /* laisse comme ça si le placement te va */
}

/* Bouton */
.lang-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.4rem 0.55rem;
  border-radius: 0.6rem;
  color: var(--text-muted);
}

.lang-dd__btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Menu (caché par défaut) */
.lang-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 130px;

  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.35rem;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 9999;
}

/* ✅ état ouvert */
.lang-dd--open .lang-dd__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Items */
.lang-dd__item {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;

  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  font: inherit;
  color: var(--text);
}

.lang-dd__item:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Si le header est en mode "scrolled" (fond noir), menu noir + texte blanc */
.site-header--scrolled .lang-dd__menu {
  background: #111111;
  border-color: #000000;
}

.site-header--scrolled .lang-dd__item {
  color: rgba(255, 255, 255, 0.9);
}

.site-header--scrolled .lang-dd__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* 🔥 Anti-bug : éviter que le menu soit coupé */
.site-header,
.header,
.header__inner,
.header__nav {
  overflow: visible;
}

/* Dropdown langues */
.lang-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 1rem;
}

.lang-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: .4rem .55rem;
  border-radius: .6rem;
}

/* caché par défaut */
.lang-dd__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 130px;

  background: #fff;
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .35rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .12);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}

/* ✅ ouvert */
.lang-dd--open .lang-dd__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dd__item {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: .55rem .6rem;
  border-radius: .55rem;
}

.lang-dd__item:hover {
  background: rgba(0, 0, 0, .06);
}

/* anti-coupe */
.site-header,
.header,
.header__inner,
.header__nav {
  overflow: visible;
}

/* =========================================================
   FIX FINAL — DROPDOWN LANGUES (prioritaire)
   À coller TOUT en bas du fichier
   ========================================================= */

.lang-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* IMPORTANT: on force display:block pour ne pas rester bloqué sur display:none ailleurs */
.lang-dd__menu {
  display: block;
  /* ✅ override */
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 140px;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  padding: 0.35rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 99999;
}

/* ✅ Ouverture : marche si tu toggles la classe OU aria-expanded */
.lang-dd.lang-dd--open .lang-dd__menu,
.lang-dd__btn[aria-expanded="true"]+.lang-dd__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Items */
.lang-dd__item {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  font: inherit;
  color: #111;
}

.lang-dd__item:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Anti-coupe */
.site-header,
.header,
.header__inner,
.header__nav {
  overflow: visible !important;
}

/* Google translate button near language dropdown */
/* google translate removed */

.file-ui {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  border: 1px dashed rgba(0, 0, 0, 0.18);
  border-radius: 0.9rem;
  padding: 0.55rem 0.9rem;
  background: #fafafa;
}

.file-ui__btn {
  border: none;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  padding: 0.55rem 1.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 600;
  cursor: pointer;
}

.file-ui__btn:hover {
  background: #222222;
}

.file-ui__name {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Honeypot anti-spam: hidden off-screen but still present in DOM */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ✅ FIX alignement nom + icône LinkedIn (modal header) */
.lawyer-modal__name-row {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

#modal-name {
  margin: 0;
  line-height: 1;
  /* ou 1.1 si tu préfères un poil plus aéré */
}

#modal-linkedin {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.lawyer-modal__linkedin-icon {
  display: block;
  transform: none !important;
  /* ✅ écrase tous les anciens translateY */
}

/* =========================================
   FIX ALIGNEMENT NOM + ICON LINKEDIN (WIN)
   ========================================= */
.lawyer-modal__name-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: .5rem !important;
}

#modal-name {
  margin: 0 !important;
  line-height: 1 !important;
}

#modal-linkedin {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

.lawyer-modal__linkedin-icon {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  transform: none !important;
  /* écrase ton ancien translateY */
  margin: 0 !important;
}

.lawyer-modal__linkedin-icon {
  transform: translateY(-1px) !important;
}

/* ===================================================
   MODAL — réduire la hauteur de TOUTE la fenêtre
   =================================================== */

/* Le “cadre” global du modal */
.lawyer-modal__content {
  height: 78vh !important;
  /* ✅ ajuste: 70vh / 75vh / 80vh */
  max-height: 78vh !important;
  margin: 6vh auto !important;
  /* ✅ réduit l'espace haut/bas (ajuste si besoin) */
  overflow: hidden !important;
  /* ✅ évite que ça déborde du cadre */
}

/* Le layout interne doit remplir toute la hauteur du modal */
.lawyer-modal__layout {
  height: 100% !important;
  align-items: stretch !important;
}

/* Photo = prend toute la hauteur disponible (sans agrandir le modal) */
.lawyer-modal__photo {
  height: 100% !important;
}

/* Texte = scroll à l’intérieur si c’est trop long */
.lawyer-modal__text {
  height: 100% !important;
  max-height: none !important;
  /* ✅ on enlève ton max-height: 86vh qui peut gêner */
  overflow: auto !important;
  /* ✅ scroll interne */
}

/* ===================================================
   MODAL — plus compact (hauteur réduite)
   =================================================== */

.lawyer-modal__content {
  height: 68vh !important;
  /* ✅ plus petit */
  max-height: 68vh !important;
  margin: 5vh auto !important;
  /* ✅ un peu moins d’air */
  overflow: hidden !important;
}

.lawyer-modal__layout {
  height: 100% !important;
  align-items: stretch !important;
}

.lawyer-modal__photo {
  height: 100% !important;
}

.lawyer-modal__text {
  height: 100% !important;
  max-height: none !important;
  overflow: auto !important;
}

/* ===================================================
   MODAL — centrage parfait (horizontal + vertical)
   =================================================== */

/* Le conteneur plein écran devient un flex */
.lawyer-modal--active {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 3vh 1.2rem;
  /* petit espace si l’écran est petit */
}

/* Le contenu n’a plus besoin de margin auto */
.lawyer-modal__content {
  margin: 0 !important;
  /* ✅ sinon ça décale */
}

.lawyer-modal__text {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: rgba(0, 0, 0, .25) transparent;
}

.lawyer-modal__text::-webkit-scrollbar {
  width: 10px;
}

.lawyer-modal__text::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .20);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

.lawyer-modal__text::-webkit-scrollbar-track {
  background: transparent;
}

.lawyer-modal__photo img {
  filter: saturate(0.95) contrast(1.02);
}

/* =========================================================
   MODAL — FINITION PREMIUM (scrollbar discrète + photo soft)
   À coller TOUT EN BAS du style.css
   ========================================================= */

/* 1) Scrollbar discrète (colonne texte) */
.lawyer-modal__text {
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: rgba(0, 0, 0, .22) transparent;
}

/* Chrome / Edge / Safari */
.lawyer-modal__text::-webkit-scrollbar {
  width: 10px;
}

.lawyer-modal__text::-webkit-scrollbar-track {
  background: transparent;
}

.lawyer-modal__text::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .18);
  border-radius: 999px;

  /* Donne un effet plus fin (thumb "décollé") */
  border: 3px solid transparent;
  background-clip: content-box;
}

.lawyer-modal__text::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, .28);
  border: 3px solid transparent;
  background-clip: content-box;
}

/* 2) Photo moins dominante (soft premium) */
.lawyer-modal__photo img {
  /* On calme la photo : un peu moins flashy */
  filter: saturate(0.85) contrast(0.98) brightness(1.02);
  transform: scale(1.01);
  /* garde le rendu clean */
}

/* Voile très subtil + vignette légère (premium, non agressif) */
.lawyer-modal__photo::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 50% 35%, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.10) 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.06));

  pointer-events: none;
}

/* Offset global pour les ancres avec header sticky */
html {
  scroll-padding-top: 140px; /* ajuste: 120 / 140 / 160 selon ton header */
}

/* (optionnel) au cas où tu cliques précisément sur #hero */
#hero {
  scroll-margin-top: 140px;
}

/* =========================
   LEGAL PAGES — SPACING FIX
   À coller tout en bas
   ========================= */

/* Réduit l’espace global en haut des pages légales */
.section.section--legal{
  padding-top: 2.45rem;     /* ↓ avant: 4rem via .section */
  padding-bottom: 4rem;    /* garde une fin confortable */
}

/* Réduit le “bloc titre” */
.legal-head{
  padding: 0.65rem 0 0;    /* ↓ avant: 1.2rem 0 0.2rem */
  margin-bottom: 1.2rem;  /* ↓ un peu plus compact */
}

/* Optionnel : si tu veux un titre un poil plus “near-top” */
.legal-title{
  margin-top: 0;
}

@media (max-width: 640px){
  .section.section--legal{
    padding-top: 1.2rem;
  }
  .legal-head{
    margin-bottom: 0.65rem;
  }
}

/* === ÉQUIPE : photos moins "dominantes" / moins zoomées === */

.lawyer-image-wrapper{
  aspect-ratio: 4 / 5;          /* au lieu de carré => rend l'image moins "visage" */
  overflow: hidden;
  background: #f3f3f3;          /* ton sur ton si le dézoom montre un peu de fond */
}

/* l'image dans la carte */
.lawyer-image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 18%;     /* remonte légèrement le cadrage (buste + tête) */
  transform: scale(0.93);       /* dézoom léger */
  transition: transform .35s ease;
}

/* si tu as un zoom au hover, le rendre plus discret */
.lawyer-image-wrapper:hover .lawyer-image{
  transform: scale(0.98);
}

/* Bords arrondis sur la photo (wrapper + image) */
.lawyer-image-wrapper{
  border-radius: 18px;   /* ajuste: 14px / 16px / 20px selon le rendu voulu */
  overflow: hidden;      /* indispensable pour couper proprement l'image */
}

.lawyer-image-wrapper img,
.lawyer-image{
  border-radius: 18px;   /* même valeur pour un rendu net */
}

.lawyer-modal__photo{
  position: relative;
  overflow: hidden;
}

/* Fond "remplissage" flouté avec la même photo (évite les bandes vides) */
.lawyer-modal__photo::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--modal-photo);
  background-size: cover;
  background-position: center;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: 0.35; /* ajuste si tu veux +/− visible */
}

/* Image principale : on affiche PLUS de l’image (pas de crop) */
.lawyer-modal__photo img{
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ montre les épaules & le décor */
  object-position: center;
  transform: scale(var(--modal-photo-scale, 0.92)); /* petit dézoom */
}

.lawyer-modal__photo img{
  object-position: var(--modal-photo-pos, 50% 50%);
}

/* FIX: équilibrer la "bordure" gauche/droite dans le modal */
.lawyer-modal__photo{
  --modal-photo-pos: 48% 50%; /* <- décale légèrement l'image vers la gauche */
}

.lawyer-modal__photo img{
  object-position: 48% 50% !important;
}

/* =========================================================
   FIX BORDURES PHOTO — gauche/droite identiques
   (à coller TOUT en bas du CSS)
   ========================================================= */

/* 1) On force un centrage horizontal propre */
.lawyer-modal__photo img{
  object-position: 50% 50% !important;
}

/* 2) Si tu vois encore un léger décalage, on compense ~7px */
.lawyer-modal__photo img{
  transform: translateX(-7px) scale(var(--modal-photo-scale, 0.92)) !important;
}

.lang-dd__item{
  display: flex;
  align-items: center;
  gap: .65rem;
}

.lang-dd__flag-img{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: block;
  object-fit: cover;
  border-radius: 3px; /* optionnel, joli */
}

.lang-dd__code{
  display: inline-block;
}

/* =========================
   NO-MOTION (anti-jumps)
   ========================= */
html.no-motion,
html.no-motion * ,
html.no-motion *::before,
html.no-motion *::after {
  transition: none !important;
  animation: none !important;
  scroll-behavior: auto !important;
}

/* =========================
   RESPONSIVE FINAL PASS
   ========================= */
img,
iframe {
  max-width: 100%;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 1.45rem;
  }

  .contact {
    gap: 2rem;
  }

  .lawyer-modal__content {
    width: min(100%, 920px);
  }
}

@media (max-width: 768px) {
  .topbar {
    font-size: 0.76rem;
    max-height: none;
  }

  .topbar__inner {
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0;
  }

  .topbar__left {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
  }

  .topbar__item {
    flex: 1 1 calc(50% - 0.225rem);
    min-width: 0;
    margin-right: 0;
    align-items: center;
    gap: 0.55rem;
    padding: 0.48rem 0.7rem;
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  }

  .topbar__item:last-child {
    flex-basis: 100%;
  }

  .topbar__item span {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.3;
  }

  .topbar__icon-img {
    flex: 0 0 18px;
    margin-top: 0;
  }

  .header__inner {
    justify-content: flex-end;
    min-height: 82px;
    padding: 0.95rem 0.85rem;
    gap: 1rem;
  }

  .header__logo {
    display: none;
  }

  .header__logo img {
    height: 48px;
  }

  .header__mobile-location {
    display: inline-flex;
    gap: 0.5rem;
    margin-left: 0.45rem;
    font-size: 0.82rem;
    letter-spacing: 0.15em;
  }

  .header__mobile-location svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.05;
  }

  .site-header--scrolled .header__mobile-location {
    display: none;
  }

  .site-header--logo-visible .header__logo,
  .site-header--scrolled .header__logo {
    display: flex;
    flex: 0 0 auto;
  }

  .header__nav {
    left: 1.45rem;
    right: 1.45rem;
    width: auto;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  }

  .site-header--scrolled .header__nav .nav__link {
    color: var(--text);
  }

  .site-header--scrolled .header__nav .nav__link::after {
    background-color: var(--text);
  }

  .site-header--scrolled .header__nav .lang-dd__btn {
    color: var(--text-muted);
  }

  .site-header--scrolled .header__nav .lang-dd__btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text);
  }

  .site-header--scrolled .header__nav .lang-dd__menu {
    background: #ffffff;
    border-color: var(--border);
  }

  .site-header--scrolled .header__nav .lang-dd__item {
    color: var(--text);
  }

  .site-header--scrolled .header__nav .lang-dd__item:hover {
    background: rgba(0, 0, 0, 0.06);
  }

  .header__nav .lang-dd {
    width: 100%;
    margin-left: 0;
  }

  .lang-dd,
  .lang-dd__btn {
    width: 100%;
  }

  .lang-dd__btn {
    justify-content: space-between;
  }

  .lang-dd__menu {
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
  }

  .header__nav .nav__link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.8rem 0.95rem;
    border-radius: 0.8rem;
    transition:
      background-color 0.18s ease,
      color 0.18s ease,
      transform 0.18s ease;
  }

  .header__nav .nav__link::after {
    display: none;
  }

  .header__nav .nav__link:hover,
  .header__nav .nav__link:focus-visible {
    background: #111111;
    color: #ffffff;
    transform: translateX(2px);
  }

  .site-header--scrolled .header__nav .nav__link:hover,
  .site-header--scrolled .header__nav .nav__link:focus-visible {
    color: #ffffff;
  }

  .hero--intro {
    min-height: 350px;
    height: calc(100svh - 140px);
  }

  .header__mobile-tools {
    margin-left: auto;
    gap: 0.85rem;
  }

  .header__phone-link,
  .header__burger {
    width: 46px;
    height: 46px;
  }

  .section {
    padding: 3rem 0;
  }

  .domains-grid {
    gap: 1rem;
  }

  .domain-card {
    padding: 1.35rem 1.25rem;
  }

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

  .contact__detail-line {
    align-items: flex-start;
  }

  .file-ui {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .file-ui__btn {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.15rem;
  }

  .footer__copyright {
    width: 100%;
    margin: 0;
    order: -1;
    text-align: center;
  }

  .footer__contact {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
    align-items: center;
  }

  .footer__contact-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
  }

  .footer__contact-item {
    align-items: flex-start;
    width: min(100%, 32rem);
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 1rem;
    background: rgba(17, 17, 17, 0.035);
    text-align: left;
  }

  .footer__contact-item span {
    line-height: 1.35;
    color: rgba(0, 0, 0, 0.82);
  }

  .footer__links {
    width: 100%;
  }

  .footer__links a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  #footer-contact {
    scroll-margin-top: 96px;
  }

  .header__inner {
    min-height: 80px;
    padding: 0.9rem 0.78rem;
  }

  .header__nav {
    left: 1.18rem;
    right: 1.18rem;
  }

  .header__mobile-location {
    gap: 0.44rem;
    margin-left: 0.38rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
  }

  .header__mobile-location svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
  }

  .header__logo img {
    height: 45px;
  }

  .hero--intro {
    min-height: 320px;
    height: calc(100svh - 130px);
  }

  .lawyer-card {
    max-width: 100% !important;
    min-height: auto;
    padding: 1.15rem 0.95rem 1.05rem;
    gap: 0.8rem;
  }

  .lawyer-image-wrapper {
    max-width: min(100%, 310px);
  }

  .lawyer-card__name {
    font-size: 1.1rem;
  }

  .lawyer-card__role {
    line-height: 1.45;
  }

  .lawyer-card__role::after {
    margin-top: 0.75rem;
  }

  .lawyer-card__link {
    padding: 0.68rem 1.05rem;
    font-size: 0.74rem;
  }

  .lawyer-modal--active {
    align-items: stretch;
    padding: 0.8rem;
    overflow-y: auto;
  }

  .lawyer-modal__content {
    width: 100%;
    height: min(90svh, 90vh) !important;
    max-height: min(90svh, 90vh) !important;
  }

  .lawyer-modal__layout {
    grid-template-columns: 1fr !important;
    grid-template-rows: clamp(300px, 86vw, 400px) minmax(0, 1fr);
    height: 100% !important;
  }

  .lawyer-modal__photo {
    min-height: 0;
    height: auto;
    max-height: none;
    background: #ebe8e4;
  }

  .lawyer-modal__photo::before {
    display: none;
  }

  .lawyer-modal__photo img {
    object-fit: cover !important;
    object-position: 50% 16% !important;
    transform: scale(1) !important;
  }

  .lawyer-modal__text {
    min-height: 0;
    padding: 1rem 1rem 1.15rem !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .lawyer-modal__header h3 {
    font-size: 1.35rem;
  }

  .lawyer-modal__name-row {
    align-items: flex-start !important;
    flex-wrap: wrap;
  }

  #modal-linkedin {
    margin-top: 0.15rem !important;
  }

  #modal-bio {
    text-align: left;
    line-height: 1.68;
  }

  .map-embed iframe {
    height: 220px;
  }

  .section.section--legal {
    padding-top: 1.5rem;
  }
}

@media (max-width: 375px) {
  .domain-card {
    padding: 1.2rem 1rem;
  }

  .file-ui {
    padding: 0.65rem 0.75rem;
  }
}
