/* Page Contact - Style Tech Minimaliste */

/* === STYLES SPÉCIFIQUES À LA PAGE CONTACT === */

/* En-tête harmonisé avec les autres pages */
.page-header {
  padding: var(--space-xl) 0 var(--space-lg);
  background-color: var(--surface-color);
  border-bottom: var(--border-width) solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--color-neon), var(--color-accent));
  opacity: 0.7;
}

.page-header h1 {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  margin: 0 auto var(--space-sm);
  max-width: 100%;
}

.page-header .lead {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

/* Variables pour la page contact */
:root {
  --tech-accent: var(--accent-color);
  --tech-shadow: var(--shadow-md);
}

/* Contenu ajusté pour remplir tout l'espace */
main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 80px - 80px); /* hauteur viewport - hauteur header - hauteur footer */
}

.contact-content-wrapper {
  padding: 0;
  background-color: var(--bg-color);
  position: relative;
  margin-top: 0;
  border-top: none;
  flex-grow: 1; /* Prend tout l'espace disponible */
  display: flex;
  flex-direction: column;
}

.contact-content-wrapper .container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start; /* Changé de stretch à start */
  flex-grow: 1;
}

/* Ajustement des hauteurs pour remplir l'espace */
.map-container-creative {
  height: 100%;
  min-height: 420px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  height: auto; /* Changé de 100% à auto */
  min-height: 150px;
}

/* Container de carte */
.map-container-creative {
  width: 100%;
  position: relative;
  z-index: 2;
  height: 420px;
}

.map-clip-mask {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.map-creative {
  width: 100%;
  height: 100%;
  filter: saturate(0.8) brightness(0.95);
}

/* Overlay pour la carte */
.map-overlay-gradient {
  display: none;
}

/* Points de données sur la carte */
.map-connection-points {
  display: none;
}

.connection-point {
  display: none;
}

/* Survol de carte interactif */
.map-container-creative:hover .connection-point {
  animation: pulse-point 2s infinite;
}

@keyframes pulse-point {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.3;
  }
}

/* Marqueur de position principale */
.map-floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location-marker {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
}

.map-floating-card p {
  color: var(--fg-color);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Grille d'informations */
.info-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: auto;
  flex: 1;
  position: relative;
  min-width: 0; /* Empêche le dépassement des cartes */
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--tech-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--tech-accent);
}

.info-card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-color);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.info-card:hover .card-icon {
  transform: translateY(-5px);
  filter: drop-shadow(0 0 8px var(--tech-accent));
}

.card-content h3 {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-color);
}

.card-link, .hours-row, .social-grid {
  font-size: 0.85rem;
}

.card-link {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: var(--font-mono);
}

.card-link:hover {
  opacity: 0.8;
}

/* Horaires */
.hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  color: var(--accent-color);
}

.day {
  color: var(--muted-color);
}

.time {
  font-family: var(--font-mono);
  color: var(--accent-color);
}

/* Réseaux sociaux */
.card-social h3 {
  margin-bottom: 1.5rem;
}

.social-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.social-icon {
  width: 32px;
  height: 32px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  color: var(--accent-color);
}

.social-icon svg {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.social-icon:hover svg {
  color: var(--fg-color);
}

/* Adaptation du pied de page */
footer {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
}

footer .footer-content p {
  color: var(--muted-color);
}

/* Suppression des éléments non nécessaires */
.map-connection-points,
.map-overlay-gradient {
  display: none;
}

/* Responsive */
@media (max-width: 1200px) {
  .map-clip-mask {
    height: 450px;
  }
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .map-clip-mask {
    height: 350px;
  }
  
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
  }
}

@media (max-width: 576px) {
  .map-clip-mask {
    height: 300px;
  }
  
  .map-floating-card {
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    max-width: 90%;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  
  .info-card {
    width: 100%;
    margin-bottom: 0;
  }
} 