@charset "UTF-8";
body {
  font-family: 'Open Sans', Arial, sans-serif;
  background: linear-gradient(120deg, #f8f9fa 60%, #e9ecef 100%);
  /* Ajout d'une texture subtile */
  background-image: url('https://www.transparenttextures.com/patterns/symphony.png');
  margin: 0;
  color: #222;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Modal confirmation contact */
#contact-modal .cm-overlay{position:fixed;inset:0;background:rgba(17,24,39,.55);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:cmFade .25s ease;}
#contact-modal .cm-box{background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;padding:24px 26px;min-width:260px;max-width:360px;box-shadow:0 8px 28px -4px rgba(0,0,0,.25);animation:cmPop .3s cubic-bezier(.34,1.56,.64,1);}
#contact-modal h3{margin:0;font-size:1.1rem;color:#0f172a;display:flex;align-items:center;gap:6px;}
#contact-modal .cm-close{background:#1abc9c;color:#fff;border:1px solid #18a58a;padding:10px 18px;border-radius:8px;font-weight:600;cursor:pointer;font-family:inherit;font-size:.85rem;transition:background .2s,transform .15s;}
#contact-modal .cm-close:hover{background:#159c85;}
#contact-modal.cm-hide .cm-overlay{animation:cmFadeOut .25s ease forwards;}
#contact-modal.cm-hide .cm-box{animation:cmPopOut .25s cubic-bezier(.55,.06,.68,.19) forwards;}
@keyframes cmFade{from{opacity:0;}to{opacity:1;}}
@keyframes cmFadeOut{to{opacity:0;}}
@keyframes cmPop{0%{transform:scale(.85) translateY(12px);opacity:0;}100%{transform:scale(1) translateY(0);opacity:1;}}
@keyframes cmPopOut{to{transform:scale(.85) translateY(8px);opacity:0;}}
h1, h2, h3 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  text-align: center;
}
.btn-retour {
  display: inline-block;
  margin: 18px 0 12px 18px;
  padding: 8px 18px;
  background: #1abc9c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-retour:hover {
  background: #159c85;
}

header {
  background: #2c3e50;
  color: #fff;
  padding: 24px 0 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-bottom: 3px solid #1abc9c;
}
.header-title {
  margin: 0 0 8px 0;
  text-align: center;
  font-size: 2.2rem;
  letter-spacing: 5px;
}
main {
  flex: 1 0 auto;
  max-width: 600px;
  width: 100%;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(44,62,80,0.13);
  border: 1.5px solid #e0e3e7;
  animation: fadeIn 0.7s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
}
main::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #1abc9c33 60%, transparent 100%);
  z-index: 0;
}
main > * {
  position: relative;
  z-index: 1;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.contact-title {
  font-size: 2.1rem;
  color: #1abc9c;
  margin-bottom: 18px;
  text-align: center;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-shadow: 0 2px 8px #e0e3e7;
}
.contact-form {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #f8f9faee;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(44,62,80,0.09);
  padding: 28px 22px 22px 22px;
  border: 1.5px solid #e0e3e7;
  backdrop-filter: blur(1.5px);
  margin: 0 auto; /* Centre horizontalement */
}
.contact-form label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e3e7;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border 0.2s, box-shadow 0.2s;
  background: #f4f6f8;
  box-shadow: 0 1px 2px rgba(44,62,80,0.04);
  font-family: inherit;
}
.contact-form textarea {
  min-height: 90px;
  max-height: 220px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1.5px solid #1abc9c;
  box-shadow: 0 0 0 2px #1abc9c22;
  background: #fff;
}
.contact-form button {
  background: linear-gradient(90deg, #1abc9c 60%, #2c3e50 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(44,62,80,0.08);
  letter-spacing: 1px;
}
.contact-form button:hover {
  background: linear-gradient(90deg, #f1c40f 60%, #1abc9c 100%);
  color: #2c3e50;
  box-shadow: 0 4px 16px rgba(44,62,80,0.13);
  transform: translateY(-2px) scale(1.03);
}
.contact-form input[type="file"] {
  background: #f4f6f8;
  border: 1.5px solid #e0e3e7;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 8px;
  transition: border 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(44,62,80,0.04);
  cursor: pointer;
}
.contact-form input[type="file"]:focus {
  border: 1.5px solid #1abc9c;
  box-shadow: 0 0 0 2px #1abc9c22;
  background: #fff;
}
.contact-form input[type="file"]::-webkit-file-upload-button {
  background: linear-gradient(90deg, #1abc9c 60%, #2c3e50 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-form input[type="file"]:hover::-webkit-file-upload-button {
  background: linear-gradient(90deg, #f1c40f 60%, #1abc9c 100%);
  color: #2c3e50;
}
.contact-form input[type="file"]::file-selector-button {
  background: linear-gradient(90deg, #1abc9c 60%, #2c3e50 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-form input[type="file"]:hover::file-selector-button {
  background: linear-gradient(90deg, #f1c40f 60%, #1abc9c 100%);
  color: #2c3e50;
}
/* ==========================================================
    6. Footer
    ========================================================== */
.footer-pro {
     background: #fff;
     border-top: 1px solid #e0e0e0;
     padding: 18px 0 8px 0;
     margin-top: 32px;
}

.footer-content {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     align-items: flex-start;
     gap: 28px;
     max-width: 900px;
     margin: 0 auto;
}

.footer-col {
     flex: 1 1 120px;
     min-width: 120px;
     margin-bottom: 4px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
}

.footer-title {
     font-size: 1.1rem;
     font-weight: 600;
     letter-spacing: 1px;
     margin-bottom: 2px;
}

.footer-label {
     font-weight: 500;
     color: #1abc9c;
     font-size: 0.97rem;
     margin-bottom: 2px;
}

.footer-mail-text {
     margin-left: 8px;
     color: #2c3e50;
     font-size: 1rem;
     text-decoration: underline;
     transition: color 0.2s;
}

.footer-social.mail:hover .footer-mail-text {
     color: #1abc9c;
}

.footer-socials {
     display: flex;
     gap: 12px;
     margin-top: 4px;
}

.footer-social {
     display: flex;
     align-items: center;
     justify-content: center;
     background: #f7f9fa;
     border-radius: 50%;
     width: 36px;
     height: 36px;
     color: #1abc9c;
     transition: background 0.2s, color 0.2s;
     text-decoration: none;
     font-size: 1.1rem;
}


.footer-copyright {
     font-size: 0.97rem;
     color: #888;
     margin-top: 4px;
}
/* ======= FOOTER RESPONSIVE ======= */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.footer-col {
  flex: 1 1 120px;
  min-width: 90px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ======= FOOTER RESPONSIVE ======= */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.footer-col {
  flex: 1 1 120px;
  min-width: 90px;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .footer-col {
    min-width: 0;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 900px) {
  main {
    margin: 18px auto 0 auto;
    padding: 12px 2vw 12px 2vw;
    min-height: 70vh;
  }
  .contact-title {
    font-size: 1.4rem;
  }
  .contact-form {
    padding: 18px 8px 14px 8px;
    max-width: 98vw;
  }
}

@media (max-width: 600px) {
  header {
    padding: 14px 0 8px 0;
  }
  .header-title {
    font-size: 1.2rem;
    letter-spacing: 2px;
  }
  main {
    margin: 8px auto 0 auto;
    padding: 6px 1vw 6px 1vw;
    min-height: 60vh;
    border-radius: 8px;
  }
  .contact-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }
  .contact-form {
    padding: 10px 2px 10px 2px;
    gap: 10px;
    border-radius: 8px;
    font-size: 0.98rem;
  }
  .contact-form label {
    font-size: 0.97rem;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 0.97rem;
    padding: 8px 8px;
  }
  .contact-form button {
    font-size: 1rem;
    padding: 10px 0;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-col {
    min-width: 0;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
  }
}

::-webkit-input-placeholder { color: #b0b6bb; }
::-moz-placeholder { color: #b0b6bb; }
:-ms-input-placeholder { color: #b0b6bb; }
::placeholder { color: #b0b6bb; }
