/* Tokens mesurés sur alpinumlaw.com (Divi CSS live) + charte */
:root {
  --navy: #021d3c;
  --beige: #fefaf5;
  --teal: #357eb7;
  --teal-nav: #2f709f; /* D-027 : nav aria-current ≥4.5:1 sur blanc */
  --gold-charte: #e8c88c;
  --gold-accent: #e8b75c; /* spans « Erfolg » / stats live */
  --gold-hero-rule: #e8bd6d; /* divider hero live */
  --ink: #1a1a1a;
  --white: #ffffff;
  --section-tint: rgba(244, 244, 244, 0.18);
  --header-h: 64px;
  --max: 1080px; /* .et_pb_row / .container live */
  --font-title: "Montserrat", Helvetica, Arial, sans-serif;
  --font-body: "Inter", Helvetica, Arial, sans-serif;
  --font-hero-lead: "Montserrat", Helvetica, Arial, sans-serif;
  --font-stat-label: "Roboto", Helvetica, Arial, sans-serif;
  --font-btn: "Poppins", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 64px; /* header fixed live h=64 */
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-family: var(--font-btn);
}

.skip-link:focus {
  top: 1rem;
}

/*
 * Header / nav — mesures CDP live alpinumlaw.com (1440×900)
 * fixed h64 → scroll h54 ; logo 116→98 ; liens Montserrat 700 17px
 * actif #357eb7 ; soulignement #e8c88c 2px (::before right 100%→0, 0.3s)
 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  height: 64px;
  background: var(--white);
  box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0 0;
  transition: height 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.site-header.is-scrolled {
  height: 54px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 0 7px 0;
}

.site-header__inner {
  width: 100%;
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: flex-start; /* live : logo plein hauteur, menu abaissé */
  justify-content: space-between;
  box-sizing: border-box;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
}

.site-logo img {
  width: 116px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
  transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
}

.site-header.is-scrolled .site-logo img {
  width: 98px;
  height: 54px;
}

/* live #et-top-navigation : padding-top 25px (20px si header shrink) */
.site-nav {
  padding-top: 25px;
  transition: padding-top 0.4s ease-in-out;
}

.site-header.is-scrolled .site-nav {
  padding-top: 20px;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  /* live : padding-right 22px sur chaque li, gap visuel ~4px */
  gap: 0;
  line-height: 0;
}

.site-nav__list > li {
  padding-right: 22px;
  line-height: 0;
}

.site-nav__list > li:last-child {
  padding-right: 0;
}

.site-nav a {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--navy); /* #021d3c */
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 14px;
  text-transform: uppercase;
  padding: 0 0 25px;
  border: 0;
  transition: opacity 0.4s ease-in-out, background-color 0.4s ease-in-out;
  opacity: 1;
}

/* live : #top-menu li a::before — filet or qui s’étend au hover / page active */
.site-nav a::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: 0;
  right: 100%;
  bottom: 50%;
  height: 2px;
  background: var(--gold-charte); /* #e8c88c mesuré */
  transition: right 0.3s ease-out;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before {
  right: 0;
}

.site-nav a[aria-current="page"] {
  color: var(--teal-nav); /* D-027 #2f709f ≥4.5:1 — pas --teal décoratif */
}

.site-nav a[aria-current="page"]::before {
  right: 0;
  z-index: 2;
}

.site-nav__lang a {
  color: var(--navy); /* live : English = même couleur que les autres */
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--navy);
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

/* ——— Buttons (live computed: Poppins 600 / 18px / pad 5–8×12 / h≈45) ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  font-family: var(--font-btn);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7em;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
  border: 0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s ease, font-size 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 3px;
}

.btn--teal {
  background: var(--teal);
  color: var(--white);
}

.btn--teal:hover {
  background: #2c6a9a;
}

.split .btn,
.contact-band .btn {
  padding: 8px 12px;
}

/* ——— Title rule (Divi divider) ——— */
.title-rule {
  display: block;
  width: 150px;
  max-width: 100%;
  height: 0;
  border: 0;
  border-top: 3px solid var(--teal);
  margin: 0 0 1.25rem;
}

.title-rule--hero {
  border-top-color: var(--gold-hero-rule);
  /* même écart titre ↔ filet ↔ texte (demande utilisatrice + rythme live) */
  margin: 1.5rem 0; /* 24px / 24px */
}

