/* NacionalCIE — guia editorial de mobilidade para o Rock in Rio 2026. Estilos isolados desta página. */

:root {
  --cg-navy: #062b45;
  --cg-navy-deep: #031e30;
  --cg-blue: #0795d2;
  --cg-blue-dark: #0577ad;
  --cg-blue-soft: #eaf8fe;
  --cg-green: #20a447;
  --cg-green-dark: #168438;
  --cg-whatsapp: #128c3e;
  --cg-yellow: #ffd341;
  --cg-coral: #ff665a;
  --cg-magenta: #cf176c;
  --cg-ink: #102330;
  --cg-muted: #5f707b;
  --cg-line: #dbe8ee;
  --cg-soft: #f5f9fb;
  --cg-white: #fff;
  --cg-shadow: 0 24px 70px rgba(7, 53, 79, .14);
  --cg-shadow-soft: 0 16px 42px rgba(7, 53, 79, .1);
  --cg-radius-lg: 28px;
  --cg-radius: 18px;
  --cg-radius-sm: 12px;
}

html {
  scroll-behavior: smooth;
}

body.page-como-chegar-rir {
  margin: 0;
  overflow-x: hidden;
  color: var(--cg-ink);
  background: var(--cg-white);
}

.page-como-chegar-rir,
.page-como-chegar-rir *,
.page-como-chegar-rir *::before,
.page-como-chegar-rir *::after {
  box-sizing: border-box;
}

.page-como-chegar-rir img,
.page-como-chegar-rir iframe {
  display: block;
  max-width: 100%;
}

.page-como-chegar-rir a,
.page-como-chegar-rir button,
.page-como-chegar-rir summary {
  -webkit-tap-highlight-color: transparent;
}

.page-como-chegar-rir a:focus-visible,
.page-como-chegar-rir button:focus-visible,
.page-como-chegar-rir summary:focus-visible {
  outline: 3px solid var(--cg-yellow);
  outline-offset: 4px;
}

.cg-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.cg-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--cg-white);
  background: var(--cg-navy-deep);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.cg-skip-link:focus {
  transform: translateY(0);
}

.cg-guide h1,
.cg-guide h2,
.cg-guide h3,
.cg-guide p,
.cg-guide ul,
.cg-guide ol,
.cg-guide figure {
  margin-top: 0;
}

.cg-guide h1,
.cg-guide h2,
.cg-guide h3 {
  color: var(--cg-ink);
  letter-spacing: -.035em;
}

.cg-guide h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.08;
}

.cg-guide h3 {
  font-size: 1.1rem;
  line-height: 1.25;
}

.cg-guide p,
.cg-guide li {
  font-size: 1rem;
  line-height: 1.7;
}

.cg-guide strong {
  font-weight: 850;
}

.cg-eyebrow,
.cg-route-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  color: var(--cg-blue-dark);
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cg-breadcrumb {
  border-bottom: 1px solid var(--cg-line);
  background: var(--cg-white);
}

.cg-breadcrumb .cg-container {
  min-height: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  color: #6c7d87;
  font-size: .78rem;
  white-space: nowrap;
}

.cg-breadcrumb a {
  color: #526873;
  text-decoration: none;
}

.cg-breadcrumb strong {
  overflow: hidden;
  color: var(--cg-navy);
  text-overflow: ellipsis;
}

/* First viewport */
.cg-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 88px;
  color: var(--cg-white);
  background:
    radial-gradient(circle at 8% 10%, rgba(7, 149, 210, .28), transparent 32%),
    radial-gradient(circle at 88% 82%, rgba(207, 23, 108, .22), transparent 35%),
    linear-gradient(132deg, var(--cg-navy-deep) 0%, var(--cg-navy) 68%, #083f5f 100%);
}

.cg-hero::before,
.cg-hero::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.cg-hero::before {
  width: 440px;
  height: 440px;
  top: -280px;
  right: 16%;
}

.cg-hero::after {
  width: 600px;
  height: 600px;
  right: -430px;
  bottom: -360px;
}

.cg-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .72fr);
  align-items: center;
  gap: 58px;
}

.cg-hero-copy,
.cg-hero-route,
.cg-photo-copy,
.cg-speed-copy,
.cg-course-grid > *,
.cg-final-card > * {
  min-width: 0;
}

