/* ============================================================
   AZERTIX · PAGE CONTACT
   Complète style.css — mêmes variables, même échelle d'espacement.
   ============================================================ */

.contact-page { align-items: flex-start; }

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

/* ============================================================
   RETOUR
   ============================================================ */
.back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.back:hover { background: var(--glass-hi); border-color: var(--glass-line-hi); }

/* ============================================================
   PANNEAUX
   ============================================================ */
.panel {
  position: relative;
  padding: var(--s6);
  border-radius: var(--r-lg);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 20px 50px -28px rgba(0, 0, 0, 1);
  animation: panelIn 0.45s var(--ease) both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wrap .panel:nth-of-type(2) { animation-delay: 0.04s; }
.wrap .panel:nth-of-type(3) { animation-delay: 0.08s; }
.wrap .panel:nth-of-type(4) { animation-delay: 0.12s; }
.wrap .panel:nth-of-type(5) { animation-delay: 0.16s; }

/* ============================================================
   TITRES DE SECTION
   ============================================================ */
.section-tag {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.section-tag:not(:first-child) { margin-top: var(--s7); }
.section-tag .num {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--r-sm);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { text-align: center; padding: var(--s7) var(--s6); }
.hero__badge {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--s4);
  display: grid;
  place-items: center;
  font-size: 21px;
  border-radius: var(--r-md);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
}
.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  line-height: 1;
  letter-spacing: 4px;
  color: var(--text);
}
.hero__sub {
  max-width: 400px;
  margin: var(--s3) auto 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-dim);
}
.hero .chips { margin-top: var(--s5); }

/* ============================================================
   TYPE DE DEMANDE
   ============================================================ */
.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}
.reason {
  --tint: var(--text-dim);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  border-radius: var(--r-md);
  cursor: pointer;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}