/* ——— Hero ——— */
/* Live CDP 1440×900 : H=605, pad 111/90, bg 50% 0%, lead 700px → 3 lignes, CTA 45×~245 */
.hero {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 111px 0 90px;
  min-height: 605px;
  box-sizing: border-box;
  background: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  /* Live: overlay 180deg + image position 50% 0% (haut), pas center */
  background-image:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.19) 0%,
      rgba(255, 255, 255, 0.47) 100%
    ),
    var(--hero-image);
  background-position: 50% 0%, 50% 0%;
  background-size: cover, cover;
  background-repeat: no-repeat, no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 700px;
  max-width: calc(80% * 0.64833);
  margin: 0 0 0 max(10%, calc((100% - min(80%, var(--max))) / 2));
  padding: 0;
}

.hero h1 {
  margin: 0; /* l’écart sous le titre = margin-top du filet */
  color: var(--navy);
  font-family: var(--font-title);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3em;
  text-transform: uppercase;
}

.hero__lead {
  margin: 0 0 1.5rem;
  width: 100%;
  max-width: none;
  color: var(--navy);
  font-family: var(--font-hero-lead);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.8em;
}

.hero .btn {
  min-height: 45px;
  height: 45px;
  padding: 5px 12px;
  font-size: 18px;
  line-height: 1.7em;
  border-radius: 7px;
  box-sizing: border-box;
}

/* ——— About / stats (navy) ——— */
.about-band {
  background: var(--navy);
  color: var(--white);
  padding: 20px 0;
  overflow: hidden;
}

.about-band__inner {
  width: 80%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  padding: 2.5rem 0 2rem;
}

.about-band__heading {
  margin: 0 0 1.75rem;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3em;
  text-transform: uppercase;
}

.about-band__stats {
  display: grid;
  gap: 1.75rem;
}

.stat__value {
  margin: 0;
  color: var(--gold-accent);
  font-family: var(--font-title);
  font-size: 70px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.stat__label {
  margin: 0.65rem 0 0;
  font-family: var(--font-stat-label);
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
}

.about-band__copy {
  margin-top: 90px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4em;
}

.about-band__copy p {
  margin: 0 0 1em;
  color: var(--white);
}

.about-band__copy .btn {
  margin-top: 0.5rem;
}

/* ——— Split sections ——— */
.split {
  padding: 110px 0;
  background: var(--section-tint);
}

.split--insights {
  background: var(--beige);
  padding: 40px 0 80px;
}

.split__inner {
  width: 80%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: start;
}

.split--insights .split__inner {
  align-items: stretch;
}

.split h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.3em;
}

.split .accent {
  color: var(--gold-accent);
}

.split__copy p {
  margin: 0 0 0.85em;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4em;
}

.split__copy .btn {
  margin-top: 0.75rem;
}

/*
 * Insights — colonnes à hauteur égale :
 * le texte (avec respiration avant CTA) fixe la hauteur ;
 * l’image s’étire pour caler haut/bas. CTA jamais collé au texte.
 */
.split--insights .split__media--square {
  width: 100%;
  margin: 0;
  min-height: 100%;
  height: 100%;
}

.split--insights .split__media--square img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 18px 40px rgba(2, 29, 60, 0.12);
}

.split--insights .split__copy {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  height: 100%;
}

.split--insights .split__copy-main {
  flex: 0 0 auto;
  /* respiration minimale avant le CTA (jamais collé) */
  margin-bottom: 1.75rem;
}

.split--insights .split__copy-main .title-rule {
  margin: 0 0 1.25rem;
}

.split--insights .split__copy-main h2 {
  margin: 0 0 0.85rem;
}

.split--insights .split__copy-main p {
  margin: 0 0 0.85em;
}

.split--insights .split__copy-main p:last-child {
  margin-bottom: 0;
}

.split--insights .split__copy > .btn {
  /* le surplus de hauteur va ici ; l’air mini est déjà sur .split__copy-main */
  margin-top: auto;
  align-self: flex-start;
  flex-shrink: 0;
}

.split__media {
  margin: 0;
}

.split__media img {
  width: 100%;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 18px 40px rgba(2, 29, 60, 0.12);
}

/*
 * Success (Fabio) — colonnes à hauteur égale (demande utilisatrice) :
 * le texte fixe la hauteur ; la photo s’étire / crop (cover) haut/bas.
 */
.split--success .split__inner {
  align-items: stretch;
}

.split--success .split__copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.split--success .split__copy > .btn {
  margin-top: auto;
  align-self: flex-start;
  flex-shrink: 0;
}

