/**
 * moni.css — Página Grupo Moní (template page-moni.php)
 *
 * Medidas tiradas do Figma "NAVAS - Moní | Página Grupo" (frame desktop 1280px).
 * Tudo escopado em .pg-moni para não vazar no restante do tema agl-novo.
 *
 * Desenvolvido por Marco HUBOX
 * Copyright © Todos os direitos reservados
 *
 */

/* ---------- Fonte Raleway (self-hosted, mesma família do Drive "00. Fonte") ---------- */
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/raleway/raleway-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/raleway/raleway-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/raleway/raleway-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/raleway/raleway-latin-700-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
.pg-moni {
	--moni-oliva: #393C2B;        /* fundo hero / fale conosco / títulos */
	--moni-oliva-escuro: #343628; /* blocos do padrão */
	--moni-listra: #292927;       /* listras escuras do padrão */
	--moni-lima: #C0CE88;         /* destaque / listras claras */
	--moni-claro: #F7F8FA;        /* fundo das seções claras e botões brancos */
	--moni-cinza: #CFCFCF;        /* fundo notícias */
	--moni-cinza-2: #C7C7C5;
	--moni-video: #4C4C44;
	--moni-deco: #DADADA;
	--moni-linha: #686A69;

	font-family: 'Raleway', sans-serif;
	color: var(--moni-oliva);
	background: var(--moni-claro);
	-webkit-font-smoothing: antialiased;
	overflow: hidden;
}
.pg-moni *, .pg-moni *::before, .pg-moni *::after { box-sizing: border-box; }
.pg-moni h1, .pg-moni h2, .pg-moni h3, .pg-moni h4, .pg-moni p { margin: 0; font-family: 'Raleway', sans-serif; letter-spacing: 0; }
.pg-moni a { text-decoration: none; }
.pg-moni img { display: block; max-width: 100%; }

/* .wrap da página: 1160px de conteúdo (o .wrap do header do tema é 1200px) */
.pg-moni .wrap { position: relative; width: 100%; max-width: 1160px; margin: 0 auto; padding: 0; }

.pg-moni .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; }

