/* Secoes da pagina inicial. Valores copiados dos estilos do prototipo. */

/* ============ Hero (#topo) ============ */
.hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.hero__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__badge { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--tint); font-size: 13px; font-weight: 600; }
.hero__badge--dark { gap: 8px; background: var(--navy); color: #FFFFFF; }
.hero__badge-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--gold); }

.hero__title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(44px, 6.2vw, 84px); line-height: .98; letter-spacing: -0.04em; }
.hero__title-mark { position: relative; white-space: nowrap; isolation: isolate; display: inline-block; }
.hero__title-underline { position: absolute; left: 0; right: 0; bottom: .06em; height: .2em; background: var(--gold); z-index: -1; border-radius: 4px; }

.hero__text { display: flex; flex-direction: column; gap: 14px; max-width: 600px; }
.hero__lead { margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--muted); }
.hero__lead--small { font-size: clamp(17px, 1.4vw, 19px); }
.hero__lead strong { color: var(--navy); }
.hero__highlight { background: var(--gold-soft); padding: 1px 6px; border-radius: 6px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__cta { height: 56px; padding: 0 26px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 700; font-size: 16px; }
.hero__cta--outline { padding: 0 24px; font-weight: 600; }

.hero__media { position: relative; min-height: 600px; }
.hero__media-accent { position: absolute; right: -14px; top: -14px; width: 160px; height: 160px; border-radius: 32px; background: var(--gold); }
.hero__photo { position: absolute; inset: 0 0 36px 36px; border-radius: 32px; background: var(--navy); overflow: hidden; }
.hero__photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.hero__photo-caption {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13, 1, 53, .8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
}
.hero__place {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(330px, 88%);
  padding: 18px 20px;
  border-radius: 20px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -24px rgba(13, 1, 53, .45);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
}
.hero__place-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.hero__place-text { display: flex; flex-direction: column; gap: 2px; }
.hero__place-title { font-family: var(--font-title); font-size: 17px; }
.hero__place-sub { font-size: 13px; color: var(--muted); }

/* --- Cartoes de area --- */
.area-cards { display: flex; flex-direction: column; gap: 16px; }
.area-cards__hint { font-size: 15px; font-weight: 600; color: var(--muted); }
.area-cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 12px; align-items: stretch; }

.area-card {
  --card-bg: #FFFFFF;
  --card-fg: var(--navy);
  --card-border: var(--line-strong);
  --card-line: var(--line-soft);
  --card-muted: var(--muted);
  --card-arrow: var(--gold-ink);
  --card-count-bg: var(--tint);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--card-fg);
}
.area-card.is-active {
  --card-bg: var(--navy);
  --card-fg: #FFFFFF;
  --card-border: var(--navy);
  --card-line: rgba(255, 255, 255, .14);
  --card-muted: var(--on-navy-muted);
  --card-arrow: var(--gold);
  --card-count-bg: var(--gold);
}
.area-card__head { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--card-fg); }
.area-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.area-card__count { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--card-count-bg); color: var(--navy); }
.area-card__arrow { font-size: 18px; color: var(--card-arrow); }
.area-card__label { font-family: var(--font-title); font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.area-card__subs { display: flex; flex-direction: column; border-top: 1px solid var(--card-line); }
.area-card__sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border-bottom: 1px solid var(--card-line);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--card-fg);
}
.area-card__sub.is-selected { font-weight: 700; color: var(--gold); }
.area-card__sub-count { font-size: 12px; color: var(--card-muted); }
.area-card__desc { font-size: 14px; line-height: 1.5; color: var(--card-muted); border-top: 1px solid var(--card-line); padding-top: 12px; }

/* --- Faixa animada --- */
.marquee-band { background: var(--navy); color: #FFFFFF; overflow: hidden; padding: 18px 0; }
.marquee-band__track { display: flex; width: max-content; gap: 40px; font-family: var(--font-title); font-weight: 700; font-size: 19px; white-space: nowrap; }
.marquee-band__star { color: var(--gold); }

/* ============ Vitrine (#cursos) ============ */
.catalog { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 28px; }
.catalog__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.catalog__intro { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.catalog__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--navy); }
.catalog__title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.catalog__count { margin: 0; font-size: 16px; color: var(--muted); }