.split--success .split__media {
  /* height:0 + min-height:100% : la photo ne force plus la ligne ; le texte pilote */
  width: 100%;
  margin: 0;
  height: 0;
  min-height: 100%;
  display: flex;
  justify-content: flex-end;
}

.split--success .split__media img {
  display: block;
  width: min(100%, 510px);
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
  margin-left: auto;
}

/* ——— Contact band (live CDP: card 1080×118, mt 373 / mb -50, 4 cols égales) ——— */
.contact-band {
  position: relative;
  width: 100%;
  margin: 60px 0 0;
  padding: 0;
  box-sizing: border-box;
  background: #faf5ef;
  /* Live: border-width 5vw 10vw 10vw 10vw — cadre crème plein viewport */
  border-style: solid;
  border-color: #faf5ef;
  border-width: 5vw 10vw 10vw 10vw;
  border-radius: 0;
  overflow: visible;
}

.contact-band__parallax-wrap {
  position: absolute;
  /* inset sous le border box = zone image */
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: 5px;
  z-index: 0;
}

.contact-band__bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  /* live Divi ~711px sur fenêtre ~441 → ~1.6× ; JS affine au scroll */
  height: 160%;
  /* live mesuré : background-position 50% 0% (pas center — évite le zoom milieu) */
  background: var(--band-image) 50% 0% / cover no-repeat;
  background-attachment: scroll;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.contact-band__inner {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  /* live CDP : margin-top 373px / margin-bottom -50px */
  margin-top: 373px;
  margin-bottom: -50px;
  padding: 0;
}

.contact-band__card {
  position: relative;
  z-index: 10;
  width: 100%;
  background: #fffdfc;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
  padding: 20px 10px 10px;
  border-radius: 5px;
  box-shadow: 6px 6px 18px 0 rgba(63, 22, 0, 0.2);
}

.contact-band__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  color: var(--navy);
  padding: 20px;
  border-right: 2px solid #ebe4dd;
}

.contact-band__item p {
  margin: 0;
  line-height: 1.35;
}

.contact-band__nowrap {
  white-space: nowrap;
}

.contact-band__item a {
  text-decoration: none;
  color: var(--navy);
}

.contact-band__item a:hover,
.contact-band__item a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
}

.contact-band__icon {
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  line-height: 1;
}

.contact-band__icon svg {
  width: 28px;
  height: 28px;
  display: block;
  overflow: visible;
  shape-rendering: geometricPrecision;
}

.contact-band__action {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 0;
}

.contact-band__action .btn {
  padding: 7px 12px;
  min-height: 45px;
  height: 45px;
  border-radius: 7px;
  box-sizing: border-box;
}

.contact-band__item--last {
  border-right: 0;
}

/* Kontakt map band : même cadre crème, fond carte statique (pas de parallaxe) */
.contact-band--static .contact-band__bg {
  height: 100%;
  background-position: 50% 50%;
  will-change: auto;
  transform: none;
}

.contact-band--static .contact-band__inner {
  /* live kontakt : pad-top section 400 → card plus basse ; mb card ≈ -86 */
  margin-top: 400px;
  margin-bottom: -86px;
}

/* Hit-area carte → Google Maps (sous la card, au-dessus du fond) */
.contact-band__map-hit {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  border-radius: 5px;
  cursor: pointer;
}

/* ——— Footer (live computed) ——— */
.site-footer {
  background: var(--navy);
  color: var(--white);
  /* mêmes marges latérales que le cadre contact (border 10vw) → même axe que la card */
  padding: 54px 10vw;
  box-sizing: border-box;
}

.site-footer__inner {
  /* même gabarit que .contact-band__inner (95% / max 1080) */
  width: 95%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 2.5rem;
  align-items: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* même axe gauche pour logo / bitcoin / legal (live ~+22px sous le glyphe) */
  padding-left: 0;
}

/* live CDP : IconeWhite 140×94 — léger agrandissement demandé */
.site-footer__logo {
  display: block;
  width: 156px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

/* badge fourni utilisatrice — un peu plus grand que live 79×31 */
.site-footer__bitcoin {
  display: block;
  width: 96px;
  max-width: 100%;
  height: auto;
  margin: 8px 0 0;
  /* aligne le bord gauche du glyphe bitcoin sur celui du logo (zone transparente PNG) */
  margin-left: 2px;
}

.site-footer__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3em;
  line-height: 1.6em;
  text-transform: uppercase;
  color: #e8c27d;
}

