/* ============================================================
   AZERTIX · PAGE CONTACT — THÈME FORTNITE
   Réutilise les variables & le fond de style.css
   ============================================================ */

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

.wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Lien retour */
.back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  background: rgba(10, 16, 40, 0.6);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  transition: all 0.25s var(--ease);
  animation: fade 0.5s ease both;
}
.back:hover {
  color: #fff;
  border-color: var(--blue);
  transform: translateX(-3px);
  box-shadow: 0 0 18px -4px var(--blue);
}

/* ============================================================
   PANNEAUX
   ============================================================ */
.panel {
  position: relative;
  padding: 26px 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(var(--glass), var(--glass)) padding-box,
    linear-gradient(135deg, rgba(32,196,255,0.55), rgba(150,60,255,0.4) 55%, rgba(255,170,40,0.3)) border-box;
  border: 1.5px solid transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 55px -26px rgba(0, 0, 0, 0.85);
  animation: panelIn 0.6s var(--ease) both;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wrap .panel:nth-of-type(2) { animation-delay: 0.05s; }
.wrap .panel:nth-of-type(3) { animation-delay: 0.10s; }
.wrap .panel:nth-of-type(4) { animation-delay: 0.15s; }
.wrap .panel:nth-of-type(5) { animation-delay: 0.20s; }

/* Bordure animée (hero) */
.panel--anim {
  background-size: 100% 100%, 260% 260%;
  animation: panelIn 0.6s var(--ease) both, borderFlow 9s linear infinite;
}

/* Coins HUD (réutilise .bracket de style.css, repositionnés) */
.panel .bracket--tl { top: 12px; left: 12px; }
.panel .bracket--tr { top: 12px; right: 12px; }
.panel .bracket--bl { bottom: 12px; left: 12px; }
.panel .bracket--br { bottom: 12px; right: 12px; }

/* Étiquette de section numérotée */
.section-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 4px 0 14px;
}
.section-tag:not(:first-child) { margin-top: 26px; }
.section-tag .num {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  color: #04122a;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px -3px var(--blue);
}

/* ============================================================
   HERO
   ============================================================ */
.hero { text-align: center; padding: 34px 26px 28px; }
.hero__badge {
  width: 60px; height: 60px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  font-size: 26px;
  color: #04122a;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 26px -4px var(--blue);
  animation: bob 2.6s ease-in-out infinite;
}
.hero__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 0.92;
  letter-spacing: 4px;
  position: relative;
  color: #eaf4ff;
  background: linear-gradient(110deg, #7bd6ff 0%, #a9e3ff 45%, #cbb0ff 72%, #ffe39a 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(60, 130, 255, 0.30));
}
.hero__sub {
  max-width: 420px;
  margin: 10px auto 0;
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-dim);
}
.hero .chips { margin-top: 16px; }

/* ============================================================
   TYPE DE DEMANDE
   ============================================================ */
.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.reason {
  --rar: var(--blue);
  --rar2: var(--purple);
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  cursor: pointer;
  background: var(--glass-2);
  border: 1.5px solid var(--line);
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.reason input { position: absolute; opacity: 0; pointer-events: none; }
.reason__ico {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 18px;
  color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rar), var(--rar2));
  box-shadow: 0 4px 14px -4px var(--rar), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.25s var(--ease);
}
.reason__txt { display: flex; flex-direction: column; min-width: 0; }
.reason__title { font-size: 15.5px; font-weight: 700; letter-spacing: 0.3px; }
.reason__sub { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reason__tick {
  margin-left: auto;
  width: 22px; height: 22px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 11px;
  color: #fff;
  background: var(--rar);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.25s var(--ease);
  box-shadow: 0 0 12px -2px var(--rar);
}
.reason:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--rar) 55%, transparent);
}
.reason:hover .reason__ico { transform: scale(1.07) rotate(-4deg); }
.reason.is-on {
  border-color: var(--rar);
  background: color-mix(in srgb, var(--rar) 12%, var(--glass-2));
  box-shadow: 0 0 0 1px var(--rar), 0 10px 26px -10px var(--rar);
}
.reason.is-on .reason__tick { opacity: 1; transform: scale(1); }

