/* site_web/assets/css/contact.css */

/* ============ Page header (reusable pattern — also used by
   references.html, mentions-legales.html, politique-de-confidentialite.html
   and plan-du-site.html) ============ */
.page-header {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  overflow: hidden;
  background: #000;
}
@media (min-width: 768px) {
  .page-header { padding-top: 12rem; padding-bottom: 7rem; }
}

.page-header__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.05);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.page-header__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header__eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .page-header__eyebrow { font-size: 0.875rem; } }

.page-header__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.25rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
@media (min-width: 768px) { .page-header__title { font-size: 3.75rem; } }

.page-header__subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-top: 1.5rem;
  max-width: 42rem;
  margin-inline: auto;
}
@media (min-width: 768px) { .page-header__subtitle { font-size: 1.125rem; } }

.page-header__rule {
  width: 12rem;
  height: 2px;
  margin: 2rem auto 0;
  background: var(--gold);
}

/* ============ Infos + formulaire ============ */
.contact-section {
  position: relative;
  padding-block: 5rem;
  background: #000;
}
@media (min-width: 768px) { .contact-section { padding-block: 8rem; } }

.contact-section__top-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(212, 160, 23, 0.3), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 3fr; gap: 3rem; }
}

/* ---- Infos column ---- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__heading {
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.contact-info__rows {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info__icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.1);
  color: var(--gold);
}
.contact-info__icon .icon { width: 18px; height: 18px; }

.contact-info__label {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-info__value {
  display: inline-block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.contact-info__link { transition: color 0.3s; }
.contact-info__link:hover { color: var(--gold); }

.contact-info__socials {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-info__social-pill {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: border-color 0.3s, color 0.3s;
}
.contact-info__social-pill:hover { border-color: var(--gold); color: var(--gold); }

/* ---- Form column ---- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .contact-form__row { grid-template-columns: 1fr 1fr; }
}

.contact-form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  color: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.3s;
}
.contact-form__input::placeholder { color: rgba(255, 255, 255, 0.3); }
.contact-form__input:focus { border-color: var(--gold); outline: none; }

.contact-form__textarea { resize: none; }

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 1rem 2rem;
  background: var(--gold);
  color: #000;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: none;
  transition: background-color 0.3s, opacity 0.3s;
}
.contact-form__submit:hover { background: var(--amber); }
.contact-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

/* ============ Toast (shared component, first exercised here) ============ */
.toast {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  max-width: 24rem;
  padding: 1rem 1.5rem;
  background: #111;
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(1rem);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}
.toast--visible {
  transform: translateY(0);
  opacity: 1;
}