.site-footer__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__menu a {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 180%;
  text-transform: uppercase;
  color: var(--white);
}

.site-footer__menu a:hover,
.site-footer__menu a:focus-visible {
  color: #e8c27d;
}

.site-footer__legal {
  margin: 0.85rem 0 0;
  padding: 0;
}

.site-footer__legal a {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  text-decoration: underline;
  line-height: 1.3;
}

.site-footer__social-title {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4em;
  text-transform: uppercase;
  color: var(--white);
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-top: 0;
  padding: 0;
  background: #007bb6;
  color: var(--white);
  text-decoration: none;
  border-radius: 3px;
}

.linkedin-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.linkedin-btn:hover,
.linkedin-btn:focus-visible {
  filter: brightness(1.08);
}

@media (max-width: 980px) {
  .site-header__inner,
  .about-band__inner,
  .split__inner,
  .site-footer__inner {
    width: calc(100% - 3rem);
  }

  .hero__content {
    width: calc(100% - 3rem);
    max-width: none;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
  }

  .about-band__inner,
  .split__inner,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .about-band__copy {
    margin-top: 15px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero__lead {
    font-size: 19px;
  }

  .about-band__heading {
    font-size: 20px;
  }

  .stat__value {
    font-size: 60px;
  }

  .split--success .split__media {
    height: auto;
    min-height: 0;
  }

  .split--success .split__media img,
  .split__media--square img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .split--success .split__media img {
    aspect-ratio: 2 / 3;
  }

  .contact-band {
    border-width: 5vw;
  }

  .contact-band__inner {
    width: calc(100% - 2rem);
    margin-top: 180px;
    margin-bottom: 0;
  }

  .contact-band__card {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .contact-band__item {
    border-right: 0;
    border-bottom: 2px solid #ebe4dd;
  }

  .contact-band__action {
    justify-content: flex-start;
    padding: 16px;
  }

  .contact-band__nowrap {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-header__inner {
    position: relative;
    padding: 0 1.5rem;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid rgba(2, 29, 60, 0.08);
    padding: 0.75rem 1.5rem 1.15rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .site-nav__list > li {
    padding-right: 0;
  }

  .site-nav a {
    padding: 0.35rem 0;
  }

  .hero {
    padding: 70px 0 60px;
    min-height: 0;
  }

  .about-band,
  .split {
    padding: 3rem 0;
  }

  .about-band__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }

  .stat__value {
    font-size: 2rem;
  }

  .stat__label {
    font-size: 0.72rem;
  }

  .split h2 {
    font-size: 22px;
  }
}

/* ——— Page hero Kanzlei (live CDP 1440: section H=253, H1 y≈119, lead y≈220) ——— */
.page-hero--navy {
  background: var(--navy);
  color: var(--white);
  /* calé sur positions live (pas seulement padding Divi déclaré 15/25) */
  padding: 55px 0 72px;
  min-height: 253px;
  box-sizing: border-box;
  text-align: center;
}

.page-hero__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.page-hero__title {
  margin: 0 0 26px;
  padding: 0 0 10px;
  font-family: var(--font-title);
  font-size: 50px;
  font-weight: 700;
  line-height: 65px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--white);
}

.page-hero__lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--white);
}

/* ——— Page hero Expertise (live CDP 1440: section H=237, H1 weight 500, offset 62) ——— */
.page-hero--expertise {
  padding: 62px 0 38px;
  min-height: 237px;
}

.page-hero--expertise .page-hero__title {
  margin: 0;
  font-weight: 500;
}

.page-hero--expertise .title-rule--hero {
  margin: 12px auto 22px;
}

/* ——— Page hero Kontakt (live CDP 1440: section H=287, H1 weight 600) ——— */
.page-hero--kontakt {
  padding: 54px 0 45px;
  min-height: 287px;
}

.page-hero--kontakt .page-hero__title {
  margin: 0;
  font-weight: 600;
}

.page-hero--kontakt .title-rule--hero {
  margin: 12px auto 22px;
}

.page-hero__lead--wide {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  line-height: 25.2px;
}

/* ——— Page hero Privacy (live CDP 1440: H=255, H1 45/700) ——— */
.page-hero--privacy {
  /* live CDP 1440: section H=255 — pad calé pour total 255 (contenu ~156) */
  padding: 50px 0 49px;
  min-height: 255px;
}

