/* NacionalCIE — guia editorial sobre curso EAD, curso livre e meia-entrada. Estilos isolados desta página. */

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

html {
  scroll-behavior: smooth;
}

body.page-curso-ead-rir {
  margin: 0;
  overflow-x: hidden;
  color: var(--ce-ink);
  background: var(--ce-white);
}

.page-curso-ead-rir,
.page-curso-ead-rir *,
.page-curso-ead-rir *::before,
.page-curso-ead-rir *::after {
  box-sizing: border-box;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* First viewport */
.ce-hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 88px;
  color: var(--ce-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(--ce-navy-deep) 0%, var(--ce-navy) 68%, #083f5f 100%);
}

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

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

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

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

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

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

.ce-kicker i,
.ce-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(--ce-coral);
  box-shadow: 0 0 0 5px rgba(255, 102, 90, .17);
}

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

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

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

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

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

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

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

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

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

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

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

.ce-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;
}

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

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

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

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

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

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

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

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

.ce-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(--ce-white);
  border-radius: 50%;
  color: var(--ce-white);
  background: var(--ce-blue);
  box-shadow: 0 0 0 1px #c8e6f2;
  font-size: .76rem;
}

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

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

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

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

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

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

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

.ce-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: "";
}

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

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

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

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

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

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

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

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

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

.ce-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 */
.ce-photo-section {
  padding: 8px 0 92px;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ce-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(--ce-radius-lg);
  color: var(--ce-white);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 211, 65, .3), transparent 31%),
    linear-gradient(145deg, var(--ce-blue-dark), var(--ce-navy));
  box-shadow: var(--ce-shadow);
}

.ce-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;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ce-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;
}

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

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

.ce-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(--ce-magenta);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background .2s ease;
}

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

.ce-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(--ce-white);
}

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

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

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

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

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

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

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

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

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

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

.ce-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(--ce-radius);
  background: #fffaf0;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ce-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(--ce-radius-lg);
  color: var(--ce-white);
  background:
    radial-gradient(circle at 85% 0%, rgba(7, 149, 210, .42), transparent 35%),
    linear-gradient(125deg, var(--ce-navy-deep), var(--ce-navy));
  box-shadow: var(--ce-shadow);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .ce-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-curso-ead-rir {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  .ce-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);
  }

  .ce-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(--ce-white);
    background: var(--ce-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) {
  .ce-container {
    width: min(100% - 24px, 1120px);
  }

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

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

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

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

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

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

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

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

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

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

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