/* =====================================================================
   redesign.css — Restyle 2026 da landing Comunidad Ortodoncia de Éxito
   Carregado DEPOIS de style.css para sobrepor o tema Webflow.

   ORGANIZAÇÃO DO ARQUIVO
   ----------------------
   1) RESET + GLOBAL (tokens, helpers, componente CTA) e seu responsivo.
   2) Cada SEÇÃO do site na ordem em que aparece na página:
        - primeiro o CSS desktop da seção
        - logo abaixo, o CSS responsivo (mobile) DAQUELA seção
      Breakpoints mobile: 991px (tablet), 767px (celular), 480px (celular pequeno).
   ===================================================================== */


/* =====================================================================
   RESET + GLOBAL
   ===================================================================== */
:root {
  --rd-navy: #162643;
  /* fundo do header */
  --rd-blue: #19346e;
  /* certificados + professores */
  --rd-blue-deep: #142a52;
  /* seção "semana tras semana" */
  --rd-green-1: #00ff8c;
  --rd-green-2: #00cc7e;
  --rd-yellow: #ffd96c;
  --rd-accent: #3e6fd4;
  /* azul dos títulos "constancia"/"contato" */
  --rd-light: #f1f4f8;
  /* seção branca */
  --rd-font-title: 'Sora', 'Montserrat', sans-serif;
  --rd-font-text: 'Inter', 'Montserrat', sans-serif;
}

/* evita scroll horizontal causado pelos sliders Webflow de largura fixa */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* todas as caixas do redesign usam border-box (padding não estoura largura) */
[class^="rd-"],
[class*=" rd-"] {
  box-sizing: border-box;
}

/* helpers ----------------------------------------------------------- */
.rd-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.rd-section {
  width: 100%;
  overflow: hidden;
}

/* CTA verde padrão -------------------------------------------------- */
.rd-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  border-radius: 16px;
  background: var(--rd-green-1);
  box-shadow: 0 0 19.6px 0 var(--rd-green-2);
  padding: 20px 40px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.rd-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px 0 var(--rd-green-2);
}

.rd-cta__main {
  color: #000;
  text-align: center;
  font-family: var(--rd-font-title);
  font-size: 32px;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
}

.rd-cta__sub {
  color: #302e38;
  text-align: center;
  font-family: var(--rd-font-text);
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 100%;
}

/* variação menor (radius 8px) p/ seções internas */
.rd-cta--sm {
  border-radius: 8px;
  padding: 18px 34px;
}

.rd-cta--sm .rd-cta__main {
  font-size: 24px;
}

/* ---- RESET + GLOBAL — responsivo (mobile) ---- */
@media (max-width: 991px) {
  .rd-cta__main {
    font-size: 21px !important;
  }
}

@media (max-width: 480px) {
  .rd-wrap {
    padding: 0 18px;
  }
}


/* =====================================================================
   1. HEADER
   ===================================================================== */
.rd-header__hero>* {
  max-width: 100%;
}

.rd-header {
  position: relative;
  background: var(--rd-navy);
  padding-bottom: 56px;
  overflow: hidden;
}

.rd-header__bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 26px 56px;
  pointer-events: none;
}

.rd-header__logo-coe {
  width: 200px;
  height: auto;
}

.rd-header__logo-osf {
  width: 96px;
  height: auto;
}

.rd-header__media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(500px, 48vw, 660px);
  overflow: hidden;
  background: var(--rd-navy);
}

.rd-header__layer {
  position: absolute;
  display: block;
}

.rd-header__layer--clinic {
  inset: 0;
  z-index: 1;
}

.rd-header__layer--clinic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  filter: grayscale(100%) brightness(0.30) contrast(1.08);
}

.rd-header__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(22, 38, 67, 0.86) 0%,
      rgba(22, 38, 67, 0.52) 35%,
      rgba(22, 38, 67, 0.52) 65%,
      rgba(22, 38, 67, 0.86) 100%),
    rgba(22, 38, 67, 0.50);
  pointer-events: none;
}

.rd-header__layer--teachers {
  z-index: 3;
  left: 50%;
  top: 14px;
  width: min(72vw, 930px);
  height: auto;
  transform: translateX(-50%);
}

.rd-header__layer--teachers img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}

.rd-header__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 72%;
  z-index: 4;
  background: linear-gradient(to bottom,
      rgba(22, 38, 67, 0) 0%,
      rgba(22, 38, 67, 0) 25%,
      rgb(22, 38, 67) 55%,
      var(--rd-navy) 100%);
  pointer-events: none;
}

