/* Tela cheia no computador (inc/destaque.php, mnj_tela_cheia()).
   O tema foi desenhado como uma folha de 970px no fundo preto; aqui o site ocupa a tela toda,
   com o conteúdo numa coluna de até 1200px e letras em tamanho de leitura. */

@media (min-width: 901px) {
	body.tela-cheia { --page: 100%; --wrap: min(1200px, calc(100% - 64px)); background: #fff; font-size: 15px; }
	html:has(body.tela-cheia) { background: #fff; }
	.tela-cheia #site-header, .tela-cheia main, .tela-cheia #site-footer { width: 100%; box-shadow: none; }
	.tela-cheia #site-header { border-bottom: 1px solid var(--line); }

	.tela-cheia .header { height: 78px; }
	.tela-cheia .zap-topo { height: 40px; padding: 0 16px 0 12px; font-size: 13px; }
	.tela-cheia #site-header .topo-acoes .header-cta { height: 40px; padding: 0 20px; font-size: 13px; }
	.tela-cheia .search-link.busca-abrir { width: 36px; height: 36px; }

	/* Faixa de publicidade acompanha a largura toda */
	.tela-cheia .banner-ad--topo { width: 100%; box-shadow: none; clip-path: none; }

	/* Textos e títulos em tamanho de leitura */
	.tela-cheia .eyebrow { font-size: 12px; margin-bottom: 8px; }
	.tela-cheia .section { padding: 44px 0; }
	.tela-cheia .section-head { margin-bottom: 20px; }
	.tela-cheia .section h2, .tela-cheia .about-home h2, .tela-cheia .services-band h2 { font-size: 34px; }
	.tela-cheia .btn { padding: 13px 24px; font-size: 14px; }
}


/* Tamanhos de leitura nos blocos da página inicial e nos cartões */
@media (min-width: 901px) {
	.tela-cheia .home-intro h1 { font-size: 44px; }
	.tela-cheia .home-intro p:not(.eyebrow) { font-size: 17px; }
	.tela-cheia .headline-main h2 { font-size: 38px; line-height: 1.15; }
	.tela-cheia .headline-main p { font-size: 15px; }
	.tela-cheia .headline-main span, .tela-cheia .headline-side span, .tela-cheia .home-post span { font-size: 12px; }
	.tela-cheia .headline-side h3 { font-size: 20px; }
	.tela-cheia h2 a, .tela-cheia h3 a { font-size: inherit; }
	.tela-cheia .headline-main > div > a:last-child, .tela-cheia .headline-side article > div > a:last-child, .tela-cheia .home-post > div > a:last-child { font-size: 14px; }
	.tela-cheia .home-post h3 { font-size: 19px; line-height: 1.3; }
	.tela-cheia .home-post p { font-size: 14px; line-height: 1.5; }
	.tela-cheia .home-latest .filters button, .tela-cheia .home-latest button { font-size: 13px; }
	.tela-cheia .home-search, .tela-cheia .home-latest input { font-size: 14px; }
	.tela-cheia .home-tips h3 { font-size: 19px; }
	.tela-cheia .video-card h3 { font-size: 18px; }
	.tela-cheia .video-card p, .tela-cheia .video-card a { font-size: 13px; }
	.tela-cheia .about-grid p:not(.eyebrow) { font-size: 15px; line-height: 1.5; }
	.tela-cheia .about-grid h2 { font-size: 34px; }
	.tela-cheia .services-band { padding: 40px 0; }
	.tela-cheia .services-grid h2 { font-size: 30px; white-space: normal; }
	.tela-cheia .services-grid > div > p { font-size: 15px; }
	.tela-cheia .svc h3 { font-size: 22px; }
	.tela-cheia .svc p { font-size: 15px; }
	.tela-cheia .svc__link { font-size: 14px; }
	.tela-cheia .banner-ad--home { padding: 40px 0; }
}

/* Rodapé em tamanho de leitura (antes era uma faixa fina com letras de 8-9px) */
@media (min-width: 901px) {
	.tela-cheia .footer { height: auto; padding: 26px 0 18px; }
	.tela-cheia .footer-main { height: auto; min-height: 64px; }
	.tela-cheia .footer-main strong { font-size: 20px; }
	.tela-cheia .footer-main p { font-size: 13px; }
	.tela-cheia .footer-nav { height: auto; padding: 16px 0 6px; gap: 28px; font-size: 13px; }
	.tela-cheia .preview-note { position: static; margin: 10px 0 0; text-align: center; font-size: 12px; }
}

/* Botões que o tema travava em tamanho fixo (155×31px etc.): crescem com o texto */
@media (min-width: 901px) {
	.tela-cheia .about-grid .btn, .tela-cheia .footer-main .btn, .tela-cheia .overlay .btn, .tela-cheia .services-grid .outline-btn { width: auto; height: auto; min-height: 44px; }
	.tela-cheia .about-grid .btn { margin-top: 14px; }
}

/* ---------- Menu do topo: itens com respiro, linha vermelha ao passar o mouse e setinha nos que abrem lista ---------- */
@media (min-width: 901px) {
	.tela-cheia #site-header .nav-wrap { gap: 18px; }
	.tela-cheia #site-header .header nav { gap: 30px; margin-left: 12px; font-size: 15px; font-weight: 600; }
	.tela-cheia #main-nav > a, .tela-cheia #main-nav .nav-group > span { position: relative; border-bottom: 0; color: var(--ink); }
	.tela-cheia #main-nav > a::after, .tela-cheia #main-nav .nav-group > span::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
	.tela-cheia #main-nav > a:hover::after, .tela-cheia #main-nav .nav-group:hover > span::after, .tela-cheia #main-nav > a.active::after, .tela-cheia #main-nav .nav-group.active > span::after { transform: scaleX(1); }
	.tela-cheia #main-nav > a:hover, .tela-cheia #main-nav .nav-group:hover .submenu-toggle, .tela-cheia #main-nav > a.active, .tela-cheia #main-nav .nav-group.active .submenu-toggle { color: var(--red); }
	.tela-cheia #main-nav .nav-group > span .submenu-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 0; font-weight: 600; }
	.tela-cheia #main-nav .submenu-toggle::after { content: ''; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease, margin .2s ease; opacity: .7; }
	.tela-cheia #main-nav .submenu-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }

	/* submenu como cartão */
	.tela-cheia #main-nav .submenu { top: calc(100% + 6px); left: -14px; width: 240px; padding: 8px; border: 1px solid var(--line); border-top: 0; border-radius: 10px; box-shadow: 0 18px 40px -12px rgba(16, 32, 46, .28); animation: submenuAbre .18s ease both; }
	.tela-cheia #main-nav .submenu::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 10px 10px 0 0; background: var(--red); }
	@keyframes submenuAbre { from { opacity: 0; transform: translateY(-6px); } }
	.tela-cheia .header nav .submenu a { padding: 11px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; }
	.tela-cheia .header nav .submenu a:first-child { font-weight: 700; }

	/* linha fina separando o menu dos botões (lupa, WhatsApp e Serviços) */
	.tela-cheia .search-link.busca-abrir { position: relative; margin-left: 10px; }
	.tela-cheia .search-link.busca-abrir::before { content: ''; position: absolute; left: -16px; top: 4px; bottom: 4px; width: 1px; background: var(--line); }
}
/* notebooks menores */
@media (min-width: 901px) and (max-width: 1199px) {
	.tela-cheia #site-header .header nav { gap: 20px; margin-left: 4px; font-size: 14px; }
	.tela-cheia #site-header .nav-wrap { gap: 12px; }
	.tela-cheia .zap-topo { padding: 0 12px 0 10px; font-size: 12px; }
	.tela-cheia #site-header .topo-acoes .header-cta { padding: 0 14px; font-size: 12.5px; }
}
@media (min-width: 901px) and (max-width: 1039px) {
	body.tela-cheia { --wrap: calc(100% - 40px); }
	.tela-cheia #site-header .header nav { gap: 14px; font-size: 13px; }
	.tela-cheia .zap-topo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.tela-cheia .zap-topo { width: 40px; padding: 0; justify-content: center; }
}

/* ---------- Menu aberto no celular ---------- */
@media (max-width: 900px) {
	.tela-cheia #main-nav { padding: 6px 0 14px; }
	.tela-cheia #main-nav > a, .tela-cheia #main-nav .nav-group > span .submenu-toggle { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
	.tela-cheia #main-nav > a { border-bottom: 1px solid var(--line); }
	.tela-cheia #main-nav .nav-group > span { border-bottom: 1px solid var(--line); }
	.tela-cheia #main-nav > a::after { content: '›'; font-size: 22px; font-weight: 400; color: #b7bdc2; }
	.tela-cheia #main-nav .submenu-toggle::after { content: ''; width: 8px; height: 8px; margin-right: 6px; border-right: 2px solid #9aa3aa; border-bottom: 2px solid #9aa3aa; transform: rotate(45deg); transition: transform .2s ease; }
	.tela-cheia #main-nav .submenu-toggle[aria-expanded="true"] { color: var(--red); }
	.tela-cheia #main-nav .submenu-toggle[aria-expanded="true"]::after { transform: rotate(-135deg); border-color: var(--red); }
	.tela-cheia #main-nav > a.active, .tela-cheia #main-nav .nav-group.active .submenu-toggle { color: var(--red); }
	.tela-cheia #main-nav .submenu { margin: 6px 0 10px; padding: 6px 0 6px 14px; border-left: 3px solid var(--red); background: var(--warm); border-radius: 0 8px 8px 0; }
	.tela-cheia .header nav .submenu a { padding: 11px 10px; font-size: 15px; font-weight: 500; }
	.tela-cheia .header nav .submenu a:first-child { font-weight: 700; }
}

/* ---------- Páginas internas (seções, vídeos, Serviços, Parcerias, Sobre, busca) em tamanho de leitura ---------- */
@media (min-width: 901px) {
	.tela-cheia .page-hero p:not(.eyebrow) { font-size: 17px; }
	.tela-cheia .tag { font-size: 11px; padding: 4px 9px; }
	.tela-cheia main label { font-size: 14px; }
	.tela-cheia main input, .tela-cheia main select, .tela-cheia main textarea { font-size: 15px; }
	.tela-cheia .services-intro p, .tela-cheia .service-clarity p { font-size: 16px; line-height: 1.55; }
	.tela-cheia .professional-services p { font-size: 15px; line-height: 1.55; }
	.tela-cheia .professional-services li { font-size: 14px; }
	.tela-cheia .professional-services h2 { font-size: 26px; }
	.tela-cheia .services-process p, .tela-cheia .services-process li { font-size: 15px; }
	.tela-cheia .partner-cta p { font-size: 15px; }
	.tela-cheia .sb-intro__selo { font-size: 12px; }
	.tela-cheia .sb-frase cite, .tela-cheia .banner-ad__selo { font-size: 11px; }
	/* o rodapé não marca mais o primeiro link como se fosse a página atual */
	.tela-cheia .footer-nav a:first-child { border-bottom: 0; padding-bottom: 0; }
}
