/* ===========================
   Contact — Modern & Clean
   Palette: bleu #013d5b / jaune #ffd84d
   =========================== */

:root{
  --c-bg: #fefefe;
  --c-card-g1: #0f2b40;
  --c-card-g2: #0c2234;
  --c-border: rgba(255,255,255,.08);
  --c-shadow: 0 20px 60px rgba(0,0,0,.25);

  --c-text: #ffffff;
  --c-muted: #b7c6d8;

  --blue: #013d5b;
  --blue-ink: #0e2433;
  --yellow: #ffd84d;

  --radius: 16px;
  --gap: 16px;
  --pad: 18px;

  --fs-1: clamp(12px, .95vw, 14px);
  --fs-2: clamp(14px, 1.1vw, 16px);
  --fs-3: clamp(18px, 1.6vw, 24px); /* titre */
}

/* page wrapper (garde ta .page-container existante) */
body { background: var(--c-bg); }

/* ===== Conteneur centré ===== */
.contact-wrap{
  min-height: calc(100vh - 70px); /* laisse la place au navbar si besoin */
  display: grid;
  place-items: start center;       /* centré horizontal, en haut vertical */
  padding: 24px 14px;
}

.contact-card{
  width: min(900px, 92vw);
  background: linear-gradient(180deg, var(--c-card-g1), var(--c-card-g2));
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  color: var(--c-text);
  box-shadow: var(--c-shadow);
  padding: 22px;
}

/* ===== Header ===== */
.contact-header{
  margin-bottom: 10px;
}
.contact-header h1{
  margin: 0 0 6px;
  font-size: var(--fs-3);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .2px;
}
.subtitle{
  margin: 0;
  color: var(--c-muted);
  font-size: var(--fs-2);
}

/* ===== Corps ===== */
.contact-body{
  margin-top: 10px;
}
.lead{
  margin: 0 0 14px;
  font-size: var(--fs-2);
  line-height: 1.6;
}
.link{
  color: var(--yellow);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,216,77,.5);
}
.link:hover{ filter: brightness(1.08); }

/* grille email/tel */
.info-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: var(--pad);
}
.info-item{
  display: grid;
  gap: 6px;
}
.info-label{
  font-size: var(--fs-1);
  color: var(--c-muted);
  font-weight: 700;
  letter-spacing: .2px;
}
.info-value{
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: var(--fs-2);
}
.info-value:hover{ text-decoration: underline; }

/* ===== Actions ===== */
.contact-actions{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
  user-select: none;
}

.btn-mail{
  background: linear-gradient(180deg, var(--yellow), #f3c22b);
  color: var(--blue);
  border-color: rgba(0,0,0,.06);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.btn-call{
  background: linear-gradient(180deg, #e9f2f9, #cfe0ec);
  color: var(--blue-ink);
  border: 1px solid rgba(255,255,255,.2);
}

.btn:hover{ filter: brightness(1.05); transform: translateY(-1px); }
.btn:active{ transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 860px){
  .info-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 520px){
  .contact-card{ width: 94vw; padding: 18px; border-radius: 14px; }
  .contact-actions{ gap: 8px; }
  .btn{ width: 100%; }
}
