/* Annuaire page — values from source data-ref="annuaire-desktop|mobile" */

body.lta-body-annuaire {
  background: #F6E6D9;
  color: #0E2C54;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
}

.lta-page--annuaire {
  background: #F6E6D9;
  color: #0E2C54;
  font-size: 16px;
  line-height: normal;
  font-weight: 400;
}

/* —— Hero —— */

.lta-ann-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 72px 96px;
  background: #173F77;
  color: #fff;
}

.lta-ann-hero__disk {
  position: absolute;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: #0E2C54;
  left: 900px;
  top: -320px;
}

.lta-ann-hero__cut {
  display: none;
  position: absolute;
  border-radius: 50%;
  background: #173F77;
}

.lta-ann-hero__photo {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  left: 1020px;
  top: -200px;
  overflow: hidden;
  background: #173F77;
}

.lta-ann-hero__zoom {
  position: absolute;
  left: 0;
  right: 0;
  top: -300px;
  bottom: 60px;
  background: #173F77 var(--lta-ann-hero) 80% 100% / cover no-repeat;
}

.lta-ann-hero__voile {
  position: absolute;
  inset: 0;
  background: rgba(23, 63, 119, .35);
}

.lta-ann-hero__copy {
  position: relative;
}

.lta-ann-hero__crumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: .08em;
  color: #fff;
}

.lta-ann-hero__sep {
  color: #F3C416;
}

.lta-ann-hero__title {
  font-weight: 300;
  font-size: 84px;
  line-height: 1.02;
  margin: 30px 0 0;
  text-transform: uppercase;
  color: #F3C416;
  letter-spacing: normal;
}

.lta-ann-hero__chapo {
  margin: 26px 0 0;
  font-size: 20px;
  line-height: 1.6;
  max-width: 36em;
  color: #fff;
  font-weight: 400;
}

.lta-ann-hero__chapo--m {
  display: none;
}

/* —— Tools —— */

.lta-ann-tools {
  padding: 52px 72px 68px;
}

.lta-ann-tools__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}

.lta-ann-search__label,
.lta-ann-region__label {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #173F77;
  margin: 0 0 12px;
  font-weight: 400;
  line-height: normal;
}

.lta-ann-search__field,
.lta-ann-region__field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #173F77;
  font-size: 17px;
  color: #0E2C54;
  position: relative;
}

.lta-ann-search__field.is-filled,
.lta-ann-region__field.is-active {
  border-bottom-color: #F3C416;
}

.lta-ann-region__field {
  justify-content: space-between;
}

.lta-ann-search__clear {
  flex: none;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #173F77;
  font-family: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lta-ann-search__clear[hidden] {
  display: none;
}

.lta-ann-search__icon {
  font-size: 18px;
  line-height: 1;
  color: #173F77;
  flex: none;
}

.lta-ann-search__input {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  color: #0E2C54;
}

.lta-ann-search__input::placeholder {
  color: rgba(14, 44, 84, .78);
  opacity: 1;
}

.lta-ann-region__select {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  color: #0E2C54;
  cursor: pointer;
}

.lta-ann-region__chevron {
  flex: none;
  font-size: 12px;
  color: #173F77;
  line-height: 1;
  pointer-events: none;
}

/* —— Active filter chips —— */

.lta-ann-chips[hidden] {
  display: none;
}

.lta-ann-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.lta-ann-chips__label {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #173F77;
  margin-right: 6px;
  font-weight: 400;
  line-height: normal;
}

.lta-ann-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-sizing: content-box;
  min-height: 36px;
  margin: 0;
  padding: 0 6px 0 14px;
  border: 1px solid #173F77;
  border-radius: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  color: #173F77;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.lta-ann-chip[hidden] {
  display: none;
}

.lta-ann-chip__x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  font-size: 11px;
  line-height: 1;
}

/* —— Grid —— */

