:root {
  --bg: #000;
  --bg-2: #05070d;
  --panel: rgba(3, 7, 15, 0.82);
  --panel-strong: rgba(5, 10, 18, 0.94);
  --line: rgba(233, 233, 233, 0.13);
  --line-strong: rgba(59, 210, 226, 0.36);
  --text: #f4fbff;
  --muted: #a8b8c7;
  --muted-2: #6d7f92;
  --cyan: #17d7dc;
  --blue: #1588f2;
  --teal: #00e0ba;
  --violet: #8e6cff;
  --amber: #ffd166;
  --rose: #ff6ba8;
  --radius: 8px;
  --radius-lg: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --font: "Outfit", Arial, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #000;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background: #000;
  opacity: 0.94;
}

.ambient-grid {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.8px),
    radial-gradient(circle at 74% 42%, rgba(146, 106, 255, 0.1), transparent 36%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.54) 82%, #000 100%);
  background-size: 4px 4px, 100% 100%, 100% 100%;
  opacity: 0.5;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  gap: 14px;
  align-content: center;
  background: #030713;
  transition: opacity 500ms ease, visibility 500ms ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(23, 215, 220, 0.5));
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader span {
  font-size: 1.55rem;
  font-weight: 800;
}

.loader small {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

@keyframes loaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.76;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 40px;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0));
  backdrop-filter: blur(10px);
  transition: background 220ms ease, border-color 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding-block: 15px;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(23, 215, 220, 0.36));
}

.brand-text {
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 700;
  line-height: 1;
}

.brand-text span {
  color: var(--cyan);
}

.main-nav,
.header-actions,
.footer-links {
  display: flex;
  align-items: center;
}

.main-nav {
  gap: 32px;
}

