/* Topo, cabeçalho, rodapé e WhatsApp do layout novo nas páginas que ainda usam o conteúdo antigo
   (src/layouts/Base.astro). Tudo fica sob .nv para não alterar nem ser alterado pelo CSS antigo
   (OceanWP/Elementor). Os mesmos elementos, nas páginas novas, usam /assets/novo.css. */
.nv {
  --verde: #183f35; --verde-prof: #0d2e26; --ouro: #b49a5b; --ouro-esc: #876b31; --ouro-claro: #e1c78a;
  --linha: #dcdfda; --cinza: #5a6360;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
}
.nv, .nv * { box-sizing: border-box; }
.nv ul { list-style: none; margin: 0; padding: 0; }
.nv li { margin: 0; }
.nv p, .nv h2 { margin: 0; }
.nv img { max-width: 100%; display: block; }
.nv .ico { width: 1.2em; height: 1.2em; flex: none; }
.nv .wrap { max-width: 1472px; margin: 0 auto; padding: 0 clamp(22px, 6.1vw, 94px); }
.nv a:focus-visible, .nv button:focus-visible, .nv summary:focus-visible { outline: 3px solid var(--ouro); outline-offset: 3px; }

/* Botões */
.nv .btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 18px; border-radius: 2px; font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background .2s, color .2s; }
.nv .btn-verde { background: var(--verde); color: #fff; }
.nv .btn-verde:hover { background: var(--verde-prof); color: #fff; }
.nv .btn-linha { border-color: currentColor; background: transparent; color: #fff; }
.nv .btn-linha:hover { background: rgba(255, 255, 255, .08); color: #fff; }

/* Faixa do topo */
.util.nv { background: #112e26; color: #e1e8e3; font-size: 13px; line-height: 1; }
.util.nv .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.util.nv span, .util.nv a, .util.nv .wrap > div { display: flex; align-items: center; gap: 8px; }
.util.nv .wrap > div { gap: 24px; }
.util.nv a { text-decoration: none; color: #e1e8e3; }
.util.nv a:hover { color: #fff; }
.util.nv .ico { width: 14px; height: 14px; color: #d6bc7e; }

/* Cabeçalho */
header.site.nv { position: sticky; top: 0; z-index: 900; background: #fff; border-bottom: 1px solid #e6e9e4; transition: box-shadow .2s; }
header.site.nv.ems-rolou { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .4); }
.nv .hrow { height: 81px; display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); position: relative; }
.nv .logo img { width: clamp(146px, 13vw, 180px); height: auto; }
.nv nav.main { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 38px); margin-left: auto; }
.nv nav.main > a.top, .nv nav.main summary { font: 600 15.5px/1.4 var(--sans); color: #273f36; padding: 10px 0; cursor: pointer; list-style: none; white-space: nowrap; text-decoration: none; border-bottom: 2px solid transparent; }
.nv nav.main summary::-webkit-details-marker { display: none; }
.nv nav.main summary::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid; border-bottom: 1.5px solid; display: inline-block; transform: rotate(45deg); vertical-align: 3px; margin-left: 9px; }
.nv nav.main details[open] summary::after { transform: rotate(-135deg); vertical-align: -1px; }
.nv nav.main > a.top:hover, .nv nav.main summary:hover, .nv nav.main > a.top.ativo, .nv nav.main .nav-drop.ativo summary { color: #846626; }
.nv nav.main > a.top.ativo, .nv nav.main .nav-drop.ativo summary { border-bottom-color: var(--ouro); }
.nv .nav-drop { position: relative; margin: 0; }
.nv .nav-list { position: absolute; top: calc(100% + 8px); left: -20px; width: max-content; min-width: 210px; background: #fff; border: 1px solid #dbe2dd; border-top: 2px solid var(--ouro); box-shadow: 0 12px 32px rgba(11, 51, 33, .1); padding: 8px 0; z-index: 60; }
.nv .nav-list a { display: block; padding: 11px 20px; font: 500 15px/1.4 var(--sans); color: var(--verde); text-decoration: none; }
.nv .nav-list a:hover { background: #f2f5f1; color: #846626; }
.nv .h-acoes { display: flex; align-items: center; gap: 10px; }
.nv .h-cli .ico { width: 17px; height: 17px; color: #e5ce98; }
.nv .menu-btn { display: none; background: none; border: 1px solid var(--linha); border-radius: 4px; padding: 8px; color: var(--verde); cursor: pointer; line-height: 0; min-height: 0; }
.nv .menu-btn:hover { background: #f2f5f1; color: var(--verde); }
.nv .menu-btn .ico { width: 24px; height: 24px; }

/* Rodapé */
.rodape.nv { background: #10221e; color: #a9b8b2; padding: 72px 0 30px; font-size: 15px; line-height: 1.6; }
.rodape.nv .rod { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.rodape.nv img { height: auto; width: 180px; margin-bottom: 22px; }
.rodape.nv .rod-txt { max-width: 34ch; }
.rodape.nv .rod-cli { margin-top: 20px; min-height: 42px; padding: 9px 16px; }
.rodape.nv h2 { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ouro-claro); margin: 0 0 18px; }
.rodape.nv ul { display: flex; flex-direction: column; gap: 10px; }
.rodape.nv a { text-decoration: none; color: #d6dfdb; }
.rodape.nv a:hover { color: #fff; text-decoration: underline; }
.rodape.nv .btn-linha:hover { text-decoration: none; }
.rodape.nv .rod-base { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; }

/* WhatsApp flutuante */
.wa.nv { position: fixed; right: 18px; bottom: 18px; z-index: 950; width: 54px; height: 54px; border-radius: 50%; background: #1f7a4d; color: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .26); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .45); }
.wa.nv svg { width: 26px; height: 26px; }
.wa.nv span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wa.nv:hover { background: #17663f; color: #fff; }

@media (max-width: 1080px) {
  .rodape.nv .rod { grid-template-columns: 1fr 1fr 1fr; }
  .rodape.nv .rod > div:first-child { grid-column: span 3; }
}
@media (max-width: 980px) {
  .nv .menu-btn { display: block; }
  .nv .hrow { gap: 14px; }
  .nv .h-acoes { margin-left: auto; }
  .nv nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 8px 24px 24px; border-bottom: 1px solid var(--linha); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); max-height: calc(100vh - 120px); overflow: auto; gap: 0; }
  .nv nav.main.aberto { display: flex; }
  .nv nav.main > a.top, .nv nav.main summary { padding: 14px 0; border-bottom: 1px solid #e2e7df; }
  .nv .nav-list { position: static; box-shadow: none; border: 0; padding: 4px 0 8px 14px; min-width: 0; }
  .nv .nav-list a { padding: 9px 0; color: var(--cinza); }
}
@media (max-width: 680px) {
  .nv .hrow { height: 66px; gap: 10px; }
  .nv .logo img { width: 128px; }
  .nv .h-acoes .btn { min-height: 38px; padding: 8px 12px; font-size: 13.5px; }
  .util.nv .wrap > span, .util.nv .util-email { display: none; }
  .util.nv .wrap { justify-content: center; }
  .rodape.nv .rod { grid-template-columns: 1fr 1fr; }
  .rodape.nv .rod > div:first-child { grid-column: span 2; }
}
