/* Styles pour la page Contact */

body.contact-page {
  background: white;
}

/* Hero Section */
.contact-hero {
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.contact-hero-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.contact-hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  margin: 0;
  letter-spacing: -1px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInDown 1s ease-out;
  text-align: center;
  padding: 0 2rem;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact Section */
.contact-section {
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(2, 110, 167, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(2, 110, 167, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Coordonnées et Google Maps côte à côte */
.contact-info-map-section {
  padding: 5rem 2rem;
  background: white;
}

.contact-info-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Formulaire */
.contact-form-container {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(2, 110, 167, 0.08);
}

.contact-form-container h2 {
  font-size: 1.75rem;
  color: #026ea7;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.contact-form-container h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #026ea7 0%, #0373ab 100%);
  border-radius: 2px;
}

/* Options de projet */
.project-status {
  margin-bottom: 1.5rem;
}

.project-label {
  font-size: 0.95rem;
  color: #1C2A33;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.project-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.project-option {
  position: relative;
}

.project-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.project-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #f8fbff;
  border: 2px solid #e6f4fb;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  color: #1C2A33;
  font-weight: 500;
  min-height: 70px;
  text-align: center;
}

.project-option label:hover {
  border-color: #026ea7;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 110, 167, 0.1);
}

.project-option input[type="radio"]:checked + label {
  background: linear-gradient(135deg, #026ea7 0%, #0373ab 100%);
  border-color: #026ea7;
  color: white;
  box-shadow: 0 4px 12px rgba(2, 110, 167, 0.2);
}

.option-text {
  flex: 1;
}

.option-icon {
  font-size: 1.5rem;
  margin-left: 0.5rem;
}

/* Formulaire */
.contact-form {
  margin-top: 2rem;
}

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

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

.form-group label {
  display: block;
  color: #1C2A33;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e6f4fb;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #f8fbff;
  font-family: inherit;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23026ea7' stroke-width='2.5' 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 1rem center;
  background-size: 18px;
  padding-right: 3rem;
  font-weight: 500;
  color: #555;
  height: auto;
  min-height: 50px;
}

.form-group select option {
  padding: 0.8rem;
  background: white;
  color: #333;
}

.form-group select:hover {
  border-color: #026ea7;
  background-color: white;
}

.form-group input[type="file"] {
  padding: 0.6rem;
  cursor: pointer;
}

.form-group input[type="file"]::-webkit-file-upload-button {
  background: #026ea7;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
  background: #025580;
}

.file-info {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.3rem;
  font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #026ea7;
  background: white;
  box-shadow: 0 0 0 4px rgba(2, 110, 167, 0.1);
  transform: translateY(-2px);
}

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

.btn-submit {
  background: linear-gradient(135deg, #026ea7 0%, #0373ab 100%);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #025580 0%, #026ea7 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 110, 167, 0.25);
}

/* Informations de contact */
.contact-info-container {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  color: #333;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 2px solid #e6f4fb;
}

.contact-info-container h3 {
  font-size: 2rem;
  margin-bottom: 2.5rem;
  font-weight: 800;
  color: #026ea7;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.contact-info-container h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #026ea7 0%, #0373ab 100%);
  border-radius: 2px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid #e6f4fb;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.contact-info-item p {
  font-size: 0.75rem;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(2, 110, 167, 0.15);
}

.contact-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #026ea7 0%, #0373ab 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(2, 110, 167, 0.3);
}

.contact-icon svg {
  stroke: white;
  width: 20px;
  height: 20px;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
  color: #026ea7;
}

.contact-info-text p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

.contact-info-text a {
  color: #026ea7;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-info-text a:hover {
  color: #025580;
  text-decoration: underline;
}

.contact-social-links {
  display: none;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 500px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info-map-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .project-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-hero-banner {
    height: 250px;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-section {
    padding: 3rem 1.5rem;
  }

  .contact-form-container {
    padding: 2rem 1.5rem;
  }

  .contact-form-container h2 {
    font-size: 1.6rem;
  }

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

  .project-options {
    grid-template-columns: 1fr;
  }

  .contact-info-container {
    padding: 2rem 1.5rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-section {
    background-attachment: scroll;
  }

  .contact-info-map-section {
    padding: 3rem 1.5rem;
  }

  .map-container {
    border-radius: 10px;
    min-height: 350px;
  }
}
/* Personnalisation bannière cookies TermsFeed */

/* Bouton "Accepter" */
.cc-nb-okagree,
.cc-cp-foot-save {
  background-color: #0373ab !important;
  border-color: #0373ab !important;
  color: white !important;
}

.cc-nb-okagree:hover,
.cc-cp-foot-save:hover {
  background-color: #025a8a !important;
  border-color: #025a8a !important;
}

/* Bouton "Refuser" */
.cc-nb-reject,
.cc-cp-foot-bypr {
  background-color: transparent !important;
  border: 2px solid #0373ab !important;
  color: #0373ab !important;
}

.cc-nb-reject:hover,
.cc-cp-foot-bypr:hover {
  background-color: #0373ab !important;
  color: white !important;
}

/* Bouton "Personnaliser" / "Gérer les préférences" */
.cc-nb-changep {
  color: #0373ab !important;
  text-decoration: underline;
}

.cc-nb-changep:hover {
  color: #025a8a !important;
}