.teleconsult-page {
  background: var(--white);
  color: var(--navy-850);
}

.teleconsult-page .site-header {
  position: relative;
  height: 86px;
  border-bottom: 1px solid rgba(24, 44, 57, 0.08);
  background: rgba(255, 253, 249, 0.97);
  color: var(--navy-850);
}

.teleconsult-page .brand__name {
  color: var(--navy-850);
  text-shadow: none;
}

.teleconsult-page .primary-nav a,
.teleconsult-page .header-access {
  color: rgba(6, 35, 58, 0.78);
}

.teleconsult-page .primary-nav a:hover,
.teleconsult-page .primary-nav a.is-current,
.teleconsult-page .header-access:hover {
  color: var(--terracotta-dark);
}

.teleconsult-page .header-cta {
  box-shadow: none;
}

.tc-hero {
  height: clamp(410px, 26.7vw, 445px);
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  overflow: hidden;
  background: var(--paper);
}

.tc-hero__copy {
  padding: 42px 32px 20px max(38px, calc((100vw - 1432px) / 2));
  align-self: start;
}

.tc-hero h1 {
  max-width: 680px;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(44px, 3.1vw, 48px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.tc-hero__lead {
  max-width: 610px;
  margin-bottom: 15px;
  color: #62707a;
  font-size: 17px;
  line-height: 1.55;
}

.tc-assurances {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 0;
}

.tc-assurances span {
  min-height: 44px;
  padding-right: 27px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-850);
  font-family: var(--serif);
  font-size: 17px;
}

.tc-assurances span + span {
  padding-left: 27px;
  border-left: 1px solid var(--line);
}

.tc-assurances img {
  width: 29px;
  height: 29px;
  padding: 4px;
  border: 1px solid rgba(23, 99, 77, 0.45);
  border-radius: 50%;
  filter: invert(34%) sepia(20%) saturate(1152%) hue-rotate(112deg) brightness(88%);
}

.tc-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tc-hero__actions .button,
.tc-button-outline {
  min-width: 214px;
}

.tc-button-outline {
  min-height: 50px;
  padding: 13px 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--terracotta);
  border-radius: 5px;
  color: var(--terracotta-dark);
  font-size: 14px;
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.tc-button-outline:hover {
  transform: translateY(-2px);
  background: var(--terracotta-dark);
  color: var(--white);
}

.tc-hero__visual {
  min-height: 100%;
  margin: 0;
  background: #e8eeed;
}

.tc-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.tc-journey {
  padding: 22px max(32px, calc((100vw - 1440px) / 2)) 42px;
  overflow: hidden;
  background: var(--white);
}

.tc-journey__heading {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tc-journey__heading .eyebrow {
  margin-bottom: 5px;
}

.tc-journey__heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(28px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.tc-journey__steps {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 0.9fr 0.95fr 1.25fr 0.95fr 0.9fr;
  gap: 24px;
  list-style: none;
}

.tc-journey__steps::before {
  position: absolute;
  z-index: 0;
  top: 21px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: rgba(23, 99, 77, 0.55);
  content: "";
}

.tc-step {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.tc-step__heading {
  margin-bottom: 10px;
  display: grid;
  justify-items: center;
}

.tc-step__heading > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy-850);
  font-family: var(--serif);
  font-size: 14px;
}

.tc-step__heading h3 {
  margin: 7px 0 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.tc-step--active .tc-step__heading > span {
  border-color: var(--terracotta-dark);
  background: var(--terracotta-dark);
  color: var(--white);
}

.tc-step--active .tc-step__heading h3 {
  color: var(--terracotta-dark);
}

.tc-step__panel {
  height: 205px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 246, 243, 0.44);
}

.tc-step--active .tc-step__panel {
  border-color: var(--terracotta);
}

.tc-panel-title {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--navy-850);
  font-size: 13px;
}

.tc-panel-title img,
.tc-step__status img,
.tc-step__panel--return > img {
  filter: invert(31%) sepia(17%) saturate(1316%) hue-rotate(111deg) brightness(91%);
}

.tc-step__panel--agenda > p {
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.tc-step__panel--agenda ul,
.tc-step__panel--record ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tc-step__panel--agenda li {
  min-height: 27px;
  padding: 5px 7px;
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(48, 65, 74, 0.08);
  color: #647078;
  font-size: 11px;
}

.tc-step__panel--agenda li.is-selected {
  border: 1px solid rgba(23, 99, 77, 0.28);
  border-radius: 4px;
  background: rgba(229, 241, 235, 0.74);
  color: var(--green);
  font-weight: 800;
}

.tc-step__panel--patient {
  display: grid;
  grid-template-columns: 52px 1fr;
  grid-template-rows: auto 1fr;
  gap: 12px;
  align-items: center;
}

.tc-step__panel--patient > img {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(23, 99, 77, 0.25);
  border-radius: 50%;
  object-fit: cover;
}

.tc-step__panel--patient > div {
  display: grid;
  gap: 2px;
}

.tc-step__panel--patient > div span,
.tc-step__panel--patient > p {
  color: #66727a;
  font-size: 13px;
}

.tc-step__panel--patient > p {
  grid-column: 1 / -1;
  align-self: center;
}

.tc-step__panel--video {
  position: relative;
  height: 245px;
  padding: 10px;
  overflow: hidden;
}

.tc-step__panel--video > img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
  object-position: center 38%;
}

.tc-step__panel--video figcaption {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px 7px;
  border-radius: 3px;
  background: var(--terracotta-dark);
  color: var(--white);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tc-step__panel--record > p {
  min-height: 64px;
  padding: 9px;
  border: 1px solid rgba(48, 65, 74, 0.12);
  border-radius: 4px;
  color: #657078;
  font-size: 12px;
  line-height: 1.45;
}

.tc-step__panel--record li {
  min-height: 30px;
  padding: 6px 7px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(48, 65, 74, 0.08);
  font-size: 12px;
}

.tc-step__panel--record li b {
  color: var(--green);
}

.tc-step__panel--return {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tc-step__panel--return p {
  margin: 9px 0 4px;
  font-size: 12px;
  font-weight: 800;
}

.tc-step__panel--return > strong {
  font-family: var(--serif);
  font-size: 22px;
}

.tc-step__panel--return > span {
  margin-bottom: 13px;
  color: #68737a;
  font-size: 11px;
}

.tc-step__panel--return > b {
  padding: 7px 10px;
  border: 1px solid rgba(23, 99, 77, 0.14);
  border-radius: 4px;
  background: rgba(229, 241, 235, 0.74);
  color: var(--green);
  font-size: 11px;
}

.tc-step__status {
  min-height: 24px;
  margin: 9px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.tc-step__status--active {
  color: var(--terracotta-dark);
}

.tc-step__status--active span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terracotta-dark);
}

.tc-closing {
  min-height: 340px;
  padding: 72px 32px;
  display: grid;
  place-items: center;
  align-content: center;
  background: var(--navy-900);
  color: var(--white);
  text-align: center;
}

.tc-closing h2 {
  max-width: 720px;
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: clamp(38px, 4vw, 57px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.tc-closing .button {
  gap: 9px;
}

.tc-closing .button img {
  filter: invert(1);
}

.tc-footer {
  min-height: 88px;
  padding: 18px max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.tc-footer .brand__name {
  color: var(--white);
}

.tc-footer p {
  margin: 0;
}

.tc-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.tc-footer a:hover {
  color: var(--white);
}

.teleconsult-page .nova-demo__close,
.teleconsult-page .nova-demo__icon-button {
  width: auto;
  padding-inline: 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

/* Em notebooks e monitores com pouca altura útil, toda a narrativa
   principal termina na primeira dobra: cabeçalho + hero + jornada. */
@media (min-width: 1181px) and (max-height: 820px) {
  .teleconsult-page .site-header {
    height: 70px;
  }

  .teleconsult-page .brand__name {
    font-size: 27px;
  }

  .teleconsult-page .header-cta {
    min-height: 42px;
    padding: 9px 18px;
  }

  .tc-hero {
    height: 300px;
    min-height: 300px;
  }

  .tc-hero__copy {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .tc-hero__copy > .eyebrow {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .tc-hero h1 {
    max-width: 660px;
    margin-bottom: 8px;
    font-size: clamp(38px, 2.65vw, 42px);
    line-height: 0.96;
  }

  .tc-hero__lead {
    max-width: 610px;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.4;
  }

  .tc-assurances {
    margin-bottom: 8px;
  }

  .tc-assurances span {
    min-height: 32px;
    padding-right: 20px;
    gap: 8px;
    font-size: 15px;
  }

  .tc-assurances span + span {
    padding-left: 20px;
  }

  .tc-assurances img {
    width: 24px;
    height: 24px;
  }

  .tc-hero__actions {
    gap: 10px;
  }

  .tc-hero__actions .button,
  .tc-button-outline {
    min-width: 190px;
    min-height: 42px;
    padding: 10px 18px;
    font-size: 14px;
  }

  .tc-hero__visual {
    min-height: 300px;
  }

  .tc-journey {
    height: calc(100svh - 370px);
    min-height: 320px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .tc-journey__steps {
    gap: 18px;
  }

  .tc-journey__steps::before {
    top: 17px;
  }

  .tc-step__heading {
    margin-bottom: 6px;
  }

  .tc-step__heading > span {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }

  .tc-step__heading h3 {
    margin-top: 4px;
    font-size: 18px;
  }

  .tc-step__panel {
    height: 180px;
    padding: 10px;
  }

  .tc-panel-title {
    margin-bottom: 4px;
  }

  .tc-step__panel--agenda > p {
    margin-bottom: 4px;
    font-size: 13px;
  }

  .tc-step__panel--agenda li {
    min-height: 22px;
    padding: 3px 5px;
  }

  .tc-step__panel--patient {
    grid-template-columns: 42px 1fr;
    gap: 9px;
  }

  .tc-step__panel--patient > img {
    width: 42px;
    height: 42px;
  }

  .tc-step__panel--video {
    height: 215px;
    padding: 8px;
  }

  .tc-step__panel--video figcaption {
    top: 14px;
    left: 14px;
  }

  .tc-step__panel--record > p {
    min-height: 48px;
    padding: 7px;
    margin-bottom: 6px;
  }

  .tc-step__panel--record li {
    min-height: 24px;
    padding: 4px 6px;
  }

  .tc-step__panel--return p {
    margin-top: 5px;
  }

  .tc-step__panel--return > span {
    margin-bottom: 8px;
  }

  .tc-step__panel--return > b {
    padding: 6px 9px;
  }

  .tc-step__status {
    min-height: 18px;
    margin-top: 5px;
    font-size: 13px;
  }
}

@media (max-width: 1180px) {
  .tc-hero {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .tc-hero__copy {
    padding-inline: 38px;
  }

  .tc-journey__steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tc-step {
    grid-column: span 2;
  }

  .tc-step:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .tc-step:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .tc-journey__steps::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .teleconsult-page .menu-toggle {
    border-color: rgba(6, 35, 58, 0.26);
    color: var(--navy-850);
  }

  .teleconsult-page .site-header.is-menu-open .menu-toggle {
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--white);
  }

  .teleconsult-page .primary-nav a {
    color: rgba(245, 246, 247, 0.82);
  }

  .tc-hero {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .tc-hero__copy {
    padding: 54px 32px 38px;
  }

  .tc-hero__visual {
    min-height: 430px;
  }

  .tc-journey__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tc-step,
  .tc-step:nth-child(4),
  .tc-step:nth-child(5) {
    grid-column: auto;
  }

  .tc-step--active {
    grid-column: 1 / -1;
  }

  .tc-step--active .tc-step__panel {
    max-width: 430px;
    margin-inline: auto;
  }

  .tc-footer {
    min-height: 0;
    padding-block: 24px;
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  .tc-footer .brand,
  .tc-footer > div {
    margin-inline: auto;
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .tc-hero__copy {
    padding: 44px 20px 32px;
  }

  .tc-hero h1 {
    font-size: clamp(41px, 13vw, 53px);
  }

  .tc-hero__lead {
    font-size: 16px;
  }

  .tc-assurances {
    align-items: flex-start;
    flex-direction: column;
  }

  .tc-assurances span,
  .tc-assurances span + span {
    width: 100%;
    padding: 9px 0;
    border: 0;
  }

  .tc-assurances span + span {
    border-top: 1px solid var(--line);
  }

  .tc-hero__actions,
  .tc-hero__actions .button,
  .tc-button-outline {
    width: 100%;
  }

  .tc-hero__visual {
    min-height: 320px;
  }

  .tc-journey {
    padding: 36px 18px 42px;
  }

  .tc-journey__steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tc-step,
  .tc-step--active {
    grid-column: auto;
  }

  .tc-step__panel,
  .tc-step__panel--video {
    height: auto;
    min-height: 220px;
  }

  .tc-step__panel--video {
    height: 300px;
  }

  .tc-step__status {
    margin-bottom: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-button-outline,
  .tc-hero__actions .button {
    transition: none;
  }
}