.rd-header__hero {
  position: relative;
  z-index: 5;
  margin-top: -156px;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.rd-header__title {
  color: var(--rd-yellow);
  text-align: center;
  font-family: var(--rd-font-title);
  font-size: 48px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -1.92px;
  margin: 0 0 22px;
}

.rd-header__badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px;
  padding: 12px 26px;
  color: #fff;
  font-family: var(--rd-font-title);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.rd-header__subtitle {
  color: #fff;
  font-family: var(--rd-font-text);
  font-size: 20px;
  line-height: 1.45;
  margin: 0 auto 30px;
}

.rd-header__subtitle strong {
  color: var(--rd-yellow);
  font-weight: 700;
}

.rd-header .rd-cta {
  display: inline-flex;
  min-width: 460px;
}

/* ---- HEADER — responsivo (mobile) ---- */
@media (max-width: 991px) {
  .rd-header__media {
    height: clamp(500px, 60vw, 620px);
  }

  .rd-header__layer--teachers {
    top: 78px;
    width: min(88vw, 880px);
  }

  .rd-header__hero {
    margin-top: -172px;
  }

  .rd-header__title {
    font-size: 40px;
  }

  .rd-header .rd-cta {
    min-width: 0;
    width: min(100%, 460px);
  }
}

@media (max-width: 767px) {
  .rd-header {
    padding-bottom: 38px;
  }

  .rd-header__bar {
    padding: 18px;
    justify-content: space-between;
  }

  .rd-header__logo-coe {
    width: 96px;
  }

  .rd-header__logo-osf {
    width: 62px;
  }

  .rd-header__media {
    height: clamp(560px, 150vw, 720px);
  }

  .rd-header__layer--clinic {
    inset: 0;
  }

  .rd-header__layer--clinic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .rd-header__media::before {
    background:
      linear-gradient(90deg,
        rgba(22, 38, 67, 0.78) 0%,
        rgba(22, 38, 67, 0.42) 50%,
        rgba(22, 38, 67, 0.78) 100%),
      rgba(22, 38, 67, 0.48);
  }

  .rd-header__layer--teachers {
    top: 70px;
    width: min(118vw, 430px);
  }

  .rd-header__media::after {
    height: 52%;
    background: linear-gradient(to bottom,
        rgba(22, 38, 67, 0) 0%,
        rgba(22, 38, 67, 0.70) 45%,
        var(--rd-navy) 100%);
  }

  .rd-header__hero {
    margin-top: -214px;
    padding: 0 18px;
  }

  .rd-header__title {
    font-size: 36px;
    line-height: 0.95;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
  }

  .rd-header__badge {
    font-size: 13px;
    letter-spacing: 2.5px;
    padding: 10px 16px;
    margin-bottom: 18px;
  }

  .rd-header__subtitle {
    font-size: 17px;
    line-height: 1.18;
    margin-bottom: 28px;
  }

  .rd-header .rd-cta {
    width: 100%;
    min-width: 0;
    padding: 18px 14px;
    border-radius: 14px;
  }

  .rd-header .rd-cta__main {
    font-size: 24px;
  }

  .rd-header .rd-cta__sub {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .rd-header__media {
    height: clamp(540px, 165vw, 690px);
  }

  .rd-header__layer--teachers {
    top: -14px;
    width: 101vw;
  }

  .rd-header__hero {
    margin-top: -169px;
    padding: 0 18px;
  }

  .rd-header__title {
    font-size: 40px;
    line-height: 0.98;
    letter-spacing: -1.4px;
  }

  .rd-header__badge {
    font-size: 12px;
    letter-spacing: 2px;
    padding: 10px 14px;
    line-height: 1.25;
  }

  .rd-header__subtitle {
    font-size: 16px;
  }

  .rd-header .rd-cta__main {
    font-size: 22px;
  }
}


/* =====================================================================
   2. ¿QUIERES DIAGNOSTICAR? (título + texto + vídeo + faixa)
   ===================================================================== */
.rd-diag {
  background: var(--rd-navy);
  padding: 30px 0 18px;
}

/* reduz o vão enorme abaixo do carrossel de casos (margin-bottom: 180px do tema) */
.rd-diag .slider-3-inmersion {
  margin-bottom: 24px !important;
}

.rd-diag__title {
  color: #fff;
  font-family: var(--rd-font-title);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 36px;
  max-width: 880px;
}

.rd-diag__title span {
  color: var(--rd-yellow);
}

.rd-diag__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.rd-diag__text {
  color: #e7ecf5;
  font-family: var(--rd-font-text);
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 28px;
}

.rd-diag__text strong,
.rd-diag__text span {
  color: var(--rd-yellow);
  font-weight: 700;
}

.rd-diag__pill {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  padding: 20px 26px;
  text-decoration: none;
  color: #fff;
  font-family: var(--rd-font-title);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  transition: background .15s ease;
}

.rd-diag__pill:hover {
  background: rgba(255, 255, 255, .06);
}

.rd-diag__pill .rd-arrow {
  font-size: 26px;
}

.rd-g1 {
  color: #4285F4
}

.rd-g2 {
  color: #EA4335
}

.rd-g3 {
  color: #FBBC05
}

.rd-g4 {
  color: #4285F4
}

.rd-g5 {
  color: #34A853
}

.rd-g6 {
  color: #EA4335
}

.rd-diag__video {
  width: 100%;
}

.rd-diag__video video,
.rd-diag__video iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  border: 0;
  display: block;
}

.rd-band {
  background: rgba(255, 255, 255, .06);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-top: 40px;
}

.rd-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 46px;
  padding: 22px 24px;
}

