.contact-page {
  background: #f8fbff;
}

.contact-hero.internal-hero {
  padding: 16px 0 36px;
  background:
    linear-gradient(110deg, rgba(4, 49, 105, 0.96), rgba(12, 132, 186, 0.84)),
    url("./images/contato.png") right center / contain no-repeat;
  background-repeat: no-repeat, no-repeat;
}

.internal-page .contact-hero + .internal-content {
  padding-top: 28px;
}

.contact-hero .container {
  text-align: left;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-hero .internal-hero__eyebrow,
.contact-hero h1,
.contact-hero p {
  display: block;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.contact-hero h1 {
  max-width: 820px;
  font-size: clamp(2.4rem, 4.2vw, 4.2rem);
  line-height: 1.03;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.contact-hero__highlight {
  display: inline-block;
  padding-bottom: 0.04em;
  text-decoration: underline;
  text-decoration-color: #4fc3ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.contact-hero p {
  max-width: 700px;
  margin-top: 18px;
  font-size: 0.95rem;
  line-height: 1.75;
}

.contact-content > .container {
  width: min(calc(100vw - 48px), 1280px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.contact-card-layout {
  display: grid;
  width: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(0, 0.95fr) 2px minmax(0, 1.25fr) 2px minmax(0, 0.95fr);
  align-items: stretch;
  column-gap: clamp(10px, 1.4vw, 16px);
  row-gap: clamp(16px, 2.5vw, 24px);
}

.contact-card-divider {
  align-self: stretch;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(134, 193, 255, 0) 0%, rgba(140, 201, 255, 0.2) 10%, rgba(67, 156, 255, 0.92) 22%, rgba(67, 156, 255, 0.92) 78%, rgba(140, 201, 255, 0.2) 90%, rgba(134, 193, 255, 0) 100%);
  box-shadow:
    0 0 0 1px rgba(188, 226, 255, 0.12),
    0 0 10px rgba(110, 184, 255, 0.14);
  pointer-events: none;
}

.contact-media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-start;
  min-height: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(181, 205, 233, 0.55);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 251, 255, 0.98) 100%);
  box-shadow: 0 24px 60px rgba(31, 79, 138, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  isolation: isolate;
}

.contact-media-card::before,
.contact-media-card::after,
.contact-card-shell::before,
.contact-card-shell::after,
.contact-support-card::before,
.contact-support-card::after {
  content: none;
}

.contact-media-card > *,
.contact-card-shell > *,
.contact-support-card > * {
  position: relative;
  z-index: 1;
}

.contact-media-card__canvas {
  border-radius: 18px;
  border: 1px solid rgba(181, 205, 233, 0.45);
  overflow: hidden;
  background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
}

.contact-media-card__canvas--brand {
  flex: 0 0 auto;
  min-height: 168px;
  background:
    linear-gradient(90deg, rgba(244, 249, 255, 0.55) 0%, rgba(244, 249, 255, 0.05) 48%, transparent 62%),
    url("./images/contato.png") center / contain no-repeat,
    linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
}

.contact-media-card__canvas--photo {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 180px;
  padding: 18px 10px 6px;
}

.contact-media-card__canvas--photo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
}

.contact-card-shell {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: clamp(14px, 1.6vw, 18px);
  border: 1px solid rgba(181, 205, 233, 0.55);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(37, 133, 255, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.98) 100%);
  box-shadow:
    0 24px 60px rgba(31, 79, 138, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-support-card {
  position: relative;
  width: 100%;
  min-height: 100%;
  padding: 22px 18px 18px;
  border: 1px solid rgba(181, 205, 233, 0.55);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 251, 255, 0.98) 100%);
  box-shadow:
    0 24px 60px rgba(31, 79, 138, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  text-align: center;
  overflow: hidden;
}

.contact-support-card__dots {
  position: absolute;
  width: 64px;
  height: 64px;
  opacity: 0.42;
  background-image: radial-gradient(circle, #7ec7ff 1.8px, transparent 1.8px);
  background-size: 12px 12px;
}

.contact-support-card__dots--top {
  top: 14px;
  right: 14px;
}

.contact-support-card__dots--bottom {
  right: 12px;
  bottom: 12px;
}

.contact-support-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
}

.contact-support-card__icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(104, 229, 214, 0.24) 0%, rgba(47, 133, 232, 0.12) 74%, rgba(47, 133, 232, 0.02) 100%);
}

