/* Steelbox — landing page. Grafite + laranja Steelbox (mesma paleta do simulador); cor de gema por modelo. */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --sunken: #ecebe6;
  --line: #dcdad3;
  --fg: #1d2226;
  --muted: #5b646b;
  --dark: #1d2226;
  --dark-2: #262c31;
  --on-dark: #eef0f1;
  --on-dark-muted: #a9b2b8;
  --accent: #e2601b;
  --accent-ink: #b8460c;
  --wa: #1f8f4e;
  --wa-hover: #187a42;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --raio: 14px;
  --sombra: 0 1px 2px rgba(20, 24, 27, 0.06), 0 8px 24px rgba(20, 24, 27, 0.08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121518; --surface: #1b2024; --sunken: #20262a; --line: #31393f;
    --fg: #e6e9eb; --muted: #9aa4ab; --dark: #0b0e10; --dark-2: #161a1d;
    --accent: #f07a37; --accent-ink: #ff9a5e;
    --sombra: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: 0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.envolve { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.envolve-estreito { max-width: 820px; }
@media (min-width: 720px) { .envolve { padding: 0 32px; } }

.pular { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.pular:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.02rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-linha { border-color: currentColor; color: inherit; }
.btn-linha:hover { background: rgba(127, 127, 127, 0.12); }
.btn-pequeno { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-grande { min-height: 60px; padding: 0 30px; font-size: 1.15rem; }
.btn-bloco { width: 100%; }
.ico { width: 22px; height: 22px; flex: none; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 20; background: var(--dark); color: #fff; }
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 30px; width: auto; }
@media (min-width: 760px) { .logo img { height: 36px; } }
.logo-rodape { display: block; width: 160px; height: auto; }
.menu { display: none; gap: 28px; }
.menu a { color: var(--on-dark-muted); text-decoration: none; font-weight: 600; }
.menu a:hover { color: #fff; }
@media (min-width: 860px) { .menu { display: flex; } }

.sobretitulo { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }

/* 1. Hero */
.hero { background: var(--dark); color: var(--on-dark); padding: 28px 0 48px; overflow: hidden; }
.hero .sobretitulo { color: var(--accent); }
.hero-grade { display: grid; gap: 28px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); color: #fff; text-transform: uppercase; }
.hero h1 span { color: var(--accent); }
.hero-sub { margin-top: 16px; font-size: 1.12rem; color: var(--on-dark); max-width: 34em; }
.hero-sub strong { color: #fff; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-nota { margin-top: 14px; font-size: 0.9rem; color: var(--on-dark-muted); }
.hero-foto { margin: 0; position: relative; }
/* Carrossel de modelos (arrastar no celular) */
.carrossel-trilho {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-radius: var(--raio); scrollbar-width: none; overscroll-behavior-x: contain;
}
.carrossel-trilho::-webkit-scrollbar { display: none; }
.carrossel-trilho:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.slide { flex: 0 0 100%; position: relative; scroll-snap-align: start; scroll-snap-stop: always; }
.slide img { display: block; width: 100%; aspect-ratio: 588 / 645; object-fit: cover; }
/* Foto horizontal (Projetos Especiais): mostra a casa inteira, sem corte */
.slide-inteira img { object-fit: contain; background: var(--dark-2); }
.slide-legenda {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 14, 16, 0.72); color: #fff; font-size: 0.85rem; font-weight: 600;
}
.carrossel-pontos { display: flex; justify-content: center; gap: 4px; margin-top: 8px; }
.carrossel-pontos button {
  width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
  display: grid; place-items: center;
}
.carrossel-pontos button::before {
  content: ""; width: 9px; height: 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.35);
  transition: width 0.2s, background 0.2s;
}
.carrossel-pontos button[aria-current="true"]::before { width: 24px; background: var(--accent); }
@media (prefers-reduced-motion: reduce) { .carrossel-trilho { scroll-behavior: auto; } }
/* No celular os modelos aparecem logo na abertura, antes do texto. */
@media (max-width: 899px) { .hero { padding-top: 16px; } .hero-grade { gap: 20px; } .carrossel { order: -1; } }
@media (max-width: 539px) { .hero-acoes .btn { flex: 1 1 100%; } }
@media (min-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero-grade { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .slide img { aspect-ratio: 588 / 636; }
}

/* 2. Faixa de confiança */
.confianca { background: var(--surface); border-bottom: 1px solid var(--line); }
.confianca-lista { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.confianca-lista li { padding: 20px 8px; border-top: 1px solid var(--line); }
.confianca-lista li:nth-child(-n+2) { border-top: 0; }
.confianca-lista strong { display: block; font-family: var(--display); font-size: 1.45rem; line-height: 1.1; }
.confianca-lista span { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 860px) {
  .confianca-lista { grid-template-columns: repeat(4, 1fr); }
  .confianca-lista li { border-top: 0; padding: 28px 16px; border-left: 1px solid var(--line); }
  .confianca-lista li:first-child { border-left: 0; padding-left: 0; }
}

/* Seções */
.secao { padding: 64px 0; }
@media (min-width: 860px) { .secao { padding: 96px 0; } }
.secao-topo { max-width: 40em; margin-bottom: 36px; }
.secao-topo h2 { font-size: clamp(2rem, 6vw, 3rem); }
.secao-topo p:not(.sobretitulo) { margin-top: 12px; color: var(--muted); font-size: 1.08rem; }
.secao-clara { background: var(--sunken); }
.secao-escura { background: var(--dark-2); color: var(--on-dark); }
.secao-escura h2, .secao-escura h3 { color: #fff; }
.secao-escura .sobretitulo { color: var(--accent); }

/* 3. Categorias — blocos coloridos com ícone em linha */
.segmentos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .segmentos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .segmentos { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.segmento {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; min-height: 240px; height: 100%; padding: 28px 24px 64px; border-radius: 8px;
  background: var(--cor); color: #fff; text-align: center; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}
.segmento:hover { transform: translateY(-3px); box-shadow: var(--sombra); filter: brightness(1.06); }
.segmento-ico { width: 72px; height: 72px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.segmento h3 { font-size: 1.75rem; font-weight: 600; }
.segmento p { font-size: 0.97rem; opacity: 0.88; max-width: 22em; }
.seta { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.segmento .seta { position: absolute; right: 18px; bottom: 18px; }

/* 4. Modelos */
.modelos { display: grid; gap: 20px; }
@media (min-width: 640px) { .modelos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .modelos { grid-template-columns: repeat(4, 1fr); } }
.modelo {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--raio);
  overflow: hidden; box-shadow: var(--sombra); border-top: 5px solid var(--gema);
}
.modelo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.modelo-corpo { display: flex; flex-direction: column; gap: 12px; padding: 20px; flex: 1; }
.modelo h3 { font-size: 2rem; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.modelo h3 small { font-family: var(--body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.modelo-slogan { font-weight: 600; }
.ficha { margin: 0; display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ficha div { display: flex; justify-content: space-between; gap: 12px; }
.ficha dt { color: var(--muted); }
.ficha dd { margin: 0; font-weight: 600; text-align: right; }
.modelo-uso { color: var(--muted); font-size: 0.95rem; flex: 1; }

.especial {
  margin-top: 24px; display: grid; overflow: hidden;
  border-radius: var(--raio); background: var(--surface); box-shadow: var(--sombra);
}
.especial-foto img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.especial-corpo { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.especial-corpo .sobretitulo { margin: 0; }
.especial h3 { font-size: 1.9rem; }
.especial-corpo > p { color: var(--muted); }
.especial-galeria {
  list-style: none; margin: 4px 0 6px; padding: 0 0 4px; width: 100%;
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.especial-galeria::-webkit-scrollbar { display: none; }
.especial-galeria li { scroll-snap-align: start; }
.especial-galeria img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 8px; }
@media (max-width: 539px) { .especial-corpo .btn { width: 100%; justify-content: center; } }
@media (min-width: 900px) {
  .especial { grid-template-columns: 1.1fr 1fr; }
  .especial-corpo { padding: 32px; justify-content: center; }
  .especial-galeria { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; }
}
.nota-imagens { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

/* 4. Como funciona */
.passos { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: passo; }
@media (min-width: 760px) { .passos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passo-n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; font-family: var(--display); font-size: 1.4rem; font-weight: 700; margin-bottom: 14px;
}
.passos h3 { font-size: 1.55rem; margin-bottom: 6px; }
.passos p { color: var(--on-dark-muted); }

/* 5. Showroom */
.showroom { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .showroom { grid-template-columns: 1fr 1fr; gap: 56px; } }
.showroom h2 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: 14px; }
.showroom address { font-style: normal; font-weight: 600; margin-top: 18px; padding-left: 14px; border-left: 4px solid var(--accent); }
.showroom .nota { margin-top: 12px; color: var(--muted); }
.showroom-foto { margin: 0; }
.showroom-foto { position: relative; }
.showroom-foto img, .showroom-video { display: block; border-radius: var(--raio); width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; background: var(--dark-2); }
.showroom-foto figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  background: rgba(11, 14, 16, 0.72); color: #fff; font-size: 0.85rem; font-weight: 600;
}

/* 6. Para quem é — grade de painéis coloridos com foto */
.bento { display: grid; gap: 20px; }
.bento-item {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
  background: var(--cor); color: #fff; text-decoration: none;
}
.bento-foto { display: block; overflow: hidden; }
.bento-foto img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.4s; }
.bento-item:hover .bento-foto img { transform: scale(1.04); }
.bento-painel { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 72px; flex: 1; }
.bento-ico { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 6px; }
.bento-painel h3 { font-size: 2rem; font-weight: 600; }
.bento-painel p { opacity: 0.9; max-width: 22em; }
.bento-painel .seta { position: absolute; right: 24px; bottom: 22px; width: 40px; height: 40px; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "a b b" "a c d"; }
  .bento-a { grid-area: a; }
  .bento-b { grid-area: b; flex-direction: row-reverse; }
  .bento-c { grid-area: c; }
  .bento-d { grid-area: d; }
  .bento-a .bento-foto { flex: 1; min-height: 300px; }
  .bento-a .bento-painel { flex: none; }
  .bento-a .bento-foto img { aspect-ratio: auto; }
  .bento-b .bento-foto { flex: 1.3; }
  .bento-b .bento-foto img { aspect-ratio: auto; }
  .bento-b .bento-painel { flex: 1; }
}
.regioes { margin-top: 28px; font-size: 1.1rem; }

/* 7. Dúvidas */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 700; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 42em; }

/* 8. CTA final */
.final { background: var(--accent); color: #fff; padding: 64px 0; text-align: center; }
.final-grade { display: grid; justify-items: center; gap: 14px; }
.final h2 { font-size: clamp(2.1rem, 7vw, 3.4rem); text-transform: uppercase; }
.final p { font-size: 1.12rem; margin-bottom: 10px; }
.final .btn-wa { background: var(--dark); }
.final .btn-wa:hover { background: #000; }

/* Rodapé */
.rodape { background: var(--dark); color: var(--on-dark-muted); padding: 40px 0 calc(96px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.rodape-grade { display: grid; gap: 24px; }
@media (min-width: 760px) { .rodape-grade { grid-template-columns: 1fr auto; } .rodape { padding-bottom: 40px; } }
.rodape p { margin-top: 8px; }
.rodape-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rodape-links a { color: var(--on-dark); text-decoration: none; }
.rodape-links a:hover { color: var(--accent); }
.rodape-lgpd { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }

/* Botão flutuante */
.wa-flutuante {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
}
.wa-flutuante:hover { background: var(--wa-hover); }
.wa-flutuante svg { width: 32px; height: 32px; }
