/* Página inicial no padrão novo (complementa padrao.css; só a index.html carrega) */

/* Dobra principal: a do style.css (fotos de ponta a ponta), só com a tipografia nova */
.hero-content h2 { font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.hero-content h2::after { display: block; margin: 18px 0 0; }

/* Grades de cards */
.home-grade { display: grid; gap: 20px; text-align: left; }
.solucoes-cards { grid-template-columns: repeat(6, 1fr); }
.solucoes-cards .card { grid-column: span 2; }
.solucoes-cards .card:nth-child(4) { grid-column: 2 / span 2; }
.servicos-cards { grid-template-columns: repeat(4, 1fr); }
.home-grade .card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.home-grade .quad { margin-bottom: 18px; }

/* Maree Hub: bloco escuro no estilo do próprio produto (mareehub.com.br) */
.mh { position: relative; overflow: hidden; background: #12142E; color: #C9CCE0; padding: 112px 0 104px; text-align: center; }
.mh::before { content: ''; position: absolute; left: 50%; top: -260px; width: 1300px; height: 800px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(97, 97, 255, .45), transparent); pointer-events: none; }
.mh::after { content: ''; position: absolute; right: -200px; bottom: -200px; width: 700px; height: 700px; background: radial-gradient(closest-side, rgba(0, 200, 117, .14), transparent); pointer-events: none; }
.mh .container { position: relative; z-index: 1; }
.mh-cabeca { max-width: 860px; margin: 0 auto; }
.mh-selo { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 7px 16px; border-radius: 999px; margin-bottom: 22px; background: rgba(97, 97, 255, .18); border: 1px solid rgba(140, 140, 255, .35); color: #C7C7FF; }
.mh h2 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.04em; line-height: 1.06; margin: 0; }
.mh-grad { background: linear-gradient(90deg, #8E8EFF 0%, #00C875 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mh-cabeca > p:not(.mh-micro) { margin: 22px auto 0; max-width: 720px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; color: #C9CCE0; }
.mh-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.mh-contorno { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.mh-contorno:hover { background: #fff; border-color: #fff; color: var(--tinta); box-shadow: none; }
.mh-micro { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: #A9ADC6; }
.mh-micro i { color: #00C875; margin-right: 4px; }

/* Composição de telas */
.mh-telas { position: relative; max-width: 1180px; margin: 64px auto 0; padding: 0 0 120px; }
.mh-janela { margin: 0; background: #fff; border-radius: var(--r-2xl); overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .2), 0 40px 90px rgba(0, 0, 0, .45); }
.mh-barra { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1F2F8; border-bottom: 1px solid #E3E5EE; text-align: left; }
.mh-barra i { width: 10px; height: 10px; border-radius: 50%; background: #CDD0DE; }
.mh-barra span { margin-left: 10px; font-size: 12px; font-weight: 600; color: #535768; }
.mh-janela img { display: block; width: 100%; height: auto; }
.mh-principal { position: relative; z-index: 2; width: 74%; margin: 0 auto; }
.mh-lateral { position: absolute; z-index: 3; left: 0; bottom: 0; width: 40%; transform: rotate(-1.5deg); transition: transform .35s ease; }
.mh-lateral:hover { transform: translateY(-6px) rotate(0); }
.mh-cel { position: absolute; z-index: 4; margin: 0; padding: 6px; border-radius: 30px; background: #05061A; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); transition: transform .35s ease; }
.mh-cel img { display: block; width: 100%; height: auto; border-radius: 24px; }
.mh-cel-1 { right: 7%; bottom: 10px; width: 17%; max-width: 200px; }
.mh-cel-2 { right: 0; bottom: 70px; width: 14%; max-width: 165px; z-index: 3; transform: rotate(4deg); }
.mh-cel:hover { transform: translateY(-6px); }

/* Números */
.mh-fatos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.mh-fatos p { display: flex; flex-direction: column; align-items: center; padding: 26px 18px; border-radius: var(--r-2xl); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.mh-fatos b { font-size: 48px; font-weight: 800; letter-spacing: -.04em; line-height: 1.05; background: linear-gradient(90deg, #A3A3FF, #00C875); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mh-fatos span { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #C9CCE0; max-width: 240px; }

/* Módulos */
.mh-modulos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; text-align: left; }
.mh-modulos article { padding: 28px 26px; border-radius: var(--r-2xl); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); transition: transform .3s, background .3s, border-color .3s; }
.mh-modulos article:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .07); border-color: rgba(140, 140, 255, .4); }
.mh-modulos h3 { color: #fff; font-size: 19px; margin: 18px 0 8px; letter-spacing: -.02em; }
.mh-modulos p { font-size: 15px; line-height: 1.55; color: #B5B9D0; }
.mh-ic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; font-size: 19px; color: #fff; }
.mh-ic.coral { background: #FF3D57; } .mh-ic.azul { background: #579BFC; color: #0A2350; } .mh-ic.verde { background: #00C875; color: #0B3B24; }
.mh-ic.laranja { background: #FDAB3D; color: #3D2400; } .mh-ic.indigo { background: #6161FF; } .mh-ic.roxo { background: #A25DDC; }

/* Contato */
.contato .cabeca { margin-bottom: 0; }

@media (max-width: 1100px) {
  .servicos-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .solucoes-cards { grid-template-columns: 1fr 1fr; }
  .solucoes-cards .card, .solucoes-cards .card:nth-child(4) { grid-column: auto; }
  .solucoes-cards .card:last-child { grid-column: 1 / -1; }
  .servicos-cards { grid-template-columns: 1fr 1fr; }
  .mh-modulos { grid-template-columns: 1fr 1fr; }
  .mh-fatos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .mh { padding: 72px 0 64px; }
  .mh-acoes { flex-direction: column; align-items: stretch; }
  .mh-micro { flex-direction: column; align-items: center; gap: 6px; }
  .mh-telas { margin-top: 44px; padding: 0 0 48px; }
  .mh-principal { width: 100%; }
  .mh-lateral, .mh-cel-2 { display: none; }
  .mh-cel-1 { right: -4px; bottom: 0; width: 30%; padding: 4px; border-radius: 20px; }
  .mh-cel-1 img { border-radius: 16px; }
  .mh-fatos p { padding: 20px 12px; }
  .mh-fatos b { font-size: 38px; }
  .mh-fatos span { font-size: 14px; }
}
@media (max-width: 560px) {
  .solucoes-cards, .servicos-cards, .mh-modulos { grid-template-columns: 1fr; }
  .solucoes-cards .card:last-child { grid-column: auto; }
}
