/* ==========================================================================
   Modo noturno — ajustes de componentes. Os tokens de cor (fundo, texto, bordas,
   links e editorias) são definidos em inc/css-vars.php para html[data-theme="dark"].
   ========================================================================== */

html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="light"] { color-scheme: light; }

html[data-theme="dark"] .le-logo__img--light { display: none; }
html[data-theme="dark"] .le-logo__img--dark { display: block; }

html[data-theme="dark"] .le-topbar { background: color-mix(in srgb, var(--topbar-blue) 72%, #000); }
html[data-theme="dark"] .le-media__img { filter: brightness(.9); }
html[data-theme="dark"] .le-ph { background: var(--surface-soft); color: var(--muted); }
html[data-theme="dark"] .le-nav__list > li > a { color: var(--text); }
html[data-theme="dark"] .le-bar,
html[data-theme="dark"] .le-feature__rule { filter: brightness(1.2); }

/* Rodapé escuro com detalhes em ciano */
html[data-theme="dark"] .le-footer__band { border-top: 3px solid var(--primary); }
html[data-theme="dark"] .le-footer__list a:hover { color: var(--primary); }
html[data-theme="dark"] .le-footer--dividers .le-footer__list > li + li { border-left-color: var(--border); }
html[data-theme="dark"] .le-footer__brand { background: var(--background); }

/* Numeração do ranking e cartões de vaga */
html[data-theme="dark"] .le-ranking__n { color: var(--surface-soft); filter: brightness(1.4); }
html[data-theme="dark"] .le-job__logo { background: #fff; }
html[data-theme="dark"] .le-job__chip { background: var(--background); }

/* Formulários e botões */
html[data-theme="dark"] .le-search, html[data-theme="dark"] .le-msearch__form { background: var(--surface); }
html[data-theme="dark"] .le-btn, html[data-theme="dark"] .wpcf7-form .wpcf7-submit { color: #06222a; }
html[data-theme="dark"] .le-tags a:hover { color: #06222a; }
html[data-theme="dark"] .le-resp__avatar { color: #06222a; }

/* Compartilhamento e redes: ícones legíveis no escuro */
html[data-theme="dark"] .le-share__link--email, html[data-theme="dark"] .le-share__link--copy { color: var(--text); }
html[data-theme="dark"] .le-header__end .le-social__link--tiktok { color: var(--text); }
html[data-theme="dark"] .le-header__end .le-social__link--linkedin { color: #4c9be8; }

/* Imagens com fundo transparente (artes e montagens) continuam legíveis */
html[data-theme="dark"] .le-entry img { background: transparent; }
html[data-theme="dark"] .le-ad__body { background: transparent; }