.cg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: #dff6ff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.cg-kicker i,
.cg-plantao-heading > span i {
  width: 9px;
  height: 9px;
  display: inline-block;
  flex: none;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 50%;
  background: var(--cg-coral);
  box-shadow: 0 0 0 5px rgba(255, 102, 90, .17);
}

.cg-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--cg-white);
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  line-height: .99;
  text-wrap: balance;
}

.cg-lead {
  max-width: 720px;
  margin-bottom: 28px;
  color: #d7ebf5;
  font-size: clamp(1.05rem, 1.8vw, 1.2rem) !important;
  line-height: 1.6 !important;
}

.cg-lead strong {
  color: var(--cg-white);
}

.cg-hero-actions,
.cg-plantao-actions,
.cg-speed-actions,
.cg-final-actions {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 12px;
}

.page-guia .cg-button-primary,
.page-guia .cg-button-secondary,
.page-guia .cg-button-whatsapp {
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 11px;
  font-size: .93rem;
  line-height: 1.25;
  white-space: normal;
}

.page-guia .cg-button-primary {
  border-color: var(--cg-green);
  color: var(--cg-white);
  background: var(--cg-green);
  box-shadow: 0 16px 32px rgba(32, 164, 71, .27);
}

.page-guia .cg-button-primary:hover {
  border-color: var(--cg-green-dark);
  background: var(--cg-green-dark);
}

.page-guia .cg-button-secondary {
  border-color: rgba(255, 255, 255, .52);
  color: var(--cg-white);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.page-guia .cg-button-secondary:hover {
  border-color: var(--cg-white);
  color: var(--cg-navy);
  background: var(--cg-white);
}

.page-guia .cg-button-whatsapp {
  border-color: #bce5c7;
  color: #0e6f31;
  background: #f2fbf4;
  box-shadow: none;
}

.page-guia .cg-button-whatsapp:hover {
  border-color: var(--cg-whatsapp);
  color: var(--cg-white);
  background: var(--cg-whatsapp);
}

.cg-hero-microcopy {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 0 0;
  color: #b8d4e2;
  font-size: .82rem !important;
  font-weight: 700;
  line-height: 1.35 !important;
}

.cg-hero-microcopy span {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--cg-navy);
  background: var(--cg-yellow);
  font-size: .7rem;
  font-weight: 900;
}

.cg-hero-microcopy b {
  color: #7fb6ce;
}

.cg-hero-route {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--cg-radius-lg);
  color: var(--cg-ink);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 32px 80px rgba(0, 15, 25, .3);
}

.cg-hero-route h2 {
  margin-bottom: 20px;
  font-size: 1.65rem;
}

.cg-hero-route ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cg-hero-route li {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  padding: 0 0 17px;
}

.cg-hero-route li:last-child {
  padding-bottom: 0;
}

.cg-hero-route li:not(:last-child)::after {
  position: absolute;
  top: 37px;
  bottom: 2px;
  left: 18px;
  width: 2px;
  background: #dbeef6;
  content: "";
}

.cg-hero-route li > b {
  width: 38px;
  height: 38px;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--cg-white);
  border-radius: 50%;
  color: var(--cg-white);
  background: var(--cg-blue);
  box-shadow: 0 0 0 1px #c8e6f2;
  font-size: .76rem;
}

.cg-hero-route li span {
  display: grid;
  gap: 2px;
  padding-top: 2px;
}

.cg-hero-route li strong {
  color: var(--cg-navy);
  font-size: .96rem;
  line-height: 1.3;
}

.cg-hero-route li small {
  color: var(--cg-muted);
  font-size: .79rem;
  line-height: 1.4;
}

.cg-hero-route > p {
  margin: 21px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--cg-line);
  color: #73848d;
  font-size: .74rem !important;
  line-height: 1.45 !important;
}

/* Plantão */
.cg-plantao {
  position: relative;
  z-index: 2;
  margin-top: -42px;
  padding-bottom: 80px;
}

.cg-plantao-card {
  overflow: hidden;
  border: 1px solid #d3e7ef;
  border-radius: var(--cg-radius-lg);
  background: var(--cg-white);
  box-shadow: var(--cg-shadow);
}

