:root {
  --night: #09080f;
  --phone: #131223;
  --lavender: #eae6fd;
  --night-muted: #b3afc7;
  --lavender-line: #66617e;
  --purple: #6754dd;
  --focus: #d4caff;
  --header-height: 65px;
  color: var(--lavender);
  background: var(--night);
}

.mobile-only { display: revert; }
.desktop-only { display: none !important; }
body { color: var(--lavender); background: var(--night); }
.header {
  background: #09080ff5;
  border-color: #26253a;
}
.header__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0.4rem; }
.header__desktop { display: none; }
.header .brand img, .footer .brand img { filter: grayscale(1) brightness(0) invert(1); }
.header .brand img { inline-size: clamp(126px, 38vw, 166px); }
.header .mobile-nav { display: none; }
.button--header {
  gap: 0.55rem;
  min-block-size: 44px;
  padding: 4px 4px 4px 12px;
  background: transparent;
  color: var(--lavender);
  border: 1px solid var(--lavender-line);
  border-radius: 100px;
  font-size: 0.8rem;
}
.button--header .icon {
  display: block;
  inline-size: 32px;
  block-size: 32px;
  padding: 8px;
  border-radius: 50%;
  background: #f6f3ff;
  color: #100d20;
}

.hero {
  --focus: #d4caff;
  overflow: clip;
  background: radial-gradient(ellipse 78% 440px at 14% 17%, #211c44 0%, transparent 80%), var(--night);
  color: var(--lavender);
}
.hero__inner { grid-template-columns: minmax(0, 1fr); padding-block: 0.9rem 2.6rem; gap: 0.9rem; }
.hero__content { text-align: center; }
.hero h1 {
  font-size: clamp(2.15rem, 9.35vw, 3.85rem);
  font-weight: 500;
  letter-spacing: -0.057em;
  line-height: 1.02;
}
.hero h1 em, .section h2 em { font-weight: 800; font-synthesis: style; }
.hero__mobile-copy { margin-block-start: 0.2rem; }
.hero__mobile-copy > p { max-inline-size: 34ch; color: var(--night-muted); font-size: 0.9rem; line-height: 1.55; }
.hero__mobile-copy .button, .contact .button {
  background: var(--purple);
  color: #faf8ff;
  border-radius: 100px;
  padding-inline: 1.25rem;
}
.hero__mobile-copy .button { margin-block-start: 1rem; }
.hero__mobile-copy ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0;
  list-style: none;
  margin-block-start: 1.45rem;
}
.hero__mobile-copy li { line-height: 1.25; }
.hero__mobile-copy li span { display: block; margin-block-start: 0.32rem; color: var(--night-muted); font-size: 0.77rem; }

