/* ============================================
   FORMULAIRES - Styles centralisés
   ============================================ */

/* ============================================
   PAGE CONTACT - Hero
   ============================================ */
.contact-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  position: relative;
}

.contact-hero-title {
  font-family: 'Nohemi semi bold', Arial, sans-serif;
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #2A2119;
  z-index: 2;
}

.contact-hero-title .highlight-contact {
  color: #ff6077;
}

/* ============================================
   FORMULAIRE DE CONTACT
   ============================================ */
.contact-form-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 4rem;
  align-items: start;
  justify-content: center;
  justify-items: center;
  align-content: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-title {
  font-family: 'Nohemi semi bold', Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  color: #2A2119;
  margin-bottom: 0.5rem;
}

.contact-info-description {
  font-family: 'Worksans', Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #767385;
  margin-bottom: 2rem;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 4rem;
  background: transparent;
  border: 1px solid #2A2119;
  border-radius: 999px;
  font-family: 'Nohemi semi bold', Arial, sans-serif;
  font-size: 2rem;
  color: #2A2119;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  width: fit-content;
  min-height: 44px; /* Tap target minimum */
}

.contact-button:hover {
  background: #2A2119;
  color: #fff;
}

.contact-button:focus-visible {
  outline: 3px solid #2A2119;
  outline-offset: 2px;
}

.contact-button-icon {
  width: 30px;
  height: 30px;
}

/* Champs de formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

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

.contact-form-field {
  display: flex;
  flex-direction: column;
}

.contact-form-label {
  font-family: 'Worksans', Arial, sans-serif;
  font-size: 0.875rem;
  color: #767385;
  margin-bottom: 0.5rem;
}

.contact-form-input,
.contact-form-textarea {
  font-family: 'Worksans', Arial, sans-serif;
  font-size: 1rem;
  color: #2A2119;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.75rem 0;
  outline: none;
  transition: border-color 0.3s ease;
  min-height: 44px; /* Tap target minimum */
}

.contact-form-input:focus,
.contact-form-textarea:focus {
  border-bottom-color: #2A2119;
}

.contact-form-input:focus-visible,
.contact-form-textarea:focus-visible {
  outline: 2px solid #2A2119;
  outline-offset: 4px;
  border-radius: 4px;
}

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

