/* ==========================================================
   MAIN.MIN.CSS - Combined & Minified Stylesheet
   Includes: typographie.css, header.css, carrousel.css, filter-nav.css, projets.css, informations.css, monographie.css, footer.css
   ========================================================== */
:root {
  --couleur-agence: #c46e6e;
}
html {
  font-size: 16px;
  scrollbar-gutter: stable both-edges;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.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;
  top: -40px;
  left: 0;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  z-index: 10000;
  transition: top 0.2s;
  text-decoration: none;
  font-size: 0.9rem;
}
.skip-link:focus {
  top: 0;
}
* {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  line-height: 1.6;
  color: #222;
  background-color: #fff;
  margin: 0;
  padding: 0;
  animation: pageFadeIn 0.9s cubic-bezier(0.33, 1, 0.68, 1) forwards;
  opacity: 0;
}
.display-01 {
  font-size: 5.16rem;
  font-weight: 700;
  line-height: 1.1;
}
.display-02 {
  font-size: 1.728rem;
  font-weight: 700;
  line-height: 1.1;
}
.display-03 {
  font-size: 1.44rem;
  font-weight: 600;
  line-height: 1.2;
}
.display-04 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}
h1 {
  font-size: 2.986rem;
  font-weight: 700;
  line-height: 1.2;
}
h2 {
  font-size: 2.488rem;
  font-weight: 700;
  line-height: 1.2;
}
h3 {
  font-size: 2.074rem;
  font-weight: 700;
  line-height: 1.3;
}
h4 {
  font-size: 1.728rem;
  font-weight: 700;
  line-height: 1.3;
}
h5 {
  font-size: 1.44rem;
  font-weight: 700;
  line-height: 1.4;
}
h6 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}
p,
td,
li,
span,
a {
  font-size: 1rem;
  font-weight: 500;
}
small,
.footer-copyright,
.project-location {
  font-size: 0.833rem;
}
.micro-text,
sub,
sup {
  font-size: 0.694rem;
}
strong,
b {
  font-weight: 700;
}
@keyframes pageFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
mon-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 2500;
  display: block;
}
.header {
  background-color: var(--couleur-agence);
  width: 100%;
  padding: 10px 0;
  height: 65px;
  box-sizing: border-box;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  margin-inline: auto;
  position: relative;
  padding: 0 20px;
  box-sizing: border-box;
}
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  z-index: 1010;
  height: 45px;
}
.logo-box {
  width: 150px;
  height: 45px;
  display: block;
  -webkit-mask-image: url("/branding/logo_em-arch_horizontal.svg");
  mask-image: url("/branding/logo_em-arch_horizontal.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  background-color: #fff;
  transition:
    background-color 0.3s ease,
    opacity 0.3s ease;
}
.logo-link:hover .logo-box {
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
}
.burger-btn {
  display: block;
  background: 0;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 5px;
  color: #fff;
  position: relative;
  z-index: 1010;
}
.topnav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: -20px;
  width: calc(100% + 40px);
  background-color: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 15px 0;
  list-style: none;
  margin: 0;
  z-index: 999;
}
.topnav.active {
  display: flex;
}
.item {
  width: 100%;
  text-align: center;
}
.link {
  display: block;
  padding: 15px 0;
  width: 100%;
  color: #333;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  text-decoration: none;
  position: relative;
  opacity: 0.7;
  transition: all 0.2s ease;
}
.link:hover,
.link.active {
  background-color: #f5f5f5;
  opacity: 1;
}
@media (width>=40rem) {
  .link {
    font-size: 0.9rem;
  }
}
@media (width>=48rem) {
  .burger-btn {
    display: none;
  }
  .topnav {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    gap: 25px;
  }
  .item {
    width: auto;
  }
  .link {
    display: inline-block;
    padding: 0 0 4px 0;
    width: auto;
    color: #fff;
    opacity: 0.55;
  }
  .link:hover {
    background-color: transparent;
    opacity: 0.9;
  }
  .link.active {
    background-color: transparent;
    opacity: 1;
  }
  .link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
  }
  .nav-container {
    width: 100%;
    max-width: 62.5rem;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
  }
}
@media (width>=64rem) {
  .topnav {
    gap: 35px;
  }
}
@media (width>=80rem) {
  .nav-container {
    max-width: 75rem;
  }
}
@media (width>=96rem) {
  .nav-container {
    max-width: 90rem;
  }
}
.diaporama-link-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  cursor: pointer;
  text-decoration: none;
  background-color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}
