/* ============================================================
   PAGE CONTACT — styles
============================================================ */

/* ============================================================
   HERO — dark with aerial background
============================================================ */
.ct-hero {
  position: relative;
  min-height: 640px;
  padding: 160px 0 100px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.ct-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0A0A0C;
  z-index: 0;
}
.ct-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,.6) 0%, rgba(10,10,12,.82) 100%);
  z-index: 1;
}
.ct-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.ct-hero__content {
  max-width: 720px;
  animation: heroSlideLeft .8s cubic-bezier(.22,.61,.36,1) both;
}
.ct-hero__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 20px;
}
.ct-hero__title {
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: var(--white);
}
.ct-hero__desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  margin-bottom: 16px;
  position: relative;
  padding-top: 16px;
}
.ct-hero__desc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,.25);
  border-radius: 2px;
}
.ct-hero__desc + .ct-hero__desc {
  padding-top: 0;
  margin-bottom: 32px;
}
.ct-hero__desc + .ct-hero__desc::before {
  display: none;
}
.ct-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.ct-hero__tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ct-hero__tags i {
  color: rgba(255,255,255,.7);
  font-size: 12px;
}

/* ============================================================
   CONTACT MAIN — sidebar + form
============================================================ */
.ct-main {
  background: var(--white);
  padding: 100px 0 80px;
}
.ct-main__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

/* LEFT — aside */
.ct-aside {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.ct-aside__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 4px;
}
.ct-aside__contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ct-aside__contact li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ct-aside__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #F4F4F4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.6);
  font-size: 14px;
  flex-shrink: 0;
}
.ct-aside__label {
  display: block;
  font-size: 12px;
  color: rgba(0,0,0,.45);
  margin-bottom: 2px;
  letter-spacing: .02em;
}
.ct-aside__value {
  display: block;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  transition: color .2s var(--ease);
}
a.ct-aside__value:hover { color: var(--gray-600); }

/* RDV card (dark) */
.ct-aside__rdv {
  padding: 24px 26px;
  background: #0A0A0C;
  color: var(--white);
  border-radius: 16px;
  position: relative;
}
.ct-aside__rdv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: var(--white);
  font-size: 14px;
  margin-bottom: 14px;
}
.ct-aside__rdv-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.35;
}
.ct-aside__rdv-text {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  margin-bottom: 16px;
}
.ct-aside__rdv-btn {
  width: 100%;
  justify-content: center;
}

/* Certifications */
.ct-aside__certif-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 12px;
  letter-spacing: .01em;
}
.ct-aside__certif {
  padding-top: 24px;
  border-top: 1px solid #EEE;
}
.ct-aside__certif-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ct-aside__certif-tags span {
  background: #F4F4F4;
  color: rgba(0,0,0,.6);
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
}

/* RIGHT — form */
.ct-form {
  background: var(--white);
  border: 1px solid #EAEAEA;
  border-radius: 20px;
  padding: 36px 36px 32px;
  box-shadow: 0 10px 40px -15px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.ct-form__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 4px;
}
.ct-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ct-form__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ct-form__field label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(0,0,0,.7);
}
.ct-form__field label span {
  color: #E24A4A;
  margin-left: 2px;
}
.ct-form__field input,
.ct-form__field select,
.ct-form__field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
  background: #FAFAFA;
  border: 1px solid #EAEAEA;
  border-radius: 12px;
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.ct-form__field input::placeholder,
.ct-form__field textarea::placeholder {
  color: rgba(0,0,0,.35);
}
.ct-form__field input:focus,
.ct-form__field select:focus,
.ct-form__field textarea:focus {
  border-color: var(--black);
  background: var(--white);
}
.ct-form__field textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.ct-form__field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23737373' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
  cursor: pointer;
}
.ct-form__submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 600;
}
.ct-form__legal {
  text-align: center;
  font-size: 12.5px;
  color: rgba(0,0,0,.4);
  line-height: 1.5;
  margin-top: 4px;
}
.ct-form__error,
.ct-form__success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  animation: ctFormMsgIn .35s cubic-bezier(.22,.61,.36,1) both;
}
.ct-form__error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
}
.ct-form__success {
  background: #ECFDF5;
  border: 1px solid #86EFAC;
  color: #047857;
}
.ct-form__error i,
.ct-form__success i {
  font-size: 17px;
  margin-top: 1px;
  flex-shrink: 0;
}
@keyframes ctFormMsgIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   MAP — Google Maps embed
============================================================ */
.ct-map {
  background: var(--white);
  padding: 40px 0 100px;
}
.ct-map__wrap {
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #EAEAEA;
  box-shadow: 0 10px 40px -15px rgba(0,0,0,.08);
  position: relative;
  background: #F4F4F4;
}
.ct-map__wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.9);
}

/* Floating badge over the map */
.ct-map__badge {
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.9);
  max-width: 320px;
}
.ct-map__badge-pin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.ct-map__badge-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,0,0,.5);
  margin-bottom: 3px;
}
.ct-map__badge-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
}

@media (max-width: 640px) {
  .ct-map { padding: 24px 0 64px; }
  .ct-map__wrap { height: 320px; }
  .ct-map__badge {
    top: 50%;
    left: 14px;
    right: 14px;
    transform: translateY(-50%);
    max-width: none;
    padding: 12px 16px;
  }
  .ct-map__badge-title { font-size: 13.5px; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .ct-main__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .ct-hero { padding: 130px 0 80px; min-height: auto; }
  .ct-main { padding: 64px 0 48px; }
  .ct-form { padding: 28px 22px 24px; }
  .ct-form__row { grid-template-columns: 1fr; gap: 14px; }
  .ct-hero__tags { gap: 8px; }
  .ct-hero__tags span { padding: 8px 14px; font-size: 12px; }
}