.page-hero__title--privacy {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
  line-height: 58.5px;
  padding: 0 0 10px;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.page-hero--privacy .title-rule--hero {
  margin: 12px auto 22px;
}

/* ——— Legal / Datenschutzerklärung ——— */
.legal {
  background: var(--section-tint);
  padding: 30px 0 30px;
}

.legal__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.legal__block {
  margin: 0 0 2.5rem;
}

.legal__heading {
  margin: 0;
  padding: 0 0 10px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #333;
}

.legal__block > .title-rule {
  margin: 0 0 30px;
}

.legal__section {
  margin: 0 0 2rem;
}

.legal__section-title {
  margin: 0 0 0.85rem;
  padding: 0 0 10px;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #333;
}

.legal__p {
  /* live / capture : Inter 17/300 lh 20.4, pad-bottom 17 */
  margin: 0;
  padding: 0 0 17px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 20.4px;
}

.legal__p a {
  color: var(--teal);
  text-decoration: underline;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.legal__p strong {
  font-weight: 600;
}

/* Clauses numérotées dans un article (1. Verwendung… / 9.1 Recht…) — capture + live <b> */
.legal__clause {
  margin: 0;
  padding: 0 0 17px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 20.4px;
  text-transform: none;
}

.legal__clause strong {
  font-weight: 700;
}

.legal__list {
  /* live contenu privacy : Inter 17/300 lh 26, pl 17, disc — pas 14/600 nav */
  margin: 0;
  padding: 0 0 17px 17px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 26px;
  list-style: disc;
}

.legal__list li {
  margin: 0;
}

/* ——— Kontakt form (live CDP: cols 396 + 60 + 624 ; gaps champs ≈19 ; textes 16/300) ——— */
.kontakt-form {
  background: var(--white);
  padding: 54px 0 0;
}

.kontakt-form__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 396px 624px;
  column-gap: 60px;
  align-items: start;
}

.kontakt-form__title {
  margin: 0;
  padding: 0 0 10px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  line-height: 33.8px;
  text-transform: uppercase;
  color: #333;
}

.kontakt-form__title-accent {
  color: var(--gold-accent);
  font-weight: 700;
}

.kontakt-form__intro .title-rule {
  /* live divider teal 150×3 sous titre */
  margin: 0 0 30px;
}

.kontakt-form__note,
.kontakt-form__privacy {
  margin: 0;
  max-width: 376px;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 22.4px;
}

.kontakt-form__note {
  padding: 0 0 16px;
}

.kontakt-form__privacy a {
  color: var(--navy);
  text-decoration: underline;
}

.kontakt-form__privacy a:hover,
.kontakt-form__privacy a:focus-visible {
  color: var(--teal);
}

.kontakt-form__fields {
  /* live : 1er champ ≈ 20px au-dessus du titre */
  margin-top: -20px;
}

.kontakt-form__feedback {
  margin: 0 0 1rem;
  font-size: 16px;
  font-weight: 400;
}

.kontakt-form__feedback.is-ok {
  color: var(--teal);
}

.kontakt-form__feedback.is-error {
  color: #a33;
}

.kontakt-form__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kontakt-form__input,
.kontakt-form__textarea,
.kontakt-form__select {
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 19px;
  padding: 16px;
  border: 0;
  border-bottom: 1px solid var(--teal);
  border-radius: 0;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.kontakt-form__input {
  height: 53px;
}

.kontakt-form__select {
  height: 53px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding: 16px 20px 16px 16px;
}

.kontakt-form__textarea {
  height: 150px;
  min-height: 150px;
  margin-bottom: 10px;
  border: 1px solid var(--teal);
  border-radius: 5px;
  resize: vertical;
}

.kontakt-form__input:focus,
.kontakt-form__textarea:focus,
.kontakt-form__select:focus {
  outline: none;
  border-color: var(--navy);
}

.kontakt-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.kontakt-form__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0;
}

.kontakt-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 48px;
  margin: 0 0 0 18px;
  padding: 10px 20px;
  border: 1px solid var(--teal);
  border-radius: 5px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-btn);
  font-size: 15px;
  font-weight: 600;
  line-height: 25.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.kontakt-form__submit:hover,
.kontakt-form__submit:focus-visible {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ——— Expertise (live: img 680×907 x0 + gutter 80 + col 680) ——— */
.expertise {
  background: var(--white);
  padding: 54px 0;
}

.expertise__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 80px;
  /* texte pilote la hauteur ; image calée en JS */
  align-items: start;
  width: 100%;
  padding: 27px 0 0;
  box-sizing: border-box;
}