.lta-ann-grid-wrap {
  padding: 0 72px 110px;
}

.lta-ann-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lta-fiche {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
  padding: 28px 28px 26px;
  border: 2px solid #fff;
  border-radius: 0;
  background: #fff;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color .2s ease;
}

.lta-fiche:hover,
.lta-fiche:focus-visible {
  border-color: #173F77;
}

.lta-fiche[hidden] {
  display: none;
}

.lta-fiche__data {
  display: none;
}

.lta-fiche__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.lta-fiche__logo {
  box-sizing: content-box;
  flex: none;
  width: auto;
  max-width: 100%;
  min-width: 40px;
  height: 66px;
  padding: 0 13px;
  background: #fff;
  border: 1px solid rgba(14, 44, 84, .18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lta-fiche__logo img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  opacity: .9;
}

.lta-fiche__identity {
  min-width: 0;
  width: 100%;
}

.lta-fiche__name {
  font-size: 22px;
  line-height: 1.2;
  color: #173F77;
  font-weight: 400;
  text-wrap: pretty;
}

.lta-fiche__meta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 44, 84, .16);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.lta-fiche__city {
  margin-top: 10px;
  color: rgba(14, 44, 84, .8);
}

/* —— Empty state (data-ref="annuaire-vide-desktop|mobile") —— */

.lta-ann-grid-wrap[hidden],
.lta-ann-empty[hidden] {
  display: none;
}

.lta-ann-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 640px;
  margin: 0;
  padding: 72px 72px 144px;
  box-sizing: content-box;
}

.lta-ann-empty__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #173F77;
  font-weight: 400;
  line-height: normal;
}

.lta-ann-empty__kicker img {
  height: 22px;
  width: auto;
  display: block;
}

.lta-ann-empty__title {
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  margin: 0;
  text-transform: uppercase;
  color: #173F77;
  text-wrap: pretty;
  letter-spacing: normal;
}

.lta-ann-empty__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  text-wrap: pretty;
  font-weight: 400;
  color: #0E2C54;
}

.lta-ann-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-top: 6px;
  padding: 0 24px;
  border: 2px solid #173F77;
  border-radius: 0;
  background: transparent;
  color: #173F77;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Empty hero — simplified crescent without photo */

.lta-page--annuaire.is-vide .lta-ann-hero {
  padding: 60px 72px 64px;
}

.lta-page--annuaire.is-vide .lta-ann-hero__disk {
  width: 700px;
  height: 700px;
  left: 1060px;
  top: -330px;
}

.lta-page--annuaire.is-vide .lta-ann-hero__cut {
  display: block;
  width: 560px;
  height: 560px;
  left: 1150px;
  top: -290px;
}

.lta-page--annuaire.is-vide .lta-ann-hero__photo,
.lta-page--annuaire.is-vide .lta-ann-hero__chapo {
  display: none;
}

.lta-page--annuaire.is-vide .lta-ann-hero__title {
  font-size: 64px;
  margin: 22px 0 0;
}

.lta-page--annuaire.is-vide .lta-ann-tools {
  padding: 52px 72px 0;
}

/* Tablet */