.cg-plantao-heading {
  position: relative;
  display: grid;
  grid-template-columns: .82fr 1.25fr;
  column-gap: 30px;
  padding: 30px 34px 27px;
  color: var(--cg-white);
  background: linear-gradient(105deg, #0b3854 0%, var(--cg-navy) 58%, #09253b 100%);
}

.cg-plantao-heading::after {
  position: absolute;
  width: 160px;
  height: 160px;
  top: -98px;
  right: 4%;
  border: 28px solid rgba(255, 211, 65, .12);
  border-radius: 50%;
  content: "";
}

.cg-plantao-heading > span {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--cg-yellow);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .13em;
}

.cg-plantao-heading h2 {
  margin-bottom: 0;
  color: var(--cg-white);
  font-size: 2.15rem;
}

.cg-plantao-heading p {
  align-self: center;
  margin-bottom: 0;
  color: #d6eaf3;
  line-height: 1.55;
}

.cg-plantao-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  background: var(--cg-line);
  list-style: none;
}

.cg-three-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cg-plantao-steps li {
  min-height: 218px;
  display: flex;
  flex-direction: column;
  gap: 19px;
  padding: 29px 25px;
  background: var(--cg-white);
}

.cg-plantao-steps li > b {
  width: 46px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--cg-navy);
  background: var(--cg-yellow);
  font-size: .78rem;
  letter-spacing: .05em;
}

.cg-plantao-steps h3 {
  margin-bottom: 8px;
  color: var(--cg-navy);
}

.cg-plantao-steps p {
  margin-bottom: 0;
  color: var(--cg-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.cg-plantao-actions {
  justify-content: center;
  padding: 28px 30px 13px;
  background: #fbfdfe;
}

.cg-transparency {
  max-width: 900px;
  margin: 0 auto;
  padding: 4px 30px 28px;
  color: #647781;
  font-size: .78rem !important;
  line-height: 1.5 !important;
  text-align: center;
}

/* Photo and product */
.cg-photo-section {
  padding: 8px 0 92px;
}

.cg-photo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .72fr);
  align-items: center;
  gap: 58px;
}

.cg-event-photo {
  overflow: hidden;
  margin-bottom: 0;
  border-radius: var(--cg-radius-lg);
  background: #d9e8ef;
  box-shadow: var(--cg-shadow-soft);
}

.cg-event-photo picture,
.cg-event-photo img {
  width: 100%;
}

.cg-event-photo picture {
  height: 420px;
}

.cg-event-photo img {
  height: 420px;
  object-fit: cover;
  object-position: center 42%;
}

.cg-event-photo figcaption {
  padding: 12px 17px;
  color: #667983;
  background: var(--cg-white);
  font-size: .7rem;
  line-height: 1.4;
}

.cg-photo-copy > p,
.cg-speed-copy > p {
  color: var(--cg-muted);
}

.cg-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.cg-check-list li {
  position: relative;
  padding: 13px 13px 13px 40px;
  border: 1px solid var(--cg-line);
  border-radius: 10px;
  color: #34515f;
  background: #fbfdfe;
  font-size: .84rem;
  font-weight: 800;
  line-height: 1.35;
}

.cg-check-list li::before {
  width: 21px;
  height: 21px;
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cg-white);
  background: var(--cg-green);
  content: "✓";
  font-size: .72rem;
  font-weight: 900;
}

