/* MB Studio Web — overrides refonte */
.w-webflow-badge,
a.w-webflow-badge {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Logo navbar spécial — taille adaptée à la barre */
.nav_logo-link {
  height: var(--spaces--space-2x);
  width: auto;
  min-width: 0;
  flex: none;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.nav_logo-link .logo_image {
  width: auto !important;
  height: 1.55em !important;
  max-height: 1.55em !important;
  max-width: 1.55em !important;
  object-fit: contain !important;
  display: block !important;
}

.footer_logo img {
  width: auto !important;
  height: 1.75em !important;
  max-width: 1.75em;
  object-fit: contain;
}

/* Menu clair : logo raccourci (encre foncée) lisible */
.nav_shell {
  background-color: rgba(245, 244, 240, 0.92) !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
  color: #0a0a0a;
}

.header-bg {
  background-color: rgba(245, 244, 240, 0.72) !important;
}

.nav_page-title {
  color: rgba(10, 10, 10, 0.55) !important;
}

.nav_menu-button {
  color: #0a0a0a !important;
}

.nav_menu-dot {
  background-color: #0a0a0a !important;
}

.nav_menu-label,
.nav_menu-row,
.nav_submenu-label,
.nav_panel-cta {
  color: #0a0a0a !important;
}

.nav_menu-meta {
  color: rgba(10, 10, 10, 0.45) !important;
}

.nav_menu-icon,
.nav_submenu-icon {
  color: rgba(10, 10, 10, 0.55) !important;
}

.nav_menu-row {
  border-top-color: rgba(10, 10, 10, 0.08) !important;
}

.nav_menu-row:hover {
  background-color: rgba(10, 10, 10, 0.05) !important;
}

.nav_panel-cta-wrap {
  border-top-color: rgba(10, 10, 10, 0.08) !important;
}

.nav_panel-cta {
  background-color: rgba(10, 10, 10, 0.06) !important;
  border-color: rgba(10, 10, 10, 0.12) !important;
}

.nav_panel-cta:hover {
  background-color: rgba(10, 10, 10, 0.1) !important;
  border-color: rgba(10, 10, 10, 0.18) !important;
}

/* Statement — moins de vide haut/bas + logos contenus */
.section_statement {
  min-height: 0 !important;
  padding-top: clamp(2.5rem, 6vh, 4.5rem) !important;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem) !important;
}

.section_statement,
.statement_wrap {
  max-width: 100%;
  overflow-x: clip;
}

.statement_wrap {
  gap: clamp(1.25rem, 3vh, 2rem) !important;
}

.statement_marquee {
  width: min(100%, 36rem) !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  height: auto !important;
  padding-block: 0.35rem;
  box-sizing: border-box;
}

.statement_track,
.statement_set {
  align-items: center !important;
}

.statement_client {
  height: auto !important;
  min-height: 2.5rem;
  max-height: none !important;
  overflow: visible !important;
  flex-shrink: 0;
  opacity: 0.85 !important;
  padding: 0.2rem 0;
}

.statement_client:hover {
  opacity: 1 !important;
}

.statement_client-logo {
  width: auto !important;
  height: 2.5rem !important;
  max-width: 7.5rem !important;
  max-height: 2.5rem !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  filter: none !important;
}

@media (max-width: 767px) {
  .statement_marquee {
    width: 100% !important;
  }

  .statement_client-logo {
    height: 2.15rem !important;
    max-width: 6.25rem !important;
    max-height: 2.15rem !important;
  }
}

/* Hero fond custom */
.section_hero .hero_image img.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work_card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* MB hero — texte en haut (dock en bas), fond full-bleed */
.section_hero.mb-hero {
  --mb-hero-ink: #f5f4f0;
  --mb-hero-blue: #146ef5;
  position: relative;
  margin: 0 !important;
  border-radius: 0 !important;
  height: 100svh !important;
  height: 100dvh !important;
  min-height: 100svh !important;
  min-height: 100vh !important;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  overflow: clip;
  background: #050505;
}

.section_hero.mb-hero .hero_image {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1 !important;
  display: block !important;
}

.section_hero.mb-hero .hero_image .image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: mb-hero-ken 18s ease-out forwards;
}

.mb-hero__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.78) 0%, rgba(5, 5, 5, 0.32) 45%, rgba(5, 5, 5, 0.62) 100%),
    radial-gradient(120% 70% at 50% 0%, rgba(20, 110, 245, 0.22), transparent 55%);
}

.section_hero.mb-hero .hero_content.mb-hero__content,
.mb-hero__content {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  z-index: 2;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  display: block !important;
  padding-top: clamp(1.5rem, 5vh, 3.25rem) !important;
  padding-bottom: 0 !important;
}

.section_hero.mb-hero [data-fade-action="heading"] {
  visibility: visible !important;
}