.main-nav a,
.login-link,
.footer-links a {
  color: rgba(244, 251, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a:hover,
.login-link:hover,
.footer-links a:hover {
  color: var(--text);
}

.header-actions {
  gap: 12px;
}

.btn {
  --btn-bg: rgba(255, 255, 255, 0.08);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
  background: var(--btn-bg);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #189b81;
  clip-path: ellipse(120% 180% at 50% 310%);
  transition: clip-path 650ms cubic-bezier(0.19, 1, 0.22, 1);
}

.btn:hover::after {
  clip-path: ellipse(120% 180% at 50% 60%);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-primary {
  color: #fff;
  border-color: rgba(146, 106, 255, 0.55);
  background: #8052ff;
  box-shadow: 0 16px 40px rgba(128, 82, 255, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 20px 60px rgba(23, 215, 220, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.btn-large {
  min-height: 54px;
  padding-inline: 28px;
}

.btn-small {
  min-height: 36px;
  padding-inline: 16px;
  font-size: 0.76rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

main,
.site-footer,
.cookie-notice {
  position: relative;
  z-index: 2;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-canvas {
  position: relative;
  min-height: 100vh;
  padding: 120px 0;
  scroll-margin-top: 88px;
}

.hero {
  display: flex;
  align-items: center;
  padding-top: 128px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.55fr);
  gap: 80px;
  align-items: end;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  max-width: 820px;
  font-size: 7rem;
  font-weight: 400;
  line-height: 0.92;
}

h1 span,
.final-cta h2 span {
  color: var(--cyan);
}

.hero-lede {
  max-width: 610px;
  color: rgba(244, 251, 255, 0.82);
  font-size: 1.24rem;
  line-height: 1.56;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 16px;
}

.trial-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hero-metric {
  min-height: 136px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 11, 24, 0.64);
  backdrop-filter: blur(16px);
}

.hero-metric strong {
  display: block;
  color: var(--text);
  font-size: 2.2rem;
  font-weight: 800;
}

.hero-metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  text-transform: uppercase;
}

.signal-strip {
  position: relative;
  z-index: 4;
  padding: 28px 0;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 5, 16, 0.76);
  backdrop-filter: blur(16px);
}

.strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
}

.strip-inner span {
  color: rgba(244, 251, 255, 0.78);
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 56px;
}

.section-heading.compact {
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 20px;
  font-size: 5.25rem;
  font-weight: 400;
  line-height: 0.96;
}

.section-heading p:not(.eyebrow),
.solution-copy p:not(.eyebrow),
.security-inner > div > p {
  color: rgba(244, 251, 255, 0.74);
  font-size: 1.15rem;
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.demo-card,
.steps article,
.results-grid article,
.team-note,
.team-card,
.feature-grid article,
.exam-grid article,
.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.demo-card {
  padding: 28px;
}

.card-kicker {
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.demo-card h3,
.steps h3,
.results-grid h3,
.feature-grid h3,
.exam-grid h3,
.price-card h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 700;
}

.prompt-line,
.attachment-line {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(244, 251, 255, 0.86);
}

.prompt-or {
  margin: 12px 0;
  color: var(--muted-2);
  font-family: var(--mono);
  text-align: center;
}

.input-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.input-tabs span {
  padding: 7px 10px;
  border: 1px solid rgba(23, 215, 220, 0.24);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.report-window {
  height: 392px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(23, 215, 220, 0.18);
  border-radius: var(--radius);
  background: rgba(2, 9, 19, 0.82);
  color: rgba(244, 251, 255, 0.82);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.report-window p {
  margin-bottom: 14px;
}

.manifesto {
  display: flex;
  align-items: center;
}

.manifesto-inner {
  max-width: 1080px;
}

.manifesto h2 {
  max-width: 780px;
}

.manifesto-lines {
  display: grid;
  gap: 34px;
  margin-top: 48px;
}

.manifesto-lines p {
  max-width: 980px;
  color: rgba(244, 251, 255, 0.92);
  font-size: 2.55rem;
  line-height: 1.18;
}

.solution {
  display: flex;
  align-items: center;
}

.solution .section-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.steps article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px 18px;
  align-items: start;
  padding: 24px;
}

.steps article span {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(23, 215, 220, 0.42);
  border-radius: 999px;
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 700;
}

.steps article p,
.results-grid p,
.team-note p,
.doctor-info p,
.doctor-info li,
.feature-grid p,
.exam-grid p,
.price-card p,
.price-card li {
  color: var(--muted);
}

.steps article p {
  grid-column: 2;
  margin: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.results-grid article {
  min-height: 286px;
  padding: 24px;
}

.results-grid strong {
  display: block;
  margin-bottom: 42px;
  color: var(--cyan);
  font-size: 2.8rem;
  line-height: 1;
}

.team {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.team .section-inner {
  width: min(1280px, calc(100% - 48px));
}

.team-head {
  display: grid;
  grid-template-columns: 1fr 0.46fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 18px;
}

.team-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.team-head > p {
  color: rgba(244, 251, 255, 0.74);
  font-size: 1.05rem;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 44px;
  align-items: stretch;
}

.team-note {
  display: flex;
  flex-direction: column;
  min-height: 600px;
  padding: 86px 0 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.team-note h3 {
  margin-bottom: 16px;
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1.08;
}

.team-controls {
  display: flex;
  gap: 10px;
  margin-top: auto;
  justify-content: center;
}

.team-control {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #8052ff;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.team-control:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 215, 220, 0.5);
  background: rgba(23, 215, 220, 0.12);
}

.team-slider {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 28px max(0px, calc((100vw - 1280px) / 2)) 74px 0;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.team-slider::-webkit-scrollbar {
  display: none;
}

.team-card {
  flex: 0 0 clamp(310px, 30vw, 392px);
  min-height: 650px;
  overflow: hidden;
  scroll-snap-align: center;
  opacity: 1;
  transform: scale(0.9);
  filter: grayscale(0.12) brightness(0.62);
  cursor: pointer;
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease, border-color 260ms ease, background 260ms ease;
}

.team-card.is-active {
  border-color: rgba(23, 215, 220, 0.54);
  background: rgba(5, 10, 18, 0.98);
  opacity: 1;
  transform: scale(1);
  filter: none;
}

.doctor-photo {
  height: 338px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: saturate(1.02) contrast(1.03);
}

.team-card:nth-child(2) .doctor-photo img {
  object-position: center 14%;
}

/* Foto do Dr. Roberto (retrato quadrado, cabeça e ombros): centraliza o rosto no card */
.team-card:nth-child(1) .doctor-photo img {
  object-position: center 40%;
}

.doctor-info {
  padding: 26px;
}

.doctor-role {
  margin-bottom: 10px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.doctor-info h3 {
  margin-bottom: 12px;
  font-size: 1.75rem;
  line-height: 1.05;
}

.crm-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 215, 220, 0.28);
  border-radius: 999px;
  background: rgba(23, 215, 220, 0.08);
  color: rgba(244, 251, 255, 0.86);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.doctor-info ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.doctor-info li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
}

.doctor-info li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.validation {
  display: flex;
  align-items: center;
}

.validation-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 66px;
  align-items: center;
}

.validation-text {
  max-width: 560px;
}

.validation-text > p:not(.eyebrow) {
  color: rgba(244, 251, 255, 0.76);
  font-size: 1.12rem;
}

.validation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.validation-grid article {
  min-height: 258px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 7, 15, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.pyramid-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 52px;
  margin-bottom: 30px;
  transform: rotate(-12deg);
}

.pyramid-icon::before,
.pyramid-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 4%, 94% 84%, 7% 72%);
  border: 2px solid var(--amber);
}

.pyramid-icon::after {
  inset: 12px 10px 8px;
  border-color: var(--violet);
  opacity: 0.88;
}

.validation-grid h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.validation-grid p {
  margin: 0;
  color: var(--muted);
}

.feature-grid,
.exam-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article,
.exam-grid article {
  min-height: 236px;
  padding: 22px;
}

.feature-mark {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 28px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 18px rgba(23, 215, 220, 0.32);
}

.exam-grid article {
  min-height: 184px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 650px;
  padding: 28px;
}

.price-card.featured {
  border-color: rgba(23, 215, 220, 0.52);
  background: rgba(9, 25, 42, 0.9);
}

.popular {
  width: max-content;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(23, 215, 220, 0.12);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price {
  margin: 22px 0;
  color: var(--text);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
}

.price-card li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.security {
  min-height: 76vh;
  display: flex;
  align-items: center;
}

.security-inner {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 60px;
  align-items: center;
}

.security-list {
  display: grid;
  gap: 14px;
}

.security-list span {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: rgba(244, 251, 255, 0.82);
  font-weight: 700;
}

.final-cta {
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.final-cta .section-inner {
  max-width: 900px;
}

.cta-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(23, 215, 220, 0.5));
}

.final-cta h2 {
  margin-bottom: 18px;
}

.final-cta p {
  max-width: 620px;
  margin: 0 auto 30px;
  color: rgba(244, 251, 255, 0.76);
  font-size: 1.18rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(2, 5, 16, 0.88);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px 0;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  gap: 18px;
}

.cookie-notice {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 430px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 12, 24, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.cookie-notice.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}

.cookie-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 1100px) {
  .site-header {
    padding-inline: 24px;
  }

  .main-nav {
    gap: 18px;
  }

  h1 {
    font-size: 4.9rem;
  }

  h2 {
    font-size: 3.8rem;
  }

  .hero-inner,
  .solution .section-inner,
  .team-head,
  .team-layout,
  .validation-inner,
  .security-inner {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .results-grid,
  .feature-grid,
  .exam-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid,
  .validation-grid,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .team-note {
    padding-top: 0;
    min-height: auto;
  }

  .price-card {
    min-height: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(3, 7, 19, 0.96);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.menu-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 16px;
    border-radius: var(--radius);
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .login-link,
  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Header compacto no mobile: o padding de 26px (desktop) deixava ~97px de
     altura e o conteudo do hero passava por baixo do header fixo. */
  .site-header {
    padding: 14px 24px;
  }

  .site-header.is-scrolled {
    padding-block: 12px;
  }

  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .section-canvas {
    min-height: auto;
    padding: 88px 0;
  }

  .hero {
    min-height: 100vh;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .hero-lede,
  .section-heading p:not(.eyebrow),
  .solution-copy p:not(.eyebrow),
  .security-inner > div > p {
    font-size: 1.02rem;
  }

  .manifesto-lines p {
    font-size: 1.72rem;
  }

  .hero-panel,
  .results-grid,
  .steps,
  .validation-grid,
  .team-slider,
  .feature-grid,
  .exam-grid {
    grid-template-columns: 1fr;
  }

  .hero-metric {
    min-height: 112px;
  }

  .strip-inner {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .steps article {
    grid-template-columns: 1fr;
  }

  .steps article p {
    grid-column: auto;
  }

  .team-head {
    gap: 18px;
  }

  .team-slider {
    gap: 14px;
    display: flex;
  }

  .team-card {
    flex-basis: min(82vw, 360px);
    min-height: auto;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .doctor-photo {
    height: 340px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .cookie-notice {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 11px 16px;
  }

  .brand img {
    width: 32px;
    height: 32px;
  }

  .brand-text {
    font-size: 1.12rem;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.28rem;
  }

  .hero-ctas,
  .hero-ctas .btn,
  .final-cta .btn {
    width: 100%;
  }

  .demo-card,
  .price-card,
  .feature-grid article,
  .exam-grid article,
  .results-grid article {
    padding: 20px;
  }

  .report-window {
    height: 340px;
    padding: 18px;
  }

  .price {
    font-size: 2.35rem;
  }

  .cookie-notice {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