.cg-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cg-blue-dark);
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.45;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Official facts */
.cg-official {
  padding: 88px 0;
  border-block: 1px solid #d8edf5;
  background: linear-gradient(180deg, #f4fbfe 0%, #edf8fc 100%);
}

.cg-rock-rules {
  border-bottom: 0;
  background: linear-gradient(180deg, #f7fbfd 0%, #edf8fc 100%);
}

.cg-heading {
  margin-bottom: 38px;
}

.cg-heading-centered {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.cg-heading p {
  margin-bottom: 0;
  color: var(--cg-muted);
}

.cg-fact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cg-three-routes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cg-fact-grid article {
  min-height: 225px;
  padding: 25px;
  border: 1px solid #cfe6ef;
  border-radius: var(--cg-radius);
  background: rgba(255, 255, 255, .8);
}

.cg-fact-grid article span {
  display: inline-block;
  margin-bottom: 27px;
  color: var(--cg-blue-dark);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .1em;
}

.cg-fact-grid article h3 {
  margin-bottom: 10px;
  color: var(--cg-navy);
}

.cg-fact-grid article p {
  margin-bottom: 0;
  color: var(--cg-muted);
  font-size: .88rem;
  line-height: 1.55;
}

.cg-official-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}

.cg-official-links a {
  color: var(--cg-blue-dark);
  font-size: .85rem;
  font-weight: 800;
  text-underline-offset: 4px;
}

/* Deadline */
.cg-speed {
  padding: 92px 0;
}

.cg-speed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: center;
  gap: 74px;
}

.cg-speed-copy h2 {
  max-width: 730px;
}

.cg-speed-actions {
  align-items: center;
  margin-top: 27px;
}

.cg-validity-card {
  min-height: 310px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-radius: var(--cg-radius-lg);
  color: var(--cg-white);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 211, 65, .3), transparent 31%),
    linear-gradient(145deg, var(--cg-blue-dark), var(--cg-navy));
  box-shadow: var(--cg-shadow);
}

.cg-validity-card > span {
  position: absolute;
  top: 22px;
  left: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .27);
  border-radius: 999px;
  color: #dff6ff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .09em;
}

.cg-validity-card small {
  margin-bottom: 5px;
  color: #bcecff;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .17em;
}

.cg-validity-card strong {
  color: var(--cg-white);
  font-size: 4.25rem;
  line-height: .9;
  letter-spacing: -.07em;
}

.cg-validity-card b {
  margin-top: 7px;
  color: var(--cg-yellow);
  font-size: 1.55rem;
  letter-spacing: .2em;
}

.cg-validity-card p {
  margin: 18px 0 0;
  color: #d5ebf4;
  font-size: .78rem;
}

.cg-metro-card strong {
  font-size: 5rem;
  letter-spacing: -.06em;
}

.cg-metro-card b {
  letter-spacing: .11em;
}

/* Trust strip */
.cg-trust {
  padding: 28px 0;
  border-block: 1px solid var(--cg-line);
  background: var(--cg-soft);
}

.cg-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cg-trust-grid div {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
  border-right: 1px solid var(--cg-line);
}

.cg-trust-grid div:first-child {
  padding-left: 0;
}

.cg-trust-grid div:last-child {
  padding-right: 0;
  border-right: 0;
}

.cg-trust-grid strong {
  margin-bottom: 5px;
  color: var(--cg-navy);
  font-size: .94rem;
}

.cg-trust-grid span {
  color: var(--cg-muted);
  font-size: .76rem;
  line-height: 1.4;
}

/* Course and video */
.cg-course {
  padding: 92px 0;
  background: var(--cg-white);
}

.cg-course-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(330px, .65fr);
  align-items: end;
  gap: 54px;
  margin-bottom: 38px;
}

.cg-course-intro h2 {
  margin-bottom: 0;
}

.cg-course-intro > p {
  margin-bottom: 4px;
  color: var(--cg-muted);
}

.cg-course-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr);
  align-items: stretch;
  gap: 18px;
}

.cg-video-card,
.cg-course-check {
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-radius-lg);
  background: var(--cg-white);
  box-shadow: var(--cg-shadow-soft);
}

.cg-video-copy {
  padding: 25px 28px 22px;
}

.cg-video-copy > span,
.cg-course-check > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--cg-blue-dark);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .11em;
}

.cg-video-copy h3 {
  margin-bottom: 8px;
  color: var(--cg-navy);
  font-size: 1.3rem;
}

.cg-video-copy p {
  margin-bottom: 0;
  color: var(--cg-muted);
  font-size: .85rem;
  line-height: 1.55;
}

.cg-lite-youtube {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071d2c;
}

.cg-lite-youtube iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cg-video-play {
  width: 100%;
  height: 100%;
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  background: #071d2c;
  cursor: pointer;
}

.cg-video-play::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 16, 26, .06), rgba(2, 16, 26, .28));
  content: "";
  transition: background .2s ease;
}

.cg-video-play:hover::after {
  background: rgba(2, 16, 26, .12);
}

