/* ══════════════════════════════════════════════
   POLYLANGUES — CONTACT.CSS
   ══════════════════════════════════════════════ */

/* ── PAGE INTRO ── */
.page-intro {
  padding: clamp(120px, 14vw, 160px) 0 clamp(64px, 8vw, 96px);
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* Décoration géométrique en fond */
.page-intro::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 80px;
  width: clamp(280px, 35vw, 480px);
  height: clamp(280px, 35vw, 480px);
  border-radius: 50%;
  border: 1px solid rgba(200,16,46,.07);
  pointer-events: none;
}
.page-intro::after {
  content: '';
  position: absolute;
  right: 40px;
  top: 160px;
  width: clamp(160px, 20vw, 280px);
  height: clamp(160px, 20vw, 280px);
  border-radius: 50%;
  border: 1px solid rgba(200,16,46,.05);
  pointer-events: none;
}

.intro-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
  position: relative;
  z-index: 1;
}

.intro-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rouge);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.intro-tag::before {
  content: '';
  width: 24px;
  height: 1.5px;
  background: var(--rouge);
  flex-shrink: 0;
}

.intro-h1 {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--ink);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 0;
}
.intro-h1 em { font-style: normal; color: var(--rouge); }

.intro-meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-end;
  padding-bottom: 8px;
}

.intro-desc {
  font-size: .92rem;
  color: var(--gris);
  line-height: 1.78;
  margin: 0;
}

.intro-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 500;
  color: rgba(26,26,46,.45);
  background: rgba(34,197,94,.06);
  border: 1px solid rgba(34,197,94,.15);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  width: fit-content;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: pulse-g 2.4s ease infinite;
}

@keyframes pulse-g {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.5); }
  60%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

@media (max-width: 767px) {
  .intro-inner { grid-template-columns: 1fr; }
}

/* ── FORMULAIRE ── */
.form-wrap {
  padding: clamp(72px, 9vw, 104px) 0;
  background: #fff;
  position: relative;
}

/* Ligne décorative rouge en haut */
.form-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: clamp(48px, 6vw, 72px);
  background: linear-gradient(to bottom, rgba(200,16,46,.3), transparent);
}

.form-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* Étiquette latérale */
.form-aside {
  position: sticky;
  top: clamp(80px, 10vw, 96px);
}

.form-aside-num {
  font-family: var(--fd);
  font-weight: 800;
  font-size: clamp(3.5rem, 6vw, 5rem);
  color: rgba(200,16,46,.07);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: 6px;
  user-select: none;
  display: block;
}

.form-aside-label {
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(26,26,46,.25);
  display: block;
  margin-bottom: 16px;
}

.form-aside-desc {
  font-size: .8rem;
  color: var(--gris);
  line-height: 1.68;
  border-left: 2px solid rgba(200,16,46,.15);
  padding-left: 14px;
}

/* Colonne formulaire */
.form-col {
  width: 100%;
  position: relative;
}

/* Grilles */
.fg-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 clamp(20px, 3vw, 44px);
}
.fg-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 clamp(20px, 3vw, 44px);
}

/* Champ individuel — style ligne + fond subtil au focus */
.fg {
  padding-bottom: clamp(22px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
}

.fg label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gris);
  letter-spacing: .06em;
  text-transform: none;
  margin-bottom: 8px;
  transition: color .3s;
}

.fg:focus-within label {
  color: var(--rouge);
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  font-family: var(--fb);
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink);
  background: #f8f9fa;
  border: 1.5px solid rgba(26,26,46,.15);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
  position: relative;
  z-index: 1;
}

.fg::after { display: none; }

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--rouge);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(200,16,46,.08);
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: rgba(92,92,122,.45);
  font-weight: 400;
}

.fg select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%235C5C7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: #f8f9fa;
  color: var(--ink);
}
.fg select option[value=""] { color: rgba(92,92,122,.5); }

.fg textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
}

/* Submit */
.form-submit {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: clamp(28px, 4vw, 40px);
  margin-top: 8px;
  border-top: 1px solid rgba(26,26,46,.06);
}

