/* site33_arquitetura - identidade do template.
   Editorial e sobrio: branco e preto em blocos, dourado em linhas e destaques,
   Marcellus (romana de linhas limpas) nos titulos e Jost no texto. As cores da empresa chegam
   pelas variaveis do <style> do layout (templates/personalizacao_cores.php);
   os valores abaixo sao a paleta original. Mobile primeiro. */

@font-face {
    font-family: "Marcellus";
    src: url("../fonts/marcellus-latin.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Jost";
    src: url("../fonts/jost-latin.woff2") format("woff2");
    font-weight: 300 600;
    font-display: swap;
}

:root {
    --mm33-ouro: #c9a227;
    --mm33-ouro-texto: #836919;
    --mm33-ouro-escuro: #c9a227;
    --mm33-sobre-ouro: #1e1e1e;
    --mm33-escuro: #1e1e1e;
    --mm33-claro: #f7f5f0;
    --mm33-texto: #5c5c5c;
    --mm33-linha: rgba(30, 30, 30, .14);
    --mm33-linha-clara: rgba(255, 255, 255, .16);
    --mm33-serifa: "Marcellus", "Trajan Pro", Georgia, "Times New Roman", serif;
    --mm33-sans: "Jost", "Century Gothic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mm33-topo-alt: 68px;
    --default-font: var(--mm33-sans);
    --heading-font: var(--mm33-serifa);
    --nav-font: var(--mm33-sans);
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.mm33 {
    margin: 0;
    background: #fff;
    color: var(--mm33-texto);
    /* !important: o default.css compartilhado forca Roboto no body das telas de conta. */
    font-family: var(--mm33-sans) !important;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: .005em;
    overflow-wrap: break-word;
}
.mm33 img { max-width: 100%; height: auto; }
.mm33 figure { margin: 0; }
/* :where() deixa estas regras com a forca de um seletor de elemento: titulo de
   componente da plataforma (assistente, agenda) mantem a cor dele. */
:where(.mm33) h1, :where(.mm33) h2, :where(.mm33) h3 {
    font-family: var(--mm33-serifa);
    font-weight: 400;
    color: var(--mm33-escuro);
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0 0 .5em;
    text-wrap: balance;
}
:where(.mm33) h1 { font-size: clamp(2rem, 1.4rem + 2.3vw, 3.2rem); }
:where(.mm33) h2 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.5rem); }
:where(.mm33) h3 { font-size: 1.32rem; }
.mm33 p { margin: 0 0 1.1em; }
.mm33 a { color: var(--mm33-ouro-texto); text-underline-offset: .22em; }
.mm33 a:hover { color: var(--mm33-escuro); }
.mm33 :focus-visible { outline: 3px solid var(--mm33-ouro); outline-offset: 3px; }
.mm33 .mm33-conteudo:focus { outline: none; }
.mm33 [hidden] { display: none !important; }