.cg-video-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cg-video-play > span {
  width: 72px;
  height: 52px;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .8);
  border-radius: 14px;
  background: var(--cg-magenta);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background .2s ease;
}

.cg-video-play:hover > span {
  background: #e21673;
  transform: translate(-50%, -50%) scale(1.04);
}

.cg-video-play i {
  width: 0;
  height: 0;
  display: block;
  margin-left: 5px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid var(--cg-white);
}

.cg-course-check {
  padding: 28px;
  background: var(--cg-navy);
}

.cg-course-check > span {
  color: var(--cg-yellow);
}

.cg-course-check h3 {
  margin-bottom: 22px;
  color: var(--cg-white);
  font-size: 1.45rem;
}

.cg-course-check ol {
  display: grid;
  gap: 17px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.cg-course-check li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
}

.cg-course-check li > b {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cg-navy);
  background: var(--cg-yellow);
  font-size: .73rem;
}

.cg-course-check li div {
  display: grid;
  gap: 2px;
}

.cg-course-check li strong {
  color: var(--cg-white);
  font-size: .9rem;
  line-height: 1.35;
}

.cg-course-check li small {
  color: #bad2de;
  font-size: .73rem;
  line-height: 1.45;
}

.cg-course-check > a {
  display: inline-flex;
  color: var(--cg-white);
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.45;
  text-underline-offset: 4px;
}

.cg-course-alert {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 25px;
  border: 1px solid #f1d79a;
  border-radius: var(--cg-radius);
  background: #fffaf0;
}

.cg-course-alert > strong {
  color: #745111;
  font-size: .93rem;
  line-height: 1.45;
}

.cg-course-alert > p {
  margin-bottom: 0;
  color: #756344;
  font-size: .8rem;
  line-height: 1.55;
}

.cg-course-alert > div {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cg-course-alert a {
  color: #745111;
  font-size: .75rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

/* Travel checklist and related guides */
.cg-checklist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.cg-checklist-grid article {
  min-height: 205px;
  padding: 25px;
  border: 1px solid var(--cg-line);
  border-radius: var(--cg-radius);
  background: linear-gradient(180deg, #fff 0%, #f7fbfd 100%);
  box-shadow: 0 10px 30px rgba(7, 53, 79, .06);
}

.cg-checklist-grid article > b {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--cg-navy);
  background: var(--cg-yellow);
  font-size: .8rem;
}

.cg-checklist-grid h3 {
  margin-bottom: 9px;
  color: var(--cg-navy);
}

.cg-checklist-grid p {
  margin-bottom: 0;
  color: var(--cg-muted);
  font-size: .84rem;
  line-height: 1.55;
}

.cg-related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.cg-related-links a {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 20px;
  border: 1px solid #cfe5ee;
  border-radius: 14px;
  color: var(--cg-navy);
  background: var(--cg-blue-soft);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}

.cg-related-links a:hover {
  border-color: var(--cg-blue);
  transform: translateY(-2px);
}

.cg-related-links strong {
  font-size: .92rem;
}

.cg-related-links span {
  color: var(--cg-muted);
  font-size: .76rem;
  line-height: 1.45;
}

.cg-cie-reminder {
  padding-top: 34px;
}

/* FAQ */
.cg-faq-section {
  padding: 90px 0;
  border-top: 1px solid var(--cg-line);
  background: var(--cg-soft);
}

.cg-heading-inline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  align-items: end;
  gap: 40px;
}

.cg-heading-inline h2 {
  margin-bottom: 0;
}

.cg-heading-inline > p {
  margin-bottom: 5px;
}

.cg-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.cg-faq-grid details {
  overflow: hidden;
  border: 1px solid var(--cg-line);
  border-radius: 14px;
  background: var(--cg-white);
  box-shadow: 0 7px 22px rgba(7, 53, 79, .05);
}

.cg-faq-grid summary {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  color: var(--cg-navy);
  font-size: .94rem;
  font-weight: 850;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.cg-faq-grid summary::-webkit-details-marker {
  display: none;
}

.cg-faq-grid summary b {
  width: 27px;
  height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cg-blue-dark);
  background: var(--cg-blue-soft);
  font-size: 1rem;
  transition: transform .2s ease;
}

.cg-faq-grid details[open] summary b {
  transform: rotate(45deg);
}

.cg-faq-grid details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--cg-muted);
  font-size: .88rem;
  line-height: 1.65;
}