/* Checkbox */
.contact-form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.contact-form-checkbox {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  accent-color: #2A2119;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  background-color: #f5f5f5;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

.contact-form-checkbox:checked {
  background-color: #2A2119;
  border-color: #2A2119;
}

.contact-form-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.contact-form-checkbox:focus-visible {
  outline: 2px solid #2A2119;
  outline-offset: 2px;
}

.contact-form-checkbox-label {
  font-family: 'Worksans', Arial, sans-serif;
  font-size: 0.875rem;
  color: #767385;
  line-height: 1.5;
  cursor: pointer;
}

/* Bouton submit */
.contact-form-submit {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #ed626f;
  color: #fff;
  font-family: 'Nohemi', Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.2px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  min-height: 44px; /* Tap target minimum */
  min-width: 120px;
}

.contact-form-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-form-submit:focus-visible {
  outline: 3px solid #ed626f;
  outline-offset: 2px;
}

.contact-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.contact-form-submit .btn-arrow {
  width: 18px;
  height: 14px;
  background-image: url('https://cdn.prod.website-files.com/692032b85b5c5bf0694113c5/695cf076b502ce2bccb6504f_arroxpng.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1) saturate(0) contrast(1.2);
  rotate: 45deg;
}

/* Messages de formulaire */
.contact-form-message {
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Worksans', Arial, sans-serif;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.contact-form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact-form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ============================================
   SECTION RÉSEAUX SOCIAUX CONTACT
   ============================================ */
.contact-social-section {
  position: relative;
  width: 100%;
  padding: 2rem 0;
  overflow: hidden;
}

.contact-social-bg {
  z-index: -1;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #ac1e1e00;
  background-image: url('../images/TRANSFORMATION.jpg');
  background-position: 100% 0;
  background-size: cover;
  background-attachment: fixed;
}

/* Styles réseaux sociaux dans common-styles.css (global) */

/* ============================================
   SECTION MAP CONTACT
   ============================================ */
.contact-map-section {
  position: relative;
  height: 800px;
}

.contact-map {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  padding: 60px;
}

.contact-map-overlay {
  position: absolute;    
  top: 50%;
  right: 50%;
  transform: translateY(-50%) translateX(50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 350px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-map-overlay-title {
  font-family: 'Nohemi semi bold', Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2A2119;
  margin-bottom: 0.5rem;
}

.contact-map-overlay-subtitle {
  font-family: 'Worksans', Arial, sans-serif;
  font-size: 1.1rem;
  color: #767385;
  margin-bottom: 1rem;
}

.contact-map-overlay-address {
  font-family: 'Worksans', Arial, sans-serif;
  font-size: 0.875rem;
  color: #2A2119;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-map-overlay-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #ed626f;
  color: #fff;
  font-family: 'Nohemi', Arial, sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.2px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  min-height: 44px; /* Tap target minimum */
}

.contact-map-overlay-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.contact-map-overlay-button:focus-visible {
  outline: 3px solid #ed626f;
  outline-offset: 2px;
}

.contact-map-overlay-button .btn-arrow {
  width: 18px;
  height: 14px;
  background-image: url('https://cdn.prod.website-files.com/692032b85b5c5bf0694113c5/695cf076b502ce2bccb6504f_arroxpng.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1) saturate(0) contrast(1.2);
  rotate: 45deg;
}

/* ============================================
   RESPONSIVE - TABLETTE (991px)
   ============================================ */
@media screen and (max-width: 991px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-hero {
    padding: 8rem 2rem 5rem;
  }
  
  .contact-hero-title {
    font-size: 11vw;
    line-height: 1.1;
  }
  
  .contact-button {
    font-size: 1.5rem;
    padding: 1.5rem 3rem;
  }
  
  .contact-map-section {
    height: 600px;
  }
  
  .contact-map {
    height: 600px !important;
  }
  
  .contact-map-overlay {
    padding: 2rem;
    max-width: 90%;
  }
  
  .contact-map-overlay-title {
    font-size: 1.8rem;
  }
  
  /* Styles réseaux sociaux dans common-styles.css (global) */
}

/* ============================================
   RESPONSIVE - MOBILE (767px)
   ============================================ */
@media screen and (max-width: 767px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-hero {
    padding: 6rem 1.5rem 4rem;
    min-height: 40vh;
  }
  
  .contact-hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  
  .contact-form-section {
    padding: 3rem 1.5rem;
    margin: 0;
  }
  
  .contact-form-wrapper {
    gap: 2.5rem;
    width: 100%;
  }
  
  /* .container-large est géré dans common-styles.css (global) */
  
  .contact-info {
    gap: 1.5rem;
  }
  
  .contact-button {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    gap: 0.75rem;
  }
  
  .contact-button-icon {
    width: 22px;
    height: 22px;
  }
  
  .contact-map-section {
    height: 500px;
    margin: 0;
  }
  
  .contact-map {
    height: 500px !important;
    padding: 0 !important;
  }
  
  .contact-map-overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateY(-50%) translateX(50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 1rem;
    max-width: 320px;
    width: calc(100% - 2rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .contact-map-overlay-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-map-overlay-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }
  
  .contact-map-overlay-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .contact-social-section {
    padding: 0!important;
    margin: 0;
  }
  
  .contact-social-bg {
    background-attachment: scroll !important;
  }
  
  /* Styles réseaux sociaux dans common-styles.css (global) */
}

/* ============================================
   RESPONSIVE - PETIT MOBILE (479px)
   ============================================ */
@media screen and (max-width: 479px) {
  .contact-hero {
    padding: 5rem 1rem 3rem;
    min-height: 35vh;
  }
  
  .contact-hero-title {
    font-size: 11vw;
    padding: 0 0.5rem;
  }
  
  .contact-form-section {
    padding: 2.5rem 1rem;
    margin: 0;
  }
  
  .contact-form-wrapper {
    gap: 2rem;
    width: 100%;
  }
  
  /* .container-large est géré dans common-styles.css (global) */
  
  .contact-info {
    gap: 1.25rem;
  }
  
  .contact-button {
    font-size: 1rem;
    padding: 0.9rem 1.75rem;
    gap: 0.65rem;
  }
  
  .contact-button-icon {
    width: 20px;
    height: 20px;
  }
  
  .contact-map-section {
    height: 500px !important;
    margin: 0;
    padding: 0 !important;
  }
  
  .contact-map {
    height: 500px !important;
    padding: 0 !important;
  }
  
  .contact-map img {
    height: 100% !important;
    object-fit: cover;
  }
  
  .contact-map-overlay {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateY(-50%) translateX(50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 1.25rem;
    border-radius: 0.875rem;
    max-width: 280px;
    width: calc(100% - 1.5rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .contact-map-overlay-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-map-overlay-subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.875rem;
    line-height: 1.5;
  }
  
  .contact-map-overlay-button {
    padding: 0.65rem 1.1rem;
    font-size: 0.8rem;
  }
  
  .contact-social-section {
    padding: 0!important;
    margin: 0;
  }
  
  /* Styles réseaux sociaux dans common-styles.css (global) */
}
