/* =====================================================================
   PAGE CONTACT — sobre, directe
   Coordonnées à gauche, formulaire à droite, une petite fin de page.
   Les styles du formulaire (partagés avec la modale « Commencer »)
   sont dans css/contact-form.css.
   ===================================================================== */
.ct-page {
  --moss: #5f8f4e;
  --moss-deep: #2f5a35;
  --sap: #9dbd72;
  --wood: #34412f;
  --err: #b0473b;
  --line: rgba(17, 18, 24, 0.16);
  --soft: rgba(17, 18, 24, 0.58);
  --accent: linear-gradient(110deg, var(--moss-deep), var(--moss) 45%, var(--electric));
}
.ct-page em {
  font-style: normal;
  background-image: var(--accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ct-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.ct {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding: clamp(120px, 12vw, 180px) var(--pad) 0;
}
.ct-halo {
  position: absolute;
  z-index: -1;
  left: 10%;
  top: 4%;
  width: min(980px, 130vw);
  aspect-ratio: 1;
  translate: -30% 0;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(157, 189, 114, 0.2),
    rgba(197, 216, 255, 0.3) 55%,
    transparent
  );
  filter: blur(30px);
  pointer-events: none;
}

.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 6vw, 120px);
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

/* =====================================================================
   COORDONNÉES
   ===================================================================== */
.ct-info {
  position: sticky;
  top: 120px;
  padding-top: clamp(8px, 1vw, 20px);
}
.ct-ways {
  display: grid;
}
.ct-way {
  padding: clamp(22px, 2.2vw, 32px) 0;
  border-top: 1px solid var(--line);
}
.ct-way:first-child {
  border-top: 0;
  padding-top: 0;
}
.ct-way-k {
  display: block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--moss-deep);
}
.ct-way-v {
  display: inline-block;
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.ct-way-v span {
  background: linear-gradient(var(--moss), var(--moss)) left bottom / 0 1.5px
    no-repeat;
  padding-bottom: 4px;
  transition:
    background-size 0.6s var(--ease),
    color 0.3s;
}
.ct-way-v:hover span,
.ct-way-v:focus-visible span {
  background-size: 100% 1.5px;
  color: var(--moss-deep);
}
.ct-way--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px 40px;
}

/* Visio : bouton plein, même famille que les fins de page */
.ct-visio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 54px;
  padding: 0 6px 0 24px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 13px var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ct-visio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--moss-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.ct-visio i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--moss);
  transition: transform 0.5s var(--ease);
}
.ct-visio svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-visio:hover::before,
.ct-visio:focus-visible::before {
  transform: none;
  transform-origin: left;
}
.ct-visio:hover i,
.ct-visio:focus-visible i {
  transform: rotate(-8deg) scale(1.06);
}

/* Réseaux */
.ct-social {
  display: flex;
  gap: 10px;
}
.ct-soc {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  transition:
    background 0.35s,
    color 0.35s,
    border-color 0.35s,
    transform 0.5s var(--ease);
}
.ct-soc svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-soc .ct-soc-dot {
  fill: currentColor;
  stroke: none;
}
.ct-soc:hover,
.ct-soc:focus-visible {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
  color: #fff;
  transform: translateY(-3px);
}

/* Localisation : discrète, en pied de colonne */
.ct-where {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 6px;
  margin-top: clamp(8px, 1vw, 16px);
  padding-top: clamp(22px, 2.2vw, 32px);
  border-top: 1px solid var(--line);
}
.ct-where p {
  grid-column: 2;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--soft);
}
.ct-where strong {
  font-weight: 600;
  color: var(--ink);
}
.ct-coord {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: rgba(17, 18, 24, 0.4) !important;
}
.ct-pin {
  position: relative;
  grid-row: 1 / 3;
  width: 10px;
  height: 10px;
  margin-top: 7px;
}
.ct-pin::before,
.ct-pin i {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}
.ct-pin::before {
  background: var(--moss);
}
.ct-pin i {
  border: 1px solid var(--moss);
}

/* =====================================================================
   FIN DE PAGE
   ===================================================================== */
.ct-end {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  max-width: 1400px;
  margin: clamp(80px, 9vw, 150px) auto 0;
  padding: clamp(36px, 4vw, 56px) 0 clamp(56px, 6vw, 96px);
  border-top: 1px solid var(--line);
}
.ct-end-a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.ct-end-a i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition:
    background 0.35s,
    border-color 0.35s,
    color 0.35s,
    transform 0.5s var(--ease);
}
.ct-end-a svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ct-end-a:hover i,
.ct-end-a:focus-visible i {
  background: var(--moss-deep);
  border-color: var(--moss-deep);
  color: #fff;
  transform: translateX(3px);
}
.ct-end-a--back:hover i,
.ct-end-a--back:focus-visible i {
  transform: translateX(-3px);
}
.ct-end-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sap);
}

/* =====================================================================
   MOUVEMENT (discret, uniquement si autorisé)
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .ct-info,
  .js .ct-card {
    animation: ctIn 1.1s var(--ease) both;
  }
  .js .ct-card {
    animation-delay: 0.12s;
  }
  .ct-pin i {
    animation: ctRipple 3.2s var(--ease) infinite;
  }
}
@keyframes ctIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes ctRipple {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

/* =====================================================================
   TABLETTE
   ===================================================================== */
@media (max-width: 1000px) {
  .ct-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-info {
    position: static;
    padding-top: 0;
  }
  .ct-ways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
  }
  .ct-way:nth-child(2) {
    border-top: 0;
    padding-top: 0;
  }
  .ct-way--row {
    grid-column: 1 / -1;
  }
}

/* =====================================================================
   MOBILE
   ===================================================================== */
@media (max-width: 640px) {
  .ct-ways {
    grid-template-columns: minmax(0, 1fr);
  }
  .ct-way:nth-child(2) {
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
  .ct-way--row {
    flex-direction: column;
  }
  .ct-card {
    margin: 0 calc(var(--pad) * -0.4);
    padding: 28px 22px 32px;
    border-radius: var(--r-m);
  }
  .ct-end {
    flex-direction: column;
    gap: 18px;
  }
  .ct-end-sep {
    display: none;
  }
}
