/* Gramática canônica — Informações ao viajante. Fonte única dos estilos específicos da página. */

.traveler-page .traveler-main {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--cream-50);
}

.traveler-page .traveler-hero {
  position: relative;
  padding: 124px 0 76px;
  overflow: hidden;
  color: var(--cream-50);
  background:
    radial-gradient(ellipse 44% 74% at 84% 24%, rgba(246, 64, 118, 0.09), transparent 72%),
    radial-gradient(circle at 68% 78%, rgba(255, 108, 67, 0.065), transparent 31%),
    linear-gradient(128deg, var(--wine-950) 0%, var(--wine-900) 58%, var(--wine-850) 100%);
}

.traveler-page .traveler-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 4%, rgba(247, 147, 69, 0.5) 26%, rgba(246, 64, 118, 0.52) 58%, rgba(155, 4, 99, 0.16) 84%, transparent);
  pointer-events: none;
  content: "";
}

.traveler-page .traveler-narrow {
  position: relative;
  z-index: 1;
}

.traveler-page .breadcrumb {
  max-width: none;
  margin: 0 0 28px;
  color: rgba(255, 248, 239, 0.56);
  font-size: 0.75rem;
}

.traveler-page .breadcrumb li:not(:last-child)::after {
  color: rgba(255, 248, 239, 0.32);
}

.traveler-page .breadcrumb a:hover {
  color: var(--coral);
}

.traveler-page .traveler-hero-copy {
  max-width: 780px;
}

.traveler-page .traveler-hero .eyebrow {
  margin-bottom: 13px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.traveler-page .traveler-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--hero-title-cream);
  font-family: var(--font-hero);
  font-size: clamp(2.75rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-shadow: 0 14px 48px rgba(0, 0, 0, 0.16);
}

.traveler-page .traveler-hero-accent {
  color: transparent;
  background: linear-gradient(110deg, var(--orange), var(--coral), var(--rose), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
}

.traveler-page .traveler-lead {
  max-width: 64ch;
  margin: 18px 0 0;
  color: rgba(255, 248, 239, 0.76);
  font-size: clamp(0.94rem, 1.1vw, 1rem);
  line-height: 1.68;
}

.traveler-page .traveler-summary {
  position: relative;
  z-index: 2;
  padding: 0 0 40px;
  background: var(--cream-50);
}

.traveler-page .traveler-summary-inner {
  position: relative;
  top: -28px;
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  min-height: 72px;
  margin-bottom: -28px;
  overflow: hidden;
  align-items: stretch;
  color: var(--text-dark);
  border: 1px solid rgba(28, 10, 34, 0.12);
  border-radius: 16px;
  background: var(--white-soft);
  box-shadow: 0 14px 34px rgba(18, 7, 22, 0.07);
}

.traveler-page .traveler-summary h2 {
  display: flex;
  margin: 0;
  padding: 0 20px;
  align-items: center;
  color: var(--wine-950);
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.3;
}

.traveler-page .traveler-summary ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.traveler-page .traveler-summary li {
  min-width: 0;
}

.traveler-page .traveler-summary a {
  display: flex;
  min-height: 72px;
  gap: 10px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  color: var(--wine-900);
  border-left: 1px solid rgba(28, 10, 34, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.traveler-page .traveler-summary a:hover {
  color: var(--magenta);
  background: rgba(255, 108, 67, 0.05);
}

.traveler-page .traveler-summary svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--coral);
}

.traveler-page .traveler-section {
  padding-block: var(--site-section-edge-space);
  scroll-margin-top: 92px;
}

.traveler-page .traveler-section-header {
  max-width: 720px;
  margin-bottom: 30px;
}

.traveler-page .traveler-section-header h2 {
  margin: 0;
  color: var(--wine-950);
  font-family: var(--font-display);
  font-size: clamp(1.82rem, 2.45vw, 2.12rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.traveler-page .traveler-section-copy {
  margin: 13px 0 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.66;
}

.traveler-page .traveler-official {
  color: var(--text-dark);
  background: var(--cream-50);
}

.traveler-page .traveler-official .eyebrow {
  color: var(--magenta);
}

.traveler-page .official-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 26px;
  overflow: hidden;
  color: var(--cream-50);
  border: 1px solid var(--wine-soft);
  border-radius: 16px;
  background: linear-gradient(128deg, var(--wine-950), var(--wine-900) 64%, var(--wine-850));
}

.traveler-page .official-card {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-columns: 40px minmax(0, 1fr) minmax(170px, 0.3fr);
  grid-template-areas:
    "icon title source"
    "icon description source";
  column-gap: 18px;
  row-gap: 4px;
  padding: 21px 4px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--wine-soft);
  border-radius: 0;
  background: transparent;
}

.traveler-page .official-card:last-child {
  border-bottom: 0;
}

.traveler-page .official-icon {
  grid-area: icon;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--coral);
  border: 1px solid rgba(255, 108, 67, 0.24);
  border-radius: 50%;
  background: rgba(255, 248, 239, 0.07);
}

