:root {
  --ink: #173f3c;
  --green: #285b49;
  --soft: #f3f5ef;
  --muted: #52655f;
  --line: #d9e2d6;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font-family: "Trebuchet MS", sans-serif;
  letter-spacing: 0;
}
a {
  color: inherit;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
figure {
  margin: 0;
  min-width: 0;
}
section[id],
main[id] {
  scroll-margin-top: 88px;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 12px;
  background: white;
}
.skip-link:focus {
  top: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #0f172a;
  color: #e2e8f0;
  border-bottom: 1px solid #ffffff20;
}
.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header-inner img,
.site-footer img {
  width: 160px;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.desktop-nav,
.header-actions {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 14px;
}
.site-header a {
  text-decoration: none;
}
.site-header a:hover,
.site-header [aria-current] {
  color: #99f6e4;
}
.mobile-menu {
  display: none;
  position: relative;
}
.mobile-menu summary {
  cursor: pointer;
  padding: 9px 12px;
  border: 1px solid #ffffff40;
  border-radius: 8px;
}
.mobile-menu nav {
  position: absolute;
  right: 0;
  top: 48px;
  width: 230px;
  background: #0f172a;
  border: 1px solid #ffffff30;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 12px 24px #0003;
}
.mobile-menu nav a {
  display: block;
  padding: 10px 12px;
}
.ortho-hero {
  background: var(--ink);
  color: white;
  padding: 64px 24px 48px;
}
.hero-inner {
  max-width: 1280px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 44px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 16px;
}
.ortho-hero .eyebrow,
.contact-section .eyebrow {
  color: #b9d5c7;
}
/* main: o reset do Tailwind CDN entra depois desta folha e zera h1/h2. */
main h1,
main h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  text-wrap: balance;
}
main h1 {
  font-size: 48px;
  line-height: 1.12;
  margin: 0 0 20px;
}
main h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 24px;
}
main h3 {
  font-size: 20px;
  line-height: 1.35;
  margin: 12px 0;
}
p {
  line-height: 1.75;
}
.hero-lead {
  font-size: 22px;
  line-height: 1.4;
}
.ortho-hero figure img {
  border: 1px solid #ffffff30;
  border-radius: 8px;
  width: 100%;
}
figcaption {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
}
.ortho-hero figcaption,
.hero-note {
  color: #c7d8d0;
}
.hero-note {
  font-size: 13px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 18px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}
.button-primary {
  background: #dce9d4;
  color: var(--ink);
  border: 1px solid #dce9d4;
}
.button-primary:hover {
  background: white;
}
.button-outline {
  border: 1px solid #ffffff70;
  color: white;
}
.button-outline:hover {
  background: #ffffff15;
}
.section {
  padding: 72px 24px;
}
.section-white {
  background: white;
}
.section-soft {
  background: var(--soft);
}
.content {
  max-width: 1152px;
  margin: auto;
}
.narrow {
  max-width: 760px;
}
.intro {
  max-width: 760px;
  font-size: 18px;
  color: var(--muted);
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.benefits article {
  padding-top: 20px;
  border-top: 2px solid var(--line);
}
.benefits p,
.clinical-notes p,
.faq p {
  color: var(--muted);
}
.step {
  font-size: 13px;
  color: var(--green);
}
.video-figure {
  margin-top: 32px;
}
.video-figure video,
.video-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 1000;
  object-fit: contain;
  background: #e8ede5;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.video-figure video {
  aspect-ratio: 16 / 9;
  background-image: url("/assets/demos/clinicas/desktop-record.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.video-figure figcaption,
.note {
  color: var(--muted);
}
.clinical-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  margin-top: 36px;
}
.note {
  font-size: 13px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.faq {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1.5;
}
.contact-section {
  background: var(--ink);
  color: white;
  text-align: center;
}
.contact-section .button {
  margin-top: 16px;
}
.contact-number {
  font-size: 13px;
  color: #c7d8d0;
}
.site-footer {
  padding: 48px 24px 24px;
  background: #020617;
  color: #94a3b8;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
.site-footer h2 {
  font-family: inherit;
  font-size: 16px;
  color: white;
  font-weight: 700;
  margin: 0 0 16px;
}
.site-footer nav a {
  display: block;
  margin: 12px 0;
  text-decoration: none;
}
.site-footer nav a:hover {
  color: white;
}
.copyright {
  border-top: 1px solid #ffffff20;
  padding-top: 24px;
  margin-top: 32px;
  font-size: 12px;
}
.signup-header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 6px;
  background: #0f766e;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.signup-header-link:hover {
  background: #115e59;
  color: #fff;
}
.signup-header-link:focus-visible {
  outline: 3px solid #99f6e4;
  outline-offset: 3px;
}
@media (max-width: 1000px) {
  .desktop-nav {
    gap: 14px;
  }
  .hero-inner {
    gap: 28px;
  }
  main h1 {
    font-size: 40px;
  }
}
@media (max-width: 800px) {
  .header-inner {
    gap: 10px;
  }
  .header-inner > a {
    flex-shrink: 0;
  }
  .header-inner img {
    width: 110px;
    height: 48px;
  }
  .header-actions {
    gap: 10px;
  }
  .desktop-nav,
  .login-link {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-inner > div {
    max-width: 660px;
  }
  .ortho-hero {
    padding-top: 40px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .clinical-notes {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .header-inner {
    padding: 0 20px;
  }
  .ortho-hero,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  main h1 {
    font-size: 36px;
  }
  main h2 {
    font-size: 28px;
  }
  .actions .button {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
