@import "https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&family=Inter+Tight:wght@300;400;500;600&display=swap";

@font-face {
  font-family: "Humane";
  src: url("../navbar/fonts/Humane-Black.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --btc-font-humane: "Humane", sans-serif;
  --btc-font-inter: "Inter Tight", sans-serif;
  --btc-font-mono: "Geist Mono", monospace;
  --btc-accent: #d4af37;
  --btc-accent-soft: #e8c872;
  --btc-accent-deep: #b8942d;
  /* btcar75 = 16px/rem ; le site global utilise html { font-size: 62.5% } (10px/rem) */
  --btc-r: 16px;
  --btc-nav-mobile: 769px;
  --btc-nav-desktop: 770px;
}

header.header.header--fixed,
header.header.is-hidden--print {
  display: none !important;
}

#menu.with-menu-modal,
.modal--menu {
  display: none !important;
}

.btc-header {
  --btc-text: #fff;
  --btc-muted: rgba(255, 255, 255, 0.25);
  --btc-border: rgba(255, 255, 255, 0.1);
  --btc-bg: rgba(0, 0, 0, 0.6);
  --btc-toggle-border: rgba(255, 255, 255, 0.1);
  --btc-hamburger: #fff;
  position: fixed;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 1000;
  margin-inline: auto;
  width: min(calc(57.5 * var(--btc-r)), calc(100% - calc(1.875 * var(--btc-r))));
  height: calc(4.375 * var(--btc-r));
  max-height: 96vh;
  border-radius: 35px;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: var(--btc-bg);
  -webkit-backdrop-filter: blur(16.4px);
  backdrop-filter: blur(16.4px);
  color: var(--btc-text);
  opacity: 1;
  transform: translateZ(0);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-sizing: border-box;
}

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

.btc-header a,
.btc-header button {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.btc-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.btc-header.light-header {
  --btc-text: #000;
  --btc-muted: rgba(0, 0, 0, 0.25);
  --btc-border: rgba(0, 0, 0, 0.12);
  --btc-bg: rgba(255, 255, 255, 0.82);
  --btc-toggle-border: #f4f4f4;
  --btc-hamburger: #000;
  border-color: #f4f4f4;
}

.color-change-break {
  display: block;
  width: 100%;
  height: 50px;
  margin-top: -10px;
  pointer-events: none;
}

@media (max-width: 769px) {
  .color-change-break {
    height: 20px;
  }
}

@media (max-width: 769px) {
  .btc-header {
    top: calc(0.6875 * var(--btc-r));
    height: calc(4 * var(--btc-r));
  }
}

.btc-header:not(.is-menu-open) {
  justify-content: center;
}

.btc-header__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: calc(3 * var(--btc-r));
  min-height: calc(3 * var(--btc-r));
  padding: 0 calc(0.625 * var(--btc-r));
  flex-shrink: 0;
}

.btc-header.is-menu-open .btc-header__inner {
  height: auto;
  min-height: calc(3 * var(--btc-r));
}

.btc-header__logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

.btc-header__logo {
  display: block !important;
  height: clamp(calc(2 * var(--btc-r)), 4vw, calc(2.75 * var(--btc-r)));
  width: auto;
  max-width: calc(9 * var(--btc-r));
  max-height: calc(2.75 * var(--btc-r));
  object-fit: contain;
}

.btc-header__title {
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  line-height: 1;
  font-family: var(--btc-font-inter);
  font-size: clamp(
    calc(0.875 * var(--btc-r)),
    calc(0.5212264151 * var(--btc-r) + 1.1320754717vw),
    calc(1.625 * var(--btc-r))
  );
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 769px) {
  .btc-header__title {
    font-size: calc(1.25 * var(--btc-r));
  }
}

.btc-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  column-gap: calc(1.875 * var(--btc-r));
  margin-left: auto;
}

.btc-header-link {
  display: none;
  font-family: var(--btc-font-mono);
  font-size: clamp(
    calc(0.75 * var(--btc-r)),
    calc(0.6910377358 * var(--btc-r) + 0.1886792453vw),
    calc(0.875 * var(--btc-r))
  );
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 770px) {
  .btc-header-link {
    display: inline-flex;
  }
}

.btc-header .toggle-btn {
  height: calc(3 * var(--btc-r));
  width: calc(3 * var(--btc-r));
  border: 1px solid var(--btc-toggle-border);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  flex-shrink: 0;
}