.traveler-page .official-icon svg {
  width: 18px;
  height: 18px;
}

.traveler-page .official-card h3 {
  grid-area: title;
  min-width: 0;
  margin: 0;
  color: var(--cream-50);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
}

.traveler-page .official-card > p {
  grid-area: description;
  min-width: 0;
  margin: 0;
  color: rgba(255, 248, 239, 0.68);
  font-size: 0.84rem;
  line-height: 1.55;
}

.traveler-page .official-source {
  grid-area: source;
  display: inline-flex;
  max-width: 230px;
  min-width: 0;
  gap: 7px;
  margin: 0;
  align-items: center;
  justify-self: end;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: right;
  overflow-wrap: normal;
  word-break: normal;
}

.traveler-page .official-source svg {
  flex: none;
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.traveler-page a.official-source:hover svg {
  transform: translate(2px, -2px);
}

.traveler-page .official-source-static {
  color: rgba(255, 248, 239, 0.66);
}

.traveler-page .traveler-infographic-section {
  background: var(--cream-50);
}

.traveler-page .traveler-infographic-section.is-tinted {
  background: var(--cream-100);
}

.traveler-page .infographic-stack {
  display: grid;
  min-width: 0;
  gap: 24px;
}

.traveler-page #bagagem .infographic-stack {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.traveler-page .infographic {
  display: flex;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--sand-200);
  border-radius: 16px;
  background: var(--white-soft);
}

.traveler-page .infographic a {
  display: block;
  min-width: 0;
}

.traveler-page .infographic img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.traveler-page .infographic figcaption {
  margin-top: auto;
  padding: 12px 15px 14px;
  color: var(--text-muted);
  border-top: 1px solid rgba(236, 216, 195, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
}

.traveler-page .documents-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(280px, 1fr);
  gap: clamp(32px, 4vw, 54px);
  align-items: start;
}

.traveler-page .attention-list {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--sand-200);
  list-style: none;
}

.traveler-page .attention-list li {
  position: relative;
  min-width: 0;
  padding: 20px 0 20px 34px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--sand-200);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.64;
}

.traveler-page .attention-list svg {
  position: absolute;
  top: 22px;
  left: 1px;
  width: 18px;
  height: 18px;
  color: var(--coral);
}

.traveler-page .health-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
  grid-template-areas:
    "header image"
    "link image";
  column-gap: clamp(38px, 5vw, 66px);
  align-items: start;
}

.traveler-page .health-layout .traveler-section-header {
  grid-area: header;
  margin: 0;
}

.traveler-page .health-layout .infographic-stack {
  grid-area: image;
}

.traveler-page .health-link {
  grid-area: link;
  display: inline-flex;
  max-width: 32ch;
  gap: 9px;
  margin-top: 24px;
  align-items: flex-start;
  color: var(--magenta);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.5;
}

.traveler-page .health-link svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  transition: transform 0.25s var(--ease);
}

.traveler-page .health-link:hover svg {
  transform: translate(2px, -2px);
}

.traveler-page .traveler-cta-section {
  padding: 64px 0 28px;
  background: var(--cream-100);
}

.traveler-page .traveler-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 32px 34px;
  align-items: center;
  color: var(--cream-50);
  border: 1px solid var(--wine-soft);
  border-radius: 16px;
  background: linear-gradient(128deg, var(--wine-950), var(--wine-900) 64%, var(--wine-850));
}