.reason--collab   { --rar: #b14dff; --rar2: #7a2ff7; }
.reason--sponso   { --rar: #ffb01e; --rar2: #ff7a1e; }
.reason--question { --rar: #2f9dff; --rar2: #2f5bff; }
.reason--support  { --rar: #36f5e4; --rar2: #2f9dff; }
.reason--support .reason__ico { color: #04122a; }

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

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.field { margin-bottom: 14px; }
.field > label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
}
.ctrl {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 14px;
  border-radius: 11px;
  background: rgba(6, 10, 26, 0.72);
  border: 1.5px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.ctrl--area { align-items: flex-start; padding-top: 12px; }
.ctrl > i:first-child { color: var(--text-low); font-size: 15px; transition: color 0.2s; }
.ctrl input,
.ctrl textarea {
  flex: 1;
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 13px 0;
  resize: vertical;
  min-height: 24px;
}
.ctrl textarea { line-height: 1.5; max-height: 320px; }
.ctrl input::placeholder,
.ctrl textarea::placeholder { color: var(--text-low); }

/* Coche de validation */
.ctrl .check {
  color: #3dff86;
  font-size: 15px;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s var(--ease);
}
.field.is-valid .ctrl .check { opacity: 1; transform: scale(1); }

/* États */
.field.is-focus .ctrl {
  border-color: var(--blue);
  background: rgba(10, 16, 40, 0.85);
  box-shadow: 0 0 0 3px rgba(32, 196, 255, 0.14), 0 0 22px -8px var(--blue);
}
.field.is-focus .ctrl > i:first-child { color: var(--blue); }
.field.is-error .ctrl {
  border-color: #ff5470;
  box-shadow: 0 0 0 3px rgba(255, 84, 112, 0.14);
  animation: shake 0.35s ease;
}
.field.is-error .ctrl > i:first-child { color: #ff5470; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.field__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 5px; }
.msg {
  font-size: 12.5px;
  font-weight: 600;
  color: #ff7088;
  min-height: 16px;
  display: block;
  margin-top: 5px;
}
.field__foot .msg { margin-top: 0; }
.counter { font-size: 12px; font-weight: 600; color: var(--text-low); flex-shrink: 0; }
.counter.warn { color: var(--gold); }

/* ============================================================
   BOUTON ENVOYER
   ============================================================ */
.submit {
  position: relative;
  width: 100%;
  margin-top: 6px;
  padding: 16px;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #04122a;
  background: linear-gradient(120deg, var(--blue), var(--cyan) 40%, var(--purple));
  background-size: 200% 200%;
  box-shadow: 0 12px 30px -10px rgba(48, 130, 255, 0.7), inset 0 1px 0 rgba(255,255,255,0.4);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s;
  animation: btnFlow 6s linear infinite;
}
@keyframes btnFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(48, 130, 255, 0.85); }
.submit:active { transform: translateY(0) scale(0.99); }
.submit__idle, .submit__load { display: inline-flex; align-items: center; gap: 9px; justify-content: center; }
.submit__load { display: none; }
.submit.is-loading { pointer-events: none; filter: saturate(0.8); }
.submit.is-loading .submit__idle { display: none; }
.submit.is-loading .submit__load { display: inline-flex; }
.submit__shine {
  position: absolute; top: 0; left: 0;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: translateX(-200%) skewX(-18deg);
  animation: codeShine 5s ease-in-out infinite;
}
.spinner {
  width: 17px; height: 17px;
  border: 2.5px solid rgba(4, 18, 42, 0.35);
  border-top-color: #04122a;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form__note {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-low);
}
.form__note i { color: var(--cyan); margin-right: 4px; }
.form__note b { color: var(--text-dim); }

/* ============================================================
   SUCCÈS
   ============================================================ */
.success { display: none; text-align: center; padding: 38px 26px; }
.success.show { display: block; }
.success__check {
  width: 78px; height: 78px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  font-size: 36px;
  color: #04221a;
  border-radius: 50%;
  background: linear-gradient(135deg, #4dff8c, #1fd07a);
  box-shadow: 0 0 0 8px rgba(77, 255, 140, 0.12), 0 0 40px -6px #3dff86;
  animation: victoryPop 0.6s var(--ease) both;
}
.success__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #fff, #b8ffce);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.success__txt { margin: 6px auto 22px; max-width: 380px; font-size: 15px; color: var(--text-dim); }
.success__btns { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 11px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid var(--line);
  transition: all 0.2s var(--ease);
}
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); box-shadow: 0 0 16px -4px var(--blue); }
.btn--solid {
  color: #04122a; border-color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--purple));
  box-shadow: 0 8px 22px -8px rgba(48,130,255,0.7);
}
.btn--solid:hover { transform: translateY(-2px); }

/* ============================================================
   AUTRES MOYENS
   ============================================================ */
.alts { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.alt {
  --rar: var(--blue);
  --rar2: var(--purple);
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  background: var(--glass-2);
  border: 1.5px solid var(--line);
  overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s, background 0.2s;
}
.alt__ico {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 19px; color: #fff;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rar), var(--rar2));
  box-shadow: 0 4px 14px -4px var(--rar), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.25s var(--ease);
}
.alt__txt { display: flex; flex-direction: column; min-width: 0; }
.alt__t { font-size: 15px; font-weight: 700; }
.alt__s { font-size: 12px; color: var(--text-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alt__arr { margin-left: auto; color: var(--text-low); font-size: 12px; transition: all 0.2s var(--ease); }
.alt:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--rar) 55%, transparent);
  background: rgba(20, 28, 62, 0.8);
}
.alt:hover .alt__ico { transform: scale(1.07) rotate(-4deg); }
.alt:hover .alt__arr { color: #fff; transform: translateX(3px); }

.alt--discord { --rar: #5b6bff; --rar2: #2f7bff; }
.alt--mail    { --rar: #36f5e4; --rar2: #2f9dff; }
.alt--mail .alt__ico { color: #04122a; }
.alt--x       { --rar: #cbd5f5; --rar2: #7a8bbf; }
.alt--x .alt__ico { color: #04122a; }
.alt--insta   { --rar: #ff4fd8; --rar2: #ff7a4f; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 9px; }
.faq__item {
  border-radius: 11px;
  background: var(--glass-2);
  border: 1.5px solid var(--line);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq__item[open] { border-color: color-mix(in srgb, var(--blue) 45%, transparent); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  font-size: 15px;
  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: 12px;
  color: var(--blue);
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary i { transform: rotate(45deg); }
.faq__a {
  padding: 0 16px 15px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  animation: fade 0.3s ease both;
}
.faq__a a { color: var(--blue); text-decoration: none; font-weight: 600; }
.faq__a a:hover { text-decoration: underline; }

/* ============================================================
   BUSINESS / PARTENARIATS (bloc anglais)
   ============================================================ */
.biz {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background:
    linear-gradient(var(--glass), var(--glass)) padding-box,
    linear-gradient(135deg, var(--gold), var(--gold-2) 55%, #ff6a2c) border-box;
}
.biz__icon {
  width: 54px; height: 54px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-size: 22px;
  color: #2a1500;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 24px -4px rgba(255, 170, 40, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.biz__body { flex: 1; min-width: 0; }
.biz__tag {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
}
.biz__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px; letter-spacing: 1px; line-height: 1;
  margin: 3px 0 0; color: var(--text);
}
.biz__txt {
  font-size: 14px; line-height: 1.55; color: var(--text-dim);
  margin: 8px 0 14px; max-width: 48ch;
}
.biz__mail {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: 11px; cursor: pointer;
  font-family: 'Rajdhani', sans-serif; font-size: 15px; font-weight: 700;
  color: var(--text);
  background: rgba(6, 10, 26, 0.7);
  border: 1.5px solid rgba(255, 200, 80, 0.35);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.biz__mail > i { color: var(--gold); font-size: 15px; }
.biz__mail:hover { border-color: var(--gold); box-shadow: 0 0 20px -6px var(--gold); transform: translateY(-1px); }
.biz__copy {
  display: inline-flex; align-items: center; gap: 5px;
  margin-left: 4px; padding: 4px 9px; border-radius: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(255, 200, 80, 0.14); color: var(--gold);
  transition: background 0.2s, color 0.2s;
}
.biz__mail.copied { border-color: #4dff8c; }
.biz__mail.copied .biz__copy { background: rgba(77, 255, 140, 0.18); color: #5dff9b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 560px) {
  .biz { flex-direction: column; }
  .biz__title { font-size: 28px; }
  .contact-page { padding: 16px 12px; }
  .panel { padding: 22px 18px; }
  .hero__title { font-size: 46px; }
  .reasons, .alts { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .success__title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .panel, .reason, .field, .submit { animation: none !important; }
  .submit__shine { display: none; }
}
