/* Mantém os pictogramas preenchidos e alinha cada tema à paleta institucional. */
.topic-icon.tone-blue {
  color: var(--blue) !important;
}

.topic-icon.tone-green {
  color: var(--green) !important;
}

.topic-icon.tone-yellow {
  color: var(--yellow) !important;
}

.topic-icon.tone-orange,
.food-section .topic-icon {
  color: var(--orange) !important;
}

/* Horarios e valores: escolha acessivel, estado selecionado e comparacao. */
#valores .plan-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

#valores .plan-list > li {
  position: relative;
  cursor: pointer;
  border: 2px solid #d6e3e7;
  background: #fffdfa;
  box-shadow: 0 3px 0 rgba(66, 101, 116, .08);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}

#valores .plan-list > li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(66, 101, 116, .12);
}

#valores .plan-list > li[aria-checked="true"] {
  border-color: #315f70;
  background: #f4fafc;
  box-shadow: 0 0 0 4px rgba(130, 194, 216, .32), 0 10px 24px rgba(66, 101, 116, .14);
}

/* Evita palavras orfas nos titulos sem apertar o restante do conteudo. */
.visible-spaces .section-intro { max-width: 960px; }
#diferenciais .section-intro { max-width: 900px; }
.section-intro h2,
.section-intro h2 > span:last-child { text-wrap: balance; }

#valores .plan-list > li:focus-visible {
  outline: 3px solid #294650;
  outline-offset: 4px;
}

.plan-choice-state {
  order: -1;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 22px;
  margin-bottom: 8px;
  color: #315f70;
  font-size: 12px;
  font-weight: 700;
}

.plan-choice-state::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid #59727c;
  border-radius: 50%;
  background: #fff;
}

