/* Acabamento global. Identidade, espaços e estados consistentes. */
:root {
  --surface: #fff;
  --border: #dce6df;
  --muted: #667b6d;
  --radius: 12px;
  --shadow: 0 10px 30px #103c3009;
}
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, .primary, .outline { transition: background-color .18s, border-color .18s, box-shadow .18s, transform .18s; }
.primary:hover { background-color: #10543a; box-shadow: 0 5px 14px #103c301c; }
.primary:active { transform: translateY(1px); }
.outline:hover { border-color: var(--green); background: #f5faf6; }
select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23176749' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 15px center; background-repeat: no-repeat; }
input, select, textarea { color: var(--ink); }
input::placeholder, textarea::placeholder { color: #829187; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #9bb6a5; }

/* Logo e navegação */
.head { padding-top: 17px; padding-bottom: 17px; }
.brand { gap: 13px; }
.brand strong { font-size: 34px; }
.brand small { font-size: 14px; line-height: 1.5; }
.search { border-width: 1px; border-color: #ffffff6b; box-shadow: 0 2px 8px #103c3012; }
.search input { padding: 14px 20px; font-size: 14px; }
.search button { font-size: 25px; }
.head > .primary { font-size: 14px; padding: 14px 22px; }
.head > .primary:hover { background: #eaf5ed; }
.head > .outline { font-size: 14px; padding: 13px 16px; }
.nav { background: #10573c; }
.nav .wrap { gap: 2px; }
.nav a { font-size: 14px; padding: 16px 11px; letter-spacing: .1px; }
.nav a:hover, .nav a.active { background: #ffffff12; }

/* Destaques e seleção rápida */
.hero h1 { letter-spacing: -1.5px; }
.hero p { line-height: 1.75; }
.hero .primary { padding: 14px 23px; font-size: 14px; }
.hero-facts span { background: #ffffff08; backdrop-filter: blur(5px); }
.carousel-arrow { box-shadow: 0 5px 18px #0002; }
.carousel-arrow:focus-visible, .dots button:focus-visible, .carousel-pause:focus-visible { outline-color: white; }
.finder { padding: 18px 0 34px; border-bottom: 1px solid #e7ede9; background: #f3f7f4; }
.breadcrumb { color: #819087; font-size: 14px; margin-bottom: 20px; }
.finder h2 { font-size: 21px; letter-spacing: -.3px; margin-bottom: 23px; }
.finder-grid { align-items: stretch; gap: 14px; }
.finder-grid select { border-width: 1px; border-color: #a9c4b3; border-radius: 8px; font-size: 14px; padding-top: 15px; padding-bottom: 15px; }
.finder-grid .primary { border-radius: 8px; box-shadow: none; font-size: 14px; }

/* Catálogo */
.catalog { padding-top: 55px; padding-bottom: 60px; }
.section-top h2 { font-size: 30px; letter-spacing: -.8px; }
.section-top .eyebrow { font-size: 14px; letter-spacing: 1.8px; }
.section-top .caption { font-size: 14px; line-height: 1.8; }
.tabs { gap: 26px; margin-top: 25px; }
.tabs button { font-size: 14px; padding: 16px 1px; }
.filters { align-items: center; margin: 24px 0 27px; }
.filters select { border-radius: 7px; border-color: var(--border); padding-top: 11px; padding-bottom: 11px; width: 185px; font-size: 14px; }
.filters button { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
#count { font-size: 14px; }
.cards { gap: 23px; align-items: stretch; }
.card { display: flex; flex-direction: column; border-color: #dfe8e2; box-shadow: 0 3px 15px #103c3004; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bed4c6; }
.card-art { height: 120px; flex-shrink: 0; }
.card-art .book { font-size: 56px; transform: rotate(-9deg) translateY(6px); opacity: .85; }
.card-art .tag { top: 16px; left: 20px; font-size: 14px; padding: 4px 7px; letter-spacing: 1.2px; border-color: #ffffff45; background: #ffffff08; }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font: 650 20px/1.35 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: -.35px; margin-bottom: 12px; }
.card p { font-size: 14px; line-height: 1.75; min-height: 42px; margin: 0; }
.meta { margin: 19px 0 23px; font-size: 14px; gap: 7px; }
.meta span { padding: 5px 8px; border-radius: 4px; background: #f1f6f2; color: #53735e; }
.card-bottom { margin-top: auto; align-items: flex-end; padding-top: 20px; }
.card-bottom small { color: #7b8b80; font-size: 14px; line-height: 1.7; }
.card-bottom small strong { color: #365b43; font-size: 17px; line-height: 1.5; }
.card-bottom a { font-size: 14px; white-space: nowrap; padding: 7px 0; }
.card-bottom a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Institucional */
.faq { border-top: 1px solid #e7ede9; padding-top: 45px; padding-bottom: 55px; }
.faq h2 { font: 650 26px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: -.6px; }
.interest-areas { gap: 10px; }
.interest-areas button { border-radius: 7px; padding: 13px 17px; font-size: 14px; }
.interest-areas button:hover { background: #dfede3; border-color: #abc8b5; }
.faq details { padding: 20px 0; }
.faq summary { font-size: 14px; color: #3c5946; }
.faq details[open] summary { color: var(--green); }
.faq p { font-size: 14px; max-width: 850px; }
.journey { padding: 55px 0; }
.journey .eyebrow { font-size: 14px; letter-spacing: 1.6px; }
.journey h2 { font: 650 31px/1.3 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: -.6px; margin: 16px 0; }
.journey p { font-size: 14px; }
.journey .primary { margin-top: 8px; font-size: 14px; }
.step b { display: grid; place-items: center; padding: 0; width: 42px; height: 42px; flex-shrink: 0; background: #ffffff6b; }
.step strong { font-size: 14px; }
.step p { font-size: 14px; }

/* Inscrição */
dialog { width: min(580px, 94vw); border-radius: 15px; padding: 30px; box-shadow: 0 25px 90px #051e2b33; }
dialog h2 { font: 650 27px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; letter-spacing: -.6px; padding-right: 26px; }
dialog p { font-size: 14px; line-height: 1.8; }
.close { font-size: 20px; width: 32px; height: 32px; color: #3d5f48; }
.close:hover { background: #dcebe1; }
#enrollmentForm label { font-size: 14px; font-weight: 600; margin-top: 18px; margin-bottom: 7px; }
#enrollmentForm input:not([type='checkbox']), #enrollmentForm select, #enrollmentForm textarea { padding: 12px 13px; border-radius: 7px; font-size: 14px; border-color: #cbdccf; }
#enrollmentForm input { margin: 0; }
#enrollmentForm select { padding-right: 38px; }
#enrollmentForm .enroll-consent { font-weight: 400; line-height: 1.65; font-size: 14px; padding: 12px; background: #f3f7f4; border-radius: 7px; }
#enrollmentForm .notice { font-size: 14px !important; }
#enrollmentForm .primary { width: 100%; padding: 15px; font-size: 14px; }
#enrollStatus { font-size: 14px; }

/* Rodapé */
footer { padding-top: 42px; }
.footer-identity { gap: 20px; }
.footer-logo { width: 91px; height: 100px; padding: 6px; }
footer strong { font-size: 27px; }
footer p { font-size: 14px; line-height: 1.9; }
.developer-credit { margin-top: 34px; padding-top: 23px; padding-bottom: 23px; }
.developer-label { font-size: 14px; }
.developer-brand svg { width: 44px; height: 44px; }
.developer-name { font-size: 24px; }
.developer-tagline { font-size: 14px; }
.social-float { gap: 11px; }
.social-float button { width: 52px; height: 52px; }
.social-float svg { width: 26px; height: 26px; }
@media (max-width: 900px) {
  .head { gap: 13px; }
  .nav a { padding: 14px 10px; font-size: 14px; }
  .filters select { width: calc(50% - 10px); }
}
@media (max-width: 600px) {
  .head { padding-top: 13px; padding-bottom: 13px; gap: 9px; }
  .brand { gap: 9px; }
  .brand strong { font-size: 28px; }
  .brand small { font-size: 14px; }
  .head > .primary { padding: 11px 13px; font-size: 14px; }
  .head > .outline { padding: 11px 12px; font-size: 14px; }
  .search input { padding: 11px 13px; font-size: 14px; }
  .search button { padding: 0 12px; }
  .finder { padding-bottom: 25px; }
  .finder h2 { font-size: 19px; line-height: 1.45; }
  .finder-grid { gap: 10px; }
  .catalog { padding-top: 35px; padding-bottom: 35px; }
  .section-top h2 { font-size: 25px; }
  .tabs { gap: 20px; }
  .card h3 { font-size: 20px; }
  .card-art { height: 110px; }
  .card-body { padding: 22px; }
  .card-bottom a { font-size: 14px; }
  .faq { padding-top: 30px; padding-bottom: 35px; }
  .faq h2 { font-size: 23px; }
  .journey { padding: 35px 0; }
  .journey h2 { font-size: 27px; }
  dialog { padding: 23px; }
  dialog h2 { font-size: 24px; }
  .footer-logo { width: 75px; height: 84px; }
  .footer-identity { align-items: flex-start; gap: 15px; }
  .social-float button { width: 47px; height: 47px; }
}