.reason input { position: absolute; opacity: 0; pointer-events: none; }
.reason__ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  border-radius: var(--r-sm);
  color: var(--tint);
  background: rgba(255, 255, 255, 0.05);
}
@supports (background: color-mix(in srgb, red 10%, transparent)) {
  .reason__ico { background: color-mix(in srgb, var(--tint) 14%, transparent); }
  .alt__ico    { background: color-mix(in srgb, var(--tint) 14%, transparent); }
  .reason.is-on { border-color: color-mix(in srgb, var(--tint) 55%, transparent); }
}
.reason__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.reason__title { font-size: 15px; font-weight: 700; letter-spacing: 0.2px; }
.reason__sub {
  font-size: 11.5px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reason__tick {
  margin-left: auto;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.reason:hover { background: var(--glass-hi); border-color: var(--glass-line-hi); }
.reason.is-on {
  background: var(--glass-hi);
  border-color: var(--glass-line-hi);
}
.reason.is-on .reason__tick { opacity: 1; transform: scale(1); }

.reason--collab   { --tint: #a978ff; }
.reason--sponso   { --tint: #e0b13c; }
.reason--question { --tint: #3d9bff; }
.reason--support  { --tint: #25e0d0; }

/* ============================================================
   CHAMPS
   ============================================================ */
.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0; width: 0; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

.field { margin-bottom: var(--s4); }
.field > label {
  display: block;
  margin-bottom: var(--s2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.ctrl {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: 0 var(--s4);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-line);
  transition: border-color 0.2s, background 0.2s;
}
.ctrl--area { align-items: flex-start; padding-top: var(--s3); }
.ctrl > i:first-child { flex-shrink: 0; color: var(--text-low); font-size: 14px; transition: color 0.2s; }

.ctrl input,
.ctrl textarea {
  flex: 1;
  min-width: 0;
  padding: var(--s3) 0;
  border: none;
  outline: none;
  background: none;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15.5px;
  font-weight: 600;
  resize: vertical;
}
.ctrl textarea { line-height: 1.55; max-height: 320px; }
.ctrl input::placeholder,
.ctrl textarea::placeholder { color: var(--text-low); font-weight: 500; }

.ctrl .check {
  flex-shrink: 0;
  color: var(--ok);
  font-size: 14px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.field.is-valid .ctrl .check { opacity: 1; transform: scale(1); }

.field.is-focus .ctrl { border-color: var(--line-2); background: rgba(255, 255, 255, 0.055); }
.field.is-focus .ctrl > i:first-child { color: var(--text-dim); }
.field.is-error .ctrl { border-color: rgba(214, 122, 138, 0.55); }
.field.is-error .ctrl > i:first-child { color: var(--ko); }

.field__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  margin-top: 6px;
}
.msg {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ko);
}
.field__foot .msg { margin-top: 0; }
.counter { flex-shrink: 0; font-size: 12px; font-weight: 600; color: var(--text-low); }
.counter.warn { color: var(--gold); }

/* ============================================================
   ENVOI
   ============================================================ */
.submit {
  position: relative;
  width: 100%;
  margin-top: var(--s5);
  padding: var(--s4);
  border-radius: var(--r-md);
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--glass-line-hi);
  overflow: hidden;
  transition: background 0.2s, transform 0.2s var(--ease);
}
.submit:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.submit:active { transform: translateY(0); }
.submit__idle,
.submit__load { display: inline-flex; align-items: center; gap: var(--s2); justify-content: center; }
.submit__load { display: none; }
.submit.is-loading { pointer-events: none; opacity: 0.75; }
.submit.is-loading .submit__idle { display: none; }
.submit.is-loading .submit__load { display: inline-flex; }

.spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: var(--text);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form__note {
  margin-top: var(--s4);
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  color: var(--text-low);
}
.form__note i { color: var(--text-dim); margin-right: 4px; }
.form__note b { color: var(--text-dim); font-weight: 700; }

/* ============================================================
   SUCCÈS
   ============================================================ */
.success { display: none; text-align: center; padding: var(--s8) var(--s6); }
.success.show { display: block; }
.success__check {
  width: 66px;
  height: 66px;
  margin: 0 auto var(--s5);
  display: grid;
  place-items: center;
  font-size: 28px;
  border-radius: 50%;
  color: var(--ok);
  background: rgba(111, 191, 142, 0.14);
}
.success__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
  color: var(--text);
}
.success__txt {
  max-width: 380px;
  margin: var(--s2) auto var(--s6);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
}
.success__btns { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s5);
  border-radius: var(--r-md);
  font-family: 'Rajdhani', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  color: var(--text);
  border: 1px solid var(--glass-line);
  background: var(--glass);
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--glass-hi); border-color: var(--glass-line-hi); }
.btn--solid { background: rgba(255, 255, 255, 0.1); border-color: var(--line-2); }
.btn--solid:hover { background: rgba(255, 255, 255, 0.15); }

/* ============================================================
   AUTRES MOYENS
   ============================================================ */
.alts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.alt {
  --tint: var(--text-dim);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.alt:hover { background: var(--glass-hi); border-color: var(--glass-line-hi); transform: translateY(-1px); }
.alt__ico {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 16px;
  border-radius: var(--r-sm);
  color: var(--tint);
  background: rgba(255, 255, 255, 0.05);
}
.alt__txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.alt__t { font-size: 14.5px; font-weight: 700; letter-spacing: 0.2px; }
.alt__s {
  font-size: 11.5px;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alt__arr { margin-left: auto; flex-shrink: 0; font-size: 11px; color: var(--text-low); transition: color 0.2s, transform 0.2s var(--ease); }
.alt:hover .alt__arr { color: var(--text); transform: translateX(2px); }

.alt--discord { --tint: #5865f2; }
.alt--mail    { --tint: #3d9bff; }
.alt--x       { --tint: #e8eaee; }
.alt--insta   { --tint: #e1306c; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: var(--s2); }
.faq__item {
  border-radius: var(--r-md);
  background: var(--glass);
  border: 1px solid var(--glass-line);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] { border-color: var(--glass-line-hi); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s4);
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
  color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  flex-shrink: 0;
  font-size: 11px;
  color: var(--text-low);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.faq__item[open] summary i { transform: rotate(45deg); color: var(--text-dim); }
.faq__a {
  padding: 0 var(--s4) var(--s4);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.faq__a a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   BUSINESS / PARTENARIATS
   ============================================================ */
.biz {
  display: flex;
  gap: var(--s5);
  align-items: flex-start;
  border-color: rgba(224, 177, 60, 0.26);
}
.biz__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 19px;
  border-radius: var(--r-md);
  color: var(--gold);
  background: rgba(224, 177, 60, 0.12);
}
.biz__body { min-width: 0; flex: 1; }
.biz__tag {
  display: block;
  margin-bottom: var(--s1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
}
.biz__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 1.5px;
  line-height: 1.1;
  color: var(--text);
}
.biz__txt {
  margin-top: var(--s3);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}
.biz__txt--en {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line);
  font-style: italic;
  color: var(--text-low);
}

.biz__mails { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.biz__mail {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  cursor: pointer;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  /* un <button> centre son texte par défaut */
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(224, 177, 60, 0.28);
  transition: border-color 0.2s, background 0.2s;
}
.biz__mail > i { color: var(--gold); font-size: 13px; }
.biz__mail:hover { border-color: rgba(224, 177, 60, 0.55); background: rgba(255, 255, 255, 0.07); }
.biz__addr { margin-right: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.biz__copy {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(224, 177, 60, 0.12);
}
.biz__mail.copied { border-color: rgba(111, 191, 142, 0.6); }
.biz__mail.copied .biz__copy { color: var(--ok); background: rgba(111, 191, 142, 0.16); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 620px) {
  .contact-page { padding: var(--s5) var(--s3); }
  .wrap { gap: var(--s3); }
  .panel { padding: var(--s5); }
  .hero { padding: var(--s6) var(--s5); }
  .hero__title { font-size: 42px; }
  .biz { flex-direction: column; gap: var(--s4); }
  .biz__title { font-size: 26px; }
}

@media (max-width: 480px) {
  .reasons,
  .alts,
  .grid2 { grid-template-columns: 1fr; }
  .reason__sub { white-space: normal; }
  .biz__mail { width: 100%; }
  .biz__addr { flex: 1; }
}