.cg-faq-grid details p a {
  color: var(--cg-blue-dark);
  font-weight: 800;
}

/* Final CTA and sources */
.cg-final-cta {
  padding: 76px 0;
  background: var(--cg-white);
}

.cg-final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 38px;
  padding: 46px;
  border-radius: var(--cg-radius-lg);
  color: var(--cg-white);
  background:
    radial-gradient(circle at 85% 0%, rgba(7, 149, 210, .42), transparent 35%),
    linear-gradient(125deg, var(--cg-navy-deep), var(--cg-navy));
  box-shadow: var(--cg-shadow);
}

.cg-final-card .cg-eyebrow {
  color: var(--cg-yellow);
}

.cg-final-card h2 {
  max-width: 650px;
  margin-bottom: 11px;
  color: var(--cg-white);
}

.cg-final-card p {
  margin-bottom: 0;
  color: #cce3ed;
}

.cg-final-actions {
  width: 315px;
  flex-direction: column;
}

.cg-final-actions .button {
  width: 100%;
}

.cg-final-card > small {
  grid-column: 2;
  margin-top: -27px;
  color: #a9c9d6;
  font-size: .7rem;
  line-height: 1.4;
  text-align: center;
}

.cg-sources {
  padding: 24px 0;
  border-top: 1px solid var(--cg-line);
  background: var(--cg-soft);
}

.cg-sources .cg-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.cg-sources strong {
  flex: none;
  color: var(--cg-navy);
  font-size: .76rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cg-sources nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.cg-sources a,
.cg-sources nav > span {
  color: #5f747e;
  font-size: .72rem;
  line-height: 1.4;
  text-underline-offset: 3px;
}

.cg-sources .cg-container > p {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid var(--cg-line);
  color: #6a7d86;
  font-size: .72rem;
  line-height: 1.5;
}

.cg-mobile-cta {
  display: none;
}

/* Tablet */
@media (max-width: 1024px) {
  .cg-hero {
    padding: 58px 0 82px;
  }

  .cg-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
  }

  .cg-hero h1 {
    font-size: 3rem;
  }

  .cg-hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cg-hero-actions .button {
    width: min(100%, 390px);
  }

  .cg-plantao-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-three-options,
  .cg-three-routes,
  .cg-checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cg-plantao-steps li {
    min-height: 185px;
  }

  .cg-photo-grid {
    gap: 38px;
  }

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

  .cg-fact-grid article {
    min-height: 190px;
  }

  .cg-course-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  }

  .cg-final-card {
    grid-template-columns: 1fr 290px;
    padding: 38px;
  }

  .cg-final-actions {
    width: 290px;
  }
}

