/*
  ia.html: the pictures inside the page's sections (live HTML, invented sample data). Linked after assets/site.css.
  .fc is a small app card on a lit ground; the rest are the rows each picture holds.
*/

.fc { background: #fff; color: #10212f; border-radius: 12px; font: 400 14px/1.45 var(--font-text); text-align: left; width: min(100%, 440px); overflow: hidden;
      box-shadow: 0 0 0 1px rgb(6 43 69 / .08), 0 24px 60px -28px rgb(6 43 69 / .45); }
.fc__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid rgb(6 43 69 / .08); font-weight: 500; color: #062b45; }
.fc__head > :is(img, svg) { width: 20px; height: 20px; flex: none; }
.fc__head .chip { margin-left: auto; }
.fc__sub { padding: 9px 16px; font-size: 13px; color: #4b6074; background: #f4f7fa; border-bottom: 1px solid rgb(6 43 69 / .08); }
.fc__row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgb(6 43 69 / .08); }
.fc__row:last-child { border-bottom: 0; }
.fc__row > :is(img, svg) { width: 22px; height: 22px; flex: none; color: #4b6074; }
.fc__row b { font-weight: 500; color: #062b45; }
.fc__row small { display: block; font-size: 13px; color: #566b7e; }
.fc__row .chip { margin-left: auto; }
.chip--off { background: #eceff2; color: #4b6074; }
.fc--wide { width: min(100%, 480px); }

/* check marks and the rows' small icons */
.fc__row > .fc__ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #e7f4ec; color: #17633d; }
.fc__row > .fc__ico svg { width: 16px; height: 16px; }
.fc__row > .fc__ico--off { background: #fbe6e3; color: #a3271b; }

/* #fases: the three phases, numbered */
.plan__n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e3eefb; color: #0b4f9c; font: 500 13px/1 var(--font-text); font-variant-numeric: tabular-nums; }
.plan .fc__row { padding-block: 14px; font-size: 15px; color: #062b45; }

/* #construimos and #suporte: a small picture a card, on its lit panel */
#suporte .panel { --p-h: 240px; }
#suporte .fc { width: 320px; }
#suporte .at-rise { --ax: max(20px, 50% - 160px); --ay: 28px; --ay-sm: 24px; }
#construimos .panel { --p-h: 250px; }
#construimos .fc { width: 100%; max-width: 280px; }
#construimos .at-rise { --ax: max(14px, 50% - 140px); --ay: 24px; --ay-sm: 24px; }
@media (min-width: 1024px) and (max-width: 1279px) { #suporte .panel { --p-h: 260px; } #suporte .fc { width: 280px; } #suporte .at-rise { --ax: max(16px, 50% - 140px); } }
@media (max-width: 639px) { #suporte .panel { --p-h: 285px; } #construimos .panel { --p-h: 196px; } #suporte .fc, #construimos .fc { width: 100%; max-width: none; } }
.bub { padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: #eaf1f8; margin: 14px 16px 0 40px; }
.bub--in { border-radius: 14px 14px 14px 4px; background: #f2f6fa; margin: 8px 40px 14px 16px; }

/* #perguntas */
#perguntas .faq { max-width: 640px; }

/* from 1024 the split frames and the cards run to the screen's foot, as the home page's #saude does */
@media (min-width: 1024px) {
  :is(#ciclo, #fases) > .wrap > .grid { flex: 1 1 0; min-height: 0; }
  :is(#ciclo, #fases) .frame { --ratio: 0px; }
  :is(#construimos, #suporte) > .wrap > .grid { flex: 1 1 0; min-height: 0; }
}
@media (min-width: 640px) and (max-width: 1023px) { :is(#ciclo, #fases) .frame { --ratio: 60%; } }

/* inner pages: the h1 sits at the side size (44px at 1440), so the h2s step down one size under it (heading-scale) */
main > section:not(.hero) :is(h2) { font-size: min(var(--t-h2), 40px); }

.fc--prop { width: min(100%, 360px); margin-top: var(--s-4); }
@media (max-width: 639px) { #perguntas .faq > details { padding-block: 28px; } #perguntas .faq > details:first-child { padding-top: 0; } }

/* in a split frame the card is set larger, so the lit frame is not mostly empty ground */
.frame .fc--wide { width: min(100%, 540px); }
.frame .fc__head { padding: 18px 22px; font-size: 15.5px; }
.frame .fc__sub { padding: 11px 22px; }
.frame .fc__row { padding: 17px 22px; font-size: 15.5px; }
.frame .fc__row small { font-size: 14px; }
@media (max-width: 639px) { .frame .fc__head, .frame .fc__row, .frame .fc__sub { padding-inline: 16px; } .frame .fc__row { padding-block: 13px; } }

/* #lado-de-dentro: each fact's source, small and muted under the fact */
.facts3 .src { font-size: 13px; line-height: 1.4; color: var(--muted); }

/* #engenharia: the three lines as rows of one card */
.eng .fc__row { align-items: flex-start; padding-block: 18px; }
.eng .plan__n { margin-top: 1px; }
@media (min-width: 1024px) { #engenharia > .wrap > .grid { flex: 1 1 0; min-height: 0; } #engenharia .frame { --ratio: 0px; } }
@media (min-width: 640px) and (max-width: 1023px) { #engenharia .frame { --ratio: 0px; } }

@media (min-width: 1024px) { #construimos .card > p { min-height: 4.4em; } }

/* tablet: the four cards sit two by two, so the section stays one screen */
@media (min-width: 640px) and (max-width: 1023px) { #construimos .card { grid-column: span 6; } #construimos .panel { --p-h: 220px; } }
