/* Styles spécifiques pour la page contact */

/* Hero section */
.contact-hero {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.contact-hero-content {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.contact-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.contact-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-hero-decoration {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  width: 300px;
  height: 300px;
}

.contact-hero-decoration {
  position: absolute;
  top: 40%;
  right: 3%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  width: 400px;
  height: 400px;
}

.organic-shape {
  position: absolute;
  opacity: 0.7;
  filter: blur(1px);
}

.shape-1 {
  width: 280px;
  height: 320px;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(184, 160, 136, 0.15), rgba(184, 160, 136, 0.05));
  border: 2px solid rgba(184, 160, 136, 0.25);
  border-radius: 60% 40% 70% 30% / 40% 50% 30% 60%;
  animation: float-organic 8s ease-in-out infinite;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), inset -10px -10px 30px rgba(184, 160, 136, 0.05);
}

.shape-2 {
  width: 200px;
  height: 240px;
  top: 35%;
  right: 35%;
  background: linear-gradient(225deg, rgba(184, 160, 136, 0.1), rgba(184, 160, 136, 0.02));
  border: 1.5px solid rgba(184, 160, 136, 0.15);
  border-radius: 30% 70% 50% 50% / 50% 40% 60% 50%;
  animation: float-organic 10s ease-in-out infinite 1s;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.shape-3 {
  width: 150px;
  height: 180px;
  bottom: 15%;
  right: 20%;
  background: linear-gradient(315deg, rgba(184, 160, 136, 0.08), rgba(184, 160, 136, 0.01));
  border: 1px solid rgba(184, 160, 136, 0.1);
  border-radius: 70% 30% 60% 40% / 40% 50% 30% 70%;
  animation: float-organic 12s ease-in-out infinite 2s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.accent-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(184, 160, 136, 0.3), transparent);
  border-radius: 999px;
}

.line-1 {
  width: 180px;
  height: 2px;
  top: 35%;
  right: 15%;
  animation: slide-line 6s ease-in-out infinite;
}

.line-2 {
  width: 120px;
  height: 1.5px;
  bottom: 30%;
  right: 25%;
  animation: slide-line 7s ease-in-out infinite 1s;
}

@keyframes float-organic {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-30px) rotate(2deg);
  }
  50% {
    transform: translateY(-50px) rotate(-1deg);
  }
  75% {
    transform: translateY(-20px) rotate(1deg);
  }
}

@keyframes slide-line {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1);
  }
}

@media (max-width: 768px) {
  .contact-hero-decoration {
    display: none;
  }
}

/* Contact form section */
.contact-form-section {
  padding: 4rem 0;
  background-color: var(--background);
  position: relative;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-form-container {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-header p {
  color: var(--muted-foreground);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Remplacer ces styles */
.form-input,
.form-textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.25);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.textarea-container i {
  top: 0.75rem;
}

.btn-large {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Contact info */
.contact-info-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-info-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-info-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  font-weight: 500;
}

.social-link i {
  width: 1.25rem;
  height: 1.25rem;
}

.social-link.github {
  background-color: rgba(45, 55, 72, 0.1);
  color: var(--foreground);
}

.social-link.linkedin {
  background-color: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.social-link.twitter {
  background-color: rgba(29, 161, 242, 0.1);
  color: #1da1f2;
}

.dark-theme .social-link.github {
  background-color: rgba(247, 250, 252, 0.2);
  color: var(--foreground);
}

.dark-theme .social-link.linkedin {
  background-color: rgba(10, 102, 194, 0.2);
  color: #70b5f9;
}

.dark-theme .social-link.twitter {
  background-color: rgba(29, 161, 242, 0.2);
  color: #1da1f2;
}

.social-link:hover {
  transform: translateY(-2px);
}

/* FAQ */
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  font-weight: 500;
  cursor: pointer;
  background-color: var(--muted);
}

.faq-answer {
  padding: 1rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  border-top: 1px solid var(--border);
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  background-color: var(--background);
}

.cta-container {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  opacity: 0.9;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

/* Media Queries */
@media (min-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .cta-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (max-width: 767px) {
  .contact-title {
    font-size: 2.5rem;
  }

  .contact-hero {
    padding: 4rem 0 3rem;
  }

  .decoration-circle {
    width: 200px;
    height: 200px;
    right: -50px;
  }

  .decoration-square {
    width: 100px;
    height: 100px;
    right: 10%;
  }

  .decoration-dots {
    width: 150px;
    height: 150px;
  }

  .contact-form-container,
  .contact-info-card {
    padding: 1.5rem;
  }
}