.btn-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rouge);
  color: #fff;
  font-family: var(--fb);
  font-size: .9rem;
  font-weight: 600;
  padding: 15px 36px;
  border-radius: 100px;
  border: none;
  box-shadow: 0 6px 24px rgba(200,16,46,.35);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.32,.72,0,1), box-shadow .3s cubic-bezier(.32,.72,0,1);
}
.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(200,16,46,.5);
  color: #fff;
}
.btn-send:active { transform: scale(.97); }
.btn-send svg {
  width: 14px;
  height: 14px;
  transition: transform .25s cubic-bezier(.32,.72,0,1);
}
.btn-send:hover svg { transform: translateX(5px); }
.btn-send:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.send-note {
  font-size: .72rem;
  color: rgba(92,92,122,.32);
  line-height: 1.6;
}

/* Succès */
.form-success {
  display: none;
  padding: 56px 0 0;
}

.fs-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(34,197,94,.1);
  border: 1.5px solid rgba(34,197,94,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.fs-mark svg { width: 22px; height: 22px; color: #22c55e; }

.form-success h3 {
  font-family: var(--fd);
  font-size: 1.5rem;
  letter-spacing: -.03em;
  margin-bottom: 10px;
  color: var(--ink);
}
.form-success p {
  font-size: .88rem;
  color: var(--gris);
  line-height: 1.7;
  max-width: 380px;
}

/* ── COORDONNÉES — bande horizontale ── */
.coords-strip {
  background: var(--ink);
  padding: clamp(44px, 6vw, 64px) 0;
  position: relative;
  overflow: hidden;
}
.coords-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 50%, rgba(200,16,46,.07) 0%, transparent 55%);
  pointer-events: none;
}

.coords-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 1;
}

.coord-item {
  padding: 0 clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(255,255,255,.06);
  transition: transform .35s cubic-bezier(.32,.72,0,1);
}
.coord-item:first-child { padding-left: 0; }
.coord-item:last-child { border-right: none; }
.coord-item:hover { transform: translateY(-3px); }

.coord-lbl {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .54rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.22);
  margin-bottom: 10px;
}
.coord-lbl svg {
  display: block;
  width: 12px;
  height: 12px;
  color: var(--rouge);
  opacity: .7;
}

.coord-val {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.58;
  display: block;
}
.coord-val a {
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.coord-val a:hover { color: #fff; }

/* Réseaux sociaux */
.coord-social .coord-val {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.coord-social .coord-val a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.25);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.coord-social .coord-val a:hover {
  background: var(--rouge);
  color: #fff;
  border-color: var(--rouge);
  transform: translateY(-2px);
}
.coord-social .coord-val a svg { width: 12px; height: 12px; }

@media (max-width: 991px) {
  .coords-inner { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .coord-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 0 0 28px;
  }
  .coord-item:first-child { padding-left: 0; }
  .coord-item:nth-child(3),
  .coord-item:nth-child(4) { border-bottom: none; padding-top: 28px; }
}
@media (max-width: 575px) {
  .coords-inner { grid-template-columns: 1fr; gap: 0; }
  .coord-item {
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
  }
  .coord-item:last-child { border-bottom: none; }
}

/* ── MAP ── */
.c-map {
  position: relative;
  height: clamp(280px, 30vw, 420px);
}
.c-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(25%) contrast(1.05) brightness(.95);
}

.c-map-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(26,26,46,.78) 0%, transparent 100%);
  padding: clamp(28px, 4vw, 44px) clamp(28px, 4vw, 52px) clamp(20px, 2.5vw, 28px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
  z-index: 1;
}

.map-addr {
  font-family: var(--fd);
  font-weight: 700;
  font-size: clamp(.86rem, 1.4vw, 1rem);
  color: #fff;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.map-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: 6px 12px;
}
.map-tag svg {
  display: block;
  width: 10px;
  height: 10px;
  color: var(--rouge);
}

/* ── RESPONSIVE FORM ── */
@media (max-width: 991px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .form-aside {
    position: static;
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .form-aside-num { margin-bottom: 0; }
  .form-aside-desc { display: none; }
}
@media (max-width: 767px) {
  .fg-3, .fg-2 { grid-template-columns: 1fr; }
  .form-submit { flex-direction: column; align-items: flex-start; }
}
