   :root {
      --ink:     #1a1208;
      --paper:   #f5f0e8;
      --cream:   #ede7d5;
      --rust:    red;
      --gold:    beige;
      --muted:   #7a6e5f;
      --border:  #c8bfab;
      --radius:  4px;
    }
 

.contactMain {
  display: flex;
  justify-content: center;
  flex:1;
}

.numTel {
  text-decoration: none;
  color : blueviolet;
}

.card {
  background: #fff;
  font-size : 2.5rem;
  max-width: 800px;
  width: 100%;
  overflow: hidden;
}

.card-header {

  color: blueviolet;
  padding: 2.2rem 2.5rem 1.8rem;
  position: relative;
}

.card-header .eyebrow {
  text-transform: uppercase;
  color: var(--couleur-primaire);
  margin-bottom: .6rem;
}
.card-header h1 {
  line-height: 1.15;
}
.card-header p {
  margin-top: .5rem;
  color: #a89e8e;
  font-weight: 300;
}

.card-body { padding: 2.2rem 2.5rem; }

.alert {
  padding: .9rem 1.1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.alert-success { background: #edf7ee; color: #2a6e2e; border-left: 3px solid #2a6e2e; margin :50px;}
.alert-error   { background: #fdf1ef; color: var(--rust); border-left: 3px solid var(--rust); }

.row { display: flex; gap: 1rem; }
.row .field { flex: 1; }

.field { margin-bottom: 1.3rem; }

label {
  display: block;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: blueviolet;
  margin-bottom: .4rem;
}

input, textarea, select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fdfcfa;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(176,138,62,.12);
}
input.invalid, textarea.invalid {
  border-color: var(--rust);
}
textarea { resize: vertical; min-height: 130px; }

.err {
  display: block;
  font-size: 2rem;
  color: var(--rust);
  margin-top: .3rem;
  font-style: italic;
}


.submit-btn:active { transform: scale(.99); }


.footer-note {
  text-align: center;
  color: var(--muted);
  margin-top: 1.4rem;
}

@media (max-width: 480px) {
  .row { flex-direction: column; gap: 0; }
  .card-header, .card-body { padding-left: 1.5rem; padding-right: 1.5rem; }
}