/* ==========================================================================
   Lumina Vidros · Lousas para escolas
   ========================================================================== */
:root {
  --red: #BF2A30;
  --red-d: #9C1F25;
  --red-soft: #FBECEC;
  --ink: #15181D;
  --ink-2: #3B414B;
  --mute: #6B7280;
  --line: #E7E7EA;
  --bg: #FFFFFF;
  --tint: #F6F5F3;
  --glass: #EEF6F7;
  --glass-edge: #CFE3E6;
  --green: #13B266;
  --dark: #111419;
  --dark-2: #1A1E25;
  --dark-line: #2A2F38;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(20, 24, 29, .25);
  --hand: 'Caveat', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(191, 42, 48, .7); }
.btn--red:hover { background: var(--red-d); }
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--wa { background: var(--green); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- topo ---------- */
.topbar {
  background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .02em;
  display: flex; justify-content: center; align-items: center; gap: 14px; padding: 8px 16px; flex-wrap: wrap;
}
.topbar i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-color: var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--ink-2); }
.nav__links a:hover { color: var(--red); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 70px 0 90px; overflow: hidden; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, #FBE4E4 0%, transparent 60%),
    radial-gradient(40% 50% at 10% 90%, var(--glass) 0%, transparent 70%);
}
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero__in { display: grid; grid-template-columns: 1fr 1.08fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red);
  padding: 7px 14px; background: var(--red-soft); border-radius: 999px;
}
.eyebrow b { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(191, 42, 48, .5); } 50% { box-shadow: 0 0 0 6px rgba(191, 42, 48, 0); } }
.hero h1 { font-size: clamp(32px, 3.9vw, 50px); font-weight: 700; margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .32em; z-index: -1;
  background: var(--red-soft); border-radius: 6px; transform: skew(-8deg);
}
.lead { font-size: 19px; color: var(--ink-2); max-width: 540px; }
.hero__ctas { display: flex; gap: 12px; margin: 32px 0 26px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.checks li::before { content: '✓'; color: var(--green); font-weight: 700; margin-right: 6px; }

/* sala ilustrada */
.hero__visual { position: relative; }
.room {
  position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #EFECE7 0%, #E7E2DA 72%, #CDB9A0 72%, #C2AD92 100%);
  box-shadow: var(--shadow);
}
.room__wall {
  position: absolute; inset: 0 0 28% 0;
  background: radial-gradient(70% 90% at 50% 10%, rgba(255, 255, 255, .7), transparent 70%);
}
.board {
  position: absolute; left: 9%; right: 9%; top: 12%; height: 50%;
}
.board__glass {
  position: absolute; inset: 0; border-radius: 6px; overflow: hidden;
  background: linear-gradient(135deg, #FFFFFF 0%, #F7FBFB 55%, #EEF6F7 100%);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 30px -16px rgba(0, 0, 0, .35), 4px 4px 0 -1px rgba(160, 200, 205, .35);
}
.board__glass::before {
  content: ''; position: absolute; inset: -40% auto -40% -30%; width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: rotate(18deg); animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 60% { left: -30%; } 85%, 100% { left: 130%; } }
.board__pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #A9AFB5 60%, #6E747B); z-index: 2; }
.board__pin--tl { left: 10px; top: 10px; } .board__pin--tr { right: 10px; top: 10px; }
.board__pin--bl { left: 10px; bottom: 10px; } .board__pin--br { right: 10px; bottom: 10px; }
.board__tray {
  position: absolute; left: 22%; right: 22%; bottom: -12px; height: 9px; border-radius: 3px;
  background: linear-gradient(#D9DDE1, #A9AFB5); display: flex; gap: 8px; justify-content: center; align-items: flex-start;
}
.mk { width: 26px; height: 6px; border-radius: 2px; margin-top: -5px; }
.mk--b { background: #1F3A8A; } .mk--r { background: var(--red); } .mk--g { background: #157A4A; }

/* escrita à mão */
.hw { position: absolute; font-family: var(--hand); color: #1F3A8A; white-space: nowrap; line-height: 1; }
.hw span { display: inline-block; clip-path: inset(0 100% 0 0); }
.hw--title { left: 7%; top: 10%; font-size: clamp(28px, 3.4vw, 46px); font-weight: 700; color: var(--red); }
.hw--l1 { left: 8%; top: 44%; font-size: clamp(22px, 2.6vw, 34px); }
.hw--l2 { left: 8%; top: 68%; font-size: clamp(22px, 2.6vw, 34px); }
.hw-underline { position: absolute; left: 6%; top: 31%; width: 32%; fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 200; stroke-dashoffset: 200; }
.hw-pie { position: absolute; right: 9%; top: 18%; width: 30%; fill: none; stroke: #1F3A8A; stroke-width: 2.5; stroke-linecap: round; }
.hw-pie .pie-o { stroke-dasharray: 252; stroke-dashoffset: 252; }
.hw-pie .pie-l { stroke-dasharray: 160; stroke-dashoffset: 160; }
.hw-pie .pie-a, .hw-pie .pie-b { stroke: none; opacity: 0; }
.hw-pie .pie-a { fill: rgba(191, 42, 48, .55); }
.hw-pie .pie-b { fill: rgba(31, 58, 138, .35); }

/* Hero estático: a lousa aparece já escrita. */
.board--hero .hw span { clip-path: none; }
.board--hero .hw-underline, .board--hero .hw-pie .pie-o, .board--hero .hw-pie .pie-l { stroke-dashoffset: 0; }
.board--hero .hw-pie .pie-a, .board--hero .hw-pie .pie-b { opacity: 1; }
.board--hero .board__glass::before { display: none; }
.hero .float { animation: none; }

.desk { position: absolute; bottom: 7%; width: 22%; height: 9%; border-radius: 6px 6px 2px 2px; background: linear-gradient(#B98B5E, #9C7148); box-shadow: 0 10px 0 -4px #6E4F33; }
.desk--1 { left: 6%; } .desk--2 { left: 39%; } .desk--3 { left: 72%; }

/* cartões flutuantes */
.float {
  position: absolute; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 12px 16px;
  font-size: 14px; animation: bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 15px; }
.float small { color: var(--mute); font-size: 12px; }
.float--a { left: -26px; bottom: 16%; display: flex; gap: 12px; align-items: center; }
.float__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #E7F7EF; color: var(--green); font-weight: 800; }
.float--b { right: -18px; top: 6%; min-width: 130px; animation-delay: -2s; }
.float--b b { font-size: 26px; color: var(--red); }
.float__bar { height: 6px; background: var(--glass); border-radius: 4px; margin: 6px 0 4px; overflow: hidden; }
.float__bar i { display: block; height: 100%; width: 75%; background: linear-gradient(90deg, var(--glass-edge), #8FC1C7); border-radius: 4px; }
.float--c { right: 6%; bottom: -18px; display: flex; gap: 10px; align-items: center; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.seal {
  display: inline-grid; place-items: center; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  padding: 6px 9px; border-radius: 8px; border: 2px solid #1E5BA8; color: #1E5BA8; background: #EEF4FB;
}
.seal--lg { font-size: 18px; padding: 14px 20px; border-width: 3px; border-radius: 14px; }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: #fff; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; font-size: 18px; font-weight: 500; color: var(--ink-2); }
.marquee__track i { color: var(--red); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.sec { padding: 110px 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--dark); color: #fff; }
.sec__head { max-width: 760px; margin-bottom: 54px; }
.sec__head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin: 14px 0 16px; }
.sec__head p { font-size: 18px; color: var(--ink-2); }
.sec__head--light p { color: #A8B0BC; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.kicker--light { color: #FFB3B5; }
.note { font-size: 13px; color: var(--mute); margin-top: 14px; }

/* ---------- comparativo ---------- */
.compare {
  --pos: 50%;
  position: relative; aspect-ratio: 16 / 7; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
  background: #E9E4DC; user-select: none; touch-action: pan-y;
}
.compare__side { position: absolute; inset: 0; padding: 5% 6%; }
.compare__side--new { clip-path: inset(0 0 0 var(--pos)); background: #EDE8E0; }
.compare__side--old { background: #E3DDD3; }
.cboard { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; }
.cboard--old {
  background: linear-gradient(170deg, #F1F0EA, #E5E3DA);
  border: 10px solid #B9BDC2; box-shadow: inset 0 0 60px rgba(120, 115, 100, .35);
}
.cboard--new {
  background: linear-gradient(135deg, #FFFFFF, #F4FAFA 60%, #E9F3F4);
  border: 1px solid var(--glass-edge); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, .35);
}
.lesson { position: absolute; inset: 0; color: #1F3A8A; font-family: var(--hand); }
.lesson__t { position: absolute; left: 6%; top: 10%; font-size: clamp(26px, 4vw, 54px); font-weight: 700; }
.lesson__n { position: absolute; left: 6%; right: 6%; bottom: 10%; font-size: clamp(16px, 2.2vw, 30px); text-align: right; }
.ghost { position: absolute; font-family: var(--hand); color: rgba(60, 70, 90, .18); font-size: clamp(20px, 3vw, 40px); filter: blur(.6px); white-space: nowrap; }
.g1 { left: 30%; top: 40%; transform: rotate(-3deg); }
.g2 { left: 8%; top: 64%; font-size: clamp(26px, 4vw, 56px); }
.g3 { left: 48%; top: 70%; transform: rotate(2deg); color: rgba(150, 40, 40, .14); }
.stain { position: absolute; border-radius: 50%; filter: blur(14px); }
.s1 { left: 55%; top: 10%; width: 30%; height: 40%; background: rgba(140, 130, 100, .22); }
.s2 { left: 10%; top: 45%; width: 25%; height: 30%; background: rgba(90, 100, 130, .16); }
.s3 { left: 72%; top: 55%; width: 22%; height: 40%; background: rgba(120, 110, 90, .2); }
.planets { position: absolute; left: 6%; right: 6%; top: 40%; height: 26%; display: flex; align-items: center; justify-content: space-between; }
.planets i { border-radius: 50%; border: 3px solid #1F3A8A; flex: none; }
.planets i:nth-child(1) { width: 12%; aspect-ratio: 1; border-color: #E0A100; background: rgba(255, 196, 0, .25); }
.planets i:nth-child(2) { width: 2.6%; aspect-ratio: 1; }
.planets i:nth-child(3) { width: 3.6%; aspect-ratio: 1; border-color: #C77A2E; }
.planets i:nth-child(4) { width: 4%; aspect-ratio: 1; border-color: #157A4A; background: rgba(21, 122, 74, .12); }
.planets i:nth-child(5) { width: 3.2%; aspect-ratio: 1; border-color: var(--red); }
.planets i:nth-child(6) { width: 9%; aspect-ratio: 1; border-color: #B5651D; background: repeating-linear-gradient(0deg, transparent 0 6px, rgba(181, 101, 29, .2) 6px 10px); }
.cboard--old .lesson { opacity: .82; }
.compare__tag {
  position: absolute; bottom: 18px; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: rgba(20, 24, 29, .8); color: #fff;
}
.compare__side--old .compare__tag { left: 18px; }
.compare__tag--new { right: 18px; background: var(--red); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; cursor: ew-resize; z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 0 20px rgba(0,0,0,.2);
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  font-weight: 700; color: var(--red); box-shadow: var(--shadow); font-size: 18px; letter-spacing: 2px;
}
.compare__handle:focus-visible span { outline: 3px solid var(--red); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.stats div { border-top: 2px solid var(--ink); padding-top: 18px; }
.stats b { display: block; font-size: 42px; font-weight: 700; letter-spacing: -.02em; }
.stats span { color: var(--mute); font-size: 15px; }

/* ---------- cards de benefícios ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: transform .3s, box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; margin: 20px 0 8px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card__viz { position: relative; height: 150px; border-radius: 12px; overflow: hidden; background: var(--glass); display: grid; place-items: center; }

.viz-wipe { background: linear-gradient(135deg, #fff, var(--glass)); border: 1px solid var(--glass-edge); }
.viz-wipe span { font-family: var(--hand); font-size: 40px; color: #1F3A8A; font-weight: 700; }
.viz-wipe i { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #fff 20%, #fff 100%); transform: translateX(-100%); }
.card:hover .viz-wipe i, .viz-wipe.is-in i { animation: wipe 2.6s ease-in-out infinite; }
@keyframes wipe { 0% { transform: translateX(-100%); } 45%, 60% { transform: translateX(0); } 100% { transform: translateX(100%); } }

.viz-thick { background: linear-gradient(180deg, #F7FAFB, #E6F0F1); display: flex; align-items: flex-end; justify-content: center; gap: 12%; padding-bottom: 26px; }
.viz-thick div { display: grid; justify-items: center; gap: 4px; }
.viz-thick i { width: 64px; height: var(--t); border-radius: 2px; background: linear-gradient(90deg, #BFDADE, #EEF6F7 45%, #BFDADE); border: 1px solid #A9C8CD; margin-bottom: 6px; }
.viz-thick b { font-size: 18px; color: var(--ink); }
.viz-thick div:nth-child(2) b { color: var(--red); }
.viz-thick small { font-size: 12px; color: var(--mute); }
.viz-seal { background: #F2F6FC; }
.viz-drops { background: linear-gradient(180deg, #E4F0F4, #F4FAFB); }
.viz-drops i { position: absolute; top: -12px; width: 8px; height: 12px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #7FB6C9; animation: drop 1.8s linear infinite; }
.viz-drops i:nth-child(1) { left: 20%; } .viz-drops i:nth-child(2) { left: 36%; animation-delay: .6s; }
.viz-drops i:nth-child(3) { left: 52%; animation-delay: 1.1s; } .viz-drops i:nth-child(4) { left: 68%; animation-delay: .3s; }
.viz-drops i:nth-child(5) { left: 82%; animation-delay: 1.4s; }
.viz-drops::after { content: ''; position: absolute; left: 14%; right: 14%; top: 30%; bottom: 18%; border-radius: 6px; background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(238,246,247,.8)); border: 1px solid var(--glass-edge); }
@keyframes drop { to { transform: translateY(170px); } }
.viz-drops i { z-index: 2; }

.viz-grid {
  background-color: #fff;
  background-image: linear-gradient(#D7E7EA 1px, transparent 1px), linear-gradient(90deg, #D7E7EA 1px, transparent 1px);
  background-size: 16px 16px; border: 1px solid var(--glass-edge);
}
.viz-grid::after { content: ''; position: absolute; left: 20%; top: 25%; width: 60%; height: 50%; border-left: 2px solid #1F3A8A; border-bottom: 2px solid #1F3A8A; background: linear-gradient(135deg, transparent 49%, var(--red) 49% 51%, transparent 51%); }

.viz-shine { background: linear-gradient(135deg, #2A2F38, #15181D); }
.viz-shine i { position: absolute; inset: 20% 16%; border-radius: 6px; background: linear-gradient(135deg, #fff, #EEF6F7); overflow: hidden; }
.viz-shine i::after { content: ''; position: absolute; top: -50%; bottom: -50%; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,1), transparent); transform: rotate(20deg); animation: sheen 4s ease-in-out infinite; }

/* ---------- condições especiais ---------- */
.cond { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cond h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; margin: 14px 0 20px; }
.cond__copy p { color: var(--ink-2); font-size: 17px; margin-bottom: 14px; }
.cond__pills { list-style: none; padding: 0; margin: 24px 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.cond__pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red-d); font-weight: 600; font-size: 14px; }
.cond__pills span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font-size: 13px; }
.cond__visual { position: relative; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.plan small { display: block; color: var(--mute); font-size: 13px; }
.plan__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan__head b { font-size: 20px; }
.plan__pill { font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: #E7F7EF; color: #0F8A50; white-space: nowrap; }
.plan__pay { margin: 18px 0 14px; padding: 16px; border-radius: 14px; background: var(--tint); }
.plan__pay b { font-size: 17px; }
.plan__checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; font-size: 15px; }
.plan__checks li::before { content: '✓'; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: #E7F7EF; color: var(--green); font-weight: 800; font-size: 12px; }
.plan__bars { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin: 10px 0 10px; }
.plan__bars i, .plan__legend i { display: block; height: 30px; border-radius: 6px; background: var(--line); }
.plan__bars i.paid, .plan__legend i.paid { background: var(--red); }
.plan__bars i.next, .plan__legend i.next { background: #F2B8BA; }
.plan__legend { display: flex; gap: 16px; font-size: 12px; color: var(--mute); }
.plan__legend span { display: inline-flex; align-items: center; gap: 6px; }
.plan__legend i { width: 10px; height: 10px; border-radius: 3px; }
.plan__note { position: absolute; right: 22px; bottom: 14px; font-size: 11px; color: var(--mute); }
.float--deal { left: -28px; bottom: -22px; display: flex; gap: 12px; align-items: center; }

/* ---------- simulador ---------- */
.sim { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: stretch; }
.sim__controls { background: var(--tint); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg__b { border: 0; background: transparent; padding: 10px; border-radius: 999px; font-weight: 600; color: var(--ink-2); }
.seg__b.is-on { background: var(--ink); color: #fff; }
.sim__label { font-size: 13px; font-weight: 600; color: var(--mute); margin: 20px 0 10px; text-transform: uppercase; letter-spacing: .08em; }
.sizes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sizes button { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 8px; font-weight: 500; font-size: 14px; color: var(--ink-2); transition: all .15s; }
.sizes button:hover { border-color: var(--red); }
.sizes button.is-on { border-color: var(--red); background: var(--red-soft); color: var(--red); font-weight: 700; }
.sim__info { margin-top: auto; padding-top: 22px; }
.sim__dim { font-size: 30px; font-weight: 700; letter-spacing: -.02em; }
.sim__info p { color: var(--ink-2); margin: 4px 0 12px; font-size: 15px; }
.sim__info ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; color: var(--ink-2); }
.sim__info li::before { content: '✓ '; color: var(--green); font-weight: 700; }

.sim__stage { display: flex; flex-direction: column; }
.sim__frame { flex: 1; border-radius: var(--radius); overflow: hidden; background: #F0ECE6; box-shadow: var(--shadow); display: grid; place-items: center; padding: 26px; }
/* parede 4,00 m × 2,80 m; 1 m = 25% da largura */
.sim__wall { position: relative; width: 100%; aspect-ratio: 400 / 280; background: linear-gradient(180deg, #F6F3EE, #EAE4DB); border-radius: 6px; }
.sim__floor { position: absolute; left: -20px; right: -20px; bottom: -10px; height: 10px; background: #C2AD92; border-radius: 2px; }
.sim__ruler--x { position: absolute; left: 0; right: 0; top: -2px; height: 1px; border-top: 1px dashed #B5ADA2; }
.sim__ruler--x span { position: absolute; left: 50%; top: -9px; transform: translateX(-50%); background: #F6F3EE; padding: 0 8px; font-size: 12px; color: var(--mute); }
.sim__board {
  position: absolute; left: 50%; transform: translateX(-50%);
  border-radius: 3px; border: 1px solid var(--glass-edge);
  background: linear-gradient(135deg, #fff, #F4FAFA 60%, #E9F3F4);
  box-shadow: 0 14px 24px -14px rgba(0, 0, 0, .4);
  transition: width .5s cubic-bezier(.3, 1.3, .5, 1), height .5s cubic-bezier(.3, 1.3, .5, 1), bottom .5s;
}
.sim__board.is-grid {
  background-image: linear-gradient(#D7E7EA 1px, transparent 1px), linear-gradient(90deg, #D7E7EA 1px, transparent 1px), linear-gradient(135deg, #fff, #F4FAFA);
  background-size: 12px 12px, 12px 12px, auto;
}
.sim__w, .sim__h { position: absolute; font-size: 12px; font-weight: 600; color: var(--red); white-space: nowrap; }
.sim__w { left: 0; right: 0; top: -20px; text-align: center; border-bottom: 1px solid var(--red); line-height: 1; padding-bottom: 3px; }
.sim__h { right: -10px; top: 0; bottom: 0; border-left: 1px solid var(--red); padding-left: 4px; display: flex; align-items: center; transform: translateX(100%); }
.sim__person { position: absolute; bottom: 0; left: 6%; height: 60.7%; fill: #3B414B; opacity: .9; } /* 1,70 m de 2,80 m */
/* Etiqueta com a altura do professor, centrada acima da cabeça (pessoa = 10% da largura da parede). */
.sim__ph {
  position: absolute; left: 11%; bottom: calc(60.7% + 8px); transform: translateX(-50%);
  font-size: 11px; font-weight: 600; color: var(--ink-2); white-space: nowrap; line-height: 1;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 9px;
  box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .3);
}
.sim__desks { position: absolute; bottom: 0; left: 30%; right: 8%; height: 26.8%; display: flex; justify-content: space-between; align-items: flex-end; }
.sim__desks i { width: 16%; height: 100%; clip-path: polygon(0 0, 100% 0, 100% 12%, 92% 12%, 92% 100%, 86% 100%, 86% 12%, 14% 12%, 14% 100%, 8% 100%, 8% 12%, 0 12%); background: linear-gradient(#B98B5E, #9C7148); border-radius: 3px 3px 0 0; opacity: .85; } /* ~0,75 m */

/* ---------- projeto (mockup escuro) ---------- */
.proj { display: grid; gap: 18px; }
.proj__tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.proj__tab {
  border: 1px solid var(--dark-line); background: transparent; color: #A8B0BC; padding: 12px 20px; border-radius: 999px; font-weight: 500;
  position: relative; overflow: hidden;
}
.proj__tab b { color: #5C6573; margin-right: 6px; }
.proj__tab.is-on { background: #fff; color: var(--ink); border-color: #fff; }
.proj__tab.is-on b { color: var(--red); }
.proj__tab.is-on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; background: var(--red); animation: tabtimer 7s linear forwards; }
.proj.is-paused .proj__tab.is-on::after { animation-play-state: paused; }
@keyframes tabtimer { from { width: 0; } to { width: 100%; } }

.win { position: relative; background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.win__bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--dark-line); font-size: 13px; color: #8A93A0; }
.dots { display: flex; gap: 6px; } .dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A404A; }
.dots i:first-child { background: #FF5F57; } .dots i:nth-child(2) { background: #FEBC2E; } .dots i:nth-child(3) { background: #28C840; }
.win__url { flex: 1; background: #12151A; border-radius: 8px; padding: 6px 12px; }
.live { display: flex; align-items: center; gap: 6px; color: #3DDC97; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: .1em; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; animation: pulse 2s infinite; }
.win__pane { display: none; padding: 20px; animation: paneIn .5s ease; }
.win__pane.is-on { display: block; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.win__note { position: absolute; right: 18px; bottom: 12px; font-size: 11px; color: #5C6573; }
.pane-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; }
.panel-col { display: grid; gap: 16px; align-content: start; }
.panel { background: #12151A; border: 1px solid var(--dark-line); border-radius: 14px; padding: 18px; }
.panel__h { display: flex; justify-content: space-between; align-items: center; font-weight: 600; margin-bottom: 14px; gap: 10px; }
.pill { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #232831; color: #A8B0BC; }
.pill--live { background: rgba(61, 220, 151, .12); color: #3DDC97; }
.rooms { width: 100%; border-collapse: collapse; font-size: 14px; }
.rooms th { text-align: left; color: #6C7584; font-weight: 500; font-size: 12px; padding: 0 8px 10px 0; }
.rooms td { padding: 11px 8px 11px 0; border-top: 1px solid var(--dark-line); color: #D6DBE2; }
.rooms td:last-child, .rooms th:last-child { text-align: right; padding-right: 0; }
.chip { font-size: 11px; padding: 3px 9px; border-radius: 999px; background: #232831; color: #D6DBE2; }
.chip--g { background: rgba(191, 42, 48, .18); color: #FF9A9E; }
.kpi small { color: #8A93A0; font-size: 13px; }
.kpi b { display: block; font-size: 36px; font-weight: 700; letter-spacing: -.02em; margin: 4px 0 10px; }
.kpi__bars { display: flex; gap: 6px; align-items: flex-end; height: 40px; }
.kpi__bars i { flex: 1; height: var(--h); background: linear-gradient(var(--red), #6E1A1E); border-radius: 4px 4px 0 0; transform-origin: bottom; animation: grow 1s ease both; }
@keyframes grow { from { transform: scaleY(0); } }
.kpi__ok { color: #3DDC97; font-size: 13px; }
.donut {
  --a: 44%; width: 130px; height: 130px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--red) 0 var(--a), #3A404A var(--a) 100%);
  -webkit-mask: radial-gradient(circle, transparent 0 46%, #000 47%); mask: radial-gradient(circle, transparent 0 46%, #000 47%);
  position: relative;
}
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut-wrap .donut { width: 96px; height: 96px; margin: 0; flex: none; }
.legend { list-style: none; padding: 0; margin: 0; font-size: 13px; color: #C2C8D0; display: grid; gap: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: #3A404A; margin-right: 8px; }
.legend i.lg-r { background: var(--red); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 14px; color: #D6DBE2; }
.steps li span { color: #8A93A0; }
.steps li .prog { grid-column: 1 / -1; }
.steps li.done b::before { content: '✓ '; color: #3DDC97; }
.steps li.doing b::before { content: '● '; color: #FEBC2E; }
.prog { height: 6px; background: #232831; border-radius: 4px; overflow: hidden; }
.prog i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--red), #FF6B70); border-radius: 4px; animation: fill 1.2s ease both; }
.prog--lg { height: 10px; }
@keyframes fill { from { width: 0; } }
.feed { list-style: none; padding: 0; margin: 0; font-size: 13px; color: #C2C8D0; display: grid; gap: 10px; }
.feed time { display: inline-block; min-width: 44px; color: #6C7584; margin-right: 8px; }
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.cal__d { background: #1A1E25; border: 1px solid var(--dark-line); border-radius: 10px; padding: 12px 10px; }
.cal__d small { display: block; color: #6C7584; font-size: 11px; font-weight: 600; }
.cal__d b { display: block; font-size: 14px; margin: 6px 0 2px; }
.cal__d span { font-size: 12px; color: #8A93A0; }
.cal__d--on { border-color: var(--red); background: rgba(191, 42, 48, .12); }
.truck { position: relative; height: 54px; margin-top: 20px; }
.truck__road { position: absolute; left: 0; right: 0; bottom: 10px; border-bottom: 2px dashed #3A404A; }
.truck__car { position: absolute; bottom: 8px; font-size: 30px; animation: drive 6s linear infinite; transform: scaleX(-1); }
@keyframes drive { from { left: -8%; } to { left: 100%; } }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; color: #8A93A0; }
.todo li::before { content: ''; display: inline-block; width: 14px; height: 14px; border: 2px solid #3A404A; border-radius: 4px; margin-right: 10px; vertical-align: -2px; }
.todo li.ok { color: #D6DBE2; }
.todo li.ok::before { background: var(--green); border-color: var(--green); }

/* ---------- passos ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.flow li { position: relative; padding: 26px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.flow li span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700; font-size: 18px; }
.flow li:not(:last-child)::after { content: '→'; position: absolute; right: -16px; top: 34px; color: var(--red); font-weight: 700; z-index: 1; }
.flow h3 { font-size: 19px; margin: 18px 0 8px; }
.flow p { color: var(--ink-2); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid #DCDAD5; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 680px; }

/* ---------- CTA + formulário ---------- */
.cta { background: linear-gradient(135deg, #8E1C21 0%, var(--red) 55%, #D2474C 100%); color: #fff; position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 40px 40px;
}
.cta__in { position: relative; display: grid; grid-template-columns: 1fr 480px; gap: 60px; align-items: center; }
.cta h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 700; margin: 14px 0 18px; }
.cta__copy p { font-size: 18px; color: #FFE1E2; max-width: 480px; }
.cta__contact { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; font-size: 17px; }
.cta__contact span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.15); margin-right: 12px; }

.lead-form { position: relative; background: #fff; color: var(--ink); border-radius: 22px; padding: 30px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4); }
.lead-form h3 { font-size: 24px; margin-bottom: 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--mute); }
.field input, .field textarea {
  font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid #D8D8DC; border-radius: 12px; background: #FAFAFA; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s; width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(191, 42, 48, .12); }
.field.is-invalid input { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-err { color: var(--red); font-size: 14px; min-height: 0; margin-bottom: 8px; }
.form-err:empty { display: none; }
.privacy { font-size: 12px; color: var(--mute); margin-top: 12px; text-align: center; }
.form-ok { position: absolute; inset: 0; background: #fff; border-radius: inherit; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 10px; }
.form-ok[hidden] { display: none; }
.form-ok__icon { width: 64px; height: 64px; border-radius: 50%; background: #E7F7EF; color: var(--green); display: grid; place-items: center; font-size: 30px; font-weight: 800; animation: pop .4s cubic-bezier(.3, 1.5, .5, 1); }
.form-ok p { color: var(--ink-2); margin-bottom: 10px; }
@keyframes pop { from { transform: scale(0); } }

/* ---------- rodapé ---------- */
.foot { padding: 22px 0; border-top: 1px solid var(--line); }
.foot__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; color: var(--mute); }
.foot__in img { height: 36px; width: auto; }
.foot a { color: var(--red); font-weight: 600; text-decoration: none; }

/* ---------- WhatsApp flutuante ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; border: 0;
  display: flex; align-items: center; gap: 10px; padding: 0 20px 0 0; height: 60px; border-radius: 999px;
  background: #25D366; color: #fff; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .2s;
}
.wa-fab:hover { transform: translateY(-3px) scale(1.02); }
.wa-fab svg { width: 60px; height: 60px; padding: 14px; }
.wa-fab::before { content: ''; position: absolute; left: 0; top: 0; width: 60px; height: 60px; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- popup ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 17, 21, .6); backdrop-filter: blur(4px); animation: fadeIn .25s; }
.modal__box {
  position: relative; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 26px; background: #fff;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); animation: modalIn .35s cubic-bezier(.3, 1.2, .5, 1);
}
@keyframes fadeIn { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal__x { position: absolute; right: 14px; top: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--tint); font-size: 22px; line-height: 1; color: var(--ink-2); }
.modal__art {
  background: linear-gradient(160deg, #8E1C21, var(--red) 60%, #D2474C); display: grid; place-items: center; padding: 30px; position: relative; overflow: hidden;
}
.modal__art::before { content: ''; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 28px 28px; }
.mini-board { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 8px; background: linear-gradient(135deg, #fff, #EEF6F7); box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5); transform: rotate(-4deg); display: grid; place-items: center; }
.mini-board span { font-family: var(--hand); font-size: 44px; font-weight: 700; color: var(--red); }
.mini-board i { position: absolute; left: 22%; right: 22%; bottom: 26%; height: 3px; border-radius: 3px; background: #1F3A8A; transform: rotate(-2deg); }
.lead-form--modal { box-shadow: none; border-radius: 0 26px 26px 0; padding: 34px 30px 26px; }
.lead-form--modal h3 { font-size: 24px; margin: 0 30px 6px 0; }
.modal__sub { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.lead-form--modal .field { margin-bottom: 11px; }
.lead-form--modal .field input, .lead-form--modal .field textarea { padding: 11px 13px; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1020px) {
  .hero__in, .cta__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 620px; margin: 10px auto 0; width: 100%; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .sim, .cond { grid-template-columns: 1fr; }
  .cond { gap: 44px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none; }
  .pane-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__logo img { height: 34px; }
  .topbar span:nth-of-type(n+3), .topbar i:nth-of-type(n+2) { display: none; }
  .hero { padding: 40px 0 70px; }
  .sec { padding: 76px 0; }
  .lead { font-size: 17px; }
  .sim__ph { font-size: 10px; padding: 3px 6px; }
  .sim__ph-who { display: none; }
  .float--a { left: -6px; } .float--b { right: -6px; } .float--deal { display: none; } .float { padding: 9px 12px; }
  .float--b b { font-size: 20px; }
  .compare { aspect-ratio: 4 / 3; }
  .cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .lead-form { padding: 24px 20px; }
  .modal__box { grid-template-columns: 1fr; }
  .modal__art { display: none; }
  .lead-form--modal { border-radius: 26px; padding: 26px 20px 20px; }
  .wa-fab { padding: 0; right: 16px; bottom: 16px; }
  .wa-fab__label { display: none; }
  .cal { grid-template-columns: repeat(3, 1fr); }
  .proj__tabs { flex-wrap: nowrap; gap: 6px; }
  .proj__tab { flex: 1; padding: 10px 6px; font-size: 14px; white-space: nowrap; }
  .proj__tab b { display: none; }
  .rooms th:nth-child(2), .rooms td:nth-child(2) { display: none; }
  .win__url { display: none; }
}