@media (max-width: 820px) {
  .cg-hero-grid,
  .cg-photo-grid,
  .cg-speed-grid,
  .cg-course-intro,
  .cg-course-grid,
  .cg-heading-inline,
  .cg-final-card {
    grid-template-columns: 1fr;
  }

  .cg-hero-grid {
    gap: 36px;
  }

  .cg-hero-copy {
    max-width: 700px;
  }

  .cg-hero-route {
    max-width: 620px;
  }

  .cg-plantao-heading {
    grid-template-columns: 1fr;
  }

  .cg-plantao-heading p {
    margin: 14px 0 0;
  }

  .cg-photo-grid {
    gap: 34px;
  }

  .cg-photo-copy {
    max-width: 690px;
  }

  .cg-event-photo picture,
  .cg-event-photo img {
    height: 400px;
  }

  .cg-validity-card {
    width: min(100%, 380px);
  }

  .cg-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .cg-trust-grid div {
    border-bottom: 1px solid var(--cg-line);
  }

  .cg-trust-grid div:nth-child(2) {
    border-right: 0;
  }

  .cg-trust-grid div:nth-child(3) {
    padding-left: 0;
    border-bottom: 0;
  }

  .cg-trust-grid div:nth-child(4) {
    border-right: 0;
    border-bottom: 0;
  }

  .cg-course-intro,
  .cg-heading-inline {
    align-items: start;
    gap: 12px;
  }

  .cg-course-check {
    box-shadow: none;
  }

  .cg-course-alert {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .cg-course-alert > div {
    grid-column: 1;
  }

  .cg-faq-grid {
    grid-template-columns: 1fr;
  }

  .cg-related-links {
    grid-template-columns: 1fr;
  }

  .cg-final-card {
    gap: 27px;
  }

  .cg-final-actions {
    width: min(100%, 420px);
  }

  .cg-final-card > small {
    grid-column: 1;
    margin-top: -16px;
    text-align: left;
  }
}

/* Mobile first conversion treatment */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 82px;
  }

  body.page-como-chegar-rir {
    padding-bottom: 0;
  }

  .cg-container {
    width: min(100% - 32px, 1120px);
  }

  .cg-breadcrumb .cg-container {
    min-height: 40px;
    font-size: .7rem;
  }

  .cg-breadcrumb strong {
    max-width: 47vw;
  }

  .cg-guide h2 {
    font-size: 1.9rem;
  }

  .cg-guide p,
  .cg-guide li {
    line-height: 1.62;
  }

  .cg-hero {
    padding: 39px 0 63px;
  }

  .cg-hero-grid {
    gap: 28px;
  }

  .cg-kicker {
    margin-bottom: 13px;
    font-size: .68rem;
  }

  .cg-hero h1 {
    margin-bottom: 18px;
    font-size: clamp(2.08rem, 10.3vw, 2.75rem);
    line-height: 1.02;
    text-wrap: pretty;
  }

  .cg-lead {
    margin-bottom: 22px;
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }

  .cg-hero-actions {
    width: 100%;
    align-items: stretch;
  }

  .cg-hero-actions .button,
  .cg-plantao-actions .button,
  .cg-speed-actions .button,
  .cg-final-actions .button {
    width: 100%;
  }

  .cg-hero-actions .cg-button-secondary {
    min-height: 48px;
    padding-block: 11px;
    font-size: .82rem;
  }

  .cg-hero-microcopy {
    font-size: .72rem !important;
  }

  .cg-hero-route {
    padding: 22px;
    border-radius: 20px;
  }

  .cg-hero-route h2 {
    font-size: 1.45rem;
  }

  .cg-hero-route li {
    grid-template-columns: 34px 1fr;
  }

  .cg-hero-route li > b {
    width: 34px;
    height: 34px;
  }

  .cg-hero-route li:not(:last-child)::after {
    top: 33px;
    left: 16px;
  }

  .cg-plantao {
    margin-top: -27px;
    padding-bottom: 62px;
  }

  .cg-plantao-card {
    border-radius: 22px;
  }

  .cg-plantao-heading {
    padding: 24px 20px;
  }

  .cg-plantao-heading h2 {
    font-size: 1.8rem;
  }

  .cg-plantao-heading p {
    font-size: .88rem;
    line-height: 1.55;
  }

  .cg-plantao-steps {
    grid-template-columns: 1fr;
  }

  .cg-three-options,
  .cg-three-routes,
  .cg-checklist-grid {
    grid-template-columns: 1fr;
  }

  .cg-checklist-grid article {
    min-height: 0;
    padding: 21px;
  }

  .cg-checklist-grid article > b {
    margin-bottom: 15px;
  }

  .cg-related-links a {
    min-height: 100px;
  }

  .cg-plantao-steps li {
    min-height: 0;
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 15px;
    padding: 21px 19px;
  }

  .cg-plantao-steps p {
    font-size: .82rem;
  }

  .cg-plantao-actions {
    padding: 21px 18px 10px;
  }

  .cg-transparency {
    padding: 6px 18px 22px;
    font-size: .71rem !important;
    text-align: left;
  }

  .cg-photo-section,
  .cg-official,
  .cg-speed,
  .cg-course,
  .cg-faq-section {
    padding: 62px 0;
  }

  .cg-photo-section {
    padding-top: 0;
  }

  .cg-event-photo {
    border-radius: 19px;
  }

  .cg-event-photo picture,
  .cg-event-photo img {
    height: 280px;
  }

  .cg-event-photo figcaption {
    font-size: .65rem;
  }

  .cg-check-list {
    grid-template-columns: 1fr;
  }

  .cg-fact-grid {
    grid-template-columns: 1fr;
  }

  .cg-fact-grid article {
    min-height: 0;
    padding: 21px;
  }

  .cg-fact-grid article span {
    margin-bottom: 16px;
  }

  .cg-official-links {
    justify-content: flex-start;
  }

  .cg-speed-grid {
    gap: 36px;
  }

  .cg-speed-actions {
    align-items: stretch;
  }

  .cg-speed-actions .cg-text-link {
    justify-content: center;
    padding: 8px 0;
    text-align: center;
  }

  .cg-validity-card {
    min-height: 270px;
  }

  .cg-trust {
    padding: 12px 0;
  }

  .cg-trust-grid {
    grid-template-columns: 1fr;
  }

  .cg-trust-grid div,
  .cg-trust-grid div:first-child,
  .cg-trust-grid div:nth-child(3),
  .cg-trust-grid div:last-child {
    min-height: 68px;
    padding: 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--cg-line);
  }

  .cg-trust-grid div:last-child {
    border-bottom: 0;
  }

  .cg-course-intro {
    margin-bottom: 28px;
  }

  .cg-video-card,
  .cg-course-check {
    border-radius: 19px;
  }

  .cg-video-copy,
  .cg-course-check {
    padding: 21px;
  }

  .cg-video-copy h3 {
    font-size: 1.15rem;
  }

  .cg-course-alert {
    padding: 19px;
  }

  .cg-course-alert > div {
    flex-direction: column;
    gap: 9px;
  }

  .cg-heading {
    margin-bottom: 28px;
  }

  .cg-faq-grid summary {
    min-height: 66px;
    padding: 16px;
    font-size: .88rem;
  }

  .cg-faq-grid details p {
    padding: 0 16px 17px;
    font-size: .83rem;
  }

  .cg-final-cta {
    padding: 48px 0;
  }

  .cg-final-card {
    gap: 24px;
    padding: 29px 22px;
    border-radius: 21px;
  }

  .cg-final-card h2 {
    font-size: 1.85rem;
  }

  .cg-sources {
    padding: 23px 0;
  }

  .cg-sources .cg-container {
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 15px;
  }

  .cg-sources nav {
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .cg-sources .cg-container > p {
    grid-column: 1;
  }

  .cg-mobile-cta {
    min-height: calc(70px + env(safe-area-inset-bottom));
    position: fixed;
    z-index: 300;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    border-top: 1px solid #cfe3eb;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -12px 34px rgba(3, 30, 48, .14);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .cg-mobile-cta a {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 10px;
    color: var(--cg-white);
    background: var(--cg-green);
    box-shadow: 0 10px 24px rgba(32, 164, 71, .23);
    font-size: .94rem;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
  }
}

