/* Shared heading scale based on Energia Solar. Body copy and navigation retain their page styles. */
@font-face {
  font-family: "Solid Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../../media/spa-banheiras/fonts/space-grotesk-e911c2d9.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Solid Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../../media/spa-banheiras/fonts/space-grotesk-a57c9413.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.site-type {
  --title-hero: clamp(39px, 5vw, 66px);
  --title-section: clamp(36px, 4vw, 52px);
  --title-feature: clamp(45px, 5.3vw, 68px);
  --title-subsection: clamp(32px, 3vw, 38px);
  --title-card: 24px;
}

body.site-type :is(h1, h2, h3, h4) {
  font-family: "Solid Space Grotesk", "Space Grotesk", Arial, sans-serif;
  font-weight: 600;
  text-wrap: balance;
}
body.site-type :is(h1, h2, h3, h4) em {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  line-height: inherit;
  letter-spacing: inherit;
}
body.site-type h1 {
  font-size: var(--title-hero);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
body.site-type h2 {
  font-size: var(--title-section);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
body.site-type h3 {
  font-size: var(--title-card);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
body.site-type h4 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* The original top menus ranged from 10px to 12px across pages. */
body.site-type .site-header nav a {
  font-size: clamp(12px, 1vw, 14px);
}
body.site-type .site-header .header-cta {
  font-size: 13px;
  font-family: inherit;
  border-radius: 0;
}

/* Section roles are more reliable than the heading level in the source pages. */
body.site-type :is(.premium-installation, .quality-section) h2,
body.site-type .final-intro h2,
body.site-type .faq-intro h2,
body.site-type .final-cta-content h2 {
  font-size: var(--title-feature);
  line-height: 1;
}
body.site-type :is(.faq, .multi-step-header, .archclass) h2,
body.site-type .presenter-intro h2 {
  font-size: 32px;
  line-height: 1.1;
}
body.site-type :is(.heating-copy, .heat-story, .spa-gallery-header, .spa-video-feature) h3,
body.site-type .step-panel-body h3,
body.site-type .config-card h3 {
  font-size: var(--title-subsection);
  line-height: 1.1;
}
body.site-type .spa-overlay h3,
body.site-type .product-copy h3.product-title {
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1.04;
}
body.site-type :is(.hotel-case, .archclass-card) h3 {
  font-size: clamp(30px, 3vw, 38px);
  line-height: 1.1;
}
body.site-type :is(.model-title-row, .bathtub-title-row) h3 {
  font-size: 29px;
  line-height: 1.15;
}
body.site-type .bathtub-title-row h3 { font-size: 22px; }
body.site-type .decision-row h3 { font-size: 24px; font-weight: 600; }

@media (max-width: 620px) {
  body.site-type {
    --title-hero: 39px;
    --title-section: 36px;
    --title-feature: 45px;
    --title-subsection: 32px;
  }
  body.site-type :is(.faq, .multi-step-header, .archclass) h2,
  body.site-type .presenter-intro h2 { font-size: 32px; }
  body.site-type .product-copy h3.product-title { font-size: 38px; }
  body.site-type .site-header nav a { font-size: 14px; }
  body.site-type .site-header .header-cta { font-size: 12px; }
  body.site-type .site-header:has(.menu-toggle) { gap: 10px; }
  body.site-type .site-header:has(.menu-toggle) .header-cta {
    gap: 8px;
    padding-inline: 8px;
  }
}

@media (max-width: 360px) {
  body.site-type .site-header:has(.menu-toggle) .brand > span { display: none; }
  body.site-type .business-heading h2 { font-size: 32px; }
}