.mb-hero__layout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.85rem, 2vh, 1.35rem);
  max-width: 42rem;
  margin: 0 !important;
  padding-top: 0 !important;
}

.mb-hero__brand {
  display: block;
  width: min(16.5rem, 72vw);
  height: auto;
  margin: 0;
  opacity: 1 !important;
  animation: mb-hero-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.mb-hero__title {
  margin: 0 !important;
  color: #f5f4f0 !important;
  -webkit-text-fill-color: #f5f4f0 !important;
  max-width: 10ch;
  line-height: 0.98 !important;
  letter-spacing: -0.03em;
  font-size: clamp(2.75rem, 11vw, 5.5rem) !important;
  visibility: visible !important;
  opacity: 1 !important;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
  animation: mb-hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.mb-hero__lede {
  margin: 0;
  max-width: 30ch;
  color: rgba(245, 244, 240, 0.86) !important;
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  line-height: 1.45;
  font-weight: 500;
  opacity: 1 !important;
  animation: mb-hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.mb-hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 0.45rem;
  opacity: 1 !important;
  animation: mb-hero-rise 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.32s both;
}

.mb-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 12px;
  background: var(--mb-hero-blue);
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 10px 28px rgba(20, 110, 245, 0.28);
}

.mb-hero__btn:hover {
  background: #0f5fd6;
  transform: translateY(-1px);
}

.mb-hero__link {
  color: var(--mb-hero-ink) !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.95rem;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.35s ease, opacity 0.25s ease;
  opacity: 0.9;
}

.mb-hero__link:hover {
  background-size: 100% 1px;
  opacity: 1;
}

@keyframes mb-hero-rise {
  from {
    transform: translateY(18px);
    filter: blur(2px);
  }
  to {
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes mb-hero-ken {
  to {
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .mb-hero__brand {
    width: min(13.5rem, 78vw);
  }

  .mb-hero__title {
    max-width: 9ch;
    font-size: clamp(2.55rem, 12.5vw, 3.5rem) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section_hero.mb-hero .hero_image .image-cover,
  .mb-hero__brand,
  .mb-hero__title,
  .mb-hero__lede,
  .mb-hero__cta {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
  }
}

/* Selected work */
.section_made {
  --made-ink: #0a0a0a;
  --made-paper: #f5f4f0;
  position: relative;
  background-color: var(--made-paper);
  color: var(--made-ink);
}

.made_inner {
  width: min(100%, 72rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 6vh, 4rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3.5vh, 2.5rem);
}

.made_title-wrap {
  width: 100%;
}

.made_title {
  margin: 0;
  font-family: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--made-ink);
}

.made_title-line {
  display: block;
}

.made_grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.made_item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #e8e6e1;
  color: inherit;
  text-decoration: none;
  aspect-ratio: 16 / 11;
}

.made_item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s ease;
}

.made_item-name {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  z-index: 1;
  padding: 0.35rem 0.55rem;
  border-radius: 0.25rem;
  background: rgba(245, 244, 240, 0.92);
  color: var(--made-ink);
  font-size: 0.85rem;
  font-weight: 500;
}

.made_item:hover img {
  transform: scale(1.035);
}

@media (min-width: 700px) {
  .made_grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .made_item:hover img {
    transform: none;
  }
}


/* Selected work paper bg (match In the studio / site) */
.section_vv_works,
.section_vv_works__sticky,
.section_vv_works__mesh {
  background-color: #f5f4f0 !important;
  background: #f5f4f0 !important;
}

/* Footer — même écrue que le site (pas noir) */
.footer {
  background-color: #f5f4f0 !important;
  background: #f5f4f0 !important;
  color: #0a0a0a !important;
}

.footer_logo {
  color: #0a0a0a !important;
}

.footer_paragraph {
  color: rgba(10, 10, 10, 0.72) !important;
}

.footer_nav-link {
  color: #0a0a0a !important;
  border-bottom-color: rgba(10, 10, 10, 0.12) !important;
}

.footer_nav-link:hover {
  color: rgba(10, 10, 10, 0.55) !important;
}

.footer_link {
  color: rgba(10, 10, 10, 0.55) !important;
}

.footer_link:hover {
  color: #0a0a0a !important;
}

.footer_bottom {
  color: rgba(10, 10, 10, 0.55) !important;
  border-top-color: rgba(10, 10, 10, 0.12) !important;
}

.footer .link.is-light,
.footer a.link {
  color: #0a0a0a !important;
}


.testimonial_avatar {
  object-fit: cover;
  background: #0a0a0a;
}


/* Footer socials — desktop above blurb, mobile below */
.footer_brand-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer_socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  order: -1; /* desktop: above paragraph */
}
.footer_paragraph {
  order: 0;
}
.footer_social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  color: #0a0a0a;
  text-decoration: none !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.footer_social:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}
.footer_social-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
@media (max-width: 767px) {
  .footer_socials {
    order: 2; /* mobile: below paragraph */
  }
  .footer_paragraph {
    order: 1;
  }
}

