/* Phocus I.E.I. — cores e fonte do manual da marca */
:root {
  --vinho: #890004;
  --vinho-esc: #6b0003;
  --preto: #212121;
  --dourado: #ddb770;
  --cinza-esc: #404040;
  --cinza: #737373;
  --cinza-claro: #d9d9d9;
  --papel: #f5f3ef;
  --branco: #ffffff;
  --largura: 1200px;
  --raio: 4px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--branco); color: var(--preto);
  font-family: "Geologica", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 20px; font-weight: 600; }
em { font-style: normal; color: var(--dourado); }
p { margin: 0 0 1em; }
b { font-weight: 600; }
.wrap { max-width: var(--largura); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.rotulo { font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--vinho); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.rotulo::before { content: ""; width: 32px; height: 2px; background: var(--dourado); }
.rotulo.claro { color: var(--dourado); }
.intro { color: var(--cinza); max-width: 620px; font-size: 18px; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: var(--raio); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-decoration: none; transition: background .2s, color .2s, transform .2s; border: 2px solid transparent; }
.btn:hover { transform: translateY(-1px); }
.btn-vinho { background: var(--vinho); color: #fff; }
.btn-vinho:hover { background: var(--vinho-esc); }
.btn-ouro { background: var(--dourado); color: var(--preto); }
.btn-ouro:hover { background: #e7c78a; }
.btn-linha { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-linha:hover { background: #fff; color: var(--preto); }

/* topo */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); transition: box-shadow .3s; }
.topo.cheio { box-shadow: 0 4px 24px rgba(0,0,0,.12); }
.topo-in { max-width: var(--largura); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca img { height: 38px; width: auto; }
.menu { display: flex; align-items: center; gap: 30px; }
.btn { white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 761px) { .menu { gap: 20px; } .menu a:not(.btn) { font-size: 14px; } }
.menu a:not(.btn) { color: var(--preto); text-decoration: none; font-weight: 400; font-size: 15px; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--dourado); transition: width .25s; }
.menu a:not(.btn):hover::after { width: 100%; }
.menu .btn { padding: 10px 20px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--preto); margin: 6px 0; transition: transform .25s, opacity .25s; }

/* abertura */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 120px 0 90px; overflow: hidden; background: var(--preto); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; transform: scale(1.04); animation: zoom 18s ease-out forwards; }
@keyframes zoom { to { transform: scale(1); } }
.hero-veu { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,18,18,.9) 0%, rgba(18,18,18,.66) 42%, rgba(18,18,18,.15) 75%, rgba(137,0,4,.25) 100%); }
.hero-in { position: relative; max-width: var(--largura); width: 100%; margin: 0 auto; padding: 0 24px; }
.selo { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--dourado); margin-bottom: 22px; }
.selo span { width: 40px; height: 2px; background: var(--dourado); }
.hero h1 { font-size: clamp(36px, 6.2vw, 72px); max-width: 900px; margin-bottom: 24px; }
.hero-txt { font-size: clamp(17px, 2vw, 20px); max-width: 640px; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.hero-acoes { display: flex; gap: 14px; flex-wrap: wrap; }
.rolar { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 14px; transform: translateX(-50%); }
.rolar::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--dourado); transform: translateX(-50%); animation: desce 1.8s infinite; }
@keyframes desce { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 22px; } }

/* números */
.numeros { background: var(--vinho); color: #fff; padding: 44px 0; }
.numeros-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.numeros-grid > div { border-left: 2px solid var(--dourado); padding-left: 18px; }
.numeros-grid b { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; line-height: 1.2; }
.numeros-grid > div > span { font-size: 14px; color: rgba(255,255,255,.8); }

/* sobre */
.sobre-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.sobre-txt p { color: var(--cinza-esc); }
.sobre-fotos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sobre-fotos > img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--raio); }
.sobre-fotos > img:nth-child(2) { margin-top: 48px; }
.sobre-selo { position: absolute; left: -24px; bottom: -24px; background: var(--preto); color: #fff; padding: 18px 22px; display: flex; align-items: center; gap: 14px; border-radius: var(--raio); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.sobre-selo img { width: 34px; height: auto; aspect-ratio: auto; object-fit: contain; }
.sobre-selo span { font-weight: 600; letter-spacing: .08em; font-size: 14px; line-height: 1.3; }

/* atuação */
.atuacao { background: var(--preto); color: #fff; }
.atuacao .intro { color: rgba(255,255,255,.7); }
.cards { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.08); }
.card { background: var(--preto); padding: 36px 32px; transition: background .25s; position: relative; }
.card:hover { background: #2a2a2a; }
.card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--vinho); transition: width .3s; }
.card:hover::before { width: 100%; }
.card .num { display: block; color: var(--dourado); font-weight: 600; font-size: 14px; letter-spacing: .1em; margin-bottom: 18px; }
.card p { color: rgba(255,255,255,.7); font-size: 16px; margin: 0; }

