/* contact.css : styles modernes pour la page Contact */

.contact-main {
  max-width: 600px;
  margin: 2rem auto 0 auto;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.95); /* fond blanc pour lisibilité */
  border-radius: 22px;
  box-shadow: 0 8px 40px 0 #6c63ff55, 0 1.5px 0 #fff2 inset;
  color: #232946;
  backdrop-filter: blur(8px) saturate(1.2);
  position: relative;
}
.contact-main h2 {
  color: #6c63ff;
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 0;
  text-shadow: 0 2px 12px #3a4be733;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5em 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1em;
  font-size: 1.15em;
  background: rgba(108,99,255,0.08);
  border-radius: 14px;
  padding: 0.7em 1em;
  box-shadow: 0 2px 12px #6c63ff22;
  transition: background 0.2s, box-shadow 0.2s;
}
.contact-item:hover {
  background: #e9eafc;
  box-shadow: 0 4px 24px #6c63ff55;
}
.contact-icon {
  font-size: 1.7em;
  min-width: 2em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-link {
  color: #0066cc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s, text-shadow 0.2s;
  word-break: break-all;
}
.contact-link:hover {
  color: #f7c873;
  text-shadow: 0 2px 12px #f7c87399;
}
.contact-cyber {
  font-family: 'Fira Mono', 'Consolas', monospace;
  color: #6c63ff;
  background: linear-gradient(90deg, #e9eafc 0%, #6c63ff 100%);
  padding: 0.2em 0.7em;
  border-radius: 8px;
  font-size: 1.08em;
  letter-spacing: 1px;
  box-shadow: 0 0 12px #6c63ff55;
  animation: cyber-glow 1.5s infinite alternate;
}
@keyframes cyber-glow {
  0% { box-shadow: 0 0 12px #6c63ff55; }
  100% { box-shadow: 0 0 32px #6c63ffcc; }
}
@media (max-width: 600px) {
  .contact-main { padding: 1rem 0.2rem; }
  .contact-item { font-size: 1em; padding: 0.5em 0.5em; }
}

.lang-switch {
  position: fixed;
  top: 18px;
  left: 18px;
  display: flex;
  gap: 0.3em;
  z-index: 20001;
  background: rgba(35,41,70,0.92);
  border-radius: 18px;
  padding: 0.15em 0.5em;
  box-shadow: 0 2px 8px #23294644;
  pointer-events: auto;
}
.lang-btn {
  font-size: 1.7em;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.1em 0.2em;
  color: #fff;
  transition: filter 0.2s, transform 0.2s, background 0.2s;
  filter: grayscale(0.2) brightness(0.95);
}
.lang-btn.active, .lang-btn:hover, .lang-btn:focus {
  filter: none;
  background: #6c63ff33;
  transform: scale(1.15);
}
@media (max-width: 600px) {
  .lang-switch {
    left: 6px;
    top: 6px;
    padding: 0.1em 0.2em;
  }
  .lang-btn { font-size: 1.2em; }
}