[aria-checked="true"] > .plan-choice-state::before { border: 4px solid #315f70; }
.plan-installments { margin: 0 0 8px; color: #53676f; font-size: 13px; }
.admissions > *,
.admissions-intro,
.visible-plans,
.visible-plans > .detail-body { min-width: 0; max-width: 100%; }
.plan-action { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: #eaf5d7; }
.plan-action p { margin: 0; font-size: 14px; }
.plan-action strong { display: block; color: var(--ink); font-size: 17px; }
.plan-action .btn { flex-shrink: 0; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 105; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 54px; min-height: 54px; padding: 12px 17px; border-radius: 999px; background: #1f8f4e; color: #fff; font-size: 15px; font-weight: 700; line-height: 1; box-shadow: 0 8px 24px rgba(38,63,73,.25); transition: transform .18s, background .18s, bottom .18s; }
.whatsapp-float:hover { background: #187640; transform: translateY(-2px); }
.whatsapp-float:focus-visible { outline: 3px solid #294650; outline-offset: 4px; }
.whatsapp-float svg { width: 24px; height: 24px; flex: 0 0 24px; }
body.menu-open .whatsapp-float { display: none; }
.family-resources { margin-top: 24px; padding: 22px; border: 1px solid #d6e3e7; border-radius: 18px; background: #fff; }
.family-resources-heading { margin-bottom: 16px; }
.family-resources-heading .eyebrow { margin-bottom: 5px; }
.family-resources-heading h3 { margin: 0 0 5px; font-size: 23px; }
.family-resources-heading p { margin: 0; font-size: 15px; }
.family-resource-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.family-resource-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 92px; padding: 16px; border: 1px solid #d6e3e7; border-radius: 15px; background: #fcfefe; transition: transform .18s, border-color .18s, box-shadow .18s; }
.family-resource-card:hover { transform: translateY(-2px); border-color: #82c2d8; box-shadow: 0 7px 18px rgba(66,101,116,.12); }
.family-resource-card:focus-visible { outline: 3px solid #294650; outline-offset: 3px; }
.family-resource-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #426574; }
.family-resource-icon svg { width: 25px; height: 25px; fill: currentColor; }
.resource-guide .family-resource-icon { background: #fff4b8; color: #796500; }
.resource-calendar .family-resource-icon { background: #e4f3f8; color: #315f70; }
.family-resource-card strong { display: block; color: var(--ink); font-size: 17px; }
.family-resource-card small { display: block; margin-top: 3px; color: var(--text); font-size: 14px; line-height: 1.4; }
.resource-arrow { color: #315f70; font-size: 22px; font-weight: 700; }
.visible-plans .departure-note,
.visible-plans .price-note { display: none; }

@media (max-width: 1050px) {
  #valores .plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .visible-spaces .section-intro,
  #diferenciais .section-intro { max-width: 100%; }
  .section-intro h2 { max-width: 100%; overflow-wrap: normal; }
  .section-intro h2.icon-heading { align-items: flex-start; }
  .section-intro h2.icon-heading > span:last-child { flex: 1 1 auto; min-width: 0; }
  #valores .plan-list { display: grid; grid-template-columns: 1fr; overflow: visible; gap: 10px; padding: 4px; margin-inline: -4px; }
  #valores .plan-list > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto auto; gap: 3px 14px; min-height: 0; padding: 15px 16px; }
  #valores .plan-list > li[role="radio"] { touch-action: manipulation; }
  #valores .plan-choice-state { grid-column: 1 / -1; grid-row: 1; min-height: 24px; margin: 0 0 3px; font-size: 14px; }
  #valores .plan-list h3 { grid-column: 1; grid-row: 2; min-height: 0; margin: 0; font-size: 18px; line-height: 1.25; }
  #valores .plan-subtitle { margin-top: 2px; font-size: 14px; }
  #valores .plan-time { grid-column: 1; grid-row: 3 / span 2; min-height: 0; margin: 5px 0 0; align-self: start; font-size: 15px; line-height: 1.45; }
  #valores .plan-tag { grid-column: 2; grid-row: 2; margin: 0; align-self: end; text-align: right; font-size: 14px; }
  #valores .plan-price { grid-column: 2; grid-row: 3; margin: 0; align-self: end; font-size: 23px; line-height: 1.25; }
  #valores .plan-installments { grid-column: 2; grid-row: 4; margin: 0; text-align: right; font-size: 14px; }
  #valores .plan-regular { grid-column: 1 / -1; grid-row: 5; margin-top: 7px; text-align: left; font-size: 14px; }
  .plan-action { align-items: stretch; flex-direction: column; padding: 17px; }
  .plan-action p { font-size: 15px; line-height: 1.45; }
  .plan-action strong { margin-bottom: 3px; font-size: 18px; }
  .plan-action .btn { width: 100%; min-height: 50px; font-size: 16px; }
  #diferenciais .benefits { grid-template-columns: 1fr; gap: 10px; }
  #diferenciais .benefit { padding: 17px 16px; }
  #diferenciais .benefit p { font-size: 16px; }
  .food-highlight { grid-template-columns: 1fr; gap: 16px; }
  .food-highlight img { height: 210px; }
  .food-highlight p { font-size: 16px; }
  .whatsapp-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); min-width: 52px; min-height: 52px; padding: 12px 15px; }
  .mobile-cta:not([hidden]) + .whatsapp-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

@media (max-width: 430px) {
  .section-intro h2 { font-size: clamp(26px, 7.4vw, 29px); line-height: 1.16; }
  #valores .plan-list > li { gap-inline: 10px; padding-inline: 14px; }
  #valores .plan-price { font-size: 22px; }
}

@media (max-width: 360px) {
  .section-intro h2 { font-size: 26px; }
  #valores .plan-list > li { padding-inline: 13px; }
  #valores .plan-price { font-size: 21px; }
}

@media (max-width: 760px) {
  body.sticky-actions-visible { padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
  .whatsapp-float { display: none; }
  body .mobile-cta { min-height: 64px; padding: 9px 16px calc(9px + env(safe-area-inset-bottom)); gap: 10px; }
  body .mobile-cta .btn { flex: 1 1 0; min-width: 0; min-height: 46px; margin: 0; padding: 10px 12px; font-size: 15px; }
  .mobile-cta .mobile-whatsapp { border: 2px solid #1f8f4e; background: #fff; color: #17663a; }
  .mobile-cta .mobile-whatsapp:hover { background: #eef8f1; }
  .mobile-cta .mobile-whatsapp:focus-visible { outline: 3px solid #294650; outline-offset: 2px; }
  .family-resources { margin-top: 20px; padding: 18px 16px; }
  .family-resource-grid { grid-template-columns: 1fr; gap: 10px; }
  .family-resource-card { min-height: 88px; padding: 14px; }
  .family-resources-heading p { font-size: 15px; }
  .visit h2 > span:last-child { text-wrap: balance; }
}