/* legacy class kept harmless if leftover */
.footer_li-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  text-decoration: none !important;
}
.footer_li-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* Careers CTA — même fond que le hero + voile lisibilité */
.section_careers .careers_media img.image-cover {
  object-fit: cover;
  object-position: center;
}
.section_careers .careers_media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.25) 40%,
      rgba(0, 0, 0, 0.55) 100%
    );
  z-index: 1;
}
.section_careers .padding-global {
  position: relative;
  z-index: 2;
}

/* Contact — sans image ; FR + US téléphone / WhatsApp */
.section_enquiry .enquiry_wrapper {
  grid-template-columns: 1fr;
}
.section_enquiry .enquiry_media {
  display: none !important;
}
.direct_grid .direct_cell.is-email {
  grid-column: 1 / -1;
  border-left: none;
  border-top: 1px solid var(--_theme---border-colors--primary);
}
.direct_grid .direct_cell.is-whatsapp {
  border-top: 1px solid var(--_theme---border-colors--primary);
}
.direct_grid .direct_cell.is-whatsapp:not(.is-ruled) {
  border-left: none;
}
@media (max-width: 767px) {
  .direct_grid {
    grid-template-columns: 1fr;
  }
  .direct_grid .direct_cell.is-ruled {
    border-left: none;
    border-top: 1px solid var(--_theme---border-colors--primary);
  }
  .direct_value {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
    word-break: break-word;
  }
}

/* Language switcher — nav bar (right cluster, before menu) */
.nav_bar {
  position: relative;
}
.nav_bar .nav_page-title {
  padding-inline: 3.25rem 4.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mb-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  flex-shrink: 0;
  z-index: 3;
  margin-left: auto;
  margin-right: 0.2rem;
  padding: 0.2rem 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1d1d1d;
}
.mb-lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0.28rem 0.22rem;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
.mb-lang__btn.is-active {
  opacity: 1;
}
.mb-lang__btn:hover {
  opacity: 0.85;
}
.mb-lang__sep {
  opacity: 0.28;
  font-size: 0.62rem;
  user-select: none;
  pointer-events: none;
}

/* FAQ — réponses multi-paragraphes */
.faq_answer .faq_answer-text + .faq_answer-text {
  margin-top: 0.75rem;
}

/*
 * Mobile / tablette : aérer services → avis → FAQ.
 * Cards avis/services = Webflow natif (pas de width/height hacks).
 * On augmente seulement le padding vertical entre sections.
 */
@media (max-width: 991px) {
  .section_services > .padding-global.padding-section,
  .section_testimonials > .padding-global.padding-section {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
  }

  .section_faq > .padding-global.padding-section {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
  }
}

@media (max-width: 767px) {
  .section_services > .padding-global.padding-section,
  .section_testimonials > .padding-global.padding-section,
  .section_faq > .padding-global.padding-section {
    padding-top: 6.25rem !important;
    padding-bottom: 6.25rem !important;
  }
}

/*
 * Desktop (≥992px) — aérer services / avis / FAQ.
 * Le padding trop serré (clamp 2.5–4rem + 1.75rem short) collait
 * les deux sections. Cards services restent plafonnées en hauteur.
 */
@media (min-width: 992px) {
  .section_services > .padding-global.padding-section,
  .section_testimonials > .padding-global.padding-section,
  .section_faq > .padding-global.padding-section {
    padding-top: clamp(5.5rem, 11vh, 8rem) !important;
    padding-bottom: clamp(5.5rem, 11vh, 8rem) !important;
  }

  .section_services .section_content,
  .section_testimonials .section_content {
    grid-row-gap: clamp(2rem, 3.5vh, 3rem) !important;
    row-gap: clamp(2rem, 3.5vh, 3rem) !important;
  }

  .section_services .services_card {
    min-height: 0 !important;
    height: min(28rem, max(20rem, 24em), calc(100svh - 18rem));
    max-height: calc(100svh - 16rem);
    row-gap: 1.1rem;
  }

  .section_services .services_glyph-wrap {
    height: 3.25em;
    margin-top: 0;
    margin-bottom: 0;
  }

  .section_services .services_glyph {
    width: 4em;
    height: 4em;
  }
}

@media (min-width: 992px) and (max-height: 860px) {
  .section_services > .padding-global.padding-section,
  .section_testimonials > .padding-global.padding-section,
  .section_faq > .padding-global.padding-section {
    padding-top: 4.25rem !important;
    padding-bottom: 4.25rem !important;
  }

  .section_services .section_content,
  .section_testimonials .section_content {
    grid-row-gap: 1.75rem !important;
    row-gap: 1.75rem !important;
  }

  .section_services .services_card {
    height: min(22rem, max(17rem, 20em), calc(100svh - 14rem));
    max-height: calc(100svh - 13rem);
  }
}
