/* ============================================================
   Mais Proteção — shell compartilhado (header, footer, botões,
   fonte local, tokens). Carregado por todas as páginas, antes
   de home.css ou style.css. Classes prefixadas nh-.
   ============================================================ */

@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/nunito-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/nunito-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/nunito-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/nunito-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --verde: #4A8B8C;
  --verde-medio: #3d7a7b;
  --verde-claro: #6aabac;
  --verde-escuro: #2d5f60;
  --verde-noite: #1f4647;
  --laranja: #F0A500;
  --laranja-dark: #C88500;
  --texto: #1a2e2e;
  --texto-claro: #5a6e6e;
  --fundo: #F5F7F7;
  --branco: #FFFFFF;
  --borda: #D4E0E0;
  --whats: #15803D;
  --whats-dark: #166534;
  --sombra: 0 10px 30px -12px rgba(29, 70, 71, 0.28);
  --sombra-leve: 0 4px 14px -6px rgba(29, 70, 71, 0.22);
  --radius: 10px;
  --radius-lg: 16px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1180px;
  --gutter: 20px;
  --font: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
  scrollbar-color: var(--verde) var(--fundo);
}

::selection { background: var(--laranja); color: var(--texto); }
:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 3px;
  border-radius: 4px;
}

.nh-container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.nh-skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--laranja);
  color: var(--texto);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
}
.nh-skip:focus { left: 8px; }

.nh-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Botões ---------- */
.nh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s, color 0.2s, border-color 0.2s;
}
.nh-btn svg { width: 20px; height: 20px; flex: none; }
.nh-btn:hover { transform: translateY(-2px); }
.nh-btn:active { transform: translateY(0); }

.nh-btn-whats { background: var(--whats); color: var(--branco); border-color: var(--whats); box-shadow: 0 8px 20px -10px rgba(21, 128, 61, 0.6); }
.nh-btn-whats:hover { background: var(--whats-dark); border-color: var(--whats-dark); color: var(--branco); }

.nh-btn-gold { background: var(--laranja); color: var(--texto); border-color: var(--laranja); box-shadow: 0 8px 20px -10px rgba(240, 165, 0, 0.65); }
.nh-btn-gold:hover { background: #FFB81F; border-color: #FFB81F; color: var(--texto); }

.nh-btn-ghost { background: transparent; color: var(--branco); border-color: rgba(255, 255, 255, 0.55); }
.nh-btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--branco); color: var(--branco); }

.nh-btn-outline { background: transparent; color: var(--verde-escuro); border-color: var(--verde); }
.nh-btn-outline:hover { background: var(--verde); color: var(--branco); }

.nh-btn-sm { min-height: 42px; padding: 8px 18px; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.nh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--borda);
}
.nh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.nh-logo img { width: 132px; height: auto; }

.nh-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  box-shadow: var(--sombra);
  padding: 8px var(--gutter) 16px;
}
.nh-nav.is-open { display: block; }
.nh-nav a {
  display: block;
  padding: 12px 8px;
  font-weight: 700;
  text-decoration: none;
  color: var(--texto);
  border-bottom: 1px solid var(--fundo);
}
.nh-nav a:hover { color: var(--verde); }

.nh-header-actions { display: flex; align-items: center; gap: 10px; }
.nh-header-actions .nh-btn-whats { display: none; }

.nh-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: var(--branco);
  color: var(--verde-escuro);
  cursor: pointer;
}
.nh-menu-btn svg { width: 22px; height: 22px; }
.nh-menu-btn .nh-ico-close { display: none; }
.nh-menu-btn[aria-expanded="true"] .nh-ico-close { display: block; }
.nh-menu-btn[aria-expanded="true"] .nh-ico-menu { display: none; }

/* ---------- Footer ---------- */
.nh-footer { background: var(--verde-noite); color: #C9DCDC; padding-block: 52px 28px; font-size: 0.9375rem; }
.nh-footer-grid { display: grid; gap: 32px; }
.nh-footer-brand img { width: 150px; }
.nh-footer-brand p { margin-top: 16px; max-width: 34ch; }
.nh-footer h3 { color: var(--branco); font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.nh-footer li + li { margin-top: 8px; }
.nh-footer a { color: #C9DCDC; text-decoration: none; }
.nh-footer a:hover { color: var(--laranja); text-decoration: underline; }
.nh-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.nh-footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  color: var(--branco);
}
.nh-footer-social a:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--laranja); }
.nh-footer-social svg { width: 18px; height: 18px; }
.nh-footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.8125rem;
}
.nh-footer-bottom ul { display: flex; flex-wrap: wrap; gap: 16px; }
.nh-footer-bottom li + li { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.nh-float {
  position: fixed;
  right: 16px; bottom: 16px;
  z-index: 40;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whats);
  color: var(--branco);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(21, 128, 61, 0.7);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nh-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.nh-float svg { width: 30px; height: 30px; }

@media (min-width: 640px) {
  .nh-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .nh-nav {
    display: flex;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 4px;
  }
  .nh-nav a { padding: 8px 12px; border: 0; border-radius: 8px; }
  .nh-nav a:hover { background: var(--fundo); }
  .nh-menu-btn { display: none; }
  .nh-header-actions .nh-btn-whats { display: inline-flex; }
  .nh-logo img { width: 150px; }
  .nh-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
