/* Mulish (SIL Open Font License) · hospedada no próprio site */
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/mulish-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/mulish-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0d0d0d;
  --muted: #555555;
  --soft: #444444;
  --line: rgba(13, 13, 13, 0.12);
  --line-strong: rgba(13, 13, 13, 0.22);
  --paper: #ffffff;
  --sand: #f7f6f3;
  --yellow: #f2c335;
  --pad: clamp(20px, 4vw, 48px);
  --max: 1320px;
  --header: 120px;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Mulish", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px;
  top: 8px;
  transform: translateY(-160%);
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 80;
}
.skip:focus { transform: none; }

.wrap { width: min(var(--max), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.sand { background: var(--sand); }
.yellow { background: var(--yellow); color: var(--ink); }
.inverse { background: var(--ink); color: #fff; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, .display {
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: pretty;
}
h1 { font-size: clamp(34px, 4.4vw, 56px); margin: 0; }
h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 0; }
h3 { font-size: 20px; line-height: 1.3; margin: 0; font-weight: 700; }
.lead { font-size: 17px; line-height: 1.6; color: var(--soft); margin: 0; }
.inverse .lead { color: rgba(255, 255, 255, 0.75); }
.muted { color: var(--muted); }
.caption {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  background: transparent;
  text-align: center;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { filter: brightness(0.96); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--line-strong); background: var(--paper); }
.btn-ghost { border-color: var(--line-strong); background: transparent; font-weight: 600; }
.inverse .btn-ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn-block { width: 100%; }
.linkline {
  font-weight: 700;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

#calculadora { scroll-margin-top: var(--header); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { height: 46px; width: auto; flex: none; object-fit: contain; }
.site-header .logo { height: 92px; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-btn svg { width: 44px; height: 44px; display: block; }
.menu-btn { display: none; background: transparent; border: 0; font-size: 15px; font-weight: 700; min-height: 44px; }

.menu-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.menu-panel nav { display: grid; gap: 4px; margin-top: 28px; }
.menu-panel nav a { font-size: 28px; font-weight: 300; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-foot { margin-top: auto; display: grid; gap: 8px; color: var(--muted); padding-top: 24px; }

.hero-stage { position: relative; background: var(--sand); }
.hero-stage img { width: 100%; height: min(68vh, 640px); object-fit: cover; }
.hero-bar {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hero-tag, .hero-ctrl {
  background: #fff;
  padding: 8px 12px;
  font-size: 13px;
}
.hero-ctrl { display: flex; align-items: center; gap: 10px; }
.dots { display: flex; gap: 6px; }
.dots button {
  width: 28px;
  height: 2px;
  padding: 8px 0;
  background: transparent;
  border: 0;
  position: relative;
}
.dots button::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  background: rgba(13, 13, 13, 0.25);
}
.dots button[aria-current="true"]::after { background: var(--ink); }
.hero-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: end;
  padding-top: clamp(36px, 5vw, 56px);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 24px; }

.quote {
  margin: 0;
  max-width: 960px;
  font-weight: 300;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.quote footer { margin-top: 18px; font-size: 15px; font-weight: 400; color: var(--muted); letter-spacing: 0; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.stat { border-top: 2px solid var(--ink); padding-top: 16px; }
.stat b { display: block; font-weight: 300; font-size: clamp(32px, 3vw, 40px); line-height: 1; }
.stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.numlist { display: grid; }
.numlist article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.numlist article:last-child { border-bottom: 1px solid var(--line); }
.idx { font-weight: 300; font-size: 28px; }

.head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 28px;
}

.cards-3, .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; }
.card img, .media {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eceae4;
}
.media.tall { aspect-ratio: 3 / 4; }
.media.wide { aspect-ratio: 16 / 9; }
.card-body { padding: 18px 4px 0; }
.card h3 { font-size: 22px; font-weight: 600; }
.card p { margin: 8px 0 0; color: var(--soft); }

.filters { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.filters [role="group"] { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.chip {
  background: transparent;
  border: 0;
  padding: 8px 0;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 2px solid transparent;
  border-radius: 0;
}
.chip[aria-pressed="true"] { border-bottom-color: var(--ink); }
.sep { width: 1px; height: 18px; background: var(--line-strong); }

.project-card h3 { margin-top: 14px; font-size: 18px; font-weight: 600; }
.center { display: flex; justify-content: center; margin-top: 36px; }

.method-rail { position: relative; margin-top: 40px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  height: 2px;
  transform-origin: left center;
}
.steps::before {
  right: 0;
  background: rgba(13, 13, 13, 0.15);
}
.steps::after {
  width: 22%;
  background: var(--ink);
  z-index: 1;
}
.steps li { position: relative; }
.steps li:not(.steps-bead)::before {
  content: "";
  position: absolute;
  left: 0; top: -28px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(13, 13, 13, 0.3);
  z-index: 2;
}
.steps li.on::before { background: var(--ink); border-color: var(--ink); }
.steps li.on::after {
  content: "";
  position: absolute;
  left: -5px;
  top: -33px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  z-index: 1;
}
.steps-bead {
  position: absolute;
  top: 4px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
}
.steps .n { font-weight: 300; font-size: 32px; display: block; }
.steps p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .steps::before { animation: method-draw 1.05s cubic-bezier(.22, .7, .2, 1) both; }
  .steps::after { animation: method-draw 1.25s .15s cubic-bezier(.22, .7, .2, 1) both; }
  .steps > li {
    animation: method-step .55s ease both;
    animation-delay: var(--d, 0s);
  }
  .steps > li::before {
    animation: method-dot .45s cubic-bezier(.2, .8, .2, 1.15) both;
    animation-delay: calc(var(--d, 0s) + .08s);
  }
  .steps > li:nth-child(1) { --d: .05s; }
  .steps > li:nth-child(2) { --d: .2s; }
  .steps > li:nth-child(3) { --d: .35s; }
  .steps > li:nth-child(4) { --d: .5s; }
  .steps > li:nth-child(5) { --d: .65s; }
  .steps li.on::after { animation: method-ring 2.8s 1.15s ease-out infinite; }
  .steps li:nth-child(2).on::after { animation-delay: 1.5s; }
  .steps-bead { animation: method-bead 7.5s 1.35s linear infinite; }
}

@supports (animation-timeline: view()) {
  .steps::before,
  .steps::after,
  .steps > li,
  .steps > li::before {
    animation-delay: 0s;
    animation-timeline: view();
    animation-range: entry 0% cover 34%;
  }
  .steps::after { animation-range: entry 10% cover 42%; }
  .steps > li:nth-child(1),
  .steps > li:nth-child(1)::before { animation-range: entry 2% cover 26%; }
  .steps > li:nth-child(2),
  .steps > li:nth-child(2)::before { animation-range: entry 8% cover 32%; }
  .steps > li:nth-child(3),
  .steps > li:nth-child(3)::before { animation-range: entry 14% cover 38%; }
  .steps > li:nth-child(4),
  .steps > li:nth-child(4)::before { animation-range: entry 20% cover 44%; }
  .steps > li:nth-child(5),
  .steps > li:nth-child(5)::before { animation-range: entry 26% cover 50%; }
}

@keyframes method-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes method-dot { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes method-step { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes method-ring {
  0% { transform: scale(.72); opacity: .55; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes method-bead {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}

.video-frame { position: relative; }
.video-card img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; background: #1a1a1a; }
.play {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 1;
  min-height: 44px;
}
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.partner { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.partner img, .ph {
  width: 100%;
  aspect-ratio: 103 / 180;
  object-fit: cover;
  object-position: center top;
  background: #eceae4;
}
.ph {
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--muted);
  font-size: 14px;
}
.role { color: var(--muted); margin: 4px 0 0; font-size: 14px; }

.calc {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}
.panel {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}
.panel .muted { color: rgba(255, 255, 255, 0.65); }
.progress { height: 3px; background: rgba(255, 255, 255, 0.15); margin: 12px 0 20px; }
.progress span { display: block; height: 100%; background: var(--yellow); }
.option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
}
.option:has(input:checked) { border-color: var(--yellow); }
.option input { margin-top: 4px; accent-color: var(--yellow); }
.panel-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.field { display: grid; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="range"] {
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  padding: 0 14px;
}
.paper-form .field input {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 13px; font-weight: 400; color: rgba(255, 255, 255, 0.75); }
.paper-form .check { color: var(--soft); }
.rooms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.rooms button {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  min-height: 36px;
  padding: 6px 12px;
  font-size: 13px;
}
.rooms button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.calc-start, .only-mobile { display: none; }
.project-intro { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 700;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--soft); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { margin-top: 28px; }
.contact-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-list div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.paper-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
}

.footer { background: var(--sand); padding: 56px 0 28px; font-size: 14px; color: #444; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer b { color: var(--ink); display: block; margin-bottom: 8px; }
.footer a { display: block; padding: 4px 0; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
}

.bottom-bar {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 35;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow);
  padding: 8px;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(13, 13, 13, 0.72);
  display: grid;
  place-items: center;
  padding: 20px;
}
.dialog .sheet {
  background: #fff;
  color: var(--ink);
  width: min(560px, 100%);
  border-radius: 20px;
  padding: 24px;
}
.dialog.full .sheet {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: auto;
}

.project-hero img { width: 100%; height: min(70vh, 620px); object-fit: cover; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.spec { border-top: 1px solid var(--line); padding-top: 10px; }
.spec span { display: block; color: var(--muted); font-size: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.two img, .gallery img { width: 100%; height: 100%; object-fit: cover; }
.two img { aspect-ratio: 3 / 4; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { aspect-ratio: 1; }
.next-row { display: grid; grid-template-columns: 1fr 1fr; }
.next-row a, .next-row div { padding: 48px var(--pad); }
.next-row .go { background: var(--sand); }
.next-row .ask { background: var(--ink); color: #fff; }

@media (max-width: 1100px) {
  .nav, .header-actions .desk { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header { height: 88px; }
  .logo { height: 34px; }
  .site-header .logo { height: 64px; }
  .hero-copy, .split, .partners, .calc, .contact-grid, .footer-grid, .next-row {
    grid-template-columns: 1fr;
  }
  .stats, .cards-3, .grid-3, .steps, .specs, .gallery { grid-template-columns: 1fr 1fr; }
  .steps { gap: 28px 16px; }
  .steps::after,
  .steps-bead,
  .steps li.on::after { display: none; }
  .partner { grid-template-columns: 120px 1fr; }
  .calc-start, .only-mobile { display: inline-flex; }
  .calc-panel { display: none; }
  .calc-panel.open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 70;
    border-radius: 0;
    overflow: auto;
  }
  .project-intro { grid-template-columns: 1fr; }
  .bottom-bar.on { display: grid; }
}

@media (max-width: 640px) {
  .stats, .cards-3, .grid-3, .steps, .specs, .gallery, .two, .partners { grid-template-columns: 1fr; }
  .hero-bar { left: 12px; right: 12px; flex-direction: column; align-items: stretch; }
  .hero-stage img { height: 68vw; min-height: 280px; }
  .steps::before,
  .steps::after,
  .steps li::before,
  .steps li.on::after,
  .steps-bead { display: none; }
  .partner { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
}

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

/* ---------- Acréscimos da versão PHP ---------- */
[hidden] { display: none !important; }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hero-stage img { transition: opacity .35s ease; }
.hero-stage img.is-fading { opacity: .25; }
.hero-pause { min-height: 36px; padding: 4px 12px; }
.video-poster { aspect-ratio: 4 / 5; background: #1a1a1a; }
.calc-meta { display: flex; justify-content: space-between; gap: 12px; }
.calc-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.calc-head h3 { color: #fff; font-weight: 600; }
.calc-area { font-weight: 300; font-size: 40px; margin: 16px 0 8px; }
.calc-panel input[type="range"] { width: 100%; accent-color: var(--yellow); }
.calc-range { font-weight: 300; font-size: 32px; color: var(--yellow); line-height: 1.2; margin: 4px 0 12px; }
.calc-error { color: var(--yellow); font-weight: 600; margin: 14px 0 0; }
.calc-warn { color: rgba(255, 255, 255, .75); font-size: 13px; }
.field input[type="text"] { color: inherit; }
.panel .field input { color: #fff; }
.check a { color: inherit; }
.form-error { color: #b42318; font-weight: 600; margin: 14px 0 0; }
.paper-form .btn[disabled], .panel .btn[disabled] { opacity: .5; cursor: default; }
.card-link { display: block; }
.card-link:hover h3 { text-decoration: underline; text-underline-offset: 4px; }
.faq-answer p { margin: 0 0 18px; color: var(--soft); }
.rich p { margin: 0 0 1em; }
.rich p:last-child { margin-bottom: 0; }
.rich h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 1.6em 0 .6em; }
.rich h3 { margin: 1.4em 0 .5em; }
.rich ul { padding-left: 1.2em; margin: 0 0 1em; }
.rich li { margin: .3em 0; }
.project-hero { width: 100%; height: min(70vh, 620px); object-fit: cover; }
.gallery a { display: block; }
.gallery a:focus-visible img { outline: 2px solid var(--ink); outline-offset: 3px; }
.article-head { max-width: 820px; }
.article-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 36px; }
.article-body { max-width: 720px; margin-top: 40px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.article-body h2, .article-body h3 { color: var(--ink); }
.article-foot { max-width: 720px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.dialog .sheet-video { width: min(960px, 100%); }
.video-player { display: block; width: 100%; max-height: 75vh; margin-top: 16px; background: #000; border: 0; border-radius: 12px; }
iframe.video-player { aspect-ratio: 16 / 9; height: auto; }
.lightbox { background: rgba(13, 13, 13, .94); }
.lightbox img { max-width: min(1400px, 92vw); max-height: 86vh; object-fit: contain; }
.lb-close { position: absolute; top: 16px; right: 16px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(13, 13, 13, .5); color: #fff; font-size: 22px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
body.no-scroll { overflow: hidden; }
@media (max-width: 640px) {
  .lb-nav { top: auto; bottom: 20px; transform: none; }
}
.footer-grid span { display: block; padding: 4px 0; }
.calc-meta span:first-child { white-space: nowrap; }
.calc-projeto { margin: 0 0 8px; color: rgba(255, 255, 255, .85); }
.play-soon { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 700; }
.dialog .sheet-video.is-vertical { width: min(440px, 100%); }
iframe.video-player.is-vertical { aspect-ratio: 9 / 16; max-height: 78vh; width: auto; margin-inline: auto; }

/* ===== Home · abertura (texto abaixo do carrossel) ===== */
.hero-copy { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 44px; align-items: stretch; padding-top: clamp(28px, 4vw, 42px); }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-copy .eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--yellow); flex: none; }
.hero-side { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding-left: 32px; border-left: 1px solid var(--line); }
.hero-steps { --n: 4; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 10px; position: relative; }
.hero-steps:has(li:nth-child(5)) { --n: 5; }
.hero-steps::before { content: ""; position: absolute; top: 16px; left: 16px; right: calc(100% / var(--n) - 16px); height: 1px; background: var(--line-strong); }
.hero-steps li { position: relative; }
.hero-step-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--paper); }
.hero-step-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-step-label { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; line-height: 1.25; }
.hero-note { margin: 0; font-size: 14px; line-height: 1.45; color: var(--soft); }
.hero-side .hero-actions { margin-top: 0; }

/* ===== Home · citação + números ===== */
.manifesto-section { position: relative; overflow: hidden; }
.manifesto-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(13, 13, 13, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(13, 13, 13, .055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
}
.manifesto { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.manifesto-quote { margin: 0; position: relative; }
.quote-mark { display: block; font-size: clamp(120px, 12vw, 180px); line-height: .62; height: .42em; color: var(--yellow); font-weight: 700; margin-left: -6px; }
.manifesto .quote { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.22; }
.manifesto .quote strong { font-weight: inherit; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); }
.quote-author { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 14px; color: var(--muted); line-height: 1.35; }
.quote-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 15%; flex: none; border: 2px solid var(--yellow); }
.quote-author b { color: var(--ink); font-weight: 700; font-size: 15px; }
.manifesto .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 0; }
.manifesto .stat {
  border: 1px solid var(--line); border-radius: 18px; background: var(--paper); padding: 22px 22px 20px;
  min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
}
.manifesto .stat b { font-size: clamp(38px, 3.6vw, 52px); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.manifesto .stat span { margin-top: 0; font-size: 14px; line-height: 1.35; }
.manifesto .stat:nth-child(1) { background: var(--ink); border-color: var(--ink); color: #fff; }
.manifesto .stat:nth-child(1) span { color: rgba(255, 255, 255, .7); }
.manifesto .stat:nth-child(2) { background: var(--yellow); border-color: var(--yellow); }
.manifesto .stat:nth-child(2) span { color: rgba(13, 13, 13, .75); }
.manifesto .stat:nth-child(4) { background: transparent; border-style: dashed; border-color: var(--line-strong); }

/* ===== Home · método ===== */
.method-head { display: grid; grid-template-columns: repeat(5, 1fr); column-gap: 20px; align-items: end; }
.method-title { grid-column: 1 / span 3; }
.method-intro { grid-column: 4 / span 2; display: grid; gap: 18px; justify-items: start; }
.method-intro .lead { font-size: 16px; }
.method-rail { margin-top: 48px; }
.steps h3 { min-height: 2.6em; margin-top: 6px; }
.steps p { margin-top: 10px; }

@media (max-width: 1100px) {
  .hero-copy { grid-template-columns: 1fr; gap: 28px; }
  .hero-side { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 18px; gap: 14px; }
  .manifesto { grid-template-columns: 1fr; }
  .method-head { grid-template-columns: 1fr; row-gap: 20px; }
  .method-title, .method-intro { grid-column: auto; }
  .method-rail { margin-top: 36px; }
}
@media (max-width: 640px) {
  .hero-step-label { font-size: 12px; }
  .manifesto .stats { grid-template-columns: 1fr 1fr; }
  .manifesto .stat { min-height: 128px; padding: 18px 16px 16px; }
  .manifesto .stat b { font-size: 34px; }
  .manifesto .stat span { font-size: 13px; }
  .steps h3 { min-height: 0; }
}
.method-title h2 { max-width: 14em; text-wrap: balance; }
.hero-copy { padding-bottom: clamp(28px, 4vw, 44px); }

/* ===== Aviso de cookies (discreto) ===== */
.cookie-bar {
  position: fixed; left: 16px; bottom: 16px; z-index: 45; width: min(460px, calc(100% - 32px));
  display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 16px;
  background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .10); font-size: 13px; line-height: 1.45; color: var(--soft);
  animation: cookie-in .35s ease both;
}
.cookie-bar p { margin: 0; flex: 1; }
.cookie-bar a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.cookie-no { background: none; border: 0; padding: 4px 0; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.cookie-no:hover { color: var(--ink); }
.cookie-ok { min-height: 34px; padding: 6px 18px; font-size: 13px; }
.cookie-open .bottom-bar.on { display: none; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.linklike { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; width: auto; flex-wrap: wrap; gap: 10px; }
  .cookie-actions { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }

/* ===== Refinos responsivos (sem mudar conteúdo nem design) ===== */

/* Campos com 16px: evita o zoom automático do iPhone ao tocar no campo */
.field input, .field textarea, .field select { font-size: 16px; }
.check input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--ink); }

/* Barras fixas respeitam a faixa de gestos do iPhone */
.bottom-bar { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.cookie-bar { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }

/* Toque: área mínima de ~44px em telas de toque, sem mudar o desenho (área invisível ao redor) */
@media (pointer: coarse) {
  .dots button::before { content: ""; position: absolute; inset: -14px -3px; }
  .hero-tag, .hero-pause, .linkline, .chip, .contact-list a, .project-intro > a, .footer-grid a, .legal-links a, .legal-links .linklike { position: relative; }
  .hero-tag::before, .hero-pause::before { content: ""; position: absolute; inset: -4px 0; }
  .linkline::before, .project-intro > a::before { content: ""; position: absolute; inset: -10px -4px; }
  .chip::before { content: ""; position: absolute; inset: -2px -6px; }
  .contact-list a::before { content: ""; position: absolute; inset: -12px -6px; }
  .footer-grid a { padding: 10px 0; }
  .check { padding: 10px 0; margin-top: 4px; }
  .legal-links a::before, .legal-links .linklike::before { content: ""; position: absolute; inset: -12px -6px; }
}

/* Tablet e notebook pequeno: grades de 3 itens ficam em 3 colunas (sem card sobrando) */
@media (min-width: 720px) and (max-width: 1100px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .card h3 { font-size: 19px; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .manifesto { grid-template-columns: 7fr 5fr; }
}
@media (min-width: 641px) and (max-width: 1100px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet: o botão "Estime sua Reforma" continua visível ao lado do Menu */
@media (min-width: 700px) and (max-width: 1100px) {
  .header-actions .btn.desk { display: inline-flex; min-height: 44px; }
}

/* Telas muito estreitas (≤360px): respiro e textos que não estouram */
@media (max-width: 360px) {
  :root { --pad: 16px; }
  .hero-ctrl { gap: 6px; padding: 6px 8px; }
  .dots button { width: 22px; }
  .manifesto .stat { padding: 16px 12px 14px; }
  .manifesto .stat b { font-size: 30px; }
  .cookie-actions { flex-wrap: wrap; }
}

/* Telas grandes: textos longos com largura confortável de leitura */
@media (min-width: 1600px) {
  .lead { max-width: 68ch; }
}
@media (max-width: 640px) {
  .head { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== Altura da tela no celular e telas baixas ===== */
/* Menu do celular: rola quando não cabe (celular deitado, telas pequenas) */
.menu-panel { overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-height: 560px) {
  .menu-panel { padding: 14px 20px; }
  .menu-panel nav { margin-top: 12px; }
  .menu-panel nav a { font-size: 21px; padding: 8px 0; }
  .menu-foot { margin-top: 16px; padding-top: 12px; }
  .calc-panel.open { padding: 18px 20px; }
  .cookie-bar { padding: 8px 12px; gap: 10px; }
}
/* "svh" = altura visível da tela com a barra do navegador aberta (evita saltos no celular) */
.hero-stage img { height: min(68svh, 640px); }
.lightbox img { max-height: 86svh; }
.video-player { max-height: 75svh; }
iframe.video-player.is-vertical { max-height: 78svh; }
@media (max-width: 640px) {
  .hero-stage img { height: 68vw; min-height: 280px; }
}

/* Página da calculadora: tabela de valores de referência */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ref-table { width: 100%; border-collapse: collapse; }
.ref-table thead th { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 0 0 12px; border-bottom: 1px solid var(--line-strong); }
.ref-table thead th:last-child, .ref-table td { text-align: right; }
.ref-table tbody th, .ref-table td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref-table tbody th { text-align: left; font-weight: 400; padding-right: 16px; }
.ref-table tbody th b { display: block; font-size: 18px; font-weight: 600; }
.ref-table tbody th span { display: block; margin-top: 4px; font-size: 14px; color: var(--soft); }
.ref-table td { font-size: 18px; font-weight: 300; white-space: nowrap; }
@media (max-width: 480px) { .ref-table td { font-size: 15px; white-space: normal; } }
.card:not(:has(img)) .card-body { padding: 24px; }

/* ===== Por que a Immagina: cartões com numerais grandes ===== */
.why-section { position: relative; overflow: hidden; }
.why-section::before {
  content: ""; position: absolute; width: clamp(280px, 34vw, 520px); aspect-ratio: 1; border-radius: 50%;
  background: var(--yellow); opacity: .16; left: -14vw; bottom: -26vw; pointer-events: none;
}
.why { position: relative; align-items: center; }
.why-head h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -.02em; }
.why-head .hl { background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 90%, transparent 90%); padding: 0 .06em; }
.why .numlist { gap: 12px; counter-reset: why; }
.why .numlist article,
.why .numlist article:last-child {
  grid-template-columns: clamp(84px, 9vw, 128px) 1fr; gap: clamp(12px, 2vw, 28px); align-items: center;
  padding: clamp(20px, 2.4vw, 30px) clamp(20px, 2.6vw, 36px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--sand);
  transition: transform .25s ease, box-shadow .25s ease;
}
.why .numlist article:nth-child(odd) { margin-right: clamp(0px, 4vw, 56px); }
.why .numlist article:nth-child(even) { margin-left: clamp(0px, 4vw, 56px); }
.why .numlist article:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.why .numlist article:first-child .muted { color: rgba(255, 255, 255, .7); }
.why .numlist article:nth-child(3n+2) { background: var(--yellow); border-color: var(--yellow); }
.why .numlist article:nth-child(3n+2) .muted { color: rgba(13, 13, 13, .75); }
.why .idx {
  font-size: clamp(64px, 7.4vw, 108px); font-weight: 800; line-height: .8; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-variant-numeric: tabular-nums;
}
.why .numlist article:first-child .idx { -webkit-text-stroke-color: var(--yellow); }
.why .numlist h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; }
.why .numlist p { margin: 6px 0 0; }
@media (hover: hover) {
  .why .numlist article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .why .numlist article:hover .idx { color: var(--ink); }
  .why .numlist article:first-child:hover .idx { color: var(--yellow); }
}
@media (prefers-reduced-motion: reduce) { .why .numlist article { transition: none; } }
@media (max-width: 640px) {
  .why .numlist article:nth-child(n) { margin: 0; grid-template-columns: 64px 1fr; }
  .why .idx { font-size: 56px; }
}