.mm33-caixa { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.mm33-caixa--estreita { max-width: 880px; }
.mm33-oculto {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}
.mm33-pular {
    position: absolute; left: 12px; top: -80px; z-index: 100001;
    background: var(--mm33-ouro); color: var(--mm33-sobre-ouro) !important; padding: 12px 18px;
}
.mm33-pular:focus { top: 8px; }

/* ------------------------------------------------------------- botoes */
.mm33 .mm33-bt {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 14px 26px;
    border: 1px solid transparent; border-radius: 2px;
    font-family: var(--mm33-sans); font-size: 13px; font-weight: 500; line-height: 1.3;
    letter-spacing: .14em; text-transform: uppercase; text-align: center; text-decoration: none;
    cursor: pointer; background: transparent;
    transition: background-color .2s, color .2s, border-color .2s;
}
.mm33 .mm33-bt svg { flex: none; }
.mm33 .mm33-bt--ouro { background: var(--mm33-ouro); color: var(--mm33-sobre-ouro); }
.mm33 .mm33-bt--ouro:hover { background: #dab640; color: #1e1e1e; }
.mm33 .mm33-bt--contorno { border-color: rgba(255, 255, 255, .55); color: #fff; }
.mm33 .mm33-bt--contorno:hover { background: #fff; border-color: #fff; color: var(--mm33-escuro); }
.mm33 .mm33-bt--linha { border-color: var(--mm33-escuro); color: var(--mm33-escuro); }
.mm33 .mm33-bt--linha:hover { background: var(--mm33-escuro); color: #fff; }
.mm33 .mm33-bt--grande { min-height: 60px; padding: 18px 30px; font-size: 14px; }
.mm33 .mm33-bt--cheio { width: 100%; }
.mm33-acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.mm33-acoes--centro { justify-content: center; margin-top: 48px; }
.mm33 .mm33-link {
    font-weight: 500; color: var(--mm33-ouro-texto); text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* ---------------------------------------------------------------- topo */
.mm33-topo {
    position: sticky; top: 0; z-index: 1040;
    background: var(--mm33-escuro); border-bottom: 1px solid var(--mm33-linha-clara);
}
.mm33-topo__linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--mm33-topo-alt); }
.mm33 .mm33-marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.mm33-marca img { width: 44px; height: 44px; object-fit: contain; border-radius: 4px; flex: none; }
.mm33-marca__nome { display: flex; flex-direction: column; line-height: 1; }
.mm33-marca__nome strong {
    font-family: var(--mm33-serifa); font-weight: 400; font-size: 23px;
    letter-spacing: .2em; text-transform: uppercase; color: #fff;
}
.mm33-marca__nome small {
    margin-top: 5px; font-size: 10px; font-weight: 400; letter-spacing: .44em;
    text-transform: uppercase; color: var(--mm33-ouro-escuro);
}
.mm33-menu-botao {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; padding: 0; border: 0; background: transparent; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.mm33-menu-botao__linhas, .mm33-menu-botao__linhas::before, .mm33-menu-botao__linhas::after {
    display: block; width: 26px; height: 1.5px; background: #fff; transition: transform .2s;
}
.mm33-menu-botao__linhas { position: relative; }
.mm33-menu-botao__linhas::before, .mm33-menu-botao__linhas::after { content: ""; position: absolute; left: 0; top: 0; }
.mm33-menu-botao__linhas::before { transform: translateY(-8px); }
.mm33-menu-botao__linhas::after { transform: translateY(8px); }
.mm33-menu-aberto .mm33-menu-botao__linhas { background: transparent; }
.mm33-menu-aberto .mm33-menu-botao__linhas::before { transform: rotate(45deg); }
.mm33-menu-aberto .mm33-menu-botao__linhas::after { transform: rotate(-45deg); }

.mm33-menu ul { list-style: none; margin: 0; padding: 0; }
.mm33 .mm33-menu li a, .mm33-menu summary {
    display: block; color: rgba(255, 255, 255, .86); text-decoration: none; cursor: pointer;
}
.mm33 .mm33-menu li a:hover, .mm33-menu summary:hover { color: #fff; }
.mm33 .mm33-menu li a.ativo { color: var(--mm33-ouro-escuro); }
.mm33-menu summary { list-style: none; }
.mm33-menu summary::-webkit-details-marker { display: none; }
.mm33-menu summary::after { content: " +"; }

@media (max-width: 1199px) {
    .mm33-menu { flex-basis: 100%; padding-bottom: 12px; }
    .mm33-topo__linha { flex-wrap: wrap; }
    .mm33-js .mm33-menu { display: none; }
    .mm33-js .mm33-menu-aberto .mm33-menu {
        display: block; position: absolute; left: 0; right: 0; top: 100%;
        max-height: calc(100vh - var(--mm33-topo-alt)); max-height: calc(100dvh - var(--mm33-topo-alt));
        overflow-y: auto; padding: 8px 20px 28px; background: var(--mm33-escuro);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .35);
    }
    .mm33 .mm33-menu li a, .mm33-menu summary {
        padding: 14px 0; font-family: var(--mm33-serifa); font-size: 25px; line-height: 1.2;
        border-bottom: 1px solid var(--mm33-linha-clara);
    }
    .mm33-menu__mais ul { padding-left: 16px; }
    .mm33 .mm33-menu .mm33-menu__cta { width: 100%; margin-top: 22px; }
}
@media (min-width: 1200px) {
    .mm33-menu-botao { display: none !important; }
    .mm33-menu { display: flex; align-items: center; gap: 26px; }
    .mm33-menu > ul { display: flex; align-items: center; gap: 22px; }
    .mm33 .mm33-menu li a, .mm33-menu summary { padding: 10px 0; font-size: 14.5px; letter-spacing: .02em; white-space: nowrap; }
    .mm33 .mm33-menu > ul > li > a.ativo { box-shadow: inset 0 -1px 0 var(--mm33-ouro); }
    .mm33-menu__mais { position: relative; }
    .mm33-menu__mais ul {
        position: absolute; right: 0; top: 100%; min-width: 220px; padding: 10px 20px;
        background: var(--mm33-escuro); border: 1px solid var(--mm33-linha-clara);
    }
    .mm33 .mm33-menu .mm33-menu__cta { min-height: 44px; padding: 10px 18px; font-size: 12px; }
}
.mm33 .mm33-menu .mm33-bt--ouro { color: var(--mm33-sobre-ouro); }

/* ------------------------------------------------------ cabecalhos */
.mm33-sobretitulo {
    display: flex; align-items: center; gap: 14px; margin: 0 0 18px !important;
    font-size: 12.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
    color: var(--mm33-ouro-texto);
}
.mm33-sobretitulo::before { content: ""; width: 36px; height: 1px; background: var(--mm33-ouro); flex: none; }
.mm33-cab { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.mm33-cab__texto { font-size: 18px; margin-bottom: 0 !important; }

.mm33-secao { padding: clamp(64px, 8vw, 118px) 0; background: #fff; scroll-margin-top: var(--mm33-topo-alt); }
.mm33-secao--claro { background: var(--mm33-claro); }
.mm33-secao--escuro { background: var(--mm33-escuro); color: rgba(255, 255, 255, .78); }
.mm33 .mm33-secao--escuro h2, .mm33 .mm33-secao--escuro h3 { color: #fff; }
.mm33-secao--escuro .mm33-sobretitulo { color: var(--mm33-ouro-escuro); }
.mm33 .mm33-secao--escuro a:not(.mm33-bt) { color: var(--mm33-ouro-escuro); }

/* Selo das imagens ilustrativas: sempre visivel, nunca so no hover. */
.mm33-selo {
    position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 10px;
    background: rgba(20, 20, 20, .76); color: #fff; border-left: 2px solid var(--mm33-ouro);
    font-family: var(--mm33-sans); font-size: 10.5px; font-weight: 500; line-height: 1.6;
    letter-spacing: .14em; text-transform: uppercase; pointer-events: none;
}

/* ---------------------------------------------------------------- capa */
.mm33-capa { display: flex; flex-direction: column; background: var(--mm33-escuro); color: rgba(255, 255, 255, .82); }
.mm33-capa__midia { position: relative; height: 31vh; height: 31svh; min-height: 150px; max-height: 460px; }
.mm33 .mm33-capa__midia img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mm33-capa__conteudo { padding: 24px 20px 44px; }
.mm33-capa__texto { max-width: 580px; margin: 0 auto; }
.mm33 .mm33-capa h1 { color: #fff; }
.mm33-capa .mm33-sobretitulo { color: var(--mm33-ouro-escuro); }
.mm33-capa__apoio { font-size: 17px; font-weight: 300; }
/* na abertura o selo fica no alto: visivel mesmo em tela baixa */
.mm33-capa__midia .mm33-selo { top: 12px; bottom: auto; left: auto; right: 12px; }
.mm33-capa__assinatura {
    margin: 32px 0 0 !important; padding-top: 18px; border-top: 1px solid var(--mm33-linha-clara);
    font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .72);
}
@media (max-width: 479px) {
    .mm33-capa .mm33-acoes .mm33-bt { width: 100%; }
}
/* no celular os botoes sobem para a primeira dobra, antes do texto de apoio */
@media (max-width: 991px) {
    .mm33-capa__texto { display: flex; flex-direction: column; }
    .mm33-capa__texto .mm33-sobretitulo { margin-bottom: 12px !important; font-size: 11px; letter-spacing: .18em; }
    .mm33-capa__texto .mm33-sobretitulo::before { width: 22px; }
    .mm33 .mm33-capa h1 { font-size: clamp(1.7rem, 7.4vw, 2.6rem); margin-bottom: 0; }
    .mm33-capa .mm33-acoes { order: 1; gap: 10px; margin-top: 20px; }
    .mm33-capa__apoio { order: 2; margin: 22px 0 0 !important; font-size: 16px; }
    .mm33-capa__assinatura { order: 3; margin-top: 18px !important; }
}
@media (min-width: 992px) {
    .mm33-capa {
        display: grid; grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
        min-height: min(calc(100vh - var(--mm33-topo-alt)), 780px);
    }
    .mm33-capa__midia { order: 2; height: auto; max-height: none; }
    .mm33-capa__conteudo {
        display: flex; align-items: center; justify-content: flex-end;
        padding: 32px clamp(32px, 4vw, 64px) 32px max(20px, calc((100vw - 1200px) / 2));
    }
    .mm33-capa__texto { margin: 0; max-width: 520px; }
    .mm33 .mm33-capa h1 { font-size: clamp(2.1rem, 2.9vw, 3.15rem); }
}

/* --------------------------------------------------------------- sobre */
.mm33-sobre__grade { display: grid; gap: 44px; align-items: center; }
.mm33-sobre__foto { position: relative; }
.mm33 .mm33-sobre__foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mm33-assina { display: flex; flex-direction: column; margin: 26px 0 0 !important; padding-left: 18px; border-left: 2px solid var(--mm33-ouro); line-height: 1.5; }
.mm33-assina strong { font-family: var(--mm33-serifa); font-size: 1.35rem; font-weight: 400; color: var(--mm33-escuro); }
.mm33-assina span { font-size: 14px; letter-spacing: .06em; }
@media (min-width: 992px) {
    .mm33-sobre__grade { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; }
    .mm33 .mm33-sobre__foto img { aspect-ratio: 4 / 5; }
    .mm33-sobre__foto::after {
        content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
        border: 1px solid var(--mm33-ouro);
    }
    .mm33-sobre__foto { z-index: 0; }
}

/* ------------------------------------------------------------ servicos */
.mm33-servicos__grade { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .mm33-servicos__grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mm33-servicos__grade { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mm33-servico__foto { position: relative; overflow: hidden; background: #e9e6de; }
.mm33 .mm33-servico__foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.mm33-servico__num { font-family: var(--mm33-serifa); font-size: 1.8rem; line-height: 1; color: var(--mm33-ouro-texto); margin: 0 0 14px !important; }
.mm33-servicos__grade .mm33-servico { position: relative; display: flex; flex-direction: column; background: #fff; border-bottom: 2px solid transparent; transition: border-color .2s; }
.mm33-servicos__grade .mm33-servico:hover { border-bottom-color: var(--mm33-ouro); }
.mm33-servicos__grade .mm33-servico:hover img { transform: scale(1.04); }
.mm33-servicos__grade .mm33-servico__corpo { flex: 1; display: flex; flex-direction: column; padding: 26px 24px 28px; }
.mm33 .mm33-servicos__grade h3 a { color: var(--mm33-escuro); text-decoration: none; }
.mm33-servicos__grade h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.mm33-servicos__grade .mm33-link { margin-top: auto; font-size: 15px; }
.mm33-nota { padding-left: 14px; border-left: 2px solid var(--mm33-ouro); font-size: 15.5px; color: var(--mm33-escuro); }

.mm33-servicos__linhas { display: grid; gap: clamp(56px, 7vw, 100px); }
.mm33-servicos__linhas .mm33-servico { display: grid; gap: 28px; align-items: center; scroll-margin-top: calc(var(--mm33-topo-alt) + 16px); }
.mm33 .mm33-servicos__linhas h2 { font-size: clamp(1.7rem, 1.35rem + 1.3vw, 2.35rem); }
.mm33-servico__categoria { display: block; margin-bottom: 12px; font-family: var(--mm33-sans); font-size: 12.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mm33-ouro-texto); }
@media (min-width: 992px) {
    .mm33-servicos__linhas .mm33-servico { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
    .mm33-servicos__linhas .mm33-servico:nth-child(even) .mm33-servico__foto { order: 2; }
}

/* ----------------------------------------------------------- portfolio */
.mm33-aviso { font-size: 14px; padding: 12px 16px; border: 1px solid var(--mm33-linha-clara); border-left: 2px solid var(--mm33-ouro); max-width: 760px; }
.mm33-filtros { display: flex; gap: 8px; margin: 28px 0 20px; overflow-x: auto; padding: 4px 4px 10px; scrollbar-width: thin; }
.mm33-filtros button {
    flex: none; min-height: 44px; padding: 9px 18px; border: 1px solid var(--mm33-linha-clara); border-radius: 2px;
    background: transparent; color: rgba(255, 255, 255, .86); font: 400 14px/1.3 var(--mm33-sans); cursor: pointer;
}
.mm33-filtros button:hover { border-color: #fff; }
.mm33-filtros button.ativo { background: var(--mm33-ouro); border-color: var(--mm33-ouro); color: var(--mm33-sobre-ouro); }
@media (min-width: 992px) { .mm33-filtros { flex-wrap: wrap; overflow: visible; } }
.mm33-categoria-texto { font-size: 15.5px; }

.mm33 .mm33-galeria { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); list-style: none; margin: 24px 0 0; padding: 0; }
@media (min-width: 640px) { .mm33 .mm33-galeria { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .mm33 .mm33-galeria { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mm33-galeria li a { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #2a2a2a; cursor: zoom-in; }
.mm33 .mm33-galeria li img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.mm33-galeria li a:hover img { transform: scale(1.05); }
.mm33-galeria .mm33-selo { top: 10px; bottom: auto; }
.mm33-galeria__legenda {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
    background: rgba(20, 20, 20, .84); color: #fff; font-size: 14px; line-height: 1.4;
}
.mm33 .mm33-galeria--menor { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 8px 0 32px; }

.mm33-lupa {
    width: 100vw; height: 100vh; height: 100dvh; max-width: 100vw; max-height: 100vh; max-height: 100dvh;
    margin: 0; padding: 56px 12px 24px; border: 0; background: rgba(14, 14, 14, .97); color: #fff;
}
.mm33-lupa[open] { display: flex; align-items: center; justify-content: center; }
.mm33-lupa::backdrop { background: rgba(0, 0, 0, .8); }
.mm33-lupa figure { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; }
.mm33 .mm33-lupa img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; object-fit: contain; }
.mm33-lupa figcaption { font-size: 14px; text-align: center; white-space: pre-wrap; }
.mm33-lupa button { position: absolute; width: 48px; height: 48px; border: 1px solid var(--mm33-linha-clara); background: rgba(0, 0, 0, .55); color: #fff; font: 300 28px/1 var(--mm33-sans); cursor: pointer; z-index: 2; }
.mm33-lupa button:hover { border-color: var(--mm33-ouro); }
.mm33-lupa__fechar { top: 10px; right: 10px; }
.mm33-lupa__ant { left: 8px; bottom: 12px; }
.mm33-lupa__prox { right: 8px; bottom: 12px; }
.mm33-lupa--uma .mm33-lupa__ant, .mm33-lupa--uma .mm33-lupa__prox { display: none; }
@media (min-width: 768px) {
    .mm33-lupa { padding: 48px 80px; }
    .mm33-lupa__ant, .mm33-lupa__prox { bottom: auto; top: 50%; margin-top: -24px; }
    .mm33-lupa__ant { left: 16px; }
    .mm33-lupa__prox { right: 16px; }
}
body.mm33-lupa-aberta { overflow: hidden; }

/* -------------------------------------------------------------- etapas */
.mm33 .mm33-etapas { list-style: none; margin: 0; padding: 0; display: grid; }
.mm33-etapas li { position: relative; padding: 0 0 36px 44px; }
.mm33-etapas li::before { content: ""; position: absolute; left: 6px; top: 12px; bottom: -12px; width: 1px; background: var(--mm33-linha); }
.mm33-etapas li:last-child { padding-bottom: 0; }
.mm33-etapas li:last-child::before { display: none; }
.mm33-etapas li::after { content: ""; position: absolute; left: 0; top: 8px; width: 13px; height: 13px; background: #fff; border: 1px solid var(--mm33-ouro); transform: rotate(45deg); }
.mm33-etapas__num { display: block; font-family: var(--mm33-serifa); font-size: 2.4rem; line-height: .9; color: var(--mm33-ouro-texto); margin-bottom: 14px; }
.mm33 .mm33-etapas h2, .mm33 .mm33-etapas h3 { font-family: var(--mm33-sans); font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; margin-bottom: 10px; }
.mm33-etapas p { margin: 0; font-size: 15.5px; }
@media (min-width: 1024px) {
    .mm33 .mm33-etapas { grid-template-columns: repeat(var(--mm33-etapas, 5), minmax(0, 1fr)); gap: 28px; }
    .mm33-etapas li { padding: 40px 0 0; }
    .mm33-etapas li::before { left: 13px; right: -28px; top: 6px; bottom: auto; width: auto; height: 1px; }
    .mm33-etapas li::after { top: 0; }
}

/* ---------------------------------------------------------------- area */
.mm33-area__grade { display: grid; gap: 32px; }
.mm33-area .mm33-cab { margin-bottom: 24px; }
.mm33 .mm33-cidades { list-style: none; margin: 0; padding: 0; align-self: center; }
.mm33-cidades li { padding: 16px 0; border-bottom: 1px solid var(--mm33-linha); font-family: var(--mm33-serifa); font-size: 1.3rem; line-height: 1.3; color: var(--mm33-escuro); }
.mm33-cidades li::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--mm33-ouro); }
@media (min-width: 992px) { .mm33-area__grade { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 80px; } }

/* ----------------------------------------------------------------- faq */
.mm33-faq__lista details { border-bottom: 1px solid var(--mm33-linha); }
.mm33-faq__lista details:first-child { border-top: 1px solid var(--mm33-linha); }
.mm33-faq__lista summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.mm33-faq__lista summary::-webkit-details-marker { display: none; }
.mm33-faq__lista summary::after { content: "+"; flex: none; font: 300 28px/1 var(--mm33-sans); color: var(--mm33-ouro-texto); }
.mm33-faq__lista details[open] summary::after { content: "\2212"; }
.mm33 .mm33-faq__lista h2, .mm33 .mm33-faq__lista h3 { margin: 0; font-family: var(--mm33-sans); font-size: 17.5px; font-weight: 500; line-height: 1.5; letter-spacing: 0; text-wrap: pretty; }
.mm33-faq__lista details > p { padding-right: 36px; }
.mm33-faq__lista details > p:last-child { padding-bottom: 8px; }
.mm33-faq__mais { margin: 28px 0 0 !important; }

/* ------------------------------------------------------------- contato */
.mm33-contato__grade { display: grid; gap: 48px; align-items: start; }
.mm33-contato .mm33-cab { margin-bottom: 20px; }
.mm33 .mm33-contato__texto .mm33-bt { margin: 8px 0 12px; }
.mm33-contato__dados { margin: 28px 0 20px; }
.mm33-contato__dados div { padding: 14px 0; border-top: 1px solid var(--mm33-linha-clara); }
.mm33-contato__dados dt { font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mm33-ouro-escuro); }
.mm33-contato__dados dd { margin: 2px 0 0; color: #fff; }
.mm33 .mm33-contato__dados dd a { color: #fff; }
.mm33-contato__form { scroll-margin-top: calc(var(--mm33-topo-alt) + 12px); }
@media (min-width: 992px) { .mm33-contato__grade { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }

.mm33-form { display: grid; gap: 16px 18px; grid-template-columns: minmax(0, 1fr); padding: 28px 20px; background: #fff; color: var(--mm33-texto); border-top: 3px solid var(--mm33-ouro); }
.mm33 .mm33-form h3 { color: var(--mm33-escuro); margin: 0 0 4px; font-size: 1.75rem; }
.mm33-campo { min-width: 0; }
.mm33-form label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 500; color: var(--mm33-escuro); }
.mm33-form input:not([type="checkbox"]), .mm33-form select, .mm33-form textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #a9a59b; border-radius: 2px;
    background: #fff; color: var(--mm33-escuro); font: 400 16px/1.4 var(--mm33-sans);
}
.mm33-form textarea { resize: vertical; min-height: 112px; }
.mm33-form input:focus, .mm33-form select:focus, .mm33-form textarea:focus { border-color: var(--mm33-escuro); outline: 2px solid var(--mm33-ouro); outline-offset: 0; }
.mm33-form [aria-invalid="true"] { border-color: #a52a1a !important; }
.mm33 .mm33-erro { margin: 6px 0 0; font-size: 13.5px; color: #a52a1a; }
.mm33-aceite { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; align-items: start; }
.mm33-aceite input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--mm33-escuro); }
.mm33-form .mm33-aceite label { font-weight: 400; font-size: 14px; line-height: 1.55; margin: 0; color: var(--mm33-texto); }
.mm33 .mm33-secao--escuro .mm33-form a:not(.mm33-bt) { color: var(--mm33-ouro-texto); }
.mm33-aceite .mm33-erro { grid-column: 2; }
.mm33 .mm33-form__retorno { margin: 14px 0 0; padding: 12px 14px; font-size: 14.5px; background: var(--mm33-claro); color: var(--mm33-escuro); border-left: 3px solid var(--mm33-ouro); }
.mm33 .mm33-form__retorno--erro { border-left-color: #a52a1a; }
@media (min-width: 640px) {
    .mm33-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 40px; }
    .mm33-form h3, .mm33-campo--largo { grid-column: 1 / -1; }
}

/* ------------------------------------------------------ paginas internas */
.mm33-abre { padding: 40px 0 52px; background: var(--mm33-escuro); color: rgba(255, 255, 255, .78); border-bottom: 3px solid var(--mm33-ouro); }
.mm33 .mm33-abre h1 { color: #fff; max-width: 920px; margin-bottom: 0; }
.mm33-abre .mm33-sobretitulo { color: var(--mm33-ouro-escuro); }
.mm33-abre__texto { max-width: 720px; margin: 18px 0 0 !important; font-weight: 300; }
.mm33 .mm33-trilha ol { display: flex; flex-wrap: wrap; gap: 4px 10px; list-style: none; margin: 0 0 30px; padding: 0; font-size: 13.5px; }
.mm33-trilha li + li::before { content: "/"; margin-right: 10px; color: var(--mm33-ouro); }
.mm33 .mm33-trilha a { color: rgba(255, 255, 255, .86); }

.mm33 .mm33-texto h2 { font-size: 1.6rem; margin-top: 36px; }
.mm33 .mm33-texto h2:first-child { margin-top: 0; }
.mm33-texto ul { padding-left: 20px; }
.mm33-texto li { margin-bottom: 8px; }
.mm33-texto__data { font-size: 14px; margin-top: 32px; }

.mm33-detalhe__grade { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
.mm33-detalhe__foto { position: relative; margin-bottom: 12px !important; }
.mm33 .mm33-detalhe__foto img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mm33-detalhe__texto h2 { margin-top: 32px; }
.mm33 .mm33-opcoes { padding-left: 20px; }
.mm33-caixa-lado { padding: 28px 24px; background: var(--mm33-claro); border-top: 3px solid var(--mm33-ouro); }
.mm33 .mm33-caixa-lado h2, .mm33 .mm33-outros h2 { font-size: 1.6rem; }
.mm33-caixa-lado .mm33-bt + .mm33-bt { margin-top: 12px; }
.mm33-outros { margin-top: 36px; }
.mm33 .mm33-outros ul { list-style: none; margin: 0; padding: 0; }
.mm33 .mm33-outros a { display: block; padding: 13px 0; border-bottom: 1px solid var(--mm33-linha); color: var(--mm33-escuro); text-decoration: none; }
.mm33 .mm33-outros a:hover { color: var(--mm33-ouro-texto); }
@media (min-width: 992px) {
    .mm33-detalhe__grade { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; }
    .mm33-detalhe__lado { position: sticky; top: calc(var(--mm33-topo-alt) + 24px); align-self: start; }
}

.mm33 .mm33-cartoes { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); list-style: none; margin: 0; padding: 0; }
.mm33-cartoes figure { position: relative; margin-bottom: 16px; }
.mm33 .mm33-cartoes img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* -------------------------------------------------------------- rodape */
.mm33-rodape { background: #141414; color: rgba(255, 255, 255, .72); padding: 64px 0 28px; font-size: 15px; }
.mm33-rodape__grade { display: grid; gap: 40px; }
.mm33 .mm33-rodape h2 { margin: 0 0 16px; font-family: var(--mm33-sans); font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--mm33-ouro-escuro); }
.mm33 .mm33-rodape ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mm33-rodape li { margin: 0; }
.mm33 .mm33-rodape a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .86); text-decoration: none; }
.mm33 .mm33-rodape a:hover { color: var(--mm33-ouro-escuro); }
.mm33 .mm33-rodape__slogan { margin-top: 22px; font-family: var(--mm33-serifa); font-size: 1.25rem; line-height: 1.35; color: #fff; }
.mm33-rodape__area { font-size: 14px; }
.mm33-rodape__base { display: flex; flex-direction: column; gap: 8px; margin-top: 44px; font-size: 13.5px; }
.mm33-rodape__base::before { content: ""; height: 1px; margin-bottom: 14px; background: var(--mm33-linha-clara); }
.mm33-rodape__base p { margin: 0; }
.mm33 .mm33-rodape__base ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; }
.mm33-rodape__base button { padding: 5px 0; border: 0; background: none; color: rgba(255, 255, 255, .86); font: inherit; cursor: pointer; }
@media (min-width: 768px) { .mm33-rodape__grade { grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; } }
@media (min-width: 992px) {
    .mm33-rodape__base { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
    .mm33-rodape__base::before { flex-basis: 100%; }
}
/* o botao flutuante nao pode cobrir a ultima linha do rodape */
@media (max-width: 991px) { .mm33-rodape { padding-bottom: 96px; } }

/* ------------------------------------------------------------ whatsapp */
.mm33 .mm33-whatsapp-float {
    position: fixed; right: 16px; bottom: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 1030;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 58px; height: 58px; border-radius: 999px; background: #0f7f3c; color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .32); text-decoration: none; transition: background-color .2s, transform .2s;
}
.mm33 .mm33-whatsapp-float:hover { background: #0b6a31; color: #fff; transform: translateY(-2px); }
.mm33-whatsapp-float span { display: none; }
.mm33-menu-aberto .mm33-whatsapp-float { display: none; }
@media (min-width: 992px) {
    .mm33 .mm33-whatsapp-float { right: 24px; bottom: 24px; width: auto; padding: 0 22px 0 18px; }
    .mm33-whatsapp-float span { display: inline; font-size: 14px; font-weight: 500; }
}

/* ---------------------------------------- telas herdadas da plataforma */
.mm33--plataforma .light-background { --background-color: var(--mm33-claro); }
.mm33--plataforma .page-title { margin-top: 0; padding: 40px 0 32px; border-bottom: 1px solid var(--mm33-linha); }
.mm33--plataforma .page-title h1 { margin-bottom: 8px; }
.mm33--plataforma .mm33-conteudo > section.section { scroll-margin-top: var(--mm33-topo-alt); }
.mm33--home .mm33-assistente-secao { background: var(--mm33-claro); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .mm33 *, .mm33 *::before, .mm33 *::after { transition: none !important; animation: none !important; }
}
@media print {
    .mm33-topo, .mm33-whatsapp-float, .mm33-contato__form { display: none !important; }
}