.contact-support-card__icon-headset {
  position: relative;
  z-index: 1;
  color: #1d8ee8;
  font-size: 2.4rem;
  line-height: 1;
}

.contact-support-card__icon-image {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-support-card h2 {
  color: #153f82;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 800;
}

.contact-support-card__accent {
  display: block;
  width: 44px;
  height: 5px;
  margin: 12px auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #17b9ff 0%, #2188ef 100%);
}

.contact-support-card p {
  color: #365788;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
}

.contact-support-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  margin-top: 34px;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(90deg, #26cf6c 0%, #20b5ce 100%);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  box-shadow: 0 16px 28px rgba(32, 181, 206, 0.24);
}

.contact-support-card__button span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1;
}

.contact-support-card__button span svg {
  display: block;
  width: 12px;
  height: 12px;
}

.contact-whatsapp-icon--button {
  width: 14px;
  height: 14px;
  transform: translate(0.15px, 0.15px);
}

.contact-support-card__hours {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  margin-top: clamp(24px, 5vw, 48px);
  padding: 14px 14px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f5fbff 0%, #edf5ff 100%);
  border: 1px solid rgba(194, 217, 240, 0.7);
  text-align: left;
}

.contact-support-card__hours-icon {
  color: #1d8ee8;
  font-size: 1.35rem;
  line-height: 1;
}

.contact-support-card__hours-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.contact-support-card__hours strong {
  display: block;
  color: #153f82;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-support-card__hours-body {
  text-align: left;
}

.contact-support-card__hours span {
  display: block;
  color: #365788;
  font-size: 0.88rem;
  line-height: 1.55;
}

.contact-support-card__hours-times {
  text-align: left;
}

.contact-card-shell__eyebrow {
  display: inline-block;
  margin-bottom: 4px;
  color: #2f85e8;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-card-shell h1 {
  color: #153f82;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.04;
  font-weight: 800;
}

.contact-card-shell__accent {
  display: block;
  width: 74px;
  height: 6px;
  margin: 8px 0 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #17b9ff 0%, #2188ef 100%);
}

.contact-card-shell__intro {
  max-width: 520px;
  margin: 0 0 10px;
  color: #365788;
  font-size: 0.94rem;
  line-height: 1.4;
}

.contact-list {
  display: grid;
  gap: 6px;
}

.contact-item {
  display: grid;
  grid-template-columns: 56px 1fr 24px;
  gap: 16px;
  align-items: center;
  min-height: 60px;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(199, 220, 241, 0.75);
  box-shadow: 0 12px 28px rgba(23, 76, 135, 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 141, 239, 0.45);
  box-shadow: 0 18px 34px rgba(23, 76, 135, 0.12);
}

.contact-item__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.contact-item__icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.contact-whatsapp-icon {
  width: 21px;
  height: 21px;
  transform: translate(0.2px, 0.2px);
}

.contact-item__body {
  display: grid;
  gap: 4px;
}