.rd-band__group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 46px;
}

/* no desktop só o primeiro grupo aparece (a duplicata serve ao loop mobile) */
.rd-band__group--dup {
  display: none;
}

.rd-band__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--rd-font-text);
  font-size: 19px;
}

.rd-band__item img {
  width: 24px;
  height: 24px;
}

.rd-band__item strong {
  font-weight: 700;
}

/* ---- DIAGNOSTICAR — responsivo (mobile) ---- */
@media (max-width: 991px) {
  .rd-diag__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .rd-diag__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rd-diag__title {
    font-size: 26px;
  }

  .rd-diag__text {
    font-size: 17px;
  }

  /* faixa de checks: marquee infinito (direita -> esquerda) só no mobile.
     O trilho (.rd-band__inner) leva os 2 grupos idênticos e desliza -50%,
     o que equivale exatamente à largura de 1 grupo => loop sem emenda. */
  .rd-band {
    overflow: hidden;
  }

  .rd-band__inner {
    width: max-content;
    max-width: none;
    margin: 0;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding: 14px 0;
    animation: rd-band-marquee 18s linear infinite;
    will-change: transform;
  }

  .rd-band__group {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0;
  }

  .rd-band__group--dup {
    display: flex;
  }

  .rd-band__item {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 15px;
    gap: 7px;
    /* espaçamento uniforme entre todos os itens, inclusive na emenda dos grupos */
    padding: 0 18px;
  }

  .rd-band__item img {
    width: 20px;
    height: 20px;
  }

  /* ---- carrossel de casos COE: 1 card por vez, centralizado, com setas
     em círculo branco e bolinhas visíveis abaixo ---- */
  .rd-diag .slider-3-1 {
    width: 100% !important;
    max-width: 244px !important;
    height: 344px !important;
    margin: 6px auto 30px !important;
    overflow: visible !important;
    background: transparent !important;
  }

  .rd-diag .slider-3-1 .w-slider-mask {
    height: 308px !important;
    overflow: hidden !important;
  }

  .rd-diag .slider-3-1 .w-slide {
    height: 308px !important;
  }

  .rd-diag .slider-3-1 .rd-coe-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 308px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* card único: a altura manda e a largura acompanha a proporção (210x320) */
  .rd-diag .slider-3-1 .rd-coe-card {
    width: auto !important;
    height: 300px !important;
    max-width: 200px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }

  /* setas em círculo branco, ladeando o card (bem no canto da faixa) */
  .rd-diag .slider-3-1 .w-slider-arrow-left,
  .rd-diag .slider-3-1 .w-slider-arrow-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    top: 154px !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    color: var(--rd-navy) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3) !important;
    z-index: 5 !important;
  }

  .rd-diag .slider-3-1 .w-slider-arrow-left {
    left: -46px !important;
    right: auto !important;
  }

  .rd-diag .slider-3-1 .w-slider-arrow-right {
    right: -46px !important;
    left: auto !important;
  }

  .rd-diag .slider-3-1 .w-icon-slider-left,
  .rd-diag .slider-3-1 .w-icon-slider-right {
    position: static !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: var(--rd-navy) !important;
    margin: 0 !important;
  }

  /* bolinhas (a cor padrão do tema é escura e some no navy) */
  .rd-diag .slider-3-1 .w-slider-nav.bolas {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 22px !important;
    padding: 0 !important;
    text-align: center !important;
    display: block !important;
  }

  /* 18 casos => bolinhas pequenas/juntas p/ caber numa linha só */
  .rd-diag .slider-3-1 .w-slider-dot {
    width: 6px !important;
    height: 6px !important;
    margin: 0 2px !important;
    background: rgba(255, 255, 255, .35) !important;
  }

  .rd-diag .slider-3-1 .w-slider-dot.w-active {
    background: #ffffff !important;
  }
}

@keyframes rd-band-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  .rd-band__inner {
    animation: none;
  }
}

@media (max-width: 480px) {
  .rd-diag__pill {
    font-size: 16px;
    padding: 16px 18px;
  }

  /* .rd-band__inner é o trilho do marquee; mantém padding só na vertical
     (a duplicata + animation vêm da regra @767 acima) */
  .rd-band__inner {
    padding: 12px 0;
  }
}


/* =====================================================================
   3. QUE DICEN LOS MIEMBROS (depoimentos — slider Webflow .section-41)
   ===================================================================== */