.traveler-page .traveler-cta h2 {
  max-width: 21ch;
  margin: 0;
  color: var(--cream-50);
  font-family: var(--font-display);
  font-size: clamp(1.62rem, 2.2vw, 1.88rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.traveler-page .traveler-cta p {
  max-width: 650px;
  margin: 10px 0 0;
  color: rgba(255, 248, 239, 0.7);
  font-size: 0.9rem;
  line-height: 1.65;
}

.traveler-page .traveler-cta-actions {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.traveler-page .traveler-cta .btn {
  min-height: 48px;
  padding-inline: 18px;
}

.traveler-page .traveler-cta .btn-outline {
  color: var(--cream-50);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.055);
}

.traveler-page .traveler-cta .btn-outline:hover {
  color: var(--coral);
  border-color: var(--coral);
  background: rgba(255, 255, 255, 0.07);
}

.traveler-page .traveler-note {
  padding: 0 0 66px;
  background: var(--cream-100);
}

.traveler-page .traveler-note p {
  margin: 0;
  padding-top: 20px;
  color: var(--text-muted);
  border-top: 1px solid var(--sand-200);
  font-size: 0.78rem;
  line-height: 1.68;
}

@media (max-width: 980px) {
  .traveler-page .documents-layout,
  .traveler-page .health-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .traveler-page .health-layout {
    grid-template-areas:
      "header"
      "image"
      "link";
    gap: 24px;
  }

  .traveler-page .health-layout .traveler-section-header {
    margin-bottom: 4px;
  }

  .traveler-page .health-link {
    margin-top: 0;
  }

  .traveler-page .traveler-cta {
    grid-template-columns: 1fr;
  }

  .traveler-page .traveler-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .traveler-page .traveler-hero {
    padding: 108px 0 66px;
  }

  .traveler-page .breadcrumb {
    margin-bottom: 24px;
    font-size: 0.72rem;
  }

  .traveler-page .traveler-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10.2vw, 2.55rem);
    line-height: 1.01;
  }

  .traveler-page .traveler-lead {
    margin-top: 16px;
    font-size: 0.92rem;
    line-height: 1.63;
  }

  .traveler-page .traveler-summary {
    padding-bottom: 28px;
  }

  .traveler-page .traveler-summary-inner {
    top: -24px;
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: -24px;
  }

  .traveler-page .traveler-summary h2 {
    min-height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(28, 10, 34, 0.1);
  }

  .traveler-page .traveler-summary ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .traveler-page .traveler-summary a {
    min-height: 52px;
    padding: 0 14px;
    border-left: 0;
    border-bottom: 1px solid rgba(28, 10, 34, 0.1);
  }

  .traveler-page .traveler-summary li:nth-child(even) a {
    border-left: 1px solid rgba(28, 10, 34, 0.1);
  }

  .traveler-page .traveler-summary li:nth-last-child(-n + 2) a {
    border-bottom: 0;
  }

  .traveler-page .traveler-section-header {
    margin-bottom: 24px;
  }

  .traveler-page .traveler-section-header h2 {
    font-size: clamp(1.78rem, 8vw, 2rem);
  }

  .traveler-page .official-grid {
    padding: 0 18px;
  }

  .traveler-page .official-card {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-areas:
      "icon title"
      "description description"
      "source source";
    column-gap: 13px;
    row-gap: 9px;
    padding: 20px 0;
    align-items: center;
  }

  .traveler-page .official-card h3 {
    font-size: 0.96rem;
  }

  .traveler-page .official-card > p {
    padding-left: 49px;
    font-size: 0.83rem;
  }

  .traveler-page .official-source {
    max-width: none;
    padding-left: 49px;
    justify-self: start;
    text-align: left;
  }

  .traveler-page #bagagem .infographic-stack {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .traveler-page .documents-layout {
    gap: 28px;
  }

  .traveler-page .health-layout {
    gap: 24px;
  }

  .traveler-page .traveler-cta-section {
    padding: 48px 0 26px;
  }

  .traveler-page .traveler-cta {
    gap: 24px;
    padding: 28px 22px;
  }

  .traveler-page .traveler-cta-actions {
    flex-direction: column;
  }

  .traveler-page .traveler-cta .btn {
    width: 100%;
    min-width: 0;
  }

  .traveler-page .traveler-note {
    padding-bottom: 52px;
  }
}

@media (max-width: 420px) {
  .traveler-page .traveler-summary a {
    padding-inline: 12px;
    font-size: 0.74rem;
  }

  .traveler-page .official-card > p,
  .traveler-page .official-source {
    padding-left: 0;
  }
}
