:root {
  --night: #111316;
  --night-soft: #1a1e22;
  --paper: #f6f5f2;
  --text: #f4f4f1;
  --muted: #b7bdc0;
  --ink: #151719;
  --cobalt: #1751e9;
  --line-dark: rgba(255,255,255,.28);
  --line-light: rgba(21,23,25,.24);
  --font-display: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--font-body); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--cobalt); color: white; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: white; color: var(--ink); }
.skip-link:focus { top: 12px; }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; right: 0; height: 94px; padding: 0 clamp(24px,4.5vw,72px); display: flex; align-items: center; justify-content: space-between; color: white; }
.wordmark { font-family: var(--font-display); font-size: 25px; font-weight: 300; letter-spacing: .42em; text-decoration: none; line-height: 1; }
.wordmark span { color: var(--cobalt); letter-spacing: 0; }
.main-nav { display: flex; align-items: center; gap: clamp(24px,3vw,48px); font-family: var(--font-display); font-size: 15px; font-weight: 400; letter-spacing: .11em; }
.main-nav a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.main-nav a:not(.nav-cta):hover, .main-nav a:not(.nav-cta):focus-visible { border-color: currentColor; }
.main-nav .nav-cta { background: var(--cobalt); color: white; padding: 15px 23px; display: inline-flex; align-items: center; gap: 26px; }
.main-nav .nav-cta:hover, .primary-cta:hover { background: #3267f2; }
.menu-toggle { display: none; }
.mobile-nav[hidden] { display: none; }

.hero { isolation: isolate; min-height: min(900px,100svh); display: grid; grid-template-columns: minmax(360px, .95fr) minmax(520px, 1.05fr); align-items: center; gap: clamp(30px,4vw,75px); position: relative; padding: 124px clamp(24px,4.5vw,72px) 82px; background: var(--night); color: var(--text); overflow: hidden; }
.hero-atmosphere { position: absolute; z-index: -1; inset: -10%; background: url('./assets/interior-antes-depois.jpg') center bottom / cover no-repeat; filter: blur(72px); opacity: .14; transform: scale(1.08); }
.hero-content { position: relative; z-index: 2; align-self: center; padding-bottom: 45px; }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 200; font-size: clamp(64px,7.6vw,132px); line-height: .86; letter-spacing: -.065em; white-space: nowrap; }
.hero h1 span { display: block; margin-top: .11em; }
.hero-content > p { max-width: 470px; margin: 36px 0 0; color: #e3e5e5; font-size: clamp(17px,1.5vw,22px); line-height: 1.52; font-weight: 400; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 42px; }
.primary-cta { min-height: 58px; display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; padding: 17px 22px; background: var(--cobalt); color: white; font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; font-weight: 500; line-height: 1.2; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.primary-cta:hover { transform: translateY(-2px); }
.primary-cta svg, .program-link svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; flex: none; }
.hero-price { color: #dadde0; font-family: var(--font-display); font-size: 15px; letter-spacing: .16em; white-space: nowrap; }
.hero-price strong { color: white; font-weight: 400; margin-left: .3em; }
.hero-visual { position: relative; width: 100%; max-width: 900px; justify-self: end; }
.comparison { position: relative; width: 100%; aspect-ratio: 8 / 5; overflow: hidden; background: #363b42; }
.compare-after, .compare-before { position: absolute; inset: 0; background-image: url('./assets/interior-antes-depois.jpg'); background-repeat: no-repeat; background-size: 100% 200%; }
.compare-after { background-position: center bottom; }
.compare-before { background-position: center top; clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.compare-line { position: absolute; z-index: 4; left: var(--split); top: 0; bottom: 0; width: 1px; background: white; transform: translateX(-50%); pointer-events: none; }
.compare-line > span { position: absolute; left: 50%; top: 50%; width: 49px; height: 49px; display: grid; place-items: center; transform: translate(-50%,-50%); border: 1px solid white; border-radius: 50%; background: rgba(17,19,22,.86); }
.compare-line svg { width: 28px; height: 28px; fill: none; stroke: white; stroke-width: 1.5; }
.compare-label { position: absolute; z-index: 3; bottom: 17px; color: white; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-shadow: 0 1px 6px #000; pointer-events: none; }
.compare-label-before { left: 20px; }
.compare-label-after { right: 20px; }
.comparison input { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparison:focus-within { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.image-credit { margin: 12px 0 0; text-align: right; color: #aeb5bb; font-size: 11px; letter-spacing: .02em; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; display: flex; align-items: center; gap: 12px; transform: translateX(-50%); font-family: var(--font-display); font-size: 10px; font-weight: 500; letter-spacing: .28em; text-decoration: none; white-space: nowrap; }
.scroll-cue span { display: block; width: 1px; height: 38px; background: white; }

.idea-section { background: #17191b; color: white; padding: clamp(85px,10vw,160px) clamp(24px,5vw,80px) clamp(90px,10vw,155px); }
.section-headline { display: grid; grid-template-columns: 1.4fr .6fr; gap: 8vw; align-items: end; margin-bottom: clamp(55px,8vw,115px); }
.section-headline h2, .program-intro h2, .closing-content h2 { margin: 0; font-family: var(--font-display); font-weight: 200; letter-spacing: -.058em; }
.section-headline h2 { font-size: clamp(56px,7.3vw,119px); line-height: .93; }
.section-headline h2 span { color: #8b9298; }
.section-headline p { max-width: 340px; margin: 0 0 9px; color: #c2c7ca; font-size: 17px; line-height: 1.6; }
.evidence-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,6vw,100px); align-items: start; }
.evidence-item { margin: 0; min-width: 0; }
.evidence-item-offset { margin-top: 90px; }
.evidence-pair { position: relative; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--image) center / cover no-repeat; }
.evidence-label { position: absolute; left: 17px; padding: 8px 10px; background: rgba(17,19,22,.72); color: white; font-family: var(--font-display); font-size: 10px; font-weight: 500; letter-spacing: .17em; }
.evidence-label-before { top: 17px; }
.evidence-label-after { top: calc(50% + 17px); }
.evidence-item figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-dark); margin-top: 16px; color: #c4c9cc; font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; }

.program-section { background: var(--paper); padding: clamp(90px,10vw,155px) clamp(24px,5vw,80px) clamp(90px,9vw,140px); }
.program-intro { display: flex; justify-content: space-between; gap: 70px; align-items: end; padding-bottom: clamp(52px,6vw,90px); }
.program-intro h2 { color: var(--ink); font-size: clamp(57px,7vw,108px); line-height: .95; }
.program-intro h2 span { color: #8e9396; }
.program-intro p { max-width: 345px; margin: 0 0 10px; color: #5d656a; font-size: 17px; line-height: 1.6; }
.program-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.program-list li { display: grid; grid-template-columns: 110px 1fr 35px; gap: 25px; align-items: center; min-height: 137px; border-bottom: 1px solid var(--line-light); }
.program-number { color: #596268; font-family: var(--font-display); font-size: clamp(43px,5vw,72px); font-weight: 200; line-height: 1; letter-spacing: -.045em; }
.program-list h3 { margin: 0 0 5px; font-family: var(--font-display); font-size: clamp(24px,2.5vw,34px); font-weight: 300; letter-spacing: .04em; }
.program-list p { margin: 0; color: #6a7074; font-size: 15px; }
.program-accent { width: 10px; height: 10px; justify-self: end; border: 1px solid var(--cobalt); transform: rotate(45deg); }
.program-link { display: inline-flex; gap: 24px; align-items: center; margin-top: 43px; padding-bottom: 9px; border-bottom: 1px solid var(--ink); font-family: var(--font-display); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-decoration: none; }
.program-link:hover { color: var(--cobalt); border-color: var(--cobalt); }

.closing-section { display: grid; grid-template-columns: minmax(270px,.48fr) minmax(0,1fr); min-height: 660px; background: var(--night); color: white; }
.closing-image { background: url('./assets/aerea-antes-depois.jpg') center bottom / auto 200% no-repeat; min-height: 660px; }
.closing-content { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(60px,6vw,98px) clamp(24px,5vw,80px) 55px; }
.closing-content h2 { font-size: clamp(63px,7vw,118px); line-height: .88; }
.closing-content h2 span { color: #96a2ab; }
.closing-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; padding-top: 23px; border-top: 1px solid var(--line-dark); }
.closing-bottom p { margin: 0; color: #c9ced1; font-family: var(--font-display); font-size: 11px; font-weight: 500; letter-spacing: .18em; line-height: 1.9; }
.closing-bottom strong { display: block; color: white; font-size: clamp(25px,3vw,42px); font-weight: 300; letter-spacing: .04em; white-space: nowrap; }
.closing-bottom .primary-cta { white-space: nowrap; }
.site-footer { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 17px clamp(24px,5vw,80px); background: #080a0b; color: #9ca4a8; font-family: var(--font-display); font-size: 11px; letter-spacing: .12em; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 160px; padding-bottom: 85px; gap: 65px; }
  .hero-content { padding-bottom: 0; }
  .hero h1 { font-size: clamp(74px,10vw,120px); }
  .hero-visual { width: min(100%,900px); justify-self: center; }
  .scroll-cue { display: none; }
  .section-headline { grid-template-columns: 1fr; gap: 30px; }
  .section-headline p { max-width: 650px; }
  .program-intro { display: block; }
  .program-intro p { max-width: 610px; margin-top: 25px; }
  .closing-section { grid-template-columns: .42fr .58fr; }
  .closing-content h2 { font-size: clamp(53px,6vw,88px); }
  .closing-bottom { align-items: start; flex-direction: column; }
}

@media (max-width: 700px) {
  .site-header { height: 72px; padding: 0 21px; }
  .wordmark { font-size: 20px; }
  .main-nav { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 42px; height: 42px; padding: 8px; border: 1px solid rgba(255,255,255,.55); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 100%; height: 1px; background: white; }
  .mobile-nav:not([hidden]) { position: absolute; top: 72px; left: 0; right: 0; display: flex; flex-direction: column; gap: 0; padding: 10px 21px 18px; background: #111316; border-top: 1px solid var(--line-dark); }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-family: var(--font-display); font-size: 18px; text-decoration: none; }
  .hero { padding: 137px 21px 75px; gap: 45px; }
  .hero h1 { font-size: clamp(53px,12.4vw,84px); }
  .hero-content > p { margin-top: 27px; font-size: 17px; }
  .hero-actions { gap: 18px; margin-top: 30px; }
  .hero-price { font-size: 13px; }
  .hero-visual { width: calc(100% + 42px); margin-left: -21px; }
  .image-credit { padding-right: 20px; }
  .compare-label { font-size: 9px; letter-spacing: .1em; }
  .idea-section, .program-section { padding: 80px 21px 95px; }
  .section-headline h2 { font-size: clamp(54px,12vw,82px); }
  .section-headline p { font-size: 15px; }
  .evidence-grid { grid-template-columns: 1fr; gap: 52px; }
  .evidence-item-offset { margin-top: 0; }
  .evidence-pair { aspect-ratio: 4 / 5; }
  .program-intro h2 { font-size: clamp(50px,11.5vw,78px); }
  .program-intro p { font-size: 15px; }
  .program-list li { grid-template-columns: 57px 1fr 12px; gap: 13px; min-height: 121px; }
  .program-number { font-size: 42px; }
  .program-list h3 { font-size: 25px; }
  .program-list p { font-size: 13px; line-height: 1.45; }
  .closing-section { grid-template-columns: 1fr; }
  .closing-image { min-height: 320px; background-size: auto 200%; }
  .closing-content { min-height: 490px; padding: 55px 21px 50px; }
  .closing-content h2 { font-size: clamp(62px,12vw,90px); }
  .closing-bottom { gap: 20px; }
  .closing-bottom .primary-cta { width: 100%; white-space: normal; }
  .site-footer { display: block; padding: 25px 21px; line-height: 1.5; }
  .site-footer span { display: block; }
  .site-footer span + span { margin-top: 9px; }
}

@media (max-width: 390px) {
  .hero h1 { font-size: 51px; }
  .hero-actions { display: block; }
  .hero-price { display: block; margin-top: 18px; }
  .section-headline h2 { font-size: 49px; }
  .program-intro h2 { font-size: 47px; }
  .closing-content h2 { font-size: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
