/* Santa Casa Saúde · campanha comercial com assinatura ABR */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/sora-700-latin.woff2") format("woff2");
}

:root {
  --abr-primary: #0f6f9f;
  --abr-primary-strong: #064866;
  --abr-primary-soft: #dceff8;
  --abr-secondary: #176f8c;
  --abr-secondary-strong: #0b5870;
  --abr-secondary-soft: #e4f6fb;
  --abr-accent: #62c4d6;
  --abr-accent-strong: #2a91a8;
  --abr-accent-soft: #ebfafd;
  --abr-background: #f3f9fc;
  --abr-surface: #ffffff;
  --abr-surface-warm: #edf7fa;
  --abr-text: #10384b;
  --abr-muted: #4b6c7b;
  --abr-border: #c9e1ea;
  --abr-border-strong: #84aebf;
  --abr-success: #167458;
  --abr-success-soft: #e3f3ec;
  --abr-warning: #a85f00;
  --abr-warning-soft: #fff3dc;
  --abr-error: #b3261e;
  --abr-error-soft: #fdecea;
  --abr-focus: #62c4d6;
  --abr-whatsapp: #13795b;
  --abr-white: #ffffff;
  --abr-shadow-sm: 0 8px 24px rgba(7, 87, 125, 0.09);
  --abr-shadow-md: 0 18px 48px rgba(7, 87, 125, 0.14);
  --abr-radius-sm: 0.625rem;
  --abr-radius-md: 1rem;
  --abr-radius-lg: 1.5rem;
  --abr-radius-xl: 2rem;
  --abr-container: 76rem;
  --abr-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  color: var(--abr-text);
  background: var(--abr-background);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--abr-primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

p {
  max-width: 72ch;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
label,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

::selection {
  color: var(--abr-white);
  background: var(--abr-primary-strong);
}

:focus-visible {
  outline: 3px solid var(--abr-focus);
  outline-offset: 3px;
}

::-webkit-scrollbar {
  width: 0.75rem;
}

::-webkit-scrollbar-track {
  background: var(--abr-primary-soft);
}

::-webkit-scrollbar-thumb {
  border: 3px solid var(--abr-primary-soft);
  border-radius: 999px;
  background: var(--abr-secondary);
}

.container {
  width: min(100% - 2rem, var(--abr-container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--abr-radius-sm);
  color: var(--abr-white);
  background: var(--abr-primary);
  transform: translateY(-180%);
  transition: transform 180ms var(--abr-ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  stroke-width: 1.8;
}

.button {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.75rem 1.125rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms var(--abr-ease), background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--abr-white);
  background: var(--abr-secondary);
  box-shadow: 0 9px 24px rgba(20, 127, 181, 0.24);
}

.button-primary:hover {
  background: var(--abr-secondary-strong);
}

.button-secondary {
  color: var(--abr-primary);
  border-color: var(--abr-border-strong);
  background: rgba(255, 255, 255, 0.76);
}

.button-secondary:hover {
  border-color: var(--abr-primary);
  background: var(--abr-white);
}

.button-dark {
  color: var(--abr-white);
  background: var(--abr-primary);
}

.button-dark:hover {
  background: var(--abr-primary-strong);
}

.button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

@media (min-width: 48rem) {
  .container {
    width: min(100% - 4rem, var(--abr-container));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