@media (max-width: 1439px) {
  .lta-ann-hero__title {
    font-size: clamp(42px, calc(42px + 42 * (100vw - 390px) / 1050), 84px);
  }

  .lta-page--annuaire.is-vide .lta-ann-hero__title {
    font-size: clamp(36px, calc(36px + 28 * (100vw - 390px) / 1050), 64px);
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .lta-ann-hero,
  .lta-ann-tools,
  .lta-ann-grid-wrap,
  .lta-ann-empty {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 760px) and (max-width: 1279px) {
  .lta-ann-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 760px) and (max-width: 1023px) {
  .lta-ann-hero,
  .lta-ann-tools,
  .lta-ann-grid-wrap,
  .lta-ann-empty {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lta-ann-tools__grid {
    gap: 32px;
  }
}

/* Mobile artboard */

@media (max-width: 759px) {
  .lta-ann-hero {
    padding: 300px 20px 56px;
  }

  .lta-ann-hero__disk {
    width: 432px;
    height: 432px;
    left: 94px;
    top: -156px;
  }

  .lta-ann-hero__photo {
    width: 360px;
    height: 360px;
    left: 130px;
    top: -120px;
  }

  .lta-ann-hero__zoom {
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #173F77 var(--lta-ann-hero) 85% 100% / auto 130% no-repeat;
  }

  .lta-ann-hero__crumb {
    display: none;
  }

  .lta-ann-hero__title {
    font-size: 42px;
    line-height: 1.04;
    margin: 0;
  }

  .lta-ann-hero__chapo--d {
    display: none;
  }

  .lta-ann-hero__chapo--m {
    display: block;
    margin: 18px 0 0;
    font-size: 17px;
    line-height: 1.6;
    max-width: none;
  }

  .lta-ann-tools {
    padding: 32px 20px 29px;
  }

  .lta-ann-tools__grid {
    display: block;
  }

  .lta-ann-search__label,
  .lta-ann-region__label {
    display: none;
  }

  .lta-ann-region {
    margin-top: 22px;
  }

  .lta-ann-grid-wrap {
    padding: 0 20px 48px;
  }

  .lta-ann-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .lta-page--annuaire[data-ordre-fixe] .lta-fiche:nth-child(n + 7) {
    display: none;
  }

  .lta-fiche {
    padding: 20px;
    border: 0;
  }

  .lta-fiche:hover,
  .lta-fiche:focus-visible {
    border-color: transparent;
  }

  .lta-fiche__top {
    gap: 12px;
  }

  .lta-fiche__logo {
    width: auto;
    min-width: 32px;
    height: 52px;
    padding: 0 10px;
  }

  .lta-fiche__logo img {
    height: 32px;
  }

  .lta-fiche__name {
    font-size: 19px;
    line-height: 1.2;
  }

  .lta-fiche__meta {
    margin-top: 16px;
    padding-top: 14px;
    font-size: 14px;
    line-height: 1.55;
  }

  .lta-fiche__city {
    margin-top: 8px;
  }

  /* Empty mobile */

  .lta-page--annuaire.is-vide .lta-ann-hero {
    padding: 44px 20px 40px;
  }

  .lta-page--annuaire.is-vide .lta-ann-hero__disk {
    width: 260px;
    height: 260px;
    left: 250px;
    top: -130px;
  }

  .lta-page--annuaire.is-vide .lta-ann-hero__cut {
    width: 200px;
    height: 200px;
    left: 290px;
    top: -114px;
  }

  .lta-page--annuaire.is-vide .lta-ann-hero__title {
    font-size: 36px;
    line-height: 1.05;
    margin: 0;
  }

  .lta-page--annuaire.is-vide .lta-ann-tools {
    padding: 28px 20px 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .lta-page--annuaire.is-vide .lta-ann-tools__grid {
    display: contents;
  }

  .lta-page--annuaire.is-vide .lta-ann-search__label,
  .lta-page--annuaire.is-vide .lta-ann-region__label {
    display: block;
  }

  .lta-page--annuaire.is-vide .lta-ann-region {
    margin-top: 0;
  }

  .lta-page--annuaire.is-vide .lta-ann-chips {
    margin-top: 0;
    gap: 8px;
  }

  .lta-page--annuaire.is-vide .lta-ann-chips__label {
    display: none;
  }

  .lta-ann-empty {
    gap: 18px;
    max-width: none;
    padding: 40px 20px 72px;
    box-sizing: border-box;
  }

  .lta-ann-empty__title {
    font-size: 28px;
  }

  .lta-ann-empty__text {
    font-size: 17px;
  }

  .lta-ann-empty__extra {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lta-fiche {
    transition: none;
  }
}
