/* Contact Cloudbizz — page trilingue Sales / Support. */
.contact-page {
  color: #080942;
  background: #f8f8ff;
  font-family: var(--font-family, 'Cerebri Sans'), Inter, system-ui, sans-serif;
}

.contact-page :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid rgba(37, 16, 243, .3);
  outline-offset: 3px;
}

.contact-shell {
  width: var(--cb-shell);
  max-width: 1520px;
  margin-inline: auto;
}

.contact-header {
  position: relative;
  z-index: 20;
  min-height: 78px;
  border-bottom: 1px solid rgba(217, 222, 246, .82);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.contact-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.contact-brand,
.contact-footer__inner > div > a {
  display: inline-flex;
  align-items: center;
  width: 213px;
  height: 32px;
  flex: 0 0 213px;
}

.contact-brand img.cb-logo-2026,
.contact-footer img.cb-logo-2026 {
  display: block !important;
  width: 213px !important;
  height: 32px !important;
  object-fit: contain !important;
  object-position: left center !important;
  filter: none !important;
  transform: none !important;
}

.contact-language {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid #dfe2f5;
  border-radius: 10px;
  background: #f8f8fe;
}

.contact-language a {
  min-width: 37px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #55597c;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, box-shadow .18s ease;
}

.contact-language a:hover { color: #2510f3; }
.contact-language a[aria-current='page'] {
  color: #fff;
  background: #2510f3;
  box-shadow: 0 7px 16px rgba(37, 16, 243, .2);
}

.contact-main {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: clamp(64px, 7vw, 104px) 0 clamp(76px, 8vw, 124px);
  background:
    linear-gradient(rgba(103, 91, 190, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 91, 190, .045) 1px, transparent 1px),
    radial-gradient(circle at 14% 18%, rgba(91, 69, 255, .13), transparent 27%),
    linear-gradient(145deg, #fff 0%, #f7f6ff 48%, #fbfbff 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.contact-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(3px);
}

.contact-orb--one {
  top: 6%;
  right: -180px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(97, 72, 255, .15), rgba(97, 72, 255, 0) 68%);
}

.contact-orb--two {
  bottom: -220px;
  left: 30%;
  width: 430px;
  height: 430px;
  background: radial-gradient(circle, rgba(19, 198, 184, .09), rgba(19, 198, 184, 0) 69%);
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(560px, 1.14fr);
  align-items: start;
  gap: clamp(58px, 7vw, 118px);
}

.contact-intro {
  position: sticky;
  top: 48px;
  padding-top: 26px;
}

.contact-eyebrow,
.contact-form-eyebrow {
  margin: 0 0 19px;
  color: #2510f3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .105em;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-eyebrow span {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2510f3, #806bff);
}

.contact-intro h1 {
  font-family: var(--cb-display-font);
  max-width: 750px;
  margin: 0;
  color: #080942;
  font-size: var(--cb-title-hero);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: .99;
  text-wrap: balance;
}

.contact-intro__lead {
  max-width: 650px;
  margin: 27px 0 0;
  color: #555979;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.52;
}

.contact-promises {
  display: grid;
  gap: 13px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-promises li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #2f335d;
  font-size: 15px;
  font-weight: 700;
}

.contact-promises svg {
  width: 23px;
  height: 23px;
  padding: 5px;
  border-radius: 999px;
  color: #2510f3;
  background: #eeecff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-direct {
  max-width: 650px;
  margin-top: 42px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  border: 1px solid rgba(210, 214, 241, .94);
  border-radius: 19px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 18px 52px rgba(29, 25, 106, .05);
  backdrop-filter: blur(15px);
}

.contact-direct__icon {
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #2510f3;
  background: #eeecff;
}

.contact-direct__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-direct h2 {
  margin: 1px 0 5px;
  color: #080942;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.contact-direct p {
  margin: 0;
  color: #686b87;
  font-size: 14px;
  line-height: 1.5;
}

.contact-direct div > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
}

.contact-direct a {
  color: #2510f3;
  font-size: 13px;
  font-weight: 900;
  text-underline-offset: 3px;
}

.contact-panel {
  padding: clamp(30px, 3vw, 46px);
  border: 1px solid rgba(210, 214, 241, .96);
  border-radius: 26px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 30px 90px rgba(30, 24, 118, .12);
  backdrop-filter: blur(22px);
}

.contact-panel__heading { margin-bottom: 29px; }
.contact-panel__heading .contact-form-eyebrow { margin-bottom: 10px; }
.contact-panel__heading h2 {
  margin: 0;
  color: #080942;
  font-size: clamp(30px, 2.3vw, 40px);
  font-weight: var(--cb-display-weight);
  letter-spacing: var(--cb-display-tracking);
  line-height: var(--cb-display-leading);
}
.contact-panel__heading > p:last-child {
  margin: 10px 0 0;
  color: #686b87;
  font-size: 15px;
}

.contact-departments {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-departments legend {
  color: #191b4f;
  font-size: 14px;
  font-weight: 900;
}

.contact-departments > p {
  margin: 5px 0 13px;
  color: #747793;
  font-size: 13px;
}

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

.department-card {
  position: relative;
  min-height: 106px;
  padding: 17px 43px 17px 17px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  border: 1.5px solid #e0e2f2;
  border-radius: 15px;
  background: #fbfbff;
  cursor: pointer;
  transition: border .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.department-card:hover {
  transform: translateY(-1px);
  border-color: #bbb4ff;
}

.department-card.is-selected {
  border-color: #2510f3;
  background: linear-gradient(145deg, #f5f3ff, #fff);
  box-shadow: 0 10px 25px rgba(37, 16, 243, .09), inset 0 0 0 1px rgba(37, 16, 243, .08);
}

.department-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.department-card:has(input:focus-visible) {
  outline: 3px solid rgba(37, 16, 243, .3);
  outline-offset: 3px;
}

.department-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #54567a;
  background: #eceef8;
  transition: color .18s ease, background .18s ease;
}

.department-card.is-selected .department-card__icon {
  color: #fff;
  background: linear-gradient(135deg, #2510f3, #5a46ff);
}

.department-card__icon svg,
.department-card__check svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.department-card strong,
.department-card small { display: block; }
.department-card strong {
  color: #111348;
  font-size: 15px;
  font-weight: 900;
}
.department-card small {
  margin-top: 4px;
  color: #71748e;
  font-size: 12px;
  line-height: 1.35;
}

.department-card__check {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #d9dbea;
  border-radius: 999px;
  color: transparent;
  background: #fff;
}

.department-card.is-selected .department-card__check {
  border-color: #2510f3;
  color: #fff;
  background: #2510f3;
}
.department-card__check svg { width: 14px; height: 14px; stroke-width: 2.6; }

.contact-recipient {
  margin: 15px 0 24px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 10px;
  color: #666a88;
  background: #f4f4fc;
  font-size: 12px;
}
.contact-recipient strong { color: #2510f3; font-size: 13px; }

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 14px;
}

.contact-form__grid label > span {
  display: block;
  margin: 0 0 7px;
  color: #292c59;
  font-size: 13px;
  font-weight: 800;
}

.contact-form__grid label > span b { color: #5b43ff; }
.contact-form__grid label > span small {
  margin-left: 4px;
  color: #8588a1;
  font-size: 11px;
  font-weight: 600;
}

.contact-form__wide { grid-column: 1 / -1; }
.contact-form input:not([type='radio']):not([type='checkbox']):not([type='hidden']),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dfe1ef;
  border-radius: 10px;
  color: #121449;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 17, 94, .02);
  transition: border .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-form input:not([type='radio']):not([type='checkbox']):not([type='hidden']),
.contact-form select { height: 48px; padding: 0 14px; }
.contact-form textarea { min-height: 132px; padding: 13px 14px; line-height: 1.48; resize: vertical; }
.contact-form select { appearance: auto; }
.contact-form :where(input, select, textarea)::placeholder { color: #a2a4b6; }
.contact-form :where(input, select, textarea):hover { border-color: #c7c9df; }
.contact-form :where(input, select, textarea):focus {
  outline: 0;
  border-color: #6250ff;
  box-shadow: 0 0 0 4px rgba(37, 16, 243, .08);
}
.contact-form :where(input, select, textarea).is-invalid {
  border-color: #d7425b;
  box-shadow: 0 0 0 4px rgba(215, 66, 91, .08);
}

.contact-consent {
  margin: 19px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #696c88;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
.contact-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin: 1px 0 0;
  accent-color: #2510f3;
}
.contact-consent a { color: #2510f3; font-weight: 800; text-underline-offset: 2px; }

.contact-status {
  display: none;
  margin-top: 17px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}
.contact-status:not(:empty) { display: block; }
.contact-status.is-success { color: #106545; background: #eaf9f2; border: 1px solid #bcebd5; }
.contact-status.is-error { color: #a4263b; background: #fff0f2; border: 1px solid #f2c5cc; }

.contact-submit {
  width: 100%;
  min-height: 54px;
  margin-top: 20px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #2510f3, #5945ff);
  box-shadow: 0 15px 30px rgba(37, 16, 243, .24);
  font-weight: 900;
  letter-spacing: -.015em;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.contact-submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 19px 38px rgba(37, 16, 243, .29); }
.contact-submit:disabled { cursor: wait; opacity: .68; }
.contact-submit svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-footer {
  border-top: 1px solid #e1e3f2;
  background: #fff;
}
.contact-footer__inner {
  min-height: 174px;
  padding-block: 38px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 48px;
}
.contact-footer__inner > div p {
  max-width: 470px;
  margin: 13px 0 0;
  color: #73768f;
  font-size: 13px;
}
.contact-footer nav { display: flex; gap: 24px; }
.contact-footer nav a { color: #3f4269; font-size: 13px; font-weight: 800; text-decoration: none; }
.contact-footer nav a:hover { color: #2510f3; }
.contact-footer small { color: #85879d; font-size: 12px; white-space: nowrap; }

@media (max-width: 1120px) {
  .contact-layout { grid-template-columns: minmax(0, .78fr) minmax(520px, 1.22fr); gap: 45px; }
  .contact-intro h1 { font-size: clamp(46px, 5.4vw, 60px); }
  .contact-direct { padding: 18px; }
}

@media (max-width: 940px) {
  .contact-layout { grid-template-columns: 1fr; max-width: 760px; }
  .contact-intro { position: relative; top: auto; padding-top: 0; }
  .contact-direct { max-width: 100%; }
  .contact-footer__inner { grid-template-columns: 1fr auto; }
  .contact-footer small { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .contact-shell { width: min(calc(100% - 36px), 720px); }
  .contact-header, .contact-header__inner { min-height: 70px; }
  .contact-brand { width: 174px; height: 27px; flex-basis: 174px; }
  .contact-brand img.cb-logo-2026 { width: 174px !important; height: 27px !important; }
  .contact-language a { min-width: 32px; height: 31px; }
  .contact-main { padding: 52px 0 72px; }
  .contact-intro h1 { font-size: clamp(42px, 12.5vw, 56px); line-height: 1.01; }
  .contact-intro__lead { margin-top: 22px; font-size: 18px; }
  .contact-promises { margin-top: 27px; }
  .contact-direct { margin-top: 32px; }
  .contact-layout { gap: 40px; }
  .contact-panel { padding: 25px 20px; border-radius: 21px; }
  .contact-departments__grid { grid-template-columns: 1fr; }
  .department-card { min-height: 91px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .contact-form__wide { grid-column: auto; }
  .contact-recipient { align-items: flex-start; flex-direction: column; gap: 3px; }
  .contact-footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .contact-footer small { grid-column: auto; }
}

@media (max-width: 430px) {
  .contact-header__inner { gap: 10px; }
  .contact-brand { width: 154px; flex-basis: 154px; }
  .contact-brand img.cb-logo-2026 { width: 154px !important; }
  .contact-language { gap: 1px; padding: 3px; }
  .contact-language a { min-width: 29px; height: 29px; font-size: 11px; }
  .contact-direct { flex-direction: column; }
  .contact-panel { margin-inline: -3px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *, .contact-page *::before, .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