.diaporama-epure {
  position: relative;
  display: block;
  width: 100%;
  height: calc(100vh - 100px);
  max-height: 75vh;
  overflow: hidden;
  background-color: #f9f9f9;
  transition: all 0.4s ease;
}
.diaporama-epure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.diaporama-epure img.active {
  opacity: 1;
  z-index: 3;
}
.diaporama-epure img.previous {
  opacity: 0;
  z-index: 2;
  transition: opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
@media (width>=40rem) {
  .diaporama-epure {
    max-height: 75vh;
  }
}
@media (width>=48rem) {
  .diaporama-link-wrapper {
    padding-top: 55px;
    padding-bottom: 55px;
    padding-left: 30px;
    padding-right: 30px;
  }
  .diaporama-epure {
    height: calc(100vh - 110px);
    max-height: 75vh;
  }
}
@media (width>=64rem) {
  .diaporama-link-wrapper {
    padding: 65px 0;
  }
  .diaporama-epure {
    width: 100%;
    max-width: calc(62.5rem - 40px);
    height: calc(100vh - 160px);
    max-height: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
  }
}
@media (width>=80rem) {
  .diaporama-epure {
    max-width: calc(75rem - 40px);
    height: calc(100vh - 180px);
  }
}
@media (width>=96rem) {
  .diaporama-epure {
    max-width: calc(90rem - 40px);
    height: calc(100vh - 200px);
  }
}
.filter-nav {
  position: -webkit-sticky;
  position: sticky;
  top: 65px;
  z-index: 1500;
  background-color: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 15px;
  margin-top: 0;
  margin-bottom: 5px;
  padding: 20px 0;
  width: 100%;
  box-sizing: border-box;
}
.filter-nav .filter-btn {
  background: 0;
  border: none;
  padding: 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  cursor: pointer;
  text-decoration: none;
  border-bottom: none;
  padding-bottom: 0;
  transition: color 0.3s ease;
}
.filter-nav .filter-divider {
  font-size: 0.75rem;
  color: #e0e0e0;
  user-select: none;
  margin-top: -1px;
}
.filter-nav .filter-btn:hover,
.filter-nav .filter-btn.active {
  color: var(--couleur-agence);
  border-bottom: none;
  padding-bottom: 0;
}
.filter-nav.info-internal-nav .nav-left-group {
  width: 100%;
}
#contact-bureau,
#bureau,
#collaborations {
  scroll-margin-top: 130px;
}
@media (width>=48rem) {
  .filter-nav.info-internal-nav {
    gap: 12px;
    padding: 15px 0;
  }
}
@media (width>=64rem) {
  .filter-nav.info-internal-nav {
    max-width: calc(62.5rem - 40px);
    padding: 20px 0;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (width>=80rem) {
  .filter-nav.info-internal-nav {
    max-width: calc(75rem - 40px);
    padding: 20px 0;
  }
}
@media (width>=96rem) {
  .filter-nav.info-internal-nav {
    max-width: calc(90rem - 40px);
    padding: 20px 0;
  }
}
@media (width>=48rem) {
  .filter-nav {
    gap: 12px;
    padding: 15px 0;
  }
}
@media (width>=64rem) {
  .filter-nav {
    max-width: calc(62.5rem - 40px);
    padding: 20px 0;
  }
}
@media (width>=80rem) {
  .filter-nav {
    max-width: calc(75rem - 40px);
    padding: 20px 0;
  }
}
@media (width>=96rem) {
  .filter-nav {
    max-width: calc(90rem - 40px);
    padding: 20px 0;
  }
}
.main-content {
  width: 100%;
  margin: 60px auto 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
}
.page-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.projects-grid {
  position: relative;
  margin-top: 0;
  margin-bottom: 20px;
}
.projects-grid::after {
  content: "";
  display: block;
  clear: both;
}
.grid-sizer,
.gutter-sizer {
  position: absolute;
  visibility: hidden;
  height: 0;
}
.grid-sizer,
.project-card {
  width: 100%;
}
.gutter-sizer {
  width: 0;
}
.project-card {
  margin-bottom: 35px;
  background-color: #fff;
  position: relative;
  z-index: 1;
  opacity: 1;
  transition:
    opacity 0.4s ease,
    z-index 0.3s ease;
  padding-bottom: 12px;
}
.project-card:not(.no-barre)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--couleur-agence);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.3s ease;
}
.project-card:not(.no-barre):hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.project-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.project-image-placeholder {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
}
.project-image-placeholder img.main-project-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.project-info {
  padding: 10px 0 0 0;
  background-color: #fff;
}
.project-name {
  font-size: 1.15rem;
  text-transform: none;
  margin-top: 0;
  margin-bottom: 2px;
}
.project-location {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0;
  margin-bottom: 0;
}
.project-year {
  font-size: 0.85rem;
  color: #999;
  margin-top: 2px;
  margin-bottom: 0;
}
.project-card:not(.no-zoom) .project-card-link:hover .project-image-placeholder img.main-project-img {
  transform: scale(1.03);
}
.project-card:not(.no-zoom):hover {
  z-index: 10;
}
.project-logo-overlay-container {
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.project-logo-overlay {
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.85;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease;
}
.project-card-link:hover .project-logo-overlay {
  transform: scale(1.04);
  opacity: 1;
}
@media (width>=40rem) {
  .project-name {
    font-size: 1.2rem;
  }
}
@media (width>=48rem) {
  .main-content {
    max-width: 100%;
    padding: 0 30px;
  }
  .grid-sizer,
  .project-card {
    width: 49%;
  }
  .gutter-sizer {
    width: 2%;
  }
  .filter-nav {
    gap: 12px;
    padding: 15px 0;
  }
}
@media (width>=64rem) {
  .main-content {
    max-width: calc(62.5rem - 40px);
    margin: 60px auto 0 auto;
    padding: 0;
  }
  .filter-nav {
    padding: 20px 0;
  }
  .grid-sizer,
  .project-card {
    width: 32%;
  }
  .gutter-sizer {
    width: 2%;
  }
}
@media (width>=80rem) {
  .main-content {
    max-width: calc(75rem - 40px);
    margin: 60px auto 0 auto;
    padding: 0;
  }
}
@media (width>=96rem) {
  .main-content {
    max-width: calc(90rem - 40px);
    margin: 60px auto 0 auto;
    padding: 0;
  }
}
.main-content.info-page {
  width: 100%;
  margin: 60px auto 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  padding-bottom: 60px;
}
.info-layout {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}
.contact-clean-layout {
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 20px;
}
.contact-split-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
.contact-image-column {
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
}
.contact-image-column img {
  width: 100%;
  height: calc(100vh - 180px);
  max-height: none;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .contact-image-column img {
    height: 40vh;
  }
}
.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}
.contact-text {
  font-size: 0.95rem;
  color: #000;
  margin: 0;
  line-height: 1.5;
}
.contact-link-text {
  color: #000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  padding-bottom: 2px;
  width: fit-content;
}
.contact-link-text:hover {
  color: var(--couleur-agence);
  border-bottom: 1px solid var(--couleur-agence);
}
.contact-card-box {
  background-color: #fbfbfb;
  padding: 25px;
  border-left: 3px solid var(--couleur-agence);
  display: flex;
  flex-direction: column;
  gap: 25px;
  box-sizing: border-box;
  width: 100%;
}
.contact-logo-signature-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.contact-logo-signature {
  width: 150px;
  height: 40px;
  display: block;
  -webkit-mask-image: url("/branding/logo_em-arch_horizontal.svg");
  mask-image: url("/branding/logo_em-arch_horizontal.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: right bottom;
  mask-position: right bottom;
  background-color: var(--couleur-agence);
  opacity: 0.85;
}
.office-philosophy {
  width: 100%;
  box-sizing: border-box;
  border-top: 1px solid #eee;
  padding-top: 20px;
  padding-bottom: 20px;
}
#bureau .section-subtitle {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.philosophy-split-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding: 20px;
}
.philosophy-text-side {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}
.philosophy-text-side .lead-text {
  margin: 0;
}
.lead-text {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  color: #111;
  text-align: justify;
}
.body-text p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}
.body-text p:last-child {
  margin-bottom: 0;
}
.philosophy-text-side .body-text p {
  margin-bottom: 10px;
}
.philosophy-text-side .body-text p:last-child {
  margin-bottom: 0;
}
.philosophy-image-side {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  box-sizing: border-box;
}
.philosophy-image-side img {
  width: 80%;
  height: 80%;
  max-width: 100%;
  max-height: 45vh;
  object-fit: contain;
  display: block;
}
.architect-profile-horizontal {
  width: 100%;
  box-sizing: border-box;
}
.profile-card-box {
  background-color: #fbfbfb;
  border-left: 3px solid var(--couleur-agence);
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 25px;
}
.profile-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin-top: 0;
  margin-bottom: 4px;
}
.profile-titles {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #777;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 5px;
}
.profile-accordion {
  width: 100%;
}
.bureau-body-accordion-mobile[open] .body-text {
  padding-top: 15px;
}
@media (width>=48rem) {
  .bureau-body-accordion-mobile .body-text {
    display: block;
  }
  .bureau-body-accordion-mobile > .accordion-trigger {
    display: none;
  }
}
.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  list-style: none;
  border-top: 1px dashed #e0e0e0;
  user-select: none;
}
.accordion-trigger::-webkit-details-marker {
  display: none;
}
.trigger-icon {
  position: relative;
  width: 14px;
  height: 14px;
}
.trigger-icon::before,
.trigger-icon::after {
  content: "";
  position: absolute;
  background-color: var(--couleur-agence);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.trigger-icon::before {
  top: 6px;
  left: 0;
  width: 14px;
  height: 2px;
}
.trigger-icon::after {
  top: 0;
  left: 6px;
  width: 2px;
  height: 14px;
}
.profile-accordion[open] .trigger-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}
.accordion-trigger:hover .trigger-text {
  color: var(--couleur-agence);
}
.profile-content {
  padding-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.collaborations-section {
  border-top: 1px solid #eee;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 100%;
}
.section-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: 1px;
  color: #222;
  margin: 0 0 20px 0;
  padding: 0;
}
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.team-member {
  background-color: #fbfbfb;
  border-left: 3px solid var(--couleur-agence);
  box-sizing: border-box;
  width: 100%;
  padding: 25px;
}
#collaborations .team-member:first-child {
  padding-top: 20px;
  padding-bottom: 20px;
}
.team-member h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
  margin-top: 0;
  margin-bottom: 4px;
}
.team-member p {
  font-size: 0.85rem;
  color: #777;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0;
  margin-bottom: 0;
}
@media (width>=48rem) {
  .main-content.info-page {
    max-width: 100%;
    padding: 0 30px;
  }
  .contact-split-container,
  .philosophy-split-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: start;
  }
  .contact-image-column img,
  .philosophy-image-side img {
    max-height: none;
    height: 80vh;
  }
  .contact-info-column {
    height: 100%;
    justify-content: space-between;
  }
  .contact-logo-signature-box {
    justify-content: flex-end;
    margin-top: auto;
  }
  .filter-nav.info-internal-nav {
    gap: 12px;
    padding: 15px 30px;
  }
}
@media (width>=64rem) {
  .main-content.info-page,
  .filter-nav.info-internal-nav {
    max-width: calc(62.5rem - 40px);
    margin-left: auto;
    margin-right: auto;
    padding: 15px 0;
  }
  .main-content.info-page {
    margin: 60px auto 0 auto;
    padding: 0;
  }
}
@media (width>=80rem) {
  .main-content.info-page,
  .filter-nav.info-internal-nav {
    max-width: calc(75rem - 40px);
  }
}
@media (width>=96rem) {
  .main-content.info-page,
  .filter-nav.info-internal-nav {
    max-width: calc(90rem - 40px);
  }
}
@media (max-width: 768px) {
  .lead-text,
  .body-text p {
    text-align: left;
  }
}
@media (max-width: 480px) {
  .team-member,
  .profile-card-box,
  .contact-card-box {
    border-left: none;
    border-top: 3px solid var(--couleur-agence);
  }
}
.profile-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-top: 5px;
  line-height: 1.3;
}
.profile-meta-table tr {
  border-bottom: 1px solid #eee;
}
.profile-meta-table tr:last-child {
  border-bottom: none;
}
.profile-meta-table td,
.profile-meta-table th {
  padding: 6px 0;
  vertical-align: top;
}
.profile-meta-table td {
  color: #444;
}
.profile-meta-table th,
.profile-meta-table td:first-child {
  color: #999;
  font-weight: 700;
  width: 25%;
  padding-right: 10px;
  text-align: left;
}
.filter-nav.project-internal-nav {
  justify-content: space-between;
}
.filter-nav.project-internal-nav .filter-btn.active {
  font-size: 1.9rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  margin-top: -4px;
}
.project-nav-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
}
.tab-toggle-btn {
  display: inline-flex;
  align-items: center;
  z-index: 1600;
}
.btn-text-desktop {
  display: none;
}
.filter-nav .tab-toggle-btn .btn-text-desktop {
  font-size: inherit;
  font-weight: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.btn-text-mobile {
  display: inline-block;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 300;
  margin-top: -4px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.tab-toggle-btn[aria-expanded="true"] .btn-text-mobile {
  transform: rotate(45deg);
}
.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 0px;
  box-sizing: border-box;
}
.project-gallery-item {
  width: 100%;
  overflow: hidden;
  background-color: transparent;
}
.project-gallery-item img.monographie-img,
.project-vertical-img-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  --scale: 1;
  transform: scale(var(--scale));
  transform-origin: center;
}
.project-vertical-img-box {
  overflow: hidden;
}
.project-info-tab {
  position: fixed;
  top: 115px;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);
  width: calc(100vw - 40px);
  max-width: calc(62.5rem - 40px);
  background-color: #fbfbfb;
  border-bottom: 3px solid var(--couleur-agence);
  padding: 30px;
  box-sizing: border-box;
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.3s ease,
    visibility 0.4s;
}
.project-info-tab.open {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}
.tab-internal-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.project-main-title {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #222;
  margin-top: 0;
  margin-bottom: 5px;
}
.project-main-subtitle {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}
.project-meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  margin-top: 10px;
}
.project-meta-table tr {
  border-bottom: 1px solid #eee;
}
.project-meta-table tr:last-child {
  border-bottom: none;
}
.project-meta-table td {
  padding: 12px 0;
  vertical-align: top;
  color: #444;
}
.project-meta-table th,
.project-meta-table td:first-child {
  color: #999;
  font-weight: 700;
  width: 30%;
  padding-right: 15px;
  text-align: left;
}
.project-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
  margin-top: 10px;
}
.project-description p {
  margin: 0 0 0.8rem 0;
}
.project-description p:last-child {
  margin-bottom: 0;
}
@media (width>=48rem) {
  .main-content {
    padding: 0 30px;
  }
  .btn-text-desktop {
    display: inline-block;
  }
  .btn-text-mobile {
    display: none;
  }
}
@media (width>=64rem) {
  .main-content {
    max-width: calc(62.5rem - 40px);
    margin: 60px auto 0 auto;
    padding: 0;
  }
  .project-gallery-grid {
    gap: 30px;
  }
  .filter-nav.project-internal-nav {
    max-width: calc(62.5rem - 40px);
    margin-left: auto;
    margin-right: auto;
    align-self: start;
  }
  .project-info-tab {
    max-width: calc(62.5rem - 40px);
  }
}
@media (width>=80rem) {
  .main-content {
    max-width: calc(75rem - 40px);
  }
  .filter-nav.project-internal-nav {
    max-width: calc(75rem - 40px);
    align-self: start;
  }
  .project-info-tab {
    max-width: calc(75rem - 40px);
  }
}
@media (width>=96rem) {
  .main-content {
    max-width: calc(90rem - 40px);
  }
  .filter-nav.project-internal-nav {
    max-width: calc(90rem - 40px);
    align-self: start;
  }
  .project-info-tab {
    max-width: calc(90rem - 40px);
  }
}
@media (max-width: 480px) {
  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
mon-footer {
  display: block;
  position: relative;
  width: 100%;
  margin-top: 20px;
  z-index: 1000;
}
.footer {
  width: 100%;
  padding: 20px;
  background-color: #fff;
  border-top: 1px solid #eee;
  box-sizing: border-box;
}
.footer-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  max-width: 100vw;
  margin-inline: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.footer-left,
.footer-center,
.footer-right {
  flex: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.footer-right {
  order: 1;
  flex-direction: row;
  gap: 20px;
}
.footer-left {
  order: 2;
}
.footer-center {
  order: 3;
}
.footer-link {
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: hsl(286, 100%, 27%);
}
.footer-copyright,
.footer-contact-text {
  font-size: 0.85rem;
  color: #000;
  margin: 0;
}
.footer-year {
  font-size: inherit;
  color: inherit;
}
.social-link {
  display: inline-flex;
  color: #333;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    color 0.3s ease;
}
.social-link svg {
  display: block;
}
.social-link:hover {
  color: hsl(286, 100%, 27%);
  transform: translateY(-2px);
}
body:has(.diaporama-epure) mon-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  margin-top: 0;
  z-index: 2000;
}
body:has(.diaporama-epure) .footer {
  padding: 15px 20px;
  background-color: #fff;
}
@media (width>=40rem) {
  .footer-link {
    font-size: 0.9rem;
  }
}
@media (width>=48rem) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 0;
    padding: 0 30px;
  }
  .footer-left {
    flex: 1;
    align-items: flex-start;
    justify-content: flex-start;
  }
  .footer-center {
    flex: 1;
    text-align: center;
  }
  .footer-right {
    flex: 1;
    flex-direction: row;
    justify-content: flex-end;
    gap: 20px;
    order: unset;
  }
  .footer-left {
    order: unset;
  }
  .footer-center {
    order: unset;
  }
}
@media (width>=64rem) {
  .footer-container {
    max-width: 62.5rem;
    padding: 0 20px;
  }
}
@media (width>=80rem) {
  .footer-container {
    max-width: 75rem;
    padding: 0 20px;
  }
}
@media (width>=96rem) {
  .footer-container {
    max-width: 90rem;
    padding: 0 20px;
  }
}

