/* ===== ANIMATIONS CONTACT — fondu simple ===== */
.contact-body .anim {
  opacity: 0;
  transform: none;
  transition: opacity 1.8s ease;
}

.contact-body .anim.visible {
  opacity: 1;
  transform: none;
}

/* ===== THÈME CLAIR — page contact uniquement ===== */
.contact-body {
  background: #d0cfcd !important;
  color: #2a2a2a !important;
}

.contact-body #custom-cursor::before,
.contact-body #custom-cursor::after {
  background: #2a2a2a !important;
}

.contact-body .logo-img {
  filter: brightness(0) !important;
}

.contact-body .logo::before,
.contact-body .nav-contact::before {
  background: radial-gradient(ellipse at center, rgba(221,220,218,0.5) 0%, rgba(221,220,218,0.2) 40%, transparent 70%) !important;
}

.contact-body .nav-contact {
  color: #9a9894 !important;
}

.contact-body .logo:hover {
  color: transparent !important;
}

.contact-body .logo::after {
  color: #6b6966 !important;
}

/* ===== RIDEAU SOMBRE DE BASE — transition smooth vers le clair ===== */
#contact-curtain {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 10;
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact-curtain.reveal {
  opacity: 0;
}

/* ===== CERCLE CLAIR QUI S'ÉTEND DEPUIS CONTACT ===== */
#contact-reveal {
  position: fixed;
  width: 300vmax;
  height: 300vmax;
  border-radius: 50%;
  top: 0;
  right: 0;
  transform: translate(50%, -50%) scale(0);
  opacity: 1;
  background: #d0cfcd;
  filter: blur(260px);
  z-index: 11;
  pointer-events: none;
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#contact-reveal.reveal {
  transform: translate(50%, -50%) scale(1);
}

/* Contenu au-dessus des overlays */
.contact-body #main-site {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
}

/* Footer visible + thème clair — collé en bas */
.contact-body footer {
  position: static;
  padding: 20px 40px;
  flex-shrink: 0;
}

.contact-body .footer-links a {
  color: #9a9894;
}

.contact-body .footer-arrow {
  border-color: #9a9894;
}

/* ===== LAYOUT ===== */
.contact-page {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  padding: 70px 80px 0;
}

.contact-left {
  max-width: 420px;
}

.contact-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: #2a2a2a;
  letter-spacing: normal;
}

.contact-sub {
  margin-top: 20px;
  font-size: 14px;
  font-weight: 400;
  color: #6b6966;
  line-height: 1.8;
  letter-spacing: normal;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 10px;
  font-weight: 500;
  color: #9a9894;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-link {
  font-size: 18px;
  font-weight: 400;
  color: #2a2a2a;
  text-decoration: none;
  transition: opacity 0.3s, transform 0.3s ease;
  display: inline-block;
  line-height: 1.5;
}

a.contact-link:hover {
  opacity: 0.4;
  transform: scale(1.02);
}

.contact-socials {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

.contact-socials a {
  font-size: 12px;
  font-weight: 400;
  color: #6b6966;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.3s, transform 0.3s ease;
  display: inline-block;
}

.contact-socials a:hover {
  opacity: 0.4;
  transform: scale(1.02);
}

/* ===== RESPONSIVE — TABLETTE ===== */
@media (max-width: 1024px) {
  .contact-page {
    gap: 60px;
    padding: 80px 40px;
  }

  .contact-title {
    font-size: 38px;
  }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
  .contact-page {
    flex-direction: row;
    padding: 80px 16px 20px;
    gap: 24px;
    align-items: center;
    justify-content: center;
  }

  .contact-left {
    max-width: 58%;
    flex: 1;
  }

  .contact-title {
    font-size: clamp(24px, 6.5vw, 42px);
    line-height: 1.1;
  }

  .contact-sub {
    font-size: 8px;
    line-height: 1.6;
    margin-top: 10px;
  }

  .contact-right {
    gap: 20px;
    flex: 1;
  }

  .contact-link {
    font-size: 13px;
    min-height: 36px;
    display: flex;
    align-items: center;
  }

  .contact-label {
    font-size: 8px;
  }

  .contact-body footer {
    padding: 20px 16px;
  }

  .contact-body .footer-links {
    font-size: 11px;
  }

  .contact-body .footer-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ===== RESPONSIVE — PETIT MOBILE ===== */
@media (max-width: 480px) {
  .contact-page {
    flex-direction: row;
    padding: 60px 16px 14px;
    gap: 20px;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-sub {
    font-size: 9px;
  }

  .contact-right {
    gap: 16px;
  }

  .contact-link {
    font-size: 13px;
    min-height: 32px;
  }

  .contact-label {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
}