.expertise__media {
  position: relative;
  margin: 0;
  width: 100%;
  overflow: hidden;
  /* hauteur égale à .expertise__content via JS */
  height: 0;
  min-height: 0;
}

.expertise__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  max-width: none;
}

.expertise__content {
  /* live: col 680 @ x760 ; titre section x770 ; toggles x780 w540 */
  min-width: 0;
  padding: 0 0 0 10px;
  box-sizing: border-box;
}

.expertise__title {
  margin: 0;
  padding: 0 0 10px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #333;
}

.expertise__title-accent {
  color: var(--gold-accent);
  font-weight: 700;
}

.expertise__title-rule {
  margin: 0 0 40px;
}

/* Accordion — titres Inter 20/300 navy ; ouvert teal ; gap titres 43 ; filets #ddd */
.expertise-acc {
  width: 100%;
  max-width: min(540px, 100%);
  margin-left: 10px;
  box-sizing: border-box;
}

.expertise-acc__item {
  /* live Divi divider: ~22px sous titre + 1px filet + ~21px avant suivant = 43 */
  border-bottom: 1px solid #ddd;
  padding-bottom: 22px;
  margin-bottom: 21px;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.expertise-acc__item:last-child {
  margin-bottom: 0;
}

.expertise-acc__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.expertise-acc__btn {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0 40px 0 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  color: var(--navy);
  position: relative;
}

.expertise-acc__item.is-open .expertise-acc__btn {
  color: var(--teal);
}

.expertise-acc__label {
  flex: 1 1 auto;
  min-width: 0;
}

.expertise-acc__icon {
  position: absolute;
  right: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  border-radius: 100px;
  background: var(--navy);
}

.expertise-acc__item.is-open .expertise-acc__icon {
  background: var(--teal);
}

.expertise-acc__icon::before,
.expertise-acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
}

.expertise-acc__icon::before {
  width: 10px;
  height: 1.5px;
}

.expertise-acc__icon::after {
  width: 1.5px;
  height: 10px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.expertise-acc__item.is-open .expertise-acc__icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.expertise-acc__panel[hidden] {
  display: none;
}

.expertise-acc__body {
  /* Demande utilisatrice : pas de scroll interne — hauteur = contenu (page scroll OK) */
  padding: 20px 0 0;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 23.8px;
  overflow: visible;
  max-height: none;
}

.expertise-acc__body p {
  margin: 0;
}

.expertise-acc__body p + p {
  margin-top: 0;
}

/* ——— Team / Kanzlei (cards 278 : marie.hennecke@…com 246px + pad 30 + 2) ——— */
.team {
  background: var(--section-tint);
  /* live: hero end y317 → teamH y385 ≈ 68px */
  padding: 68px 0 60px;
}

.team__inner {
  /* 4×278 + 3×35 = 1217 */
  width: min(100% - 2rem, 1217px);
  margin: 0 auto;
}

.team__title {
  margin: 0 0 0;
  padding: 0 0 10px;
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  color: #333;
}

.team__title b {
  font-weight: 700;
}

.team__title-accent {
  color: var(--gold-accent);
  font-weight: 700;
}

.team__intro {
  margin: 0 0 1.5rem;
  max-width: 72rem;
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
}

.team__cta {
  margin: 0 0 2.35rem;
  border-radius: 7px;
  padding: 7px 12px;
}

.team-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 278px);
  column-gap: 35px;
  row-gap: 35px;
  justify-content: start;
  align-items: stretch;
}

.attorney-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 278px;
  max-width: 278px;
  min-height: 604px;
  padding: 0 0 30px;
  margin: 0;
  /* live CDP : radius 5 tous coins + overflow hidden ; ombre 0 12 18 -6 */
  border-radius: 5px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.3) 0 12px 18px -6px;
  background: var(--white);
  box-sizing: border-box;
}

.attorney-card__photo {
  /* portraits = largeur card 278 × hauteur 316 */
  width: 278px;
  height: 316px;
  margin: 0 0 17px;
  overflow: hidden;
  flex: 0 0 316px;
  border-radius: 0;
}

.attorney-card__photo img {
  display: block;
  width: 278px !important;
  height: 316px !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.attorney-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  /* 15 latéral ; bas = place bouton abs (41) + bottom card 30 */
  padding: 0 15px 71px;
  min-height: 0;
}