/* ---------- Botões ---------- */
.pg-moni .btn-moni {
	display: inline-flex; align-items: center; justify-content: center;
	height: 50px; padding: 0 32px;
	font-family: 'Raleway', sans-serif; font-size: 16px; font-weight: 600; line-height: 1;
	white-space: nowrap; text-transform: uppercase; letter-spacing: 0;
	border: 1px solid transparent; border-radius: 0;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
	cursor: pointer;
}
.pg-moni .btn-moni.btn-outline { color: #fff; border-color: #fff; background: transparent; }
.pg-moni .btn-moni.btn-outline:hover { background: #fff; color: var(--moni-oliva); }
.pg-moni .btn-moni.btn-solid { color: var(--moni-oliva); background: var(--moni-claro); border-color: var(--moni-claro); }
.pg-moni .btn-moni.btn-solid:hover { background: var(--moni-lima); border-color: var(--moni-lima); }

/* ---------- Cabeçalho de seção (título + texto à direita + linha) ---------- */
.pg-moni .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 25px; border-bottom: 1px solid var(--moni-linha); margin-bottom: 25px; }
.pg-moni .sec-head h2 { font-size: 48px; line-height: 52px; font-weight: 500; color: var(--moni-oliva); }
.pg-moni .sec-head p { max-width: 385px; padding-right: 17px; padding-bottom: 6px; font-size: 16px; line-height: 21px; font-weight: 400; }
.pg-moni .sec-head p strong { font-weight: 700; }

/* =====================================================================
   1. HERO
   ===================================================================== */
.pg-moni .moni-hero { position: relative; min-height: 612px; display: flex; align-items: center; background: var(--moni-oliva); color: #fff; text-align: center; }
.pg-moni .moni-hero .moni-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg-moni .moni-hero .wrap { z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 70px 0; }
.pg-moni .moni-hero h1 { margin: 0; line-height: 0; color: #fff; }
.pg-moni .moni-hero .logo-moni { width: 490px; height: auto; }
.pg-moni .moni-hero .subtitulo { margin-top: 43px; font-size: 20px; line-height: 27px; font-weight: 400; color: #fff; }
.pg-moni .moni-hero .subtitulo .destaque { color: var(--moni-lima); }
.pg-moni .moni-hero .subtitulo strong { font-weight: 700; }
.pg-moni .moni-hero .btn-moni { margin-top: 43px; width: 223px; padding: 0; }

/* =====================================================================
   2. EMPREENDIMENTOS
   ===================================================================== */
.pg-moni .empreendimentos { padding: 91px 0 90px; background: var(--moni-claro); }
.pg-moni .emp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.pg-moni .emp-card { position: relative; height: 556px; overflow: hidden; background: #2e5f86; color: #fff; }
.pg-moni .emp-card .emp-foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.pg-moni .emp-card:hover .emp-foto { transform: scale(1.03); }
.pg-moni .emp-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.55) 100%); pointer-events: none; }
.pg-moni .emp-card .emp-marca { position: absolute; z-index: 1; top: 84px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; }
.pg-moni .emp-card .emp-marca .logo-moni { width: 254px; height: auto; color: #fff; }
.pg-moni .emp-card .emp-marca span { margin-top: 12px; font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.pg-moni .emp-card .emp-rodape { position: absolute; z-index: 1; left: 46px; right: 46px; bottom: 49px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.pg-moni .emp-card .emp-rodape p { font-size: 24px; line-height: 26px; font-weight: 500; color: #fff; max-width: 270px; }
.pg-moni .emp-card .btn-moni { flex: 0 0 auto; width: 153px; padding: 0; }

/* =====================================================================
   3. ESSENCIAL É ESTAR PERTO
   ===================================================================== */
.pg-moni .essencial { position: relative; height: 584px; background-color: #6b5a48; background-size: cover; background-position: center; }
.pg-moni .essencial .listras { position: absolute; left: 0; top: 13px; width: 162px; display: flex; flex-direction: column; gap: 19.4px; }
.pg-moni .essencial .listras i { display: block; height: 19px; background: var(--moni-lima); }
.pg-moni .essencial .quadro { position: absolute; right: 0; top: 119px; width: calc(518 / 1280 * 100%); min-width: 400px; padding: 56px 0 56px 48px; background: var(--moni-claro); }
.pg-moni .essencial .quadro-img { position: relative; height: 225px; display: flex; align-items: center; padding-left: 74px; background-color: #7a6a58; background-size: cover; background-position: 62% 40%; }
.pg-moni .essencial .quadro-img::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.18); }
.pg-moni .essencial .quadro-img h2 { position: relative; font-size: 40px; line-height: 45px; font-weight: 500; color: #fff; }

/* Modo "arte": Banner.png já traz listras + quadro + texto. Recorte 1280×584 escala proporcional */
.pg-moni .essencial--arte { height: auto; aspect-ratio: 1280 / 584; background: var(--moni-claro); }
.pg-moni .essencial--arte picture, .pg-moni .essencial--arte img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* =====================================================================
   4. VÍDEO MANIFESTO
   ===================================================================== */
.pg-moni .manifesto { position: relative; padding: 61px 0 60px; background: var(--moni-claro); }
.pg-moni .manifesto .deco { position: absolute; top: 50%; width: 60px; height: 169px; transform: translateY(-50%); display: flex; justify-content: space-between; }
.pg-moni .manifesto .deco i { display: block; width: 20px; height: 100%; background: var(--moni-deco); }
.pg-moni .manifesto .deco-l { left: 0; }
.pg-moni .manifesto .deco-r { right: 0; }
.pg-moni .video-box { position: relative; width: 100%; aspect-ratio: 1160 / 652; background: var(--moni-video); overflow: hidden; }
.pg-moni .video-box .video-capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg-moni .video-box .video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; border: 0; background: rgba(0,0,0,.12); color: #fff; font-family: 'Raleway', sans-serif; font-size: 20px; line-height: 24px; font-weight: 400; text-transform: uppercase; cursor: pointer; transition: background-color .25s ease; }
.pg-moni .video-box .video-play:hover { background: rgba(0,0,0,.28); }
.pg-moni .video-box .video-play svg { width: 72px; height: 72px; }
.pg-moni .video-box iframe, .pg-moni .video-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pg-moni .video-box.is-placeholder .video-play { background: none; cursor: default; }

/* =====================================================================
   5. NOTÍCIAS
   ===================================================================== */
.pg-moni .noticias { position: relative; padding: 106px 0 100px; background: var(--moni-cinza); }
.pg-moni .noticias::before { content: ''; position: absolute; top: 0; bottom: 0; left: calc(292 / 1280 * 100%); width: calc(463 / 1280 * 100%); background: var(--moni-cinza-2); }
.pg-moni .noticias .sec-head { border-bottom-color: #424240; margin-bottom: 31px; }
.pg-moni .noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pg-moni .noticia-card { display: flex; flex-direction: column; height: 441px; border: 1px solid #494B40; color: var(--moni-oliva); transition: background-color .25s ease; }
.pg-moni .noticia-card:hover { background: rgba(255,255,255,.25); }
.pg-moni .noticia-card figure { position: relative; margin: 0; height: 240px; overflow: hidden; background: var(--moni-oliva); }
.pg-moni .noticia-card figure img, .pg-moni .noticia-card figure svg { width: 100%; height: 100%; object-fit: cover; }
.pg-moni .noticia-card .conteudo { flex: 1; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 20px 34px; }
.pg-moni .noticia-card h3 { font-size: 18px; line-height: 23px; font-weight: 500; max-width: 260px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pg-moni .noticia-card .leia { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; line-height: 20px; font-weight: 700; text-transform: uppercase; }
.pg-moni .noticia-card .leia svg { width: 20px; height: 16px; transition: transform .25s ease; }
.pg-moni .noticia-card:hover .leia svg { transform: translateX(4px); }

/* =====================================================================
   6. FALE CONOSCO
   ===================================================================== */
.pg-moni .fale { position: relative; padding: 90px 0 0; background: var(--moni-oliva); color: #fff; }
.pg-moni .fale .sec-head { padding-bottom: 37px; border-bottom-color: #CFD1C3; margin-bottom: 37px; }
.pg-moni .fale .sec-head h2, .pg-moni .fale .sec-head p { color: #fff; }
.pg-moni .fale .sec-head p { max-width: 315px; padding-right: 9px; }
.pg-moni .fale-base { display: flex; align-items: flex-start; justify-content: space-between; min-height: 137px; }
.pg-moni .fale-botoes { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 87px; }
.pg-moni .fale-botoes .btn-solid { width: 223px; padding: 0; }
.pg-moni .fale-botoes .btn-outline { width: 268px; padding: 0; }
.pg-moni .fale .listras { align-self: stretch; display: flex; justify-content: space-between; width: 297px; }
.pg-moni .fale .listras i { display: block; width: 20px; background: var(--moni-lima); }

/* =====================================================================
   RESPONSIVO (o Figma só tem desktop — adaptação seguindo o mesmo grid)
   ===================================================================== */
@media (max-width: 1239px) {
	.pg-moni .wrap { padding: 0 24px; }
	.pg-moni .manifesto .deco { display: none; }
}
@media (max-width: 991px) {
	.pg-moni .sec-head h2 { font-size: 40px; line-height: 44px; }
	.pg-moni .moni-hero { min-height: 520px; }
	.pg-moni .moni-hero .logo-moni { width: 400px; }
	.pg-moni .emp-card { height: 480px; }
	.pg-moni .emp-card .emp-marca .logo-moni { width: 200px; }
	.pg-moni .emp-card .emp-rodape { left: 28px; right: 28px; bottom: 32px; flex-direction: column; align-items: flex-start; }
	.pg-moni .emp-card .emp-rodape p { font-size: 22px; line-height: 25px; }
	.pg-moni .essencial .quadro { min-width: 0; width: 56%; padding: 40px 0 40px 32px; }
	.pg-moni .essencial .quadro-img { padding-left: 40px; height: 190px; }
	.pg-moni .essencial .quadro-img h2 { font-size: 34px; line-height: 39px; }
	.pg-moni .essencial .listras { width: 110px; }
	.pg-moni .noticias-grid { grid-template-columns: repeat(2, 1fr); }
	.pg-moni .noticias-grid .noticia-card:nth-child(3) { display: none; }
	.pg-moni .fale .listras { width: 200px; }
	.pg-moni .fale .listras i { width: 14px; }
}
@media (max-width: 767px) {
	.pg-moni .wrap { padding: 0 20px; }
	.pg-moni .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: 20px; }
	.pg-moni .sec-head h2 { font-size: 32px; line-height: 36px; }
	.pg-moni .sec-head p { padding: 0; max-width: none; font-size: 15px; }
	.pg-moni .moni-hero { min-height: 480px; }
	.pg-moni .moni-hero .logo-moni { width: 260px; }
	.pg-moni .moni-hero .subtitulo { margin-top: 32px; font-size: 18px; line-height: 25px; }
	.pg-moni .moni-hero .btn-moni { margin-top: 32px; }
	.pg-moni .empreendimentos { padding: 56px 0 60px; }
	.pg-moni .emp-grid { grid-template-columns: 1fr; }
	.pg-moni .emp-card { height: 460px; }
	.pg-moni .emp-card .emp-marca { top: 48px; }
	.pg-moni .emp-card .emp-marca .logo-moni { width: 190px; }
	.pg-moni .emp-card .emp-rodape { left: 20px; right: 20px; bottom: 24px; }
	.pg-moni .essencial { height: auto; padding: 92px 0 48px; background-position: 30% center; }
	.pg-moni .essencial .listras { width: 90px; gap: 12px; top: 10px; }
	.pg-moni .essencial .listras i { height: 12px; }
	.pg-moni .essencial .quadro { position: relative; top: auto; width: auto; min-width: 0; padding: 28px 0 28px 24px; margin: 170px 0 0 40px; }
	.pg-moni .essencial .quadro-img { height: 160px; padding-left: 28px; }
	.pg-moni .essencial .quadro-img h2 { font-size: 30px; line-height: 34px; }
	.pg-moni .essencial--arte { aspect-ratio: 1 / 1; padding: 0; }
	.pg-moni .manifesto { padding: 40px 0; }
	.pg-moni .video-box .video-play { font-size: 16px; }
	.pg-moni .video-box .video-play svg { width: 56px; height: 56px; }
	.pg-moni .noticias { padding: 56px 0 60px; }
	.pg-moni .noticias::before { display: none; }
	.pg-moni .noticias-grid { grid-template-columns: 1fr; }
	.pg-moni .noticias-grid .noticia-card:nth-child(3) { display: flex; }
	.pg-moni .noticia-card { height: auto; }
	.pg-moni .noticia-card .conteudo { gap: 32px; padding: 20px 20px 26px; }
	.pg-moni .fale { padding-top: 56px; }
	.pg-moni .fale-base { flex-direction: column; }
	.pg-moni .fale-botoes { flex-direction: column; width: 100%; padding-bottom: 40px; }
	.pg-moni .fale-botoes .btn-moni { width: 100%; }
	.pg-moni .fale .listras { width: 100%; height: 80px; }
}
