/* Page Contact — tient sur un seul écran, sans scroll, footer plaqué en bas */

body.page-contact {
  margin: 0;
  background: #000;
  color: #fff;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

body.page-contact main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.page-contact .site-footer {
  flex: 0 0 auto;
}


:root {
  --contact-img-position:85%;
}

.contact-hero {
  position: relative;
  isolation: isolate;
  flex: 1 1 60%;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(4.5rem, 12vh, 7rem) 1.5rem clamp(1.25rem, 3vh, 2rem);
  box-sizing: border-box;
  background: #050302 center var(--contact-img-position) / cover no-repeat;
  background-image: url("CONTACT/CONTACT%202.jpg");
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

.contact-hero h1 {
  margin: 0;
  font-family: var(--font-stack);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow:
    0 0 8px rgba(0, 255, 12, 0.65),
    0 0 18px rgba(0, 255, 12, 0.42),
    0 0 32px rgba(0, 255, 12, 0.24);
}

/* ——— Bloc infos + carte ——— */
.contact-block {
  background: #000;
  flex: 1 1 40%;
  min-height: 0;
  display: flex;
  padding: clamp(1.25rem, 3.5vh, 2.5rem) 1.5rem;
  box-sizing: border-box;
}

.contact-block-inner {
  max-width: var(--max-w);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: stretch;
}

.contact-info {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: auto;
}

.contact-text {
  font-family: var(--font-about);
  font-size: clamp(0.92rem, 1.8vh, 1.1rem);
  line-height: 1.6;
  color: #fff;
  max-width: 38em;
  margin: 0 0 clamp(1rem, 3vh, 2rem);
}

.contact-socials-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.contact-socials {
  display: flex;
  flex-direction: column;
  gap: clamp(0.6rem, 1.6vh, 1rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-social-item a {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.22s ease, transform 0.22s ease;
}

.contact-social-item a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.contact-social-item img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.contact-map {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.contact-map-label {
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

.contact-map-wrap {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  background: #111;
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 900px) {
  /* Sur tablette/mobile : une seule colonne, la carte est masquée */
  .contact-block-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    overflow: hidden;
  }

  /* La carte est cachée, tout l'espace va au texte/réseaux */
  .contact-map {
    display: none;
  }

  .contact-info {
    overflow: hidden;
    justify-content: center;
  }

  .contact-social-item img {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    flex: 1 1 55%;
    padding: clamp(3.5rem, 12vh, 5rem) 1.25rem 1rem;
  }

  .contact-hero h1 {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .contact-block {
    flex: 1 1 45%;
    padding: 1rem 1.25rem;
  }

  .contact-text {
    font-size: 0.8rem;
    line-height: 1.45;
    margin-bottom: 0.6rem;
  }

  .contact-socials-label {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
  }

  .contact-socials {
    gap: 0.35rem;
  }

  .contact-social-item img {
    width: 24px;
    height: 24px;
  }

  .contact-social-item span {
    font-size: 0.8rem;
  }
}