.btc-header .hamburger-icon {
  position: relative;
  height: 24px;
  width: 24px;
}

.btc-header .hamburger-icon span {
  position: absolute;
  top: 60%;
  left: 0;
  transform: translateY(-50%);
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--btc-hamburger);
  transition: transform 0.25s ease;
}

.btc-header .hamburger-icon span::before {
  content: "";
  position: absolute;
  right: 0;
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--btc-hamburger);
  transform: translateY(-4px);
  transition: transform 0.25s ease, width 0.25s ease;
}

.btc-header .hamburger-icon.active span {
  transform: rotate(45deg);
  top: 50%;
}

.btc-header .hamburger-icon.active span::before {
  width: 24px;
  transform: rotate(-90deg);
}

.btc-header__dropdown {
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-height: 0;
}

.btc-header__dropdown::-webkit-scrollbar {
  display: none;
}

.btc-header:not(.is-menu-open) .btc-header__dropdown {
  visibility: hidden;
  pointer-events: none;
  max-height: 0;
  opacity: 0;
}

.btc-header.is-menu-open {
  height: auto;
  min-height: calc(4.375 * var(--btc-r));
  justify-content: flex-start;
}

.btc-header.is-menu-open .btc-header__dropdown {
  visibility: visible;
  pointer-events: auto;
  max-height: calc(96vh - calc(4.5 * var(--btc-r)));
  opacity: 1;
  transition: opacity 0.3s ease;
}

.btc-header__dropdown ul {
  padding-top: calc(2.1875 * var(--btc-r));
}