/* clientes */
.clientes { background: var(--papel); }
.clientes-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.clientes-grid p { color: var(--cinza-esc); }
.selos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.selos li { background: #fff; border: 1px solid var(--cinza-claro); border-left: 4px solid var(--vinho); padding: 16px 22px; font-weight: 600; font-size: 18px; letter-spacing: .04em; border-radius: var(--raio); }

/* diferenciais */
.dif-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.dif-grid > div { border-top: 2px solid var(--preto); padding-top: 20px; }
.dif-grid p { color: var(--cinza); font-size: 16px; margin: 0; }

/* obras */
.obras { background: #171717; color: #fff; }
.obras .intro { color: rgba(255,255,255,.7); }
.galeria { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: var(--raio); background: #000; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, opacity .3s; opacity: .92; }
.g-item:hover img { transform: scale(1.06); opacity: 1; }
.g-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; text-align: left; font: 500 14px/1.2 "Geologica", sans-serif; letter-spacing: .06em; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.g-alto { grid-row: span 2; }
.g-largo { grid-column: span 2; }

/* chamada */
.chamada { background: var(--vinho); color: #fff; padding: 64px 0; }
.chamada-in { display: flex; align-items: center; gap: 32px; }
.chamada-in img { width: 64px; height: auto; flex: none; object-fit: contain; }
.chamada-in div { flex: 1; }
.chamada h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 6px; }
.chamada p { margin: 0; color: rgba(255,255,255,.85); }

/* contato */
.contato-grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 48px; align-items: start; }
.contato-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.c-card { display: block; text-decoration: none; padding: 24px; border: 1px solid var(--cinza-claro); border-radius: var(--raio); transition: border-color .2s, box-shadow .2s, transform .2s; }
.c-card:hover { border-color: var(--vinho); box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.c-card small { display: block; color: var(--vinho); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; margin-bottom: 8px; }
.c-card b { display: block; font-size: 17px; margin-bottom: 4px; }
.c-card b.email { font-size: 15px; overflow-wrap: anywhere; }
.c-card { min-width: 0; }
.c-card span { color: var(--cinza); font-size: 15px; }

/* rodapé */
.rodape { background: var(--papel); color: var(--cinza-esc); padding: 56px 0 40px; font-size: 14px; border-top: 4px solid var(--vinho); }
.rodape-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.rodape img { height: 40px; width: auto; }
.rodape p { margin: 0; }
.rodape .copy { grid-column: 1 / -1; border-top: 1px solid rgba(0,0,0,.1); padding-top: 22px; margin-top: 8px; font-size: 13px; color: var(--cinza); }

/* WhatsApp flutuante */
.zap { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .2s; }
.zap:hover { transform: scale(1.08); }

/* foto ampliada */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: var(--raio); }
.lb-fechar { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* aparecer ao rolar */
.mostrar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.mostrar.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mostrar { opacity: 1; transform: none; } .hero-img { animation: none; } html { scroll-behavior: auto; } }

/* tablet */
@media (max-width: 980px) {
  .numeros-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid, .clientes-grid, .contato-grid { grid-template-columns: minmax(0, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .rodape-in { grid-template-columns: minmax(0, 1fr); }
  .sobre-selo { left: 12px; }
}
/* celular */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap, .topo-in, .hero-in { padding-left: 16px; padding-right: 16px; }
  .marca img { height: 30px; }
  .menu-btn { display: block; z-index: 2; }
  .menu { position: fixed; inset: 0; background: rgba(255,255,255,.98); flex-direction: column; justify-content: center; gap: 28px; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .menu a:not(.btn) { font-size: 22px; }
  .menu-aberto .menu { opacity: 1; pointer-events: auto; }
  .menu-aberto .menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-aberto .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-aberto .menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .cards, .dif-grid, .contato-cards { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 28px 22px; }
  .galeria { grid-auto-rows: 160px; gap: 8px; }
  .g-largo { grid-column: span 2; }
  .chamada-in { flex-direction: column; text-align: center; }
  .hero-acoes .btn { flex: 1 1 100%; }
  .rolar { display: none; }
  .zap { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}
