/* -------------------------
   Revisaço – AMPERJ
   Responsivo e acessível
------------------------- */

:root {
  --bg: #fece0a;
  --ink: #231f20;
  --card: #ffe6f0; /* rosa claro das células */
  --head: #ff7eb2; /* rosa mais forte do cabeçalho */
  --line: #f6b300; /* linhas em tom amarelado */
  --cta: #673ab7; /* roxo dos botões */
  --cta-ink: #ffffff;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial,
    Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.25;
}

/* Utilidades */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 24px;
}
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* HERO */
.hero {
  padding-block: 24px 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 16px;
}
.chip {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #fff4c6;
  color: #7a3a00;
  padding: 8px 12px;
  border-radius: 9999px;
  margin: 0 0 8px 0;
}
.hero__logo {
  width: min(640px, 100%);
  height: auto;
  display: block;
}
.hero__price {
  width: min(520px, 100%);
  height: auto;
  display: block;
  margin-top: 12px;
}
.hero__right {
  display: flex;
  justify-content: center;
}
.hero__avatar {
  width: min(360px, 58vw);
  height: auto;
  transform: translateY(10px);
}

/* Em telas largas, avatar à direita */
@media (min-width: 960px) {
  .hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .hero__right {
    justify-content: flex-end;
  }
  .hero__avatar {
    width: 420px;
  }
}

/* MÓDULOS */
.module {
  padding-block: 40px;
}
.module__title {
  margin: 0 0 16px 0;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
}
.module__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.module__figure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.module__figure img {
  width: min(180px, 40vw);
  height: auto;
}

@media (min-width: 860px) {
  .module__grid {
    grid-template-columns: 220px 1fr;
    gap: 24px;
  }
  .module__figure img {
    width: 200px;
  }
}

/* TABELAS */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px; /* separação entre linhas como no layout */
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}
.table thead th {
  background: var(--head);
  color: #1b0b11;
  padding: 14px 16px;
  text-align: left;
  font-weight: 800;
  border-radius: 12px 0 0 12px;
}
.table thead th.th-hours {
  text-align: center;
  border-radius: 0 12px 12px 0;
}
.table tbody tr td {
  background: var(--card);
  padding: 14px 16px;
  vertical-align: middle;
  border-top: 4px solid var(--line);
  border-bottom: 4px solid var(--line);
}
.table tbody tr td:first-child {
  border-left: 6px solid var(--line);
  border-radius: 12px 0 0 12px;
}
.table tbody tr td.hours {
  width: 110px;
  text-align: center;
  font-weight: 350;
  border-right: 6px solid var(--line);
  border-radius: 0 12px 12px 0;
}
.table tbody tr.total td {
  background: #ffe9f5;
  font-weight: 800;
}

.note {
  font-size: 0.82rem;
  margin: 8px 0 0 4px;
  opacity: 0.85;
}

/* CTA */
.cta__wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 6px;
}
.btn-cta {
  --pad: 14px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: var(--pad);
  border-radius: 9999px;
  background: var(--cta);
  color: var(--cta-ink);
  box-shadow: var(--shadow);
  transition: transform 0.05s ease, filter 0.2s ease;
}

.btn-cta:hover {
  background: var(--ink);
  color: var(--bg);
  filter: brightness(1.05);
}

.btn-cta:active {
  transform: translateY(1px);
}
.btn-cta--big {
  --pad: 18px 28px;
  font-size: 1.05rem;
}

/* Seção de matrícula */
.enroll {
  display: grid;
  place-items: center;
  padding: 48px 24px 64px;
}
.enroll .assist {
  margin-top: 12px;
  font-size: 0.9rem;
  text-align: center;
  max-width: 60ch;
}

/* Rodapé */
.footer {
  padding: 28px 24px 48px;
  text-align: center;
  font-size: 0.92rem;
  border-top: 2px dashed rgba(0, 0, 0, 0.18);
}
.slogan-final {
  color: #013601;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 30px;
}
.info-container {
  max-width: 600px;
  margin: 0 auto 30px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: left;
}

.logo-eda img {
  width: 250px;
}

.endereco {
  font-size: 14px;
  line-height: 1.5;
  max-width: 400px;
  color: #013601;
}

.whatsapp-final img {
  margin-top: 20px;
  transition: transform 0.3s ease;
}

.whatsapp-final img:hover {
  transform: scale(1.1);
}

/* Ocultar o robô para celular */
@media (max-width: 640px) {
  .module__figure {
    display: none;
  }
}
/* COMBO SECTION */
.combo {
  padding-block: 48px 56px;
  background: var(--bg);
}

.combo__price {
  display: block;
  margin: 0 auto 18px;
  width: min(900px, 90%); /* ~50% maior: ajuste fino automático por viewport */
  height: auto;
}

.combo__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.combo__avatar {
  width: min(440px, 70vw);
  height: auto;
  justify-self: center;
}

.combo__copy {
  max-width: 720px;
  justify-self: center;
  text-align: left;
}

.combo__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  margin: 8px 0 12px;
}

.combo__text {
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 22px 0;
}

/* Desktop: avatar fixo à esquerda e texto à direita */
@media (min-width: 960px) {
  .combo__layout {
    grid-template-columns: 460px 1fr;
    gap: 40px;
  }
  .combo__avatar {
    justify-self: start;
  }
  .combo__copy {
    justify-self: start;
  }
}
/* FIM COMBO */
