/* Refinamento visual partilhado; a escala tipográfica mantém-se em typography.css. */
:root { --teal-deep: #103f43; }
.brand-mark { border-radius: 11px 3px 11px 3px; letter-spacing: -2.5px; }
.brand-word { letter-spacing: -1px; }
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; flex-shrink: 0; }
.confirmation .eyebrow { justify-content: center; }
.hero-grid { grid-template-columns: 1fr 1.08fr; min-height: 590px; gap: 48px; }
.hero-media { min-height: 590px; }
.hero-media img { object-position: 56% center; }
body .hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.75rem); max-width: 13ch; }
.hero-copy { padding-block: 72px; }
.hero-caption { position: absolute; inset: auto 24px 24px; padding: 16px 20px; background: #fff; color: var(--ink); display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; border-radius: 4px; }
.hero-caption > span { color: var(--teal); font-size: 12px; }
.hero-caption small { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: auto; }
.context-grid { padding-block: 30px; }
.section-heading { margin-bottom: 40px; }
.home-course-grid { grid-template-columns: 1.05fr 1fr; gap: 24px; }
.home-course-grid > .course-featured { grid-row: span 2; }
.home-course-grid .course-featured .course-image { height: 300px; }
.home-course-grid .course-featured .course-body { padding: 30px; }
body .home-course-grid .course-featured h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 26ch; }
.home-course-grid > .course-card:not(.course-featured) { display: grid; grid-template-columns: 145px minmax(0, 1fr); }
.home-course-grid > .course-card:not(.course-featured) .course-image { height: 100%; min-height: 245px; }
.home-course-grid > .course-card:not(.course-featured) .course-body { padding: 22px; }
.home-course-grid > .course-card:not(.course-featured) .course-description { display: none; }
body .home-course-grid > .course-card:not(.course-featured) h3 { font-size: 21px; }
.home-course-grid .course-meta { margin-top: 16px; gap: 8px 16px; }
.home-course-grid .course-meta span + span { padding: 0; border: 0; }
.home-course-grid .course-availability { margin-bottom: 20px; }
.home-course-grid .course-card-footer { gap: 12px; }
body .home-course-grid > .course-card:not(.course-featured) .course-price { font-size: 24px; }
.course-card { transition: border-color .2s, box-shadow .2s; }
.course-card:hover { border-color: #82b3b5; box-shadow: 0 10px 30px #103f430a; }
.course-card:focus-within { border-color: var(--teal); }
.academy-section { padding-block: 88px; }
.academy-grid { grid-template-columns: 1.25fr 1fr; gap: 72px; }
.academy-media { position: relative; }
.academy-media::after { content: ''; position: absolute; left: -12px; bottom: -12px; width: 72px; height: 72px; border-left: 2px solid #83b5b5; border-bottom: 2px solid #83b5b5; pointer-events: none; }
.academy-media img { aspect-ratio: 1.35; border-radius: 5px; }
.participation-steps { gap: 40px; }
.participation-steps > li { border-top: 1px solid var(--line); padding-top: 24px; }
.step-number { border: 0; border-radius: 0; background: none; justify-content: flex-start; width: auto; height: auto; font-size: 28px; font-weight: 500; margin-bottom: 24px; }
.questions-section { padding-block: 88px; }
.closing-band { background: var(--teal-deep); color: #fff; }
.closing-section { padding-block: 72px; }
.closing-band .eyebrow { color: #9ed4d0; margin-bottom: 18px; }
.closing-band .closing-section p:not(.eyebrow) { color: #d3e5e4; }
.closing-band .button { background: #fff; color: var(--teal-deep); border-color: #fff; flex-shrink: 0; }
.closing-band .button:hover { background: #dceeed; border-color: #dceeed; }
.closing-band .button:focus-visible { outline-color: #c7e6e3; }
body .course-intro-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; padding: 22px 24px; background: var(--pale); border-radius: 6px; margin-bottom: 0; color: var(--ink); }
.course-intro-meta > div:first-child { grid-column: 1 / -1; }
.course-intro-meta dt { color: var(--muted); font-size: 12px; margin-bottom: 5px; }
.course-intro-meta dd { margin: 0; font-size: 16px; font-weight: 650; line-height: 1.5; }
.course-intro img { aspect-ratio: 1.15; }
.course-booking-card { border-top: 3px solid var(--teal); border-radius: 6px; }
body .booking-page > div > h1 { font-size: clamp(1.875rem, 3vw, 2.5rem); }
.booking-page { padding-top: 28px; }
.booking-page .eyebrow { margin-bottom: 12px; }
.booking-page .booking-course-title { margin-top: 12px; }
.booking-page .demo-notice { max-width: none; padding-block: 12px; margin-block: 20px; }
.booking-layout { gap: 56px; margin-top: 28px; }
.wizard-steps { gap: 12px; border: 0; padding: 0; margin-bottom: 32px; }
body .wizard-steps li { flex: 1; padding: 14px 10px; border-bottom: 2px solid var(--line); font-size: 14px; }
.wizard-steps li[aria-current=step] { background: var(--pale); border-bottom-color: var(--teal); border-radius: 5px 5px 0 0; }
.wizard-steps li.is-complete { border-bottom-color: #85b4b4; }
.wizard-steps li > span:first-child { width: 30px; height: 30px; }
.booking-summary { border: 1px solid var(--line); background: var(--soft); padding: 24px; border-radius: 8px; }
.summary-image { width: 100%; height: 150px; object-fit: cover; border-radius: 4px; margin-bottom: 22px; }
.booking-summary #summary-title { font-weight: 650; color: var(--ink); }
.booking-summary dt { max-width: 145px; }
.field input, .field select, .field textarea { transition: border-color .2s, box-shadow .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 3px #087b800d; }
@media (max-width: 1100px) {
  .home-course-grid { grid-template-columns: 1fr 1fr; }
  .home-course-grid > .course-featured { grid-column: 1 / -1; grid-row: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .home-course-grid .course-featured .course-image { height: 100%; min-height: 340px; }
  .home-course-grid > .course-card:not(.course-featured) { display: flex; }
  .home-course-grid > .course-card:not(.course-featured) .course-image { height: 210px; min-height: 0; }
  .hero-caption { flex-wrap: wrap; gap: 6px 10px; }
  .hero-caption small { width: 100%; margin-left: 0; }
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-media { min-height: 580px; }
  body .hero h1 { font-size: 40px; }
  .hero-copy { padding-block: 48px; }
  .hero-caption { inset-inline: 16px; padding: 14px; }
  .academy-grid { gap: 36px; }
  .course-intro img { aspect-ratio: 1.8; }
  .summary-image { height: 180px; }
}
@media (max-width: 600px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding-block: 40px; }
  body .hero h1 { font-size: clamp(2.15rem, 9vw, 2.6rem); max-width: 15ch; }
  .hero-media { min-height: 320px; height: 320px; margin-inline: -20px; }
  .hero-caption { inset: auto 20px 16px; font-size: 13px; }
  .hero-caption small { width: auto; margin-left: auto; font-size: 11px; }
  .section-heading { margin-bottom: 28px; }
  .home-course-grid { grid-template-columns: 1fr; }
  .home-course-grid > .course-featured { grid-column: auto; display: flex; }
  .home-course-grid .course-featured .course-image { min-height: 0; height: 240px; }
  .home-course-grid .course-featured .course-body { padding: 24px; }
  body .home-course-grid .course-featured h3 { font-size: 26px; }
  .home-course-grid > .course-card:not(.course-featured) .course-description { display: block; }
  .academy-section, .questions-section { padding-block: 56px; }
  .academy-grid { grid-template-columns: 1fr; gap: 36px; }
  .academy-media::after { left: -7px; bottom: -7px; width: 48px; height: 48px; }
  .participation-steps { gap: 28px; }
  .step-number { font-size: 25px; margin-bottom: 12px; }
  .closing-section { padding-block: 48px; gap: 28px; align-items: flex-start; }
  .course-intro { padding-top: 28px; }
  body .course-intro-meta { padding: 20px; gap: 16px 20px; }
  .course-intro-meta dd { font-size: 15px; }
  .booking-layout { gap: 32px; }
  body .wizard-steps { flex-wrap: nowrap; gap: 6px; }
  body .wizard-steps li { font-size: 12px; padding: 10px 3px; gap: 5px; }
  .wizard-steps li > span:first-child { width: 23px; height: 23px; font-size: 12px; }
  .booking-summary { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  .closing-band, .hero-caption { display: none; }
  .course-intro-meta { background: none; padding: 0; }
}