.section-41 {
  position: relative !important;
  z-index: 2 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 18px 0 !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  /* faixa cinza centralizada na altura do card (50%) */
  background:
    linear-gradient(to bottom,
      var(--rd-navy) 0 calc(50% - 62px),
      #314458 calc(50% - 62px) calc(50% + 62px),
      var(--rd-navy) calc(50% + 62px) 100%) !important;
}

.section-41::before {
  content: "COMUNIDAD ORTODONCIA DE ÉXITO • COMUNIDAD ORTODONCIA DE ÉXITO • COMUNIDAD ORTODONCIA DE ÉXITO";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  overflow: hidden;
  background: var(--rd-yellow);
  color: #13223d;
  font-family: var(--rd-font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  pointer-events: none;
}

.section-41 .container-45 {
  position: relative !important;
  z-index: 2 !important;
  width: calc(100% - 48px) !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transform: none !important;
}

.section-41 .div-block-245 {
  position: relative !important;
  width: 100% !important;
  max-width: 520px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 30px 42px 34px !important;
  border-radius: 20px !important;
  background: #06152d !important;
  box-shadow: none !important;
  overflow: hidden !important;
  transform: none !important;
}

.section-41 .text-block-169 {
  margin: 0 0 22px !important;
  padding: 0 !important;
  color: #ffffff !important;
  text-align: center !important;
  font-family: var(--rd-font-title) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

.section-41 .text-span-61 {
  color: var(--rd-yellow) !important;
}

.section-41 .slider-4-inmersion {
  width: 100% !important;
  max-width: 340px !important;
  height: 238px !important;
  margin: 0 auto !important;
  padding-bottom: 24px !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}

.section-41 .slider-4-inmersion .w-slider-mask {
  width: 100% !important;
  height: 210px !important;
  overflow: hidden !important;
}

.section-41 .slider-4-inmersion .w-slide {
  height: 210px !important;
}

.section-41 .slider-4-inmersion .w-slide>div {
  width: 100% !important;
  height: 210px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.section-41 .slider-4-inmersion img {
  width: auto !important;
  max-width: 250px !important;
  height: auto !important;
  max-height: 205px !important;
  object-fit: contain !important;
  display: block !important;
  margin: 0 auto !important;
}

.section-41 .slider-4-inmersion .w-slider-arrow-left,
.section-41 .slider-4-inmersion .w-slider-arrow-right {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  background: #11203b !important;
  border-radius: 50% !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3) !important;
  z-index: 4 !important;
  transition: background .15s ease !important;
}

.section-41 .slider-4-inmersion .w-slider-arrow-left {
  left: -52px !important;
  right: auto !important;
}

.section-41 .slider-4-inmersion .w-slider-arrow-right {
  right: -52px !important;
  left: auto !important;
}

.section-41 .slider-4-inmersion .w-slider-arrow-left:hover,
.section-41 .slider-4-inmersion .w-slider-arrow-right:hover {
  background: var(--rd-accent) !important;
}

.section-41 .slider-4-inmersion .w-icon-slider-left,
.section-41 .slider-4-inmersion .w-icon-slider-right {
  position: static !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.section-41 .slider-4-inmersion .slide-nav-2,
.section-41 .slider-4-inmersion .w-slider-nav {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 18px !important;
  padding-top: 0 !important;
  text-align: center !important;
}

.section-41 .slider-4-inmersion .w-slider-dot {
  width: 10px !important;
  height: 10px !important;
  margin: 0 4px !important;
  background: rgba(255, 255, 255, 0.38) !important;
}

.section-41 .slider-4-inmersion .w-slider-dot.w-active {
  background: #ffffff !important;
}

.section-41+.rd-master.rd-master--light {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 0 !important;
  padding-top: 64px !important;
}

/* ---- QUE DICEN LOS MIEMBROS — responsivo (mobile) ---- */
@media (max-width: 767px) {

  /* no mobile: card simples no fundo navy, sem faixa amarela */
  .section-41 {
    padding: 30px 0 !important;
    min-height: 0 !important;
    background: var(--rd-navy) !important;
  }

  .section-41::before {
    display: none !important;
  }

  /* sem setas neste carrossel no mobile: navega com o swipe do dedo
     (data-disable-swipe="false" no HTML libera o toque) */
  .section-41 .slider-4-inmersion .w-slider-arrow-left,
  .section-41 .slider-4-inmersion .w-slider-arrow-right {
    display: none !important;
  }

  /* área de toque ocupa o card todo p/ o swipe funcionar bem */
  .section-41 .slider-4-inmersion {
    touch-action: pan-y pinch-zoom !important;
  }

  /* card de depoimento um pouco maior */
  .section-41 .container-45 {
    width: calc(100% - 24px) !important;
    max-width: 344px !important;
  }

  .section-41 .div-block-245 {
    max-width: 344px !important;
    padding: 26px 18px 22px !important;
    border-radius: 18px !important;
  }

  .section-41 .text-block-169 {
    font-size: 19px !important;
    margin-bottom: 18px !important;
  }

  .section-41 .slider-4-inmersion {
    max-width: 296px !important;
    height: 198px !important;
    padding-bottom: 22px !important;
  }

  .section-41 .slider-4-inmersion .w-slider-mask,
  .section-41 .slider-4-inmersion .w-slide,
  .section-41 .slider-4-inmersion .w-slide>div {
    height: 176px !important;
  }

  .section-41 .slider-4-inmersion img {
    max-width: 280px !important;
    max-height: 174px !important;
  }

  .section-41 .slider-4-inmersion .w-slider-dot {
    width: 7px !important;
    height: 7px !important;
    margin: 0 3px !important;
  }

  .section-41+.rd-master.rd-master--light {
    padding-top: 48px !important;
  }
}


/* =====================================================================
   4. MASTERCLASS (texto à esquerda + carrossel 2-up à direita)
   ===================================================================== */
.rd-master {
  background: var(--rd-navy);
  padding: 10px 0 60px;
}

.rd-master.rd-master--light {
  background: var(--rd-light);
  padding: 60px 0;
}

/* carrossel masterclass (scroll-snap, 2 cartões visíveis) */
.rd-mcarousel {
  position: relative;
}

.rd-mcarousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox: sem barra */
  -ms-overflow-style: none;
  /* IE/Edge legado */
}

.rd-mcarousel__track::-webkit-scrollbar {
  display: none;
  /* WebKit: sem barra */
  height: 0;
}

.rd-mcarousel__track img {
  flex: 0 0 calc(50% - 8px);
  width: calc(50% - 8px);
  height: auto;
  scroll-snap-align: start;
  border-radius: 14px;
  display: block;
}

.rd-mcarousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #11203b;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-family: var(--rd-font-title);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
}

.rd-mcarousel__btn:hover {
  background: var(--rd-accent);
}

.rd-mcarousel__btn--prev {
  left: -10px;
}

.rd-mcarousel__btn--next {
  right: -10px;
}

/* bolinhas: aparecem só no mobile (onde o carrossel mostra 1 por vez) */
.rd-mcarousel__dots {
  display: none;
}

.rd-mcarousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(22, 38, 67, .28);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}

