:root {
  color-scheme: dark;
  --bg: #080a0c;
  --ink: #f4f2ec;
  --muted: #b7b0a4;
  --line: rgba(244, 242, 236, 0.14);
  --panel: #121619;
  --panel-2: #191d20;
  --accent: #58d5d0;
  --accent-2: #d8b35c;
  --warm: #efe4d2;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(88, 213, 208, 0.11), transparent 26rem),
    radial-gradient(circle at 84% 10%, rgba(216, 179, 92, 0.1), transparent 28rem),
    linear-gradient(180deg, #0c1012 0%, var(--bg) 48%, #101111 100%);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 96px;
  content: "";
  mask-image: linear-gradient(180deg, black, transparent 82%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 10, 12, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--warm), #65d7d2);
  color: #07100f;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  gap: 26px;
  color: #ddd8ce;
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a,
.site-footer a {
  transition: color 180ms ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 900;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.header-cta {
  padding: 0 18px;
  background: var(--warm);
  color: #0a0d0f;
  font-size: 0.9rem;
}

.button {
  padding: 0 22px;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), #70aee9);
  color: #06100f;
  box-shadow: 0 16px 44px rgba(88, 213, 208, 0.24);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

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

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 0.92fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  width: 100%;
  min-height: 94vh;
  margin: 0 auto;
  padding: 126px max(20px, calc((100% - 1180px) / 2)) 62px;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.78) 0%, rgba(8, 10, 12, 0.58) 42%, rgba(8, 10, 12, 0.94) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.22), #080a0c 97%),
    url("assets/exame-baroscan.jpg") center / cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 112px, 112px 100%;
  content: "";
  opacity: 0.55;
  mask-image: linear-gradient(180deg, black 10%, transparent 95%);
}

.hero-media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(18, 22, 25, 0.62);
  box-shadow: var(--shadow);
  transform: translateY(34px);
  backdrop-filter: blur(10px);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.78));
  content: "";
}

.media-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  width: min(260px, calc(100% - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 10, 12, 0.72);
  backdrop-filter: blur(14px);
}

.media-label span,
.media-label strong {
  display: block;
}

.media-label span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.media-label strong {
  font-size: 1.7rem;
  line-height: 1.05;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 5.9vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.hero-text,
.section-heading p,
.showcase-copy p,
.professor-copy p,
.offer-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0;
}

.method::before,
.content::before,
.professor::before {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 8px;
  background-position: center;
  background-size: cover;
  content: "";
  filter: saturate(1.25);
  opacity: 0.13;
}

.method::before {
  top: 38px;
  right: -70px;
  width: 390px;
  height: 300px;
  background-image:
    linear-gradient(90deg, rgba(8, 10, 12, 0.18), #080a0c 78%),
    url("assets/pe-esquerdo-forca-crop.png");
}

.content::before {
  top: 72px;
  left: -70px;
  width: 430px;
  height: 210px;
  background-image:
    linear-gradient(90deg, #080a0c 12%, rgba(8, 10, 12, 0.08), #080a0c 88%),
    url("assets/comparativo-dinamico-crop.png");
}

.professor::before {
  right: -84px;
  bottom: 42px;
  width: 360px;
  height: 260px;
  background-image:
    linear-gradient(90deg, rgba(8, 10, 12, 0.1), #080a0c 82%),
    url("assets/pressao-passo.png");
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.method-grid article,
.module-list article,
.price-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.method-grid article {
  min-height: 250px;
  padding: 26px;
}

.method-grid span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(88, 213, 208, 0.13);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
}

.method-grid p,
.module-list h3 {
  color: var(--muted);
}

.showcase {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 104px max(20px, calc((100% - 1180px) / 2));
  background:
    linear-gradient(90deg, rgba(88, 213, 208, 0.1), transparent 45%),
    #111619;
}

.showcase::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #111619 0%, rgba(17, 22, 25, 0.82) 45%, #111619 100%),
    url("assets/barosys-visao-geral-crop.png") center / cover;
  content: "";
  opacity: 0.18;
}

.showcase-copy {
  max-width: 900px;
  margin-bottom: 36px;
  text-align: left;
}

.showcase-copy p {
  max-width: 720px;
  margin-bottom: 0;
}

.analysis-wall {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 16px;
}

.analysis-wall figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.26);
}