.catalog__search { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 14px; border-radius: 999px; border: 1px solid var(--line-strong); min-width: min(100%, 320px); }
.catalog__search-input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; font: inherit; font-size: 15px; color: var(--navy); }
.catalog__search-input:disabled { cursor: not-allowed; }

.catalog__tabs { display: flex; flex-direction: column; gap: 10px; }
.catalog__area-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.catalog__area-tab {
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: #FFFFFF;
  color: var(--navy);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.catalog__tab-count { font-size: 12px; color: var(--muted); }
.catalog__area-tab.is-active { border-color: var(--navy); background: var(--navy); color: #FFFFFF; }
.catalog__area-tab.is-active .catalog__tab-count { color: var(--gold); }

.catalog__sub-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 6px; border-radius: 999px; background: var(--bg-soft); align-self: flex-start; max-width: 100%; }
.catalog__sub-tab {
  flex-shrink: 0;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.catalog__sub-tab.is-active { background: var(--gold); font-weight: 700; }
.catalog__sub-tab.is-active .catalog__tab-count { color: inherit; }

/* --- Destaque dos presenciais --- */
.pres-banner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); border-radius: 28px; overflow: hidden; background: var(--navy); color: #FFFFFF; }
.pres-banner__img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.pres-banner__body { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.pres-banner__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.pres-banner__title { font-family: var(--font-title); font-weight: 800; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.02em; }
.pres-banner__text { font-size: 16px; line-height: 1.65; color: var(--on-navy-muted); }
.pres-banner__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pres-banner__chip { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); }

/* --- Carreiras e cards de curso --- */
.catalog__groups { display: flex; flex-direction: column; gap: 44px; padding-top: 8px; }
.catalog__group { display: flex; flex-direction: column; gap: 16px; }
.catalog__group-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.catalog__group-mark { width: 6px; height: 28px; border-radius: 6px; background: var(--gold); }
.catalog__group-title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }

