:root {
  --acc: #3ddc97;
  --glow: rgba(61, 220, 151, .3);
  --ink: #eaf0f8;
  --mut: #a5b4ca;
  --soft: #99a5b7;
  --gold: #d9b25e;
  --bg: #060d1a;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; }
h1, h2, h3, p { margin: 0; }

/* ===== Estrutura ===== */
.sec { position: relative; padding: 0 24px; background: var(--bg); }
.sec.alt { background: linear-gradient(#0a172b 0%, #060d1a 100%); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 90px 0; }

.stack { display: flex; flex-direction: column; gap: 30px; }
.stack-tight { gap: 18px; }
.center-items { align-items: center; }
.center { align-items: center; text-align: center; }

.split { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.split-top { align-items: flex-start; }
.col { width: var(--w); flex: none; }
.col-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.col-pad { padding: 10px; }

/* ===== Tipografia ===== */
h1, h2 { font-family: Fraunces, sans-serif; color: #fff; }
h1 { font-size: 60px; font-weight: 400; line-height: 1; }
h2 { font-size: 36px; font-weight: 600; line-height: 1.2; }
.h2-big { font-size: 40px; line-height: 1; text-align: center; }
.h2-gap { padding-bottom: 2%; }
.center h2 { width: 100%; }

.lead { font-family: Inter, sans-serif; font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--mut); }
.lead-center { text-align: center; }

.sh {
  background: linear-gradient(90deg, #d9b25e, #fff0c0, #d9b25e);
  background-size: 220%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: jlSh 6s linear infinite;
}
.sh-small { font-size: 80%; }
@keyframes jlSh { to { background-position: -220% 0; } }

/* ===== Vidro ===== */
.glass {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .04));
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 -1px 0 rgba(255, 255, 255, .06), 0 24px 60px rgba(0, 0, 0, .4);
  border-radius: 28px;
  overflow: hidden;
}

.tag {
  padding: 12px 20px;
  font-family: Inter, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--mut);
}

/* ===== Hero ===== */
.hero {
  overflow: hidden;
  isolation: isolate;
  background: var(--bg) url(../assets/bg-hero.jpg) right center / cover no-repeat;
}
.hero[data-lv=danger] { --acc: #ff6b5a; --glow: rgba(255, 107, 90, .38); }
.hero[data-lv=warn] { --acc: #f2b84b; --glow: rgba(242, 184, 75, .32); }
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 60%);
  filter: blur(24px);
  animation: jlDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero::before { top: -140px; left: -120px; }
.hero::after { bottom: -180px; right: -100px; animation-delay: -6s; }
@keyframes jlDrift { to { transform: translate(90px, 60px) scale(1.18); } }

.hero-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 120px 0;
}
.hero-row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 13, 26, .85) 0%, rgba(6, 13, 26, .2) 40%, rgba(6, 13, 26, .1) 60%, rgba(6, 13, 26, .15) 100%);
}
.hero-row > * { position: relative; z-index: 1; }