.attorney-card__name {
  margin: 0 0 7px;
  font-family: var(--font-title);
  /* live CDP : 21px / 600 / lh 23.8 */
  font-size: 21px;
  font-weight: 600;
  line-height: 23.8px;
  text-transform: uppercase;
  color: var(--teal);
}

.attorney-card__role {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 23.8px;
  color: var(--navy);
}

/* live Divi divider ::before 2px #e8c88c ; module ~23px */
.attorney-card__rule {
  display: block;
  width: 100%;
  height: 0;
  border: 0;
  border-top: 2px solid var(--gold-charte);
  margin: 14px 0 18px;
  padding: 0;
}

.attorney-card__phone,
.attorney-card__email {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.attorney-card__phone {
  /* live CDP : 16px / h 24 */
  font-size: 16px;
  line-height: 23.8px;
}

.attorney-card__email {
  /* live mailto CDP : 15px / h 19 — 1 ligne (18px wrappe) */
  font-size: 15px;
  line-height: 19px;
  word-break: normal;
  overflow-wrap: normal;
}

.attorney-card__phone a,
.attorney-card__email a {
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.attorney-card__phone a:hover,
.attorney-card__email a:hover {
  text-decoration: underline;
}

.btn--outline-teal {
  background: var(--white);
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: 7px;
  padding: 3px 10px;
  line-height: 1.7em;
}

.btn--outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}

/* Boutons : ancrés au bas de la card → même Y sur toute la rangée */
.attorney-card__more {
  position: absolute;
  left: 15px;
  bottom: 30px;
  margin: 0;
  padding: 3px 10px;
  flex: none;
}

/* ——— Attorney modal (live panel ~1276 ; sous nav 64 ; rideau) ——— */
.attorney-modal[hidden] {
  display: none !important;
}

.attorney-modal {
  position: fixed;
  inset: 0;
  /* sous le header (z 99999) → croix ne chevauche pas la nav */
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  /* 64 header + 16 air */
  padding: 80px 16px 24px;
  box-sizing: border-box;
}

.attorney-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 1s ease;
}

.attorney-modal.is-open .attorney-modal__overlay {
  opacity: 1;
}

.attorney-modal__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1276px, calc(100vw - 48px));
  /* viewport − pad haut 80 − pad bas 24 */
  max-height: calc(100vh - 104px);
  max-height: calc(100dvh - 104px);
  overflow: hidden;
  background: var(--white);
  border-radius: 0;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
  /* effet rideau : encore plus lent */
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  transition:
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease;
  will-change: transform, opacity;
}

.attorney-modal.is-open .attorney-modal__dialog {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/* Zone scrollable ; la croix reste hors flux → toujours visible */
.attorney-modal__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  /* live name inset ~113px dans panneau 1276 → contenu ~1050 */
  padding: 35px 113px 54px;
}

.attorney-modal__close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.attorney-modal__close:focus-visible {
  outline: 2px solid var(--gold-accent);
  outline-offset: 2px;
}

.attorney-modal__header {
  padding-right: 40px;
}

.attorney-modal__name {
  margin: 0;
  font-family: var(--font-title);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--teal);
}

.attorney-modal__title {
  margin: 0.35rem 0 0;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
}

.attorney-modal__rule {
  display: block;
  width: 100%;
  height: 0;
  border: 0;
  border-top: 2px solid var(--gold-charte);
  margin: 1.15rem 0 1.35rem;
}

.attorney-modal__body {
  display: grid;
  grid-template-columns: 367px minmax(0, 1fr);
  column-gap: 89px;
  align-items: start;
}

.attorney-modal__photo {
  width: 100%;
  height: auto;
  max-height: 443px;
  object-fit: cover;
  object-position: center top;
  border-radius: 5px;
}

.attorney-modal__contact {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.85rem 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
}

.attorney-modal__contact a {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}

.attorney-modal__contact a:hover {
  text-decoration: underline;
}

.attorney-modal__icon {
  flex: 0 0 auto;
  color: var(--teal);
  display: inline-flex;
  width: 24px;
  height: 24px;
}

.attorney-modal__icon svg {
  width: 24px;
  height: 24px;
}

.attorney-modal__bio {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink);
}

.attorney-modal__bio p {
  margin: 0 0 18px;
}

.attorney-modal__bio p:last-child {
  margin-bottom: 0;
}