/* Carrousel monographie */
.project-carousel {
  position: relative;
  width: 100%;
  height: calc(100vh - 160px);
  min-height: 300px;
  overflow: hidden;
  z-index: 0;
}

.project-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.project-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.project-carousel-slide.active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

.project-carousel-slide img.monographie-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.slide-text-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 40px 80px;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--couleur-agence);
  white-space: pre-line;
  overflow-y: auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: transparent;
  border: none;
  padding: 0 10px;
  font-size: 2rem;
  line-height: 1;
  color: var(--couleur-agence);
  cursor: pointer;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  transition: opacity 0.2s ease;
}

.carousel-arrow:hover {
  opacity: 0.7;
}

.carousel-arrow.carousel-prev {
  left: 10px;
}

.carousel-arrow.carousel-next {
  right: 10px;
}

@media (max-width: 480px) {
  .project-carousel {
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px;
    box-sizing: border-box;
    height: auto;
    min-height: auto;
    overflow: visible;
  }

  .project-carousel-track {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    overflow: visible;
  }

  .project-carousel-slide {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    opacity: 1;
    z-index: auto;
    pointer-events: auto;
  }

  .project-carousel-slide.active {
    opacity: 1;
  }

  .project-carousel-slide img.monographie-img {
    width: 100%;
    height: auto;
  }

  .slide-text-content {
    padding: 20px;
    font-size: 1rem;
    height: auto;
    min-height: 200px;
  }

  .carousel-arrow {
    display: none;
  }
}

.contact-image-column img {
  max-height: 80vh;
}

.philosophy-image-side .agency-logo {
  width: 80%;
  max-width: 100%;
  max-height: 25vh;
  aspect-ratio: 393.61 / 304.55;
  background-color: var(--couleur-agence);
  -webkit-mask-image: url("/branding/logo_em-arch_vertical_responsive.svg");
  mask-image: url("/branding/logo_em-arch_vertical_responsive.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

#collaborations .section-subtitle {
  color: var(--couleur-agence);
  font-size: 1.6rem;
}