.contact-item__body strong {
  color: #153f82;
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-item__body span {
  color: #345685;
  font-size: 0.82rem;
  line-height: 1.35;
}

.contact-item__arrow {
  display: grid;
  place-items: center;
  color: #2f85e8;
  font-size: 1.45rem;
  line-height: 1;
}

.contact-item--email .contact-item__icon,
.contact-item--phone .contact-item__icon,
.contact-item--address .contact-item__icon {
  background: linear-gradient(180deg, #2e97ff 0%, #1674dd 100%);
}

.contact-item--whatsapp .contact-item__icon {
  background: linear-gradient(180deg, #37d66f 0%, #18ae52 100%);
}

.contact-item--address .contact-item__icon {
  font-size: 1.2rem;
}

.contact-map-card {
  position: relative;
  display: block;
  min-height: 138px;
  margin-top: 6px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(199, 220, 241, 0.78);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(242, 247, 253, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 32px rgba(23, 76, 135, 0.1);
  text-decoration: none;
}

.contact-map-card__embed {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contact-map-card__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.88) contrast(1.03) brightness(1.02);
}

:root[data-theme="dark"] .contact-page {
  background: #07111f;
}

:root[data-theme="dark"] .contact-hero__highlight {
  text-decoration-color: #4fc3ff;
}

:root[data-theme="dark"] .contact-card-shell {
  border-color: rgba(79, 195, 255, 0.22);
  background:
    radial-gradient(circle at top left, rgba(79, 195, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(11, 23, 40, 0.98) 0%, rgba(9, 19, 34, 0.98) 100%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(79, 195, 255, 0.08);
}

:root[data-theme="dark"] .contact-support-card {
  border-color: rgba(79, 195, 255, 0.22);
  background: linear-gradient(180deg, rgba(11, 23, 40, 0.98) 0%, rgba(9, 19, 34, 0.98) 100%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(79, 195, 255, 0.08);
}

:root[data-theme="dark"] .contact-media-card {
  border-color: rgba(79, 195, 255, 0.22);
  background: linear-gradient(180deg, rgba(11, 23, 40, 0.98) 0%, rgba(9, 19, 34, 0.98) 100%);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(79, 195, 255, 0.08);
}

:root[data-theme="dark"] .contact-media-card__canvas {
  border-color: rgba(79, 195, 255, 0.2);
  background: linear-gradient(180deg, #0d1b2d 0%, #0a1628 100%);
}

:root[data-theme="dark"] .contact-media-card__canvas--brand {
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.72) 0%, rgba(7, 17, 31, 0.08) 48%, transparent 62%),
    url("./images/contato.png") center / contain no-repeat,
    linear-gradient(180deg, #0d1b2d 0%, #0a1628 100%);
}

:root[data-theme="dark"] .contact-media-card__canvas--photo img {
  background: transparent;
  filter: brightness(0.96) saturate(0.94);
}

:root[data-theme="dark"] .contact-card-divider {
  background: linear-gradient(180deg, rgba(79, 195, 255, 0) 0%, rgba(79, 195, 255, 0.18) 10%, rgba(79, 195, 255, 0.72) 22%, rgba(79, 195, 255, 0.72) 78%, rgba(79, 195, 255, 0.18) 90%, rgba(79, 195, 255, 0) 100%);
  box-shadow:
    0 0 0 1px rgba(79, 195, 255, 0.1),
    0 0 10px rgba(79, 195, 255, 0.12);
}

:root[data-theme="dark"] .contact-card-shell__eyebrow {
  color: #7bd4ff;
}

:root[data-theme="dark"] .contact-card-shell__accent,
:root[data-theme="dark"] .contact-support-card__accent {
  background: linear-gradient(90deg, #4fc3ff 0%, #2188ef 100%);
}

:root[data-theme="dark"] .contact-card-shell h1,
:root[data-theme="dark"] .contact-item__body strong,
:root[data-theme="dark"] .contact-support-card h2,
:root[data-theme="dark"] .contact-support-card__hours strong {
  color: #e8f2ff;
}

:root[data-theme="dark"] .contact-card-shell__intro,
:root[data-theme="dark"] .contact-item__body span,
:root[data-theme="dark"] .contact-support-card p,
:root[data-theme="dark"] .contact-support-card__hours span {
  color: #a9bdd4;
}

:root[data-theme="dark"] .contact-item {
  background: rgba(13, 28, 48, 0.94);
  border-color: rgba(79, 195, 255, 0.2);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

:root[data-theme="dark"] .contact-item:hover {
  border-color: rgba(79, 195, 255, 0.42);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(79, 195, 255, 0.1);
}

:root[data-theme="dark"] .contact-item__arrow {
  color: #7bd4ff;
}

:root[data-theme="dark"] .contact-map-card {
  background: rgba(13, 28, 48, 0.94);
  border-color: rgba(79, 195, 255, 0.2);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
}

:root[data-theme="dark"] .contact-map-card__embed iframe {
  filter: saturate(0.78) brightness(0.78) contrast(1.04);
}

:root[data-theme="dark"] .contact-support-card__dots {
  opacity: 0.28;
  background-image: radial-gradient(circle, #4fc3ff 1.8px, transparent 1.8px);
}

:root[data-theme="dark"] .contact-support-card__icon-ring {
  background: radial-gradient(circle, rgba(79, 195, 255, 0.22) 0%, rgba(33, 136, 239, 0.1) 74%, rgba(33, 136, 239, 0.02) 100%);
}

:root[data-theme="dark"] .contact-support-card__icon-image {
  background: #eaf5ff;
}

:root[data-theme="dark"] .contact-support-card__hours {
  background: linear-gradient(180deg, rgba(16, 30, 49, 0.98) 0%, rgba(13, 28, 48, 0.98) 100%);
  border-color: rgba(79, 195, 255, 0.2);
}

:root[data-theme="dark"] .contact-support-card__hours-icon {
  color: #7bd4ff;
}

@media (max-width: 1180px) {
  .contact-card-layout {
    grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1.15fr);
    max-width: 960px;
  }

  .contact-card-divider:last-of-type {
    display: none;
  }

  .contact-support-card {
    grid-column: 1 / -1;
    width: min(100%, 430px);
    justify-self: center;
  }
}

@media (max-width: 900px) {
  .contact-content > .container {
    width: 100%;
    max-width: 100%;
    padding-left: var(--spacing-x-tight);
    padding-right: var(--spacing-x);
  }

  .contact-hero .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .contact-hero h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 6vw, 2.15rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  .contact-hero p {
    max-width: 100%;
    font-size: 0.88rem;
    line-height: 1.62;
  }

  .contact-card-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-card-divider {
    display: none;
  }

  .contact-media-card,
  .contact-card-shell,
  .contact-support-card {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .contact-card-layout {
    gap: 16px;
  }

  .contact-media-card,
  .contact-card-shell,
  .contact-support-card {
    border-radius: 22px;
  }

  .contact-media-card {
    padding: 12px;
    gap: 8px;
  }

  .contact-media-card__canvas--brand {
    min-height: 150px;
  }

  .contact-media-card__canvas--photo {
    min-height: 160px;
    padding: 8px;
  }

  .contact-card-shell {
    padding: 16px 14px;
  }

  .contact-card-shell h1 {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .contact-card-shell__intro {
    font-size: 0.9rem;
  }

  .contact-support-card {
    padding: 18px 14px 16px;
  }

  .contact-support-card h2 {
    font-size: 0.95rem;
  }

  .contact-support-card p {
    font-size: 0.86rem;
  }

  .contact-item {
    grid-template-columns: 48px 1fr 20px;
    gap: 10px;
    min-height: 56px;
    padding: 8px 10px;
    border-radius: 18px;
  }

  .contact-item__icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .contact-item__body strong {
    font-size: 0.82rem;
  }

  .contact-item__body span {
    font-size: 0.78rem;
  }

  .contact-map-card {
    min-height: 128px;
    border-radius: 16px;
  }

  .contact-support-card__button {
    min-height: 42px;
    margin-top: 24px;
    font-size: 0.92rem;
  }

  .contact-support-card__hours {
    margin-top: 20px;
    padding: 12px;
    border-radius: 16px;
  }
}