.attorney-modal__bio i {
  font-style: italic;
}

/* ——— Responsive Kanzlei (mesures live CDP 390 : card fluide ~312, img ratio 262/316, hero pad 15/25, H1 35) ——— */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
  }

  .attorney-card {
    width: 100%;
    max-width: none;
  }

  .attorney-card__photo {
    width: 100%;
    height: auto;
    /* live mobile 312×377 ≈ ratio 262/316 */
    aspect-ratio: 262 / 316;
    flex: 0 0 auto;
  }

  .attorney-card__photo img {
    width: 100% !important;
    height: 100% !important;
  }
}

@media (max-width: 1100px) {
  .attorney-modal__scroll {
    padding: 32px 40px 44px;
  }
}

/* LOT-008 : largeurs intermédiaires — éviter overflow 1024 (grille Kontakt + accordion Expertise) */
@media (max-width: 1139px) {
  .kontakt-form__inner {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }

  .expertise__grid {
    column-gap: 40px;
  }

  .expertise__media,
  .expertise__content {
    min-width: 0;
  }

  .expertise-acc {
    max-width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 980px) {
  .page-hero--navy {
    padding: 15px 0 25px;
    min-height: 0;
  }

  .page-hero--expertise {
    padding: 15px 0 25px;
    min-height: 0;
  }

  .page-hero--kontakt,
  .page-hero--privacy {
    padding: 15px 0 25px;
    min-height: 0;
  }

  .page-hero__title {
    font-size: 35px;
    line-height: 1.25;
    margin: 0 0 12px;
  }

  .page-hero__title--privacy {
    font-size: 32px;
  }

  .page-hero--expertise .page-hero__title,
  .page-hero--kontakt .page-hero__title,
  .page-hero--privacy .page-hero__title {
    margin: 0;
  }

  .legal {
    padding: 24px 0 48px;
  }

  .legal__heading {
    font-size: 22px;
  }

  .legal__section-title {
    font-size: 18px;
  }

  .page-hero__lead {
    font-size: 16px;
  }

  .kontakt-form {
    padding: 40px 0 48px;
  }

  .kontakt-form__inner {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
  }

  .contact-band--static .contact-band__inner {
    margin-top: 220px;
    margin-bottom: -40px;
  }

  .expertise {
    padding: 40px 0 48px;
  }

  .expertise__grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 28px;
    padding: 0 24px;
    box-sizing: border-box;
    align-items: start;
  }

  .expertise__media {
    height: auto !important;
    min-height: 0;
  }

  .expertise__media img {
    position: static;
    inset: auto;
    height: auto;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 680 / 560;
    object-fit: cover;
  }

  .expertise__content {
    padding: 0;
  }

  .expertise-acc {
    max-width: none;
    margin-left: 0;
  }

  .expertise__title {
    font-size: 22px;
  }

  .expertise__title-rule {
    margin: 0 0 28px;
  }

  .expertise-acc__btn {
    font-size: 18px;
    line-height: 1.4;
    padding: 16px 0;
  }

  .team {
    padding: 40px 0 48px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 28px;
    justify-content: stretch;
  }

  .attorney-card {
    min-height: 0;
  }

  .attorney-modal__body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .attorney-modal__photo {
    max-width: 100%;
  }

  .attorney-modal__scroll {
    padding: 28px 24px 36px;
  }

  .attorney-modal {
    padding: 72px 12px 16px;
  }

  .attorney-modal__dialog {
    width: min(1276px, calc(100vw - 24px));
    max-height: calc(100vh - 88px);
    max-height: calc(100dvh - 88px);
  }
}

@media (max-width: 768px) {
  .page-hero__title {
    font-size: 35px;
    line-height: 1.2;
  }

  .expertise__grid {
    padding: 0 19px;
  }

  .team__inner {
    /* live 390 : contenu ≈312 → marges ≈39px */
    width: calc(100% - 78px);
  }

  .team__title {
    font-size: 22px;
  }

  .team-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    row-gap: 28px;
  }

  .attorney-card__body {
    padding: 0 12px 71px;
  }

  .attorney-card__more {
    left: 12px;
  }

  .attorney-modal__scroll {
    padding: 28px 20px 36px;
  }

  .attorney-modal__name {
    font-size: 22px;
  }

  .attorney-modal__title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .attorney-modal__dialog,
  .attorney-modal__overlay {
    transition: none !important;
  }
}