.course-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 20px; border: 1px solid var(--line); background: #FFFFFF; }
/* Capa (Configuracoes -> Aparencia): caixa 4:3 que vai ate as bordas do card; a pagina nao pula enquanto a imagem chega. */
.course-card__cover { display: block; margin: -20px -20px 4px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 19px 19px 0 0; background: var(--tint); }
.course-card__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.course-card__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.course-card__title { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 17px; line-height: 1.35; }
.course-card__note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.course-card__price { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.course-card__old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.course-card__value { font-family: var(--font-title); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.course-card__consult { font-family: var(--font-title); font-weight: 700; font-size: 18px; }
.course-card__cta { height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; font-weight: 600; font-size: 15px; }

/* Selos de modalidade (cores do objeto BADGE do prototipo). */
.badge { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); }
.badge--presencial, .badge--hibrido { background: #F0B62D; color: #0D0135; }
.badge--telepresencial { background: #E6F4EC; color: #16613A; }
.badge--online, .badge--digital { background: #E8EEFB; color: #1B3A7A; }
.badge--tutor { background: #0D0135; color: #FFFFFF; }
.badge--apostilado, .badge--fisico { background: #F1F0F7; color: #0D0135; }
.badge--pos { background: #EDE7FB; color: #3E2A86; }
.badge--off { background: #FDF3D7; color: #7A5600; }

/* ============ Elementos comuns das secoes ============ */
.section-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--navy); }
.section-title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.03em; }
.section-text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ============ Localizacao (#localizacao) ============ */
.place { background: var(--bg-soft); }
.place__inner { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 40px; }
.place__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }
.place__copy { display: flex; flex-direction: column; gap: 20px; }
.place__facts { display: flex; flex-direction: column; gap: 10px; }
.place__fact { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #FFFFFF; border: 1px solid var(--line); }
.place__fact--link { text-decoration: none; transition: border-color .2s ease; }
.place__fact--link:hover { border-color: var(--navy); }
.place__fact-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.place__fact-text { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.place__fact-title { font-size: 16px; color: var(--navy); }
.place__cta { align-self: flex-start; height: 52px; padding: 0 22px; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; font-weight: 600; }
.place__photo { margin: 0; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.place__photo-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place__photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 24px -12px rgba(13, 1, 53, .5);
}
.place__photo-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--gold); }
.place__structure { display: flex; flex-direction: column; gap: 16px; }
.place__structure-title { font-family: var(--font-title); font-weight: 700; font-size: 22px; }
.place__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.place__shot { margin: 0; position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; }
.place__shot-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.place__shot-caption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: #FFFFFF; font-size: 13px; font-weight: 600; color: var(--navy); }

/* ============ Metodo FMB ============ */
.method { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.method__box { border-radius: 32px; background: var(--navy); color: #FFFFFF; padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 36px; }
.method__head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.method__intro { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.method__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .12em; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.method__title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.method__title-accent { color: var(--gold); }
.method__text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--on-navy-muted); }
.method__cta { height: 54px; padding: 0 24px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; }
.method__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.method__item { padding: 22px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: flex; flex-direction: column; gap: 8px; }
.method__number { font-family: var(--font-title); font-weight: 800; color: var(--gold); }
.method__item-title { font-size: 17px; }
.method__item-text { font-size: 14px; line-height: 1.55; color: var(--on-navy-muted); }

/* ============ Historia (#historia) ============ */
.history { padding-bottom: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px; align-items: start; }
.history__copy { display: flex; flex-direction: column; gap: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.timeline__item { display: flex; gap: 18px; padding-bottom: 22px; border-left: 2px solid var(--line); margin-left: 11px; padding-left: 24px; position: relative; }
.timeline__item:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline__dot { position: absolute; left: -9px; top: 2px; width: 16px; height: 16px; border-radius: 99px; background: var(--navy); border: 3px solid #FFFFFF; box-shadow: 0 0 0 1px var(--line); }
.timeline__dot--gold { background: var(--gold); }
.timeline__body { display: flex; flex-direction: column; gap: 6px; }
.timeline__title { font-family: var(--font-title); font-size: 18px; }
.timeline__text { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ============ Professor (#professor) ============ */
.teacher { background: var(--bg-soft); }
.teacher__inner { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; align-items: center; }
.teacher__media { position: relative; max-width: 480px; }
.teacher__accent { position: absolute; left: -14px; bottom: -14px; width: 150px; height: 150px; border-radius: 28px; background: var(--gold); }
.teacher__photo { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: 28px; display: block; }
.teacher__copy { display: flex; flex-direction: column; gap: 22px; }
.teacher__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.teacher__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); }
.teacher__dot { width: 10px; height: 10px; flex-shrink: 0; border-radius: 99px; background: var(--navy); }
.teacher__dot--gold { background: var(--gold); }
.teacher__item-text { font-size: 16px; }

/* ============ Professores em destaque (#professores) ============ */
/* Professores em destaque (o cartao esta em content.css). A secao seguinte ja traz o proprio respiro de cima. */
.faculty { padding-top: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 32px; }
.faculty__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.faculty__intro { display: flex; flex-direction: column; gap: 12px; }
.faculty__all { font-weight: 600; text-decoration: none; color: var(--navy); }
.faculty__all:hover { text-decoration: underline; }
.faculty__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
@media (max-width: 560px) {
  .faculty__grid { grid-template-columns: 1fr; }
}


/* ============ Blog (#blog) ============ */
.blog { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 32px; }
.blog__head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; }
.blog__intro { display: flex; flex-direction: column; gap: 12px; }
.blog__all { font-weight: 600; text-decoration: none; color: var(--navy); }
.blog__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; }
/* O card do post (.post-card) fica em content.css: e o mesmo na home, na lista do blog e no "Leia tambem". */

/* ============ Cadastro (#cadastro) ============ */
.lead { padding-bottom: clamp(64px, 8vw, 104px); }
.lead__box { border-radius: 32px; background: var(--gold); color: var(--navy); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 40px; align-items: center; }
.lead__copy { display: flex; flex-direction: column; gap: 16px; }
.lead__text { margin: 0; font-size: 17px; line-height: 1.65; }
.lead__form { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 24px; background: #FFFFFF; }
.lead__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field__input { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); font: inherit; font-size: 16px; font-weight: 400; color: var(--navy); min-width: 0; }
.field__input--select { padding: 0 12px; background: #FFFFFF; }
.lead__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.lead__consent-box { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); }
.lead__submit { height: 52px; border-radius: 12px; border: 0; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }

.course-card__extra { font-size: 13px; color: var(--muted); }

/* --- Vitrine dinamica: abas como links, titulo do card clicavel, estado sem resultados --- */
.catalog__area-tab, .catalog__sub-tab { text-decoration: none; }
.course-card__link { color: inherit; text-decoration: none; }
.course-card__link:hover { text-decoration: underline; }
.catalog__search-input::-webkit-search-cancel-button { cursor: pointer; }
.catalog__empty { padding: 40px; border-radius: 24px; background: var(--bg-soft); text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.catalog__empty-title { font-family: var(--font-title); font-weight: 700; font-size: 20px; }
.catalog__empty-text { color: var(--muted); }
.catalog__empty-clear { height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-strong); background: #FFFFFF; color: var(--navy); font-weight: 600; }

/* --- Formulario de cadastro: avisos, erros por campo e confirmacao --- */
.lead__status { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 10px; }
.lead__status:empty { display: none; }
.field__error { font-size: 13px; font-weight: 500; color: #8A1F1F; }
.field__error:empty { display: none; }
.field__input[aria-invalid="true"] { border-color: #8A1F1F; }
.lead__done { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; padding: 28px; border-radius: 24px; background: #FFFFFF; }
.lead__done-text { margin: 0; font-family: var(--font-title); font-weight: 700; font-size: 20px; line-height: 1.35; }
.lead__download { height: 52px; padding: 0 24px; display: inline-flex; align-items: center; align-self: flex-start; border-radius: 12px; font-weight: 700; }
.lead__notice { font-family: var(--font-title); font-size: 17px; line-height: 1.35; color: var(--navy); }

/* --- Destaque de cupom (Configuracoes -> Promocoes): quadro marinho com o codigo em dourado, logo depois da vitrine --- */
.offer { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(40px, 6vw, 72px); }
.offer__box { position: relative; isolation: isolate; overflow: hidden; border-radius: 32px; background: var(--navy); color: #FFFFFF; padding: clamp(28px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.offer__box::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 182, 45, .28), rgba(240, 182, 45, 0) 68%); pointer-events: none; }
.offer__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-width: 0; }
.offer__badge { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.offer__title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.offer__text { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.65; color: var(--on-navy-muted); overflow-wrap: anywhere; }
.offer__coupon { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 3vw, 28px); border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); min-width: 0; }
.offer__label { font-size: 15px; color: var(--on-navy-muted); }
.offer__label strong { color: #FFFFFF; }
.offer__code { display: flex; flex-direction: column; gap: 8px; }
.offer__code-input { width: 100%; min-width: 0; height: 56px; padding: 0 12px; border-radius: 14px; border: 2px dashed var(--gold); background: transparent; color: var(--gold); font-family: var(--font-title); font-weight: 800; font-size: 24px; letter-spacing: .05em; text-align: center; }
.offer__code-input--long { font-size: 15px; letter-spacing: .02em; }
.offer__code-input:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.offer__copy { height: 44px; padding: 0 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #FFFFFF; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.offer__copy:hover { background: rgba(255, 255, 255, .1); }
.offer__copy[hidden] { display: none; }
.offer__cta { height: 54px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; }
.offer__note { font-size: 13px; color: var(--on-navy-muted); }
@media (min-width: 900px) {
  .offer__box { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); }
}

/* --- Sistema IA FMB (M114-M116): a secao marinha da home, a moldura do simulador, os tres cartoes e a faixa da vitrine --- */
.ia { background: var(--navy); color: #FFFFFF; }
.ia__inner { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 40px; }
.ia__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px 56px; align-items: end; }
.ia__intro { display: flex; flex-direction: column; gap: 16px; }
.ia__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .12em; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); }
.ia__title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.ia__accent { color: var(--gold); }
.ia__copy { display: flex; flex-direction: column; gap: 12px; }
.ia__text { margin: 0; font-size: 17px; line-height: 1.65; color: var(--on-navy-muted); }
.ia__strong { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; color: #FFFFFF; }
.ia__note { margin: 0; font-size: 13px; line-height: 1.6; color: #A9B4C4; }
.ia__more { color: var(--gold); font-weight: 600; }
.ia__more:hover { color: #FFFFFF; }

.ia-demo { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65); background: #0B2F5E; }
.ia-demo__bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: var(--tint); border-bottom: 1px solid var(--line); }
.ia-demo__dots { display: flex; gap: 6px; }
.ia-demo__dots span { width: 11px; height: 11px; border-radius: 99px; background: var(--line-strong); }
.ia-demo__address { flex: 1; max-width: 360px; margin: 0 auto; padding: 6px 14px; border-radius: 999px; background: #FFFFFF; font-size: 13px; color: var(--muted); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ia-demo__tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--gold-soft); color: #7A5600; white-space: nowrap; }
.ia-demo__frame { display: block; width: 100%; height: 784px; border: 0; background: #0B2F5E; }

.ia-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.ia-line { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); color: #FFFFFF; text-decoration: none; }
.ia-line:hover { color: #FFFFFF; border-color: rgba(255, 255, 255, .4); }
.ia-line__label { font-family: var(--font-title); font-size: 20px; line-height: 1.25; }
.ia-line__desc { font-size: 15px; line-height: 1.55; color: var(--on-navy-muted); }
.ia-line__price { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.ia-line__from { font-size: 13px; color: var(--on-navy-muted); }
.ia-line__value { font-family: var(--font-title); font-weight: 800; font-size: 28px; color: var(--gold); }
.ia-line__cta { font-weight: 700; font-size: 15px; }

.ia-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 22px; border-radius: 20px; background: var(--gold-soft); color: var(--navy); text-decoration: none; }
.ia-banner__tag { padding: 5px 10px; border-radius: 999px; background: var(--navy); color: var(--gold); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ia-banner__text { flex: 1; min-width: 220px; font-size: 15px; line-height: 1.5; }
.ia-banner__cta { font-weight: 700; font-size: 15px; white-space: nowrap; }

/* Pagina /sistema-ia: os blocos claros, e os cartoes das linhas sobre um quadro marinho. */
.ia-page__notice { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 3vw, 32px); border-radius: 24px; background: var(--gold-soft); border: 1px solid #F3DE9E; }
.ia-page__notice-heading, .ia-page__heading { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.ia-page__notice-text, .ia-page__text, .ia-page__hint { margin: 0; font-size: 16px; line-height: 1.65; color: var(--navy); }
.ia-page__hint, .ia-page__text { color: var(--muted); }
.ia-page__demo, .ia-page__about { display: flex; flex-direction: column; gap: 16px; }
.ia-page__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.ia-page__list strong { color: var(--navy); }
.ia-page__courses { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 4vw, 48px); border-radius: 32px; background: var(--navy); color: #FFFFFF; }
.ia-page__courses .ia-page__heading { color: #FFFFFF; }
.ia-page__courses .ia-page__text { color: var(--on-navy-muted); }
.ia-page__actions { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ia-page__button { height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 700; }
.ia-page__courses .btn--primary { background: var(--gold); color: var(--navy); }