.rd-mcarousel__dot.is-active {
  background: var(--rd-navy);
  transform: scale(1.25);
}

.rd-master__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.rd-master__title {
  font-family: var(--rd-font-title);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.rd-master--light .rd-master__title {
  color: #11203b;
}

.rd-master__title span {
  color: var(--rd-accent);
}

.rd-master__text {
  font-family: var(--rd-font-text);
  font-size: 18px;
  line-height: 1.5;
  color: #e7ecf5;
  margin: 0 0 22px;
}

.rd-master--light .rd-master__text {
  color: #2a3242;
}

.rd-master__text span {
  color: var(--rd-accent);
  font-weight: 700;
}

.rd-master__sub {
  font-family: var(--rd-font-text);
  font-size: 18px;
  color: #fff;
  margin: 0 0 14px;
}

.rd-master--light .rd-master__sub {
  color: #11203b;
}

.rd-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.rd-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--rd-font-text);
  font-size: 19px;
  font-weight: 700;
  color: #fff;
}

.rd-master--light .rd-list li {
  color: #11203b;
}

.rd-list li::before {
  content: "";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url(../images/check.svg) center/contain no-repeat;
}

/* ---- MASTERCLASS — responsivo (mobile) ---- */
@media (max-width: 767px) {
  .rd-master__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rd-master__title {
    font-size: 26px;
  }

  /* no celular mostra 1 cartão por vez (sem espiar o próximo) */
  .rd-mcarousel__track img {
    /* flex-basis: 100%;
    width: 100%; */
  }

  .rd-mcarousel__btn--prev {
    left: -12px;
    top:162px;
  }

  .rd-mcarousel__btn--next {
    right: -12px;
    top:162px;
  }

  /* bolinhas abaixo do carrossel */
  .rd-mcarousel__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
  }
}


/* =====================================================================
   5. CERTIFICADOS  (#19346e)
   ===================================================================== */
.rd-cert {
  background: var(--rd-blue);
  padding: 64px 0;
}

.rd-cert__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "img title"
    "img text"
    "img btn";
  grid-template-rows: auto auto auto;
  column-gap: 48px;
  row-gap: 14px;
  align-content: center;
}

.rd-cert__img {
  grid-area: img;
  align-self: center;
  width: 100%;
  border-radius: 10px;
  display: block;
}

.rd-cert__title {
  grid-area: title;
  align-self: end;
  font-family: var(--rd-font-title);
  font-size: 32px;
  font-weight: 700;
  color: var(--rd-yellow);
  margin: 0;
  line-height: 1.15;
}

.rd-cert__btn {
  grid-area: btn;
  align-self: start;
  justify-self: start;
}

.rd-cert__title span {
  color: #fff;
}

