/* Site novo da CDE: base comum às páginas novas (Home nova, /assinar, Quem somos, Blog).
   Paleta da CDE, duas fontes (Source Serif 4 nos títulos, Nunito Sans no texto), botões,
   faixa da Black, cabeçalho (com menu no celular), rodapé, botão "Dúvidas?" e o lembrete.
   O cabeçalho e o rodapé estão em src/partials/nh-header.html e nh-footer.html; o
   comportamento (menu, faixa e contador) em js/components/nh-shell.js. */
:root {
	--offwhite: #FBFAF7; --lavanda: #87A0F8; --amarelo: #FEE194; --azul-claro: #F3F4FD; --naval: #2A3059; --preto: #000;
	--texto: #2A3059; --texto-2: rgba(42, 48, 89, .74); --linha: rgba(42, 48, 89, .1);
	--serif: "Source Serif 4", "Source Serif 4 Placeholder", Georgia, serif;
	--sans: "Nunito Sans", "Nunito Sans Placeholder", system-ui, sans-serif;
	--secao: 104px; --raio: 20px; --wrap: 1160px;
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--offwhite); color: var(--texto); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.nh *, .nh *::before, .nh *::after, .nh-shell *, .nh-shell *::before, .nh-shell *::after { box-sizing: border-box; }
.nh img, .nh video, .nh-shell img { display: block; max-width: 100%; height: auto; }
.nh p, .nh h1, .nh h2, .nh h3, .nh ul, .nh ol, .nh figure, .nh blockquote, .nh-shell p, .nh-shell ul { margin: 0; }
.nh a, .nh-shell a { color: inherit; }
.nh-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.nh-narrow { max-width: 820px; }
.nh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* tipografia */
.nh-eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lavanda); }
.nh-h1 { font: 600 clamp(38px, 5vw, 60px)/1.06 var(--serif); letter-spacing: -.02em; color: var(--naval); }
.nh-h2 { font: 600 clamp(30px, 3.4vw, 44px)/1.12 var(--serif); letter-spacing: -.015em; color: var(--naval); }
.nh-h3 { font: 600 clamp(24px, 2.4vw, 30px)/1.18 var(--serif); letter-spacing: -.01em; color: var(--naval); }
.nh-h4 { font: 600 21px/1.25 var(--serif); color: var(--naval); }
.nh-lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--texto-2); }
.nh-h2--light, .nh-lead--light { color: #fff; }
.nh-lead--light { color: rgba(255, 255, 255, .82); }
.nh-section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* botões */
.nh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 28px; border-radius: 999px; border: 2px solid var(--naval); background: var(--naval); color: #fff !important; font: 800 16px/1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
@media (hover: hover) and (pointer: fine){.nh-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(42, 48, 89, .6); }}
.nh-btn:focus-visible { outline: 3px solid var(--lavanda); outline-offset: 3px; }
.nh-btn--sm { padding: 11px 20px; font-size: 15px; }
.nh-btn--ghost { background: transparent; color: var(--naval) !important; border-color: rgba(42, 48, 89, .25); }
.nh-btn--outline { background: #fff; color: var(--naval) !important; }
.nh-btn--yellow { background: var(--amarelo); border-color: var(--amarelo); color: var(--naval) !important; }
.nh-btn--block { width: 100%; }
.nh-link { font-weight: 700; text-decoration: none; color: var(--naval); }

/* faixa da Black (só na campanha) */
.nh-bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 16px; background: var(--preto); color: #fff !important; text-decoration: none; font: 400 14px/1.3 var(--sans); }
.nh-bar[hidden] { display: none; }
.nh-bar__tag { padding: 3px 9px; border-radius: 4px; background: #fff; color: var(--preto); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.nh-bar__timer b { margin-left: 4px; padding: 2px 8px; border-radius: 4px; background: var(--amarelo); color: var(--preto); font-variant-numeric: tabular-nums; }

/* cabeçalho */
.nh-head { position: sticky; top: 0; z-index: 25; background: rgba(251, 250, 247, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linha); font-family: var(--sans); }
.nh-bar:not([hidden]) + .nh-head { top: 38px; }
.nh-head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.nh-logo { flex: 0 0 auto; }
.nh-logo img { width: 184px; height: auto; }
.nh-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 700; }
.nh-nav a { text-decoration: none; color: var(--texto-2); }
.nh-nav a[aria-current="page"]{ color: var(--naval); }@media (hover: hover) and (pointer: fine){.nh-nav a:hover{ color: var(--naval); }}
.nh-head__cta { display: flex; align-items: center; gap: 18px; }
/* menu do celular */
.nh-menu-btn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 12px; background: transparent; color: var(--naval); cursor: pointer; }
.nh-menu-btn:focus-visible { outline: 3px solid var(--lavanda); outline-offset: 2px; }
.nh-menu-btn span { position: relative; display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: background .2s ease; }
.nh-menu-btn span::before, .nh-menu-btn span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, top .2s ease; }
.nh-menu-btn span::before { top: -7px; }
.nh-menu-btn span::after { top: 7px; }
.nh-menu-btn[aria-expanded="true"] span { background: transparent; }
.nh-menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nh-menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nh-mnav { display: none; }
.nh-mnav.is-open { display: grid; gap: 4px; padding: 8px 24px 22px; border-top: 1px solid var(--linha); background: var(--offwhite); }
.nh-mnav a:not(.nh-btn) { padding: 14px 2px; border-bottom: 1px solid var(--linha); font-size: 17px; font-weight: 700; text-decoration: none; color: var(--naval); }
.nh-mnav .nh-btn { margin-top: 14px; }