.analysis-wall img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.analysis-large {
  grid-row: span 2;
}

.analysis-large img {
  height: 542px;
}

figcaption {
  padding: 14px 16px 16px;
  color: #d6d1c8;
  font-size: 0.92rem;
  font-weight: 700;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 12px;
}

.module-list article {
  min-height: 180px;
  padding: 20px;
}

.module-list span {
  display: block;
  margin-bottom: 38px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.professor {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.portrait {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050607;
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 24%;
}

.professor-copy {
  max-width: 720px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.stats span {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-weight: 800;
}

.stats strong {
  display: block;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1;
}

.offer {
  padding-top: 40px;
  padding-bottom: 120px;
}

.offer-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 38px;
  align-items: center;
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(88, 213, 208, 0.14), rgba(216, 179, 92, 0.08)),
    var(--panel);
  box-shadow: var(--shadow);
}

.price-box {
  padding: 28px;
  background: rgba(8, 10, 12, 0.5);
}

.price-box span,
.price-box small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.price-box strong {
  display: block;
  margin: 8px 0 2px;
  font-size: clamp(3rem, 7vw, 4.9rem);
  line-height: 0.96;
}

.price-box small {
  margin-bottom: 22px;
}

.full {
  width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.sticky-buy {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 30;
  display: none;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--accent), #70aee9);
  color: #06100f;
  font-weight: 900;
  box-shadow: 0 14px 38px rgba(88, 213, 208, 0.28);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .hero,
  .professor,
  .offer-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
    gap: 44px;
    padding-right: max(20px, calc((100% - 1180px) / 2));
    padding-left: max(20px, calc((100% - 1180px) / 2));
  }

  .hero-media {
    min-height: 520px;
    order: 2;
  }

  .hero-media img {
    min-height: 520px;
  }

  .method-grid {
    grid-template-columns: 1fr 1fr;
  }

  .analysis-wall {
    grid-template-columns: 1fr;
  }

  .analysis-large {
    grid-row: auto;
  }

  .analysis-large img,
  .analysis-wall img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }

  .module-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-box {
    max-width: 470px;
  }
}

@media (max-width: 680px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand > span:last-child {
    min-width: 0;
  }

  .brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .section,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    width: 100%;
    min-height: auto;
    padding-top: 102px;
    padding-right: 14px;
    padding-bottom: 52px;
    padding-left: 14px;
    background:
      linear-gradient(180deg, rgba(8, 10, 12, 0.74) 0%, rgba(8, 10, 12, 0.88) 48%, #080a0c 100%),
      url("assets/exame-baroscan.jpg") 45% center / cover;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: 1;
  }

  h2 {
    font-size: clamp(1.9rem, 9.5vw, 3rem);
    line-height: 1.04;
  }

  .hero-text,
  .section-heading p,
  .showcase-copy p,
  .professor-copy p,
  .offer-panel p {
    font-size: 1rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .hero-media img {
    object-position: center;
  }

  .hero-media {
    transform: none;
  }

  .method::before,
  .content::before,
  .professor::before {
    opacity: 0.08;
    right: auto;
    left: 0;
    width: 100%;
  }

  .method-grid,
  .module-list,
  .stats {
    grid-template-columns: 1fr;
  }

  .section,
  .showcase {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .showcase {
    padding-right: 14px;
    padding-left: 14px;
  }

  .analysis-wall figure {
    overflow: hidden;
  }

  .analysis-wall img,
  .analysis-large img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .module-list article {
    min-height: 132px;
  }

  .module-list span {
    margin-bottom: 24px;
  }

  .offer {
    padding-bottom: 92px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .sticky-buy {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .sticky-buy.is-active {
    display: inline-flex;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 0.84rem;
  }

  .media-label strong {
    font-size: 1.45rem;
  }

  .price-box {
    padding: 22px;
  }

  .price-box strong {
    font-size: 2.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