.rd-cert__text {
  grid-area: text;
  align-self: start;
  font-family: var(--rd-font-text);
  font-size: 19px;
  line-height: 1.5;
  color: #e7ecf5;
  margin: 0;
}

.rd-cert__text strong {
  color: #fff;
}

/* ---- CERTIFICADOS — responsivo (mobile) ---- */
@media (max-width: 767px) {

  /* certificados: reordena igual ao Figma (título, texto, imagem, botão) */
  .rd-cert__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "text"
      "img"
      "btn";
    row-gap: 18px;
    text-align: center;
    justify-items: center;
  }

  .rd-cert__title {
    align-self: auto;
    text-align: left;
    text-transform: uppercase;
  }

  .rd-cert__text {
    text-align: left;
  }

  .rd-cert__btn {
    justify-self: center;
  }
}


/* =====================================================================
   6. LABORATORIOS DISPONIBLES  (#19346e)
   ===================================================================== */
.rd-labs {
  background: var(--rd-blue);
  padding: 0 0 70px;
  text-align: center;
}

.rd-labs__title {
  font-family: var(--rd-font-title);
  font-size: 44px;
  font-weight: 800;
  color: var(--rd-yellow);
  text-transform: uppercase;
  margin: 0 0 18px;
}

.rd-labs__text {
  font-family: var(--rd-font-text);
  font-size: 19px;
  line-height: 1.5;
  color: #e7ecf5;
  max-width: 760px;
  margin: 0 auto 32px;
}

.rd-labs__text strong {
  color: #fff;
}

.rd-labs__text span {
  color: var(--rd-yellow);
  font-weight: 700;
}

.rd-labs__video {
  max-width: 640px;
  margin: 0 auto 34px;
}

.rd-labs__video video {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
}

.rd-labs__foot {
  font-family: var(--rd-font-text);
  font-size: 19px;
  line-height: 1.5;
  color: #e7ecf5;
  max-width: 820px;
  margin: 0 auto;
}

.rd-labs__foot strong {
  color: #fff;
}

.rd-labs__foot span {
  color: var(--rd-yellow);
  font-weight: 700;
}

/* ---- LABORATORIOS — responsivo (mobile) ---- */
@media (max-width: 991px) {
  .rd-labs__title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .rd-labs{
    padding: 0 0 22px 0;  
  }

  .rd-labs__title {
    font-size: 28px;
  }

  .rd-labs__text,
  .rd-labs__foot {
    font-size: 17px;
  }
}


/* =====================================================================
   7. SEMANA TRAS SEMANA  (azul profundo, botão à esquerda)
   ===================================================================== */
.rd-week {
  background: var(--rd-blue);
  padding: 60px 0;
}

.rd-week__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}

.rd-week__intro {
  font-family: var(--rd-font-text);
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 26px;
}

.rd-week__intro strong {
  font-weight: 700;
}

.rd-week__intro span {
  color: var(--rd-yellow);
  font-weight: 700;
}

.rd-week__box {
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 16px;
  padding: 26px 30px;
  margin-bottom: 30px;
}

