/* Reset rapide */
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif; }

/* Page background */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Page container */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: calc(100vh - 80px); /* Soustrait la hauteur du header */
}

/* Carte blanche arrondie */
.card {
  width: min(1100px, 95vw);
  height: min(640px, 80vh);
  background: #fff;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: 0 20px 50px #070707;
  align-items: center;
  padding: 40px;
  transform: translateY(20px);
}

/* Partie gauche image */
.left {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
}

.phone-img {
  max-width: 100%;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.12));
  border-radius: 8px;
}

/* Partie droite - panneau translucide (glass) */
.right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 30px;
}

.form-wrap {
  width: 100%;
  max-width: 420px;
}

/* Titres */
.form-wrap h2 {
  color:  #ddb608b0; /* accent corail plus foncé */
  margin-bottom: 6px;
  font-size: 20px;
}

.subtitle {
  color: #8d8d8d;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Formulaire : style glass */
.contact-form {
  background: rgba(255,255,255,0.8);
  border-radius: 12px;
  padding: 18px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px #F8F9F4;
}

/* Champs */
.field {
  display: block;
  margin-bottom: 14px;
  position: relative;
}

.label-text {
  display: block;
  font-size: 12px;
  color: rgba(0,0,0,0.5);
  margin-bottom: 6px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
  background: rgba(255,255,255,0.95);
  outline: none;
  transition: box-shadow .15s, border-color .15s, transform .08s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 6px 18px rgba(79, 79, 79, 0.06);
  border-color: rgba(255,79,54,0.14);
  transform: translateY(-1px);
}

/* Bouton */
.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.btn {
  background: linear-gradient(180deg, #ddb608b0, #ddb608b0);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255,79,54,0.22);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(255,79,54,0.22); }

/* Variantes */
.textarea-field .label-text { margin-bottom: 10px; }

/* Responsive : empiler sur mobile */
@media (max-width: 860px) {
  .page {
    padding: 20px 10px;
    min-height: calc(100vh - 60px);
  }
  
  .card {
    grid-template-columns: 1fr;
    height: auto;
    padding: 22px;
    transform: none;
  }
  .left { order: 1; padding-bottom: 18px; }
  .right { order: 2; padding-left: 0; padding-top: 6px; }
  .phone-img { max-height: 280px; }
  .form-wrap { max-width: 100%; }
}