.hero-text { width: 49%; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero-logo { width: 60%; padding: 8px 12px; text-align: center; line-height: 0; }
.hero-sub { padding: 12px 0 20px; font-family: Inter, sans-serif; font-size: 18px; font-weight: 300; line-height: 1.6; color: var(--mut); }
.hero-note { font-family: Inter, sans-serif; font-size: 14px; text-transform: uppercase; color: var(--mut); }

.btn {
  display: inline-block;
  padding: 24px 38px;
  border-radius: 999px;
  background: var(--gold);
  color: #040b17;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
}

/* ===== Simulador ===== */
.hero-sim { width: 36%; }
.sim {
  padding: 30px;
  color: #fff;
  overflow: visible;
  isolation: isolate;
  border-color: transparent;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.sim::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .35);
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image:
    radial-gradient(ellipse 135px 64px at calc(100% - 90px) 0%, transparent 38%, #000 95%),
    radial-gradient(ellipse 125px 60px at 85px 100%, transparent 38%, #000 95%);
  mask-image:
    radial-gradient(ellipse 135px 64px at calc(100% - 90px) 0%, transparent 38%, #000 95%),
    radial-gradient(ellipse 125px 60px at 85px 100%, transparent 38%, #000 95%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.sim h3 { margin: 6px 0 4px; font: 500 1.5rem/1.2 Fraunces, serif; color: #fff; }
.sim p { font-size: .9rem; color: #c5d2e5; }
.sim .sim-eye { color: var(--gold); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.sim-top { display: flex; align-items: center; gap: 20px; margin: 20px 0; }
.sim-top p { margin-top: 4px; }
.sim-st { font-weight: 700; font-size: 1.15rem; color: var(--acc); transition: color .6s; }
.sim input[type=range] { width: 100%; margin: 8px 0 14px; accent-color: var(--acc); }
.sim-lg { display: flex; justify-content: space-between; margin: 6px 0 18px; font-size: .8rem; }
.sim-lg span { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #c5d2e5; }
.sim-box { margin-top: 18px; padding: 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 16px; font-size: .92rem; color: #fff; }
.sim-box b { font-size: 1.15rem; color: var(--acc); }

.ring { position: relative; flex: none; width: 128px; height: 128px; border-radius: 50%; transition: background .5s, box-shadow .5s; }
.ring > div { position: absolute; inset: 13px; border-radius: 50%; background: rgba(6, 17, 13, .92); display: grid; place-content: center; text-align: center; }
.ring b { font: 500 1.9rem Fraunces, serif; color: #fff; }
.ring small { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #c5d2e5; }

.fl {
  position: absolute;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(30, 39, 37, .72);
  -webkit-backdrop-filter: blur(26px) saturate(140%);
  backdrop-filter: blur(26px) saturate(140%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .12);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  will-change: transform;
  animation: jlFloat 6s ease-in-out infinite alternate;
}
.fl-top { top: -20px; right: -8px; }
.fl-bottom { bottom: -50px; left: -18px; animation-delay: -3s; }
.gold { color: var(--gold); }
.red { color: #ff6b5a; }
@keyframes jlFloat { to { transform: translateY(-16px) rotate(-3deg); } }

/* ===== Faixa ===== */
.marq { overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); }
.marq .tk { display: flex; width: max-content; animation: jlMar 38s linear infinite; }
.marq .g { display: flex; gap: 56px; flex: none; padding: 18px 56px 18px 0; }
.marq .g span { white-space: nowrap; font-weight: 600; color: #c5d2e5; }
@keyframes jlMar { to { transform: translateX(-50%); } }

/* ===== Cards ===== */
.cards { display: flex; gap: 22px; width: 100%; padding-top: 2%; }
.card { flex: 1; padding: 34px; text-align: center; }
.card img { display: block; width: 16%; margin: 0 auto 18px; }
.card h3 { margin: 8px 0 12px; font: 600 1.3rem/1.2 Fraunces, sans-serif; color: #fff; }
.card p { font-family: Inter, sans-serif; font-weight: 300; color: var(--soft); }

/* ===== Check-up ===== */
.ck { margin-top: 22px; padding: 24px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 24px; background: #10213a; }
.ck .n { display: flex; justify-content: space-between; align-items: flex-end; color: #c5d2e5; }
.ck .n b { font: 500 2.6rem Fraunces, serif; color: var(--gold); }
.ck .tr { height: 8px; margin: 14px 0; border-radius: 9px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ck .tr i { display: block; width: 0; height: 100%; border-radius: 9px; background: #679de0; transition: width .6s, background .6s; }
.ck p { font-size: .95rem; color: #e5edf8; }

.ck-i {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  color: var(--ink);
  line-height: 1;
  cursor: pointer;
  transition: background .3s, border-color .3s;
}
.ck-i:hover { background: rgba(255, 255, 255, .1); }
.ck-i input { position: absolute; opacity: 0; }
.ck-i s { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 2px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 50%; color: transparent; font-size: .8rem; text-decoration: none; }
.ck-i.on { border-color: #ff8a70; background: rgba(255, 107, 90, .12); }
.ck-i.on s { background: #ff6b5a; border-color: #ff6b5a; color: #fff; }
.ck-i:focus-within { outline: 3px solid var(--gold); }

/* ===== Fotos ===== */
.photo { display: flex; justify-content: flex-end; align-items: flex-end; }
.photo-casa { min-height: 68vh; border-radius: 28px; background: url(../assets/casa.jpg) center / cover no-repeat; }
.photo-jean { min-height: 540px; border-radius: 20px; background: url(../assets/jean.jpg) top center / 120% auto no-repeat; }
.chip { right: 40px; bottom: -20px; padding: 14px 20px; border-radius: 20px; color: #fff; animation: jlFloat 5s ease-in-out infinite alternate; }
.chip small { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.chip b { font: 500 1.2rem Fraunces, serif; color: #fff; }

/* ===== Itens da estratégia ===== */
.item { display: flex; align-items: flex-start; width: 100%; }
.item img { flex: none; width: 49px; margin-right: 15px; }
.item h3 { margin: 8px 0 6px; font: 600 22px/1.2 Fraunces, sans-serif; color: #fff; }
.item p { font-family: Inter, sans-serif; font-weight: 300; line-height: 1.2; color: var(--soft); }

/* ===== Comparativo ===== */
.cmp { flex: 1; display: flex; flex-direction: column; gap: 20px; padding: 34px; }
.cmp-title { font-family: Inter, sans-serif; font-size: 18px; text-transform: uppercase; }
.cmp-no { color: #ff9191; }
.cmp-yes { color: var(--gold); }
.list { margin: 0; padding: 0; list-style: none; }
.list li { display: flex; align-items: center; font-family: Inter, sans-serif; font-size: 18px; font-weight: 300; color: var(--ink); }
.list li:not(:last-child) { padding-bottom: 4px; }
.list li:not(:first-child) { margin-top: 4px; }
.list svg { flex: none; width: 14px; height: 14px; margin-right: 3.5px; }
.list span { padding-left: 5px; }
.list-no svg { fill: #ff9191; }
.list-yes svg { fill: var(--gold); }

/* ===== Formulário ===== */
.form-box { padding: 30px; color: #fff; }
.field { margin-bottom: 18px; }
.field label { display: block; padding-bottom: 6px; font-family: Inter, sans-serif; font-weight: 300; line-height: 1; color: #fff; }
.field input, .field select {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 6px 16px;
  border: 1px solid #69727d;
  border-radius: 12px;
  background: transparent;
  color: var(--soft);
  font: 300 16px/1.4 Inter, sans-serif;
}
.select { position: relative; }
.select select { padding-right: 20px; -webkit-appearance: none; appearance: none; }
.select svg { position: absolute; top: 50%; right: 10px; width: 11px; height: 11px; transform: translateY(-50%); fill: currentColor; color: var(--soft); pointer-events: none; }
.form button {
  display: block;
  width: 100%;
  min-height: 59px;
  padding: 20px 40px;
  border: 0;
  border-radius: 12px;
  background: var(--gold);
  color: #fff;
  font: 700 14px/1 Inter, sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s;
}
.form button:hover { color: #000; }
.form button:disabled { opacity: .45; cursor: default; }
.form-msg { margin-top: 12px; font-family: Inter, sans-serif; font-size: 15px; color: #ff9191; }

/* ===== Rodapé ===== */
.foot { border-top: 1px solid #ffffff10; }
.foot-row { display: flex; justify-content: space-between; gap: 18px; padding: 40px 0; font-family: Roboto, sans-serif; color: var(--mut); }
.foot-dev { display: flex; justify-content: flex-end; align-items: flex-start; gap: 10px; width: 50%; }
.foot-dev img { width: 12%; margin-top: -2px; }

/* ===== Página de obrigado ===== */
.ty-page { min-height: 100vh; display: flex; flex-direction: column; }
.ty { flex: 1; display: flex; align-items: center; justify-content: center; padding-top: 80px; padding-bottom: 80px; background-position: center; }
.ty::before { top: 50%; left: 50%; margin: -280px 0 0 -280px; }
.ty::after { content: ""; inset: 0; width: auto; height: auto; border-radius: 0; filter: none; animation: none; background: rgba(6, 13, 26, .78); z-index: -1; }
.ty-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 560px; text-align: center; }
.ty .hero-logo { width: 300px; max-width: 88%; margin-bottom: 24px; }
.ty-count { font: 500 64px/1 Fraunces, serif; color: var(--gold); }

/* ===== Entrada das seções ===== */
.js .reveal { opacity: 0; }
.js .reveal.in { animation: fadeInUp 1.25s both; animation-delay: var(--d, 0ms); }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .hero { background-position: center; }
  .hero-row, .split { flex-direction: column; }
  .hero-text, .hero-sim, .col { width: 100%; }
  .cards { flex-direction: column; }
}

/* ===== Celular ===== */
@media (max-width: 767px) {
  .sec { padding: 0 6%; }
  .wrap, .hero-row { padding: 12% 0; }

  h1 { font-size: 42px; }
  h2, .h2-big { font-size: 30px; text-align: center; }
  .h2-big { line-height: 1; }
  .lead, .hero-sub { font-size: 16px; }
  .tag { font-size: 11px; }

  .hero-text, .col-text { align-items: center; }
  .hero-text h1, .hero-sub { width: 100%; }
  .hero-logo { width: 88%; }
  .btn { font-size: 14px; }
  .hero-note { margin-top: -2%; font-size: 12px; }
  .hero-sim { padding: 12% 0; }
  .sim-top { flex-direction: column; align-items: flex-start; }

  .cards { padding-top: 0; }
  .col-pad { padding: 0; }
  .col-text .ck { width: 100%; }

  .photo { order: 99999; }
  .photo-casa { min-height: 24em; }
  .photo-jean { min-height: 400px; }

  .item { display: block; text-align: center; }
  .item img { display: block; width: 16%; margin: 0 auto 15px; }

  .cmp-title { text-align: center; }
  .list li { font-size: 16px; line-height: 1.2; }

  .foot-row { flex-wrap: wrap; justify-content: center; gap: 4px; padding: 6% 0; font-size: 13px; text-align: center; }
  .foot-row p { width: 100%; }
  .foot-dev { width: 100%; justify-content: center; align-items: center; gap: 8px; }
  .foot-dev img { width: 19%; margin-top: -5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before, .hero::after, .fl, .chip, .marq .tk, .sh { animation: none; }
  .js .reveal, .js .reveal.in { opacity: 1; animation: none; }
}