.demo { position: relative; text-align: center; }
.demo__phone {
  inline-size: min(100%, clamp(268px, 35.9svh, 320px));
  margin-inline: auto;
  padding: 7px;
  background: linear-gradient(150deg, #1a192d, #10101c 70%);
  text-align: start;
  border: 4px solid #303047;
  border-radius: clamp(31px, 10vw, 42px);
  box-shadow: 0 0 0 1px #ffffff18 inset, 0 0 0 2px #100e1b, 0 18px 54px #020106e0;
}
.demo__chrome {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3px 9px 0;
  min-block-size: 25px;
  padding-inline: 4px;
  color: #efebfb;
  font-size: 0.64rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.demo__notch {
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 2px;
  transform: translateX(-50%);
  inline-size: 84px;
  block-size: 17px;
  border-radius: 20px;
  background: #05040a;
}
.demo__indicator {
  inline-size: 14px;
  block-size: 8px;
  border: 1px solid currentColor;
  background: linear-gradient(90deg, #f6f4ff 72%, transparent 72%) content-box;
  padding: 1px;
  border-radius: 2px;
}
.demo__summary {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin: 0.35rem 0.38rem 0.32rem;
  gap: 0.5rem;
}
.demo__summary h2 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.demo__summary p { color: var(--night-muted); font-size: 0.69rem; line-height: 1.4; }
.demo__summary > span { padding: 0.21rem 0.48rem; border-radius: 24px; color: #e9e2ff; background: #28243d; font-size: 0.77rem; font-weight: 800; }
.demo__plan { position: relative; aspect-ratio: 1.42; margin-inline: 2px; }
.demo__plan img, .demo__layers, .demo__light, .demo__points { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; }
.demo__plan img { object-fit: fill; border-radius: 12px; }
.demo__plan.is-ready img { filter: brightness(0.20) saturate(0.52); }
.demo__layers { overflow: hidden; border-radius: 12px; pointer-events: none; }
.demo__light {
  background: url("/assets/planta.webp") center / 100% 100%;
  mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--x) var(--y), black 0 60%, transparent);
  -webkit-mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--x) var(--y), black 0 60%, transparent);
  opacity: 0;
}
.demo__light.is-violet { background-color: #9680ff; background-blend-mode: multiply; }
.demo__light[data-room="sala"] {
  --main-mask: radial-gradient(ellipse var(--rx) var(--ry) at var(--x) var(--y), black 0 60%, transparent);
  --entry-mask: radial-gradient(ellipse 15% 14% at 43% 41%, black 0 60%, transparent);
  -webkit-mask-image: var(--main-mask), var(--entry-mask);
  mask-image: var(--main-mask), var(--entry-mask);
}
.demo [data-room="sala"] { --x: 29%; --y: 51%; --rx: 30%; --ry: 24%; }
.demo [data-room="cozinha"] { --x: 62%; --y: 51%; --rx: 25%; --ry: 23%; }
.demo [data-room="casal"] { --x: 24%; --y: 20%; --rx: 23%; --ry: 23%; }
.demo [data-room="hospedes"] { --x: 77%; --y: 19%; --rx: 24%; --ry: 23%; }
.demo [data-room="banheiro"] { --x: 49%; --y: 17%; --rx: 12%; --ry: 21%; }
.demo [data-room="varanda"] { --x: 49%; --y: 81%; --rx: 54%; --ry: 23%; }
.demo [data-room="servico"] { --x: 87%; --y: 53%; --rx: 13%; --ry: 19%; }
.demo__point {
  position: absolute;
  display: grid;
  place-items: center;
  inset-inline-start: var(--x);
  inset-block-start: var(--y);
  padding: 0;
  inline-size: 44px;
  block-size: 44px;
  transform: translate(-50%, -50%);
  background: none;
  border: 0;
  border-radius: 50%;
}
.demo__point::before {
  content: "";
  inline-size: 11px;
  block-size: 11px;
  border: 1px solid #ffffffb3;
  background: #1e1d2fc2;
  border-radius: 50%;
}
.demo__point[aria-pressed="true"]::before { background: #fff1b5; box-shadow: 0 0 14px #ffd891; }
.demo__presets, .demo__rooms, .demo__bottom { display: grid; gap: 4px; margin-block-start: 5px; }
.demo__presets { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.demo__presets button, .demo__room, .demo__bottom > * {
  min-inline-size: 0;
  border: 1px solid #4f4970;
  background: #211e35;
  border-radius: 9px;
  text-align: start;
}
.demo__presets button {
  display: grid;
  min-block-size: 45px;
  padding: 3px 0;
  place-content: center;
  justify-items: center;
  gap: 0.18rem;
  color: #e7dfff;
  font-size: clamp(0.55rem, 2.55vw, 0.64rem);
  line-height: 1.1;
}
.demo__presets button[aria-pressed="true"] { background: #ebc47a; border-color: #f9ddac; color: #2b1a0b; }
.demo__presets .icon, .demo__climate .icon { inline-size: 0.94rem; block-size: 0.94rem; }
.demo__rooms, .demo__bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.demo__room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
  min-block-size: 44px;
  padding: 0.22rem 0.29rem;
}
.demo__room strong, .demo__room small { display: block; line-height: 1.12; }
.demo__room strong { color: #f1ecff; font-size: clamp(0.64rem, 2.8vw, 0.73rem); }
.demo__room small { margin-block-start: 0.12rem; color: var(--night-muted); font-size: 0.61rem; }
.demo__room::after {
  content: "";
  inline-size: 19px;
  block-size: 11px;
  flex: none;
  border-radius: 20px;
  background: radial-gradient(circle at 32% 50%, #fff 0 3px, transparent 3.5px), #4b4560;
}
.demo__room[aria-pressed="true"] { background: #2c2350; }
.demo__room[aria-pressed="true"]::after { background: radial-gradient(circle at 68% 50%, #fff 0 3px, transparent 3.5px), #9381ff; }
.demo__bottom > * { padding: 0.28rem; }
.demo__climate { padding-inline: 2px; }
.demo__bottom span { display: block; color: var(--night-muted); font-size: 0.65rem; }
.demo__bottom strong { font-size: 0.73rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.demo__climate > div { display: flex; align-items: center; justify-content: space-between; }
.demo__climate button {
  display: grid;
  inline-size: 44px;
  min-block-size: 44px;
  padding: 0 2px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  place-items: center;
}
.demo__climate .icon { padding: 2px; border-radius: 50%; background: #38324f; }
.demo__security[aria-pressed="true"] strong::before { content: ""; display: inline-block; inline-size: 6px; block-size: 6px; border-radius: 50%; background: #a9e0b4; margin-inline-end: 0.25rem; }
.demo__presets button:focus-visible, .demo__room:focus-visible, .demo__bottom button:focus-visible { outline-offset: -3px; }
.demo__presets button[aria-pressed="true"]:focus-visible { outline-color: #21152b; }
.demo__hint { margin-block-start: 0.42rem; color: var(--night-muted); font-size: 0.74rem; }

.section { padding-block: 3rem; }
.section h2, .contact h2 { font-size: clamp(2rem, 8vw, 3.15rem); font-weight: 550; line-height: 1.07; letter-spacing: -0.055em; }
.section p, .section-heading p:not(.eyebrow), .process__steps p { color: var(--night-muted); }
.section .eyebrow, .contact .eyebrow { color: #c1b5fa; }
.solutions__list { --solution-width: min(85%, 425px); }
.solution { min-block-size: 240px; padding: 1rem; }
.solution__icon { margin-block-end: 0.5rem; }
.solution h3 { font-size: 1.15rem; }
.section .solution p { color: #ece7ff; }

.panel { border-block-start: 1px solid #29243c; }
.panel ul {
  margin-block: 0.85rem 1.25rem;
  padding-inline-start: 1.25rem;
  line-height: 1.7;
  color: #ddd5ff;
}
.panel__tablet { padding: 0.6rem; background: #171528; border: 1px solid #5e5776; border-radius: 15px; }
.panel__tablet-screen { display: grid; align-items: center; grid-template-columns: 1.35fr 1fr; gap: 0.55rem; border-radius: 8px; background: #211b34; padding: 0.5rem; }
.panel__tablet-screen img { inline-size: 100%; block-size: auto; border-radius: 8px; }
.panel__tablet-screen strong, .panel__tablet-screen span { display: block; padding: 0.22rem 0.35rem; font-size: 0.7rem; }
.panel__tablet-screen span { margin-block-start: 0.28rem; border: 1px solid #60558a; border-radius: 5px; background: #332752; }
.panel__tablet figcaption { padding: 0.18rem 0.18rem 0; color: var(--night-muted); font-size: 0.72rem; }
.process { background: var(--night); border-block-start: 1px solid #29243c; }
.process__inner { grid-template-columns: minmax(0, 1fr); }
.process__media { display: none; }
.process__steps li { border-color: #332a47; }
.process__steps li > span { color: #b6a7f5; }
.contact { padding-block: 2.8rem; }
.contact__panel { --focus: #d4caff; background: radial-gradient(ellipse at 10% 0%, #3d2867, #171128 63%); color: var(--lavender); }
.contact p:not(.eyebrow) { color: var(--night-muted); }
.contact .button { inline-size: auto; max-inline-size: 100%; }
.footer { color: var(--lavender); border-block-start: 1px solid #29243c; }

@media (hover: hover) and (pointer: fine) {
  .hero__mobile-copy .button:hover, .contact .button:hover { background: #5744c7; }
}

@media (max-width: 355px) {
  .demo__chrome { margin-inline: 4px; }
  .demo__phone { padding-inline: 5px; }
  .demo__climate strong { font-size: 0.65rem; }
}