/* rodapé */
.nh-foot { padding: 40px 0 52px; border-top: 1px solid var(--linha); font-family: var(--sans); }
.nh-foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.nh-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; }
.nh-foot nav a { text-decoration: none; color: var(--texto-2); }
@media (hover: hover) and (pointer: fine){.nh-foot nav a:hover{ color: var(--naval); }}
.nh-foot__copy { width: 100%; font-size: 13px; color: var(--texto-2); }

/* botão "Dúvidas?" (WhatsApp) */
.nh-whats { position: fixed; right: 18px; bottom: 18px; z-index: 35; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 12px; border-radius: 999px; background: #fff; color: var(--naval) !important; border: 1px solid var(--linha); box-shadow: 0 10px 30px -12px rgba(42, 48, 89, .45); font: 800 15px/1 var(--sans); text-decoration: none; }
.nh-whats svg { width: 24px; height: 24px; color: #25d366; }

/* lembrete da Black (js/components/campaign-urgency.js) */
.cde-remind { position: fixed; left: 18px; bottom: 18px; z-index: 40; width: min(360px, calc(100vw - 36px)); padding: 18px 18px 16px; border-radius: 16px; background: var(--preto); color: #fff; font-family: var(--sans); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease; }
.cde-remind.is-in { opacity: 1; transform: none; }
.cde-remind.is-in.is-away { opacity: 0; transform: translateY(12px); pointer-events: none; }
.cde-remind p { margin: 0; }
.cde-remind__close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .7); font-size: 20px; cursor: pointer; }
.cde-remind__title { padding-right: 26px; font-size: 16px; font-weight: 900; }
.cde-remind__text { margin-top: 6px !important; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .78); }
.cde-remind__text b { color: var(--amarelo); }
.cde-remind__cta { display: flex; justify-content: center; margin-top: 12px; padding: 11px 14px; border-radius: 999px; background: #25d366; color: #000 !important; font-size: 14px; font-weight: 900; text-decoration: none; }

@media (max-width: 1023.98px) {
	:root { --secao: 80px; }
	.nh-nav, .nh-head__cta .nh-link { display: none; }
	.nh-menu-btn { display: inline-flex; }
}
@media (max-width: 639.98px) {
	:root { --secao: 64px; }
	.nh-wrap { padding: 0 18px; }
	.nh-head__in { height: 60px; gap: 12px; }
	.nh-logo img { width: 150px; }
	.nh-head__cta .nh-btn--sm { padding: 10px 14px; font-size: 14px; }
	.nh-bar { gap: 8px; font-size: 12.5px; }
	.nh-bar__tag { display: none; }
	.nh-bar:not([hidden]) + .nh-head { top: 36px; }
	.nh-section-head { margin-bottom: 36px; }
	.nh-mnav.is-open { padding: 6px 18px 20px; }
	.cde-remind { left: 12px; right: 12px; bottom: 76px; width: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .nh-btn, .nh-menu-btn span, .nh-menu-btn span::before, .nh-menu-btn span::after, .cde-remind { transition: none; } }
.nh-foot__cookies { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--texto-2); cursor: pointer; }
@media (hover: hover) and (pointer: fine){.nh-foot__cookies:hover{ color: var(--naval); }}
.nh-whats.nh-shell, .nh-foot.nh-shell { font-family: var(--sans); }
.nh-head__cta .nh-btn { white-space: nowrap; }
@media (max-width: 400px) { .nh-head__cta .nh-btn { display: none; } }