.btc-header__li {
  position: relative;
  border-bottom: 1px solid var(--btc-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.btc-header__li:last-of-type {
  border-bottom: none;
}

.btc-header__a {
  display: flex;
  align-items: baseline;
  flex: 1;
  overflow: hidden;
  padding: calc(0.3125 * var(--btc-r)) calc(0.625 * var(--btc-r)) calc(0.75 * var(--btc-r));
}

.btc-header__a .a-main {
  font-family: var(--btc-font-humane) !important;
  font-size: clamp(
    calc(2.625 * var(--btc-r)),
    calc(1.6786971831 * var(--btc-r) + 4.0375586854vw),
    calc(5.3125 * var(--btc-r))
  );
  font-weight: 700 !important;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  transform: translateY(-100px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.btc-header.is-menu-open .btc-header__a .a-main {
  transform: translateY(0);
}

.btc-header__a .a-sub {
  font-family: var(--btc-font-mono) !important;
  font-size: clamp(
    calc(0.75 * var(--btc-r)),
    calc(0.6910377358 * var(--btc-r) + 0.1886792453vw),
    calc(0.875 * var(--btc-r))
  );
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--btc-muted);
  margin-left: 22px;
  opacity: 0;
  transform: translateX(-100px);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.btc-header__a:hover .a-sub,
.btc-header__a:focus-visible .a-sub {
  opacity: 1;
  transform: translateX(0);
}

.btc-header__a:hover .a-main,
.btc-header__a:focus-visible .a-main {
  background: linear-gradient(to right, var(--btc-text) 20%, var(--btc-accent-soft), var(--btc-accent), var(--btc-text) 80%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: btc-shine 2s linear infinite reverse;
}

.btc-header__a.is-current .a-main {
  background: linear-gradient(to right, var(--btc-text) 20%, var(--btc-accent-soft), var(--btc-accent), var(--btc-text) 80%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: btc-shine 2s linear infinite;
}

.btc-header__dropdown-btn {
  margin-left: auto;
  height: calc(3 * var(--btc-r));
  width: calc(3 * var(--btc-r));
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-300px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.btc-header__dropdown-btn img {
  width: calc(1.5 * var(--btc-r));
  height: auto;
}

.btc-header.is-menu-open .btc-header__dropdown-btn {
  opacity: 1;
  transform: translateY(0);
}

.btc-header.is-menu-open .btc-header__li:nth-child(1) .a-main { transition-delay: 0.02s; }
.btc-header.is-menu-open .btc-header__li:nth-child(2) .a-main { transition-delay: 0.06s; }
.btc-header.is-menu-open .btc-header__li:nth-child(3) .a-main { transition-delay: 0.1s; }
.btc-header.is-menu-open .btc-header__li:nth-child(4) .a-main { transition-delay: 0.14s; }
.btc-header.is-menu-open .btc-header__li:nth-child(5) .a-main { transition-delay: 0.18s; }

.btc-header.is-menu-open .btc-header__li:nth-child(1) .btc-header__dropdown-btn { transition-delay: 0.08s; }
.btc-header.is-menu-open .btc-header__li:nth-child(2) .btc-header__dropdown-btn { transition-delay: 0.12s; }
.btc-header.is-menu-open .btc-header__li:nth-child(3) .btc-header__dropdown-btn { transition-delay: 0.16s; }
.btc-header.is-menu-open .btc-header__li:nth-child(4) .btc-header__dropdown-btn { transition-delay: 0.2s; }
.btc-header.is-menu-open .btc-header__li:nth-child(5) .btc-header__dropdown-btn { transition-delay: 0.24s; }

.anim-icon-light {
  display: flex;
}

.anim-icon-dark {
  display: none;
}

.btc-header.light-header .anim-icon-light {
  display: none;
}

.btc-header.light-header .anim-icon-dark {
  display: flex;
}

.btc-header__contact {
  display: grid;
  grid-template-columns: 1fr;
  padding: calc(0.625 * var(--btc-r));
  gap: calc(0.625 * var(--btc-r));
}

.btc-header__contact .contact-block {
  background: linear-gradient(135deg, var(--btc-accent-soft) 0%, var(--btc-accent) 55%, var(--btc-accent-deep) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: calc(1.625 * var(--btc-r));
  padding: calc(1 * var(--btc-r));
  max-height: calc(6.25 * var(--btc-r));
}

.btc-header__contact .contact-block .txt {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.btc-header__contact .contact-block .txt p {
  font-family: var(--btc-font-mono) !important;
  font-size: clamp(
    calc(0.75 * var(--btc-r)),
    calc(0.6910377358 * var(--btc-r) + 0.1886792453vw),
    calc(0.875 * var(--btc-r))
  );
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
  margin: 0;
}

.btc-header__contact .contact-block .txt .link {
  color: #fff;
  font-family: var(--btc-font-humane) !important;
  font-size: clamp(
    calc(1.75 * var(--btc-r)),
    calc(-4.0833333333 * var(--btc-r) + 7.7777777778vw),
    calc(5.25 * var(--btc-r))
  );
  font-weight: 700 !important;
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding-top: calc(0.625 * var(--btc-r));
  max-width: calc(10 * var(--btc-r));
  margin: 0;
}

@media (min-width: 770px) {
  .btc-header__contact .contact-block .txt .link {
    font-size: calc(1.75 * var(--btc-r));
    line-height: 0.9;
    max-width: calc(7 * var(--btc-r));
  }
}

.btc-header__contact .contact-block img {
  mix-blend-mode: multiply;
  height: auto;
  width: auto;
  max-height: calc(4.75 * var(--btc-r));
  flex-shrink: 0;
  object-fit: contain;
}

body.btc-nav-open {
  overflow: hidden;
}

.btc-header.light-header .btc-header__a:hover .a-main,
.btc-header.light-header .btc-header__a:focus-visible .a-main,
.btc-header.light-header .btc-header__a.is-current .a-main {
  background: linear-gradient(to right, #000 20%, var(--btc-accent-soft), var(--btc-accent), #000 80%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes btc-shine {
  to {
    background-position: 200% center;
  }
}

@media (max-width: 769px) {
  .btc-header__a {
    padding-right: 0;
  }

  .btc-header__dropdown-btn {
    right: 0;
  }
}

/* Sélecteur langue — desktop uniquement */
.btc-header__lang {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

@media (min-width: 770px) {
  .btc-header__lang {
    display: inline-flex;
  }
}

.btc-header__lang-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--btc-font-mono);
  font-size: calc(0.68 * var(--btc-r));
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btc-header__lang-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btc-header__lang-btn.is-active {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.btc-header.light-header .btc-header__lang-btn {
  border-color: rgba(0, 0, 0, 0.16);
  color: rgba(0, 0, 0, 0.58);
}

.btc-header.light-header .btc-header__lang-btn:hover {
  color: #111;
  border-color: rgba(0, 0, 0, 0.32);
}

.btc-header.light-header .btc-header__lang-btn.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Bulle WhatsApp flottante */
.mtc-whatsapp-float {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 28px);
  z-index: 9998;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}

.mtc-whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.42);
  background: #000;
  color: #fff;
}

.mtc-whatsapp-float svg {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
}

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