.rd-week__box-title {
  font-family: var(--rd-font-text);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.rd-week__box ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.rd-week__box li {
  font-family: var(--rd-font-text);
  font-size: 19px;
  color: #fff;
}

.rd-week__box li span {
  color: var(--rd-yellow);
  font-weight: 700;
}

.rd-week__img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- SEMANA TRAS SEMANA — responsivo (mobile) ---- */
@media (max-width: 767px) {
  .rd-week {
    background: var(--rd-blue-dark);
    padding: 28px 0;
  }

  .rd-week__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rd-week__intro {
    font-size: 17px;
  }
}


/* =====================================================================
   8. LA CONSTANCIA  (fundo branco)
   ===================================================================== */
.rd-const {
  position: relative;
  background: var(--rd-light);
  padding: 90px 0 64px;
  overflow: visible;
}

.rd-const .rd-wrap {
  position: relative;
}

/* chave dourada com brilho, igual ao Figma (gira a chave prateada na horizontal e tonaliza) */
.rd-const__key {
  position: absolute;
  top: -145px;
  left: 154px;
  width: 360px;
  height: auto;
  margin: 0;
  transform: rotate(-26deg);
  transform-origin: center;
  filter:
    brightness(1.12) sepia(1) saturate(4.4) hue-rotate(-12deg) contrast(1.03) drop-shadow(0 0 30px rgba(255, 200, 86, .95)) drop-shadow(0 0 12px rgba(255, 170, 40, .75));
  pointer-events: none;
  z-index: 3;
}

.rd-const__title {
  position: relative;
  z-index: 2;
  margin: 0 0 22px;
  padding-left: 314px;
  font-family: var(--rd-font-title);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.05;
  color: #111;
  text-transform: uppercase;
}

.rd-const__title span {
  color: var(--rd-accent);
}

.rd-const__lead {
  font-family: var(--rd-font-title);
  font-size: 34px;
  /* font-weight: 700; */
  color: #111;
  margin: 0 0 34px;
  padding: 0px 78px;
  line-height: 32px;
  text-align: center;
}

.rd-const__lead span {
  color: var(--rd-accent);
  font-weight: 700;
}

.rd-const__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.rd-const__items {
  display: grid;
  gap: 16px;
}

.rd-const__item {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 18px 20px;
}

.rd-const__item img {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  margin-top: 2px;
}

.rd-const__item p {
  margin: 0;
  font-family: var(--rd-font-text);
  font-size: 16px;
  line-height: 1.45;
  color: #3a4250;
}

.rd-const__item p strong {
  color: #111;
}

.rd-const__photos {
  position: relative;
}

.rd-const__photos img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

/* a imagem específica de mobile fica oculta no desktop */
.rd-const__photos .rd-const__photo--mob {
  display: none;
}

/* ---- LA CONSTANCIA — responsivo (mobile) ---- */
@media (max-width: 991px) {
  .rd-const__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .rd-const__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .rd-const {
    padding: 90px 0 48px;
  }

  .rd-const__key {
    position: absolute;
    width: 318px;
    left: 44px;
    top: -174px;
    margin: 4px 0 14px 6px;
    transform: rotate(-13deg);
  }

  .rd-const__title {
    font-size: 28px;
    padding-left: 0;
    text-align: center;
  }

  .rd-const__lead {
    font-size: 21px;
    padding: 0;
  }

  /* troca o coleção desktop pela imagem feita para o mobile */
  .rd-const__photos .rd-const__photo--desk {
    display: none;
  }

  .rd-const__photos .rd-const__photo--mob {
    display: block;
  }
}


/* =====================================================================
   9. PRICING (card)
   ===================================================================== */
.rd-price {
  background: var(--rd-navy);
  padding: 64px 0;
}

.rd-price__card {
  max-width: 460px;
  margin: 0 auto;
  background: #233651;
  border-radius: 22px;
  padding: 40px 38px;
  text-align: center;
}

.rd-price__tag {
  font-family: var(--rd-font-title);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.rd-price__tag span {
  color: var(--rd-yellow);
}

.rd-price__old {
  font-family: var(--rd-font-text);
  font-size: 18px;
  color: #b9c2d2;
  text-decoration: line-through;
  margin: 0 0 4px;
}

.rd-price__value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  color: #fff;
  font-family: var(--rd-font-title);
  margin-bottom: 2px;
}

.rd-price__value .rd-x {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 14px;
  text-align: left;
}

.rd-price__value .rd-big {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
}

.rd-price__per {
  font-family: var(--rd-font-text);
  color: var(--rd-yellow);
  font-size: 18px;
  margin: 0 0 26px;
}

.rd-price__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
  text-align: left;
}

.rd-price__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--rd-font-text);
  font-size: 18px;
  color: #eaeef5;
}

.rd-price__list li img {
  width: 22px;
  height: 22px;
}

.rd-price__btn {
  display: block;
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 10px;
  background: var(--rd-green-1);
  box-shadow: 0 0 19.6px 0 var(--rd-green-2);
  padding: 18px;
  color: #000;
  font-family: var(--rd-font-title);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: transform .15s ease;
}

.rd-price__btn:hover {
  transform: translateY(-2px);
}

/* ---- PRICING — responsivo (mobile) ---- */
@media (max-width: 767px) {
  .rd-price__card {
    padding: 32px 22px;
  }

  .rd-price__value .rd-big {
    font-size: 52px;
  }
}

@media (max-width: 480px) {
  .rd-price__value .rd-big {
    font-size: 46px;
  }
}


/* =====================================================================
   10. PROFESSORES (#19346e)
   ===================================================================== */
.rd-profs {
  background: var(--rd-blue);
  padding: 64px 0;
  text-align: center;
}

.rd-profs__title {
  font-family: var(--rd-font-title);
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 44px;
  padding: 0 132px;
  text-align: center;
}

.rd-profs__title span {
  color: var(--rd-yellow);
}

.rd-profs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 24px;
  max-width: 820px;
  margin: 0 auto 44px;
}

.rd-prof img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.rd-prof__name {
  font-family: var(--rd-font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--rd-yellow);
  margin: 12px 0 6px;
}

.rd-prof__desc {
  font-family: var(--rd-font-text);
  font-size: 14px;
  line-height: 1.4;
  color: #dbe2ee;
  max-width: 220px;
  margin: 0 auto;
}

/* ---- PROFESSORES — responsivo (mobile) ---- */
@media (max-width: 767px) {

  /* professores em grade 3 colunas (2x3), igual ao Figma */
  .rd-profs__title {
    font-size: 24px;
    margin-bottom: 30px;
    padding: 0;
  }

  .rd-profs__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 8px;
  }

  .rd-prof img {
    width: 100px;
    height: 100px;
  }

  .rd-prof__name {
    font-size: 13px;
    margin: 8px 0 4px;
  }

  .rd-prof__desc {
    font-size: 13px;
    line-height: 1.35;
    max-width: 100%;
  }
}