@media (max-width: 359px) {
  .cg-container {
    width: min(100% - 24px, 1120px);
  }

  .cg-hero h1 {
    font-size: 1.94rem;
  }

  .cg-event-photo picture,
  .cg-event-photo img {
    height: 250px;
  }

  .cg-kicker {
    letter-spacing: .08em;
  }

  .cg-hero-route,
  .cg-final-card {
    padding-inline: 18px;
  }

  .page-guia .cg-button-primary,
  .page-guia .cg-button-secondary,
  .page-guia .cg-button-whatsapp {
    padding-inline: 14px;
    font-size: .84rem;
  }

  .cg-plantao-heading,
  .cg-plantao-steps li,
  .cg-plantao-actions,
  .cg-transparency {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cg-skip-link,
  .cg-video-play::after,
  .cg-video-play > span,
  .cg-faq-grid summary b,
  .page-como-chegar-rir .button {
    transition: none !important;
  }
}

@media print {
  .ncie-topbar,
  .ncie-header,
  .cg-hero-actions,
  .cg-plantao-actions,
  .cg-mobile-cta,
  .cg-video-card,
  .ncie-footer {
    display: none !important;
  }

  .cg-hero {
    padding: 35px 0;
    color: var(--cg-ink);
    background: none;
  }

  .cg-hero h1,
  .cg-lead {
    color: var(--cg-ink);
  }
}
