/* =========================
   CONTACT — ONE BIG CARD
========================= */

:root{
  --violet:#7c3aed;
  --violet2:#5b21b6;
  --ink:#1e1b4b;
  --muted:rgba(30,27,75,.72);
  --line:rgba(124,58,237,.18);
  --bg:#f5f3ff;
  --card:#ffffff;
}

/* section/page */
.contact-page{
  padding: 64px 0 80px;
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(124,58,237,.10), transparent 60%),
    radial-gradient(900px 420px at 90% 10%, rgba(79,70,229,.08), transparent 60%);
}

/* ✅ La grande box générale */
.contact-hero-grid{
  display:block;
}

.contact-page .container{
  max-width: 980px;
}

/* Big card wrapper */
.contact-hero-left,
.contact-hero-right{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(124,58,237,.10);
}

/* header */
.contact-hero-left{
  padding: 26px 26px 18px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 1px solid rgba(124,58,237,.14);
  position: relative;
  overflow:hidden;
}

/* accent top */
.contact-hero-left::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), #4f46e5);
}

/* body */
.contact-hero-right{
  padding: 18px 26px 26px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* titre + texte */
.contact-title{
  margin:0 0 10px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.contact-subtitle{
  margin:0 0 16px;
  color: var(--muted);
  max-width: 70ch;
  line-height: 1.55;
}

/* bandeau offre */
.contact-hint{
  display:inline-flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(124,58,237,.22);
  background: rgba(124,58,237,.06);
  color: rgba(30,27,75,.88);
  font-weight: 750;
  margin: 6px 0 18px;
}
.hint-sep{ opacity:.55; }

/* =========================
   TOP ROW (infos + socials right)
========================= */

.contact-top-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.contact-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
  flex: 1;
}

/* cards */
.contact-card{
  border-radius: 16px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(124,58,237,.06), rgba(124,58,237,.03));
  border: 1px solid rgba(124,58,237,.18);
}

/* title dot */
.cc-title{
  display:flex;
  align-items:center;
  gap:8px;

  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(30,27,75,.80);
  margin-bottom: 6px;
  text-align: center;
}

.cc-title::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  box-shadow: 0 0 0 6px rgba(124,58,237,.10);
}

.cc-value{
  color: rgba(30,27,75,.76);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
}

.cc-value a{
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.cc-value a:hover{
  color: var(--violet);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* socials right */
.contact-social{
  display:flex;
  gap:10px;
  margin-top: 6px; /* s'aligne avec les cards */
}

.cs-link{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(124,58,237,.08);
  border:1px solid rgba(124,58,237,.18);
  color:#7c3aed;
  transition: all .2s ease;
}

.cs-link:hover{
  background: linear-gradient(135deg,#7c3aed,#5b21b6);
  color:#fff;
  transform: translateY(-2px);
}

/* =========================
   FORM
========================= */

.contact-form-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.cfc-head h2{
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.cfc-head p{
  margin: 0 0 14px;
  color: rgba(30,27,75,.68);
}

.form-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.field{ display:flex; flex-direction:column; gap:8px; }
.field.full{ grid-column: 1 / -1; }

label{
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(30,27,75,.80);
}

input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(124,58,237,.16);
  background: rgba(245,243,255,.55);
  color: var(--ink);
  font-size: 14px;
  outline:none;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

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

input::placeholder, textarea::placeholder{
  color: rgba(30,27,75,.45);
}

input:focus, textarea:focus{
  background:#fff;
  border-color: rgba(124,58,237,.60);
  box-shadow: 0 0 0 5px rgba(124,58,237,.14);
}

/* bouton */
.contact-form .btn{
  width:100%;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: .01em;
}

.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

.contact-form .btn.primary{
  background: linear-gradient(135deg, var(--violet), var(--violet2));
  color:#fff;
  border:none;
  box-shadow: 0 16px 34px rgba(124,58,237,.22);
  transition: transform .18s ease, box-shadow .18s ease;
}

.contact-form .btn.primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(124,58,237,.30);
}

.form-note{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(30,27,75,.55);
  line-height: 1.35;
}

/* trust pills */
.contact-trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 10px;
  color: rgba(30,27,75,.62);
  font-size: 12px;
  font-weight: 650;
}

.contact-trust span{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124,58,237,.16);
  background: rgba(124,58,237,.06);
}

/* =========================
   PREMIUM SHADOW (safe)
========================= */
.contact-hero-left::after{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 22px;
  pointer-events:none;
  box-shadow: 0 30px 80px rgba(124,58,237,.14);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .form-grid{ grid-template-columns: 1fr; }

  .contact-top-row{
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-cards{
    grid-template-columns: 1fr;
    width:100%;
  }

  .contact-social{
    margin-top: 10px;
  }

  .contact-hero-left, .contact-hero-right{
    padding-left: 18px;
    padding-right: 18px;
  }
}