/* =====================================================================
   11. CONTACTO + FOOTER
   ===================================================================== */
.rd-contact {
  background: var(--rd-light);
  padding: 56px 0;
  text-align: center;
}

.rd-contact__title {
  font-family: var(--rd-font-title);
  font-size: 34px;
  font-weight: 800;
  color: var(--rd-accent);
  margin: 0 0 8px;
}

.rd-contact__q {
  font-family: var(--rd-font-title);
  font-size: 24px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}

.rd-contact__sub {
  font-family: var(--rd-font-text);
  font-size: 17px;
  color: #6a7382;
  margin: 0 0 30px;
}

.rd-contact__btn {
  display: inline-block;
  border-radius: 10px;
  background: var(--rd-green-1);
  box-shadow: 0 0 19.6px 0 var(--rd-green-2);
  padding: 20px 48px;
  color: #000;
  font-family: var(--rd-font-title);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .15s ease;
}

.rd-contact__btn:hover {
  transform: translateY(-2px);
}

.rd-footer {
  background: var(--rd-yellow);
  padding: 40px 0;
}

.rd-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.rd-footer__copy {
  font-family: var(--rd-font-text);
  font-size: 15px;
  color: #1d2532;
}

.rd-footer__copy a {
  color: var(--rd-accent);
  font-weight: 700;
  text-decoration: none;
}

.rd-footer__brand {
  text-align: center;
}

.rd-footer__brand span {
  display: block;
  font-family: var(--rd-font-text);
  font-size: 14px;
  color: #1d2532;
  margin-bottom: 4px;
}

.rd-footer__brand img {
  width: 120px;
  height: auto;
}

/* ---- CONTACTO + FOOTER — responsivo (mobile) ---- */
@media (max-width: 767px) {
  .rd-contact__title {
    font-size: 26px;
  }

  .rd-contact__btn {
    font-size: 18px;
    padding: 16px 28px;
  }

  .rd-footer__inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
}


/* =====================================================================
   12. POPUP CHECKOUT (modal)  — sem variações mobile específicas
   ===================================================================== */
#modal-checkout.div-modal-1 {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .6);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#modal-checkout .div-block-85 {
  width: 100%;
  max-width: 460px;
}

#modal-checkout .box-modal {
  position: relative;
  background: linear-gradient(180deg, #1f396b 0%, #14264a 100%);
  border-radius: 22px;
  padding: 34px 30px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

#modal-checkout .text-block-20 {
  font-family: var(--rd-font-title);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 22px;
}

#modal-checkout .input-padrao {
  width: 100%;
  height: auto;
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 16px 22px;
  margin-bottom: 14px;
  font-family: var(--rd-font-text);
  font-size: 16px;
  color: #333;
}

#modal-checkout .input-padrao::placeholder {
  color: #9aa1ab;
}

#modal-checkout .modal-cta-col {
  display: grid;
  gap: 14px;
  margin-top: 6px;
}

#modal-checkout .cta-anual {
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  background: var(--rd-yellow);
  padding: 18px;
  font-family: var(--rd-font-title);
  font-size: 17px;
  font-weight: 700;
  color: #1d2532;
  text-transform: uppercase;
  transition: transform .15s ease;
}

#modal-checkout .cta-anual:hover {
  transform: translateY(-2px);
}

#modal-checkout .cta-contado {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  border: 0;
  cursor: pointer;
  border-radius: 12px;
  background: #ff6a13;
  padding: 12px 18px;
  text-align: left;
  transition: transform .15s ease;
}

#modal-checkout .cta-contado:hover {
  transform: translateY(-2px);
}

#modal-checkout .cta-contado-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: #fff;
  flex: 0 0 auto;
}

#modal-checkout .cta-contado-pct {
  display: flex;
  align-items: flex-start;
  font-family: var(--rd-font-title);
  font-size: 30px;
  font-weight: 800;
}

#modal-checkout .cta-contado-off {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-left: 2px;
}

#modal-checkout .cta-contado-alc {
  font-family: var(--rd-font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}

#modal-checkout .cta-contado-info {
  display: flex;
  flex-direction: column;
  color: #fff;
}

#modal-checkout .cta-contado-title {
  font-family: var(--rd-font-title);
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

#modal-checkout .cta-contado-sub {
  font-family: var(--rd-font-text);
  font-size: 12px;
  font-weight: 400;
  opacity: .95;
}

#modal-checkout .close-modal {
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  color: #000000;
  font-size: 22px;
  font-family: var(--rd-font-text);
  line-height: 1;
  opacity: .8;
}

#modal-checkout .close-modal:hover {
  opacity: 1;
}