/* RenoWiki: tema editorial. Tokens do design ativo no Novamira. */
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Bitter'; src: url('../fonts/bitter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
	--bg: #fdfdfb;
	--ink: #343b43;
	--paper: #f3f3f1;
	--accent: #fd7308;
	--accent-ink: #b84c00;
	--soft-ink: #66707a;
	--line: #e3e5e7;
	--error: #a63030;
	--font-display: 'Bitter', Georgia, serif;
	--font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; line-height: 1.6; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 5px; }
::selection { background: #fed9b9; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; }
h1 { font-size: clamp(38px, 4.1vw, 65px); letter-spacing: -2.2px; line-height: 1.18; }
h2 { font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -1.1px; line-height: 1.25; }
.ico { flex-shrink: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.rail-wide { width: calc(100% - 112px); max-width: 1320px; margin-inline: auto; }
.terracotta { color: var(--accent-ink); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2px; line-height: 1.6; color: var(--soft-ink); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; border: 0; background: none; padding: 5px 0; transition: color .2s; }
.text-link:hover { color: var(--accent-ink); }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translate(2px, -2px); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; min-height: 47px; padding: 13px 24px; border: 1px solid var(--ink); font-size: 13px; font-weight: 600; transition: background .2s, transform .2s; }
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.button:active, .icon-button:active { transform: scale(.98); }
.icon-button { background: transparent; border: 0; color: inherit; display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; transition: color .2s; }
.icon-button:hover { color: var(--accent-ink); }

/* Cabecalho */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--bg); }
.header-inner { max-width: 1432px; min-height: 91px; padding: 0 56px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 11px; font-size: 19px; font-weight: 600; letter-spacing: -.8px; white-space: nowrap; }
.brand img { display: block; height: 46px; width: auto; }
.footer-top .brand img { height: 40px; }
.brand svg { color: var(--accent-ink); }
.desktop-nav { margin-left: auto; margin-right: 26px; }
.nav-list { display: flex; gap: 34px; align-items: center; list-style: none; padding: 0; margin: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: flex; align-items: center; gap: 6px; position: relative; font-size: 13px; color: var(--soft-ink); padding-block: 35px; }
.nav-list > li > a:hover, .nav-list > li.current-menu-item > a, .nav-list > li.current-menu-ancestor > a, .nav-list > li.current_page_item > a { color: var(--ink); }
.nav-list > li.current-menu-item > a:after, .nav-list > li.current-menu-ancestor > a:after { content: ''; position: absolute; bottom: 24px; left: 0; width: 16px; height: 2px; background: var(--accent); }
.nav-list > li > a svg { transition: transform .2s; }
.nav-list > li:hover > a svg.ico { transform: rotate(180deg); }
.nav-list > li > a[href*='contacto'] svg { transform: none !important; }
.nav-list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 260px; margin: 0; list-style: none; background: var(--bg); border: 1px solid var(--line); border-top: 0; padding: 10px 0; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 30; }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-list .sub-menu a { display: block; padding: 11px 18px; font-size: 13px; color: var(--soft-ink); }
.nav-list .sub-menu a:hover, .nav-list .sub-menu .current-menu-item > a { color: var(--accent-ink); background: var(--paper); }
.nav-list .sub-menu .submenu-all > a { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 13px; font-weight: 600; color: var(--ink); }
.sub-toggle { display: none; }
.header-actions { display: flex; gap: 6px; align-items: center; }
.mobile-menu { display: none; }
.mobile-menu .i-close { display: none; }
.mobile-menu.is-open .i-open { display: none; }
.mobile-menu.is-open .i-close { display: inline-flex; }
.header-search { padding: 25px 56px 30px; border-top: 1px solid var(--line); max-width: 1432px; margin: auto; }
.header-search[hidden] { display: none; }
.header-search label { display: block; font-size: 13px; margin-bottom: 10px; }
.header-search > div { display: flex; gap: 10px; }
.header-search input[type=search] { flex: 1; min-width: 0; }

/* Formularios */
input, textarea, select { background: transparent; border: 1px solid var(--line); padding: 13px 15px; outline: none; border-radius: 0; color: var(--ink); min-width: 0; }
input:focus, textarea:focus, select:focus { border-color: var(--accent-ink); box-shadow: 0 0 0 1px var(--accent-ink); }
input::placeholder, textarea::placeholder { color: #7b838b; font-size: 12px; }
textarea { resize: vertical; line-height: 1.8; }
label { display: flex; flex-direction: column; gap: 10px; font-size: 12px; font-weight: 500; }

/* Home: hero */
.home-hero { padding-top: 66px; }
.hero-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 40px; }
.hero-intro .eyebrow { margin-bottom: 23px; display: flex; align-items: center; gap: 12px; }
.tiny-line { width: 24px; height: 1px; background: var(--accent); }
.hero-intro h1 { font-size: clamp(39px, 4.0vw, 62px); }
.hero-side { max-width: 300px; padding-bottom: 6px; margin-right: 20px; }
.hero-side > p { font-size: 14px; line-height: 1.9; color: var(--soft-ink); margin-bottom: 22px; }
.hero-photo { display: block; position: relative; height: clamp(300px, 31.3vw, 475px); overflow: hidden; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transition: transform .4s ease; }
.hero-photo:hover > img { transform: scale(1.015); }
.photo-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--paper); color: var(--accent-ink); }
.photo-placeholder svg { width: 72px; height: 72px; opacity: .35; }
.image-caption { position: absolute; bottom: 25px; left: 25px; display: flex; align-items: center; gap: 11px; background: var(--bg); padding: 14px 18px; font-size: 10px; letter-spacing: 1.7px; }
.caption-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.photo-arrow { position: absolute; top: 20px; right: 20px; background: var(--bg); height: 50px; width: 50px; display: flex; align-items: center; justify-content: center; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.hero-foot > p, .scroll-link { font-size: 12px; color: var(--soft-ink); }
.scroll-link { display: flex; gap: 17px; align-items: center; }

/* Publicacoes */
.latest-section { padding-top: 68px; padding-bottom: 76px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 32px; }
.section-heading .eyebrow { margin-bottom: 11px; }
.section-heading .text-link { margin-bottom: 5px; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; row-gap: 55px; }
.post-card-image { position: relative; display: block; aspect-ratio: 1.48; overflow: hidden; background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card-image:hover img { transform: scale(1.035); }
.category-tag { position: absolute; top: 14px; left: 14px; padding: 6px 11px; background: var(--bg); font-size: 11px; font-weight: 600; }
.card-photo-arrow { position: absolute; bottom: 14px; right: 14px; background: var(--bg); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; opacity: 0; transition: opacity .2s; }
.post-card-image:hover .card-photo-arrow { opacity: 1; }
.post-meta { display: flex; gap: 8px; align-items: center; font-size: 11px; color: var(--soft-ink); margin-top: 20px; margin-bottom: 10px; }
.post-card h2, .post-card h3 { font-size: 23px; line-height: 1.4; letter-spacing: -.5px; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--accent-ink); }
.post-card > p { margin-top: 12px; font-size: 13px; line-height: 1.9; color: var(--soft-ink); max-width: 98%; }
.card-link { margin-top: 17px; font-size: 12px; }
.empty-state { text-align: center; background: var(--paper); padding: 60px 25px; margin-block: 20px; display: flex; flex-direction: column; gap: 15px; align-items: center; font-size: 14px; color: var(--soft-ink); }
.empty-state h2 { font-size: 27px; color: var(--ink); }

/* Nota sobre + temas */
.about-note { background: var(--paper); }
.about-note-inner { display: grid; grid-template-columns: 1fr 2fr .4fr; gap: 50px; position: relative; padding-top: 65px; padding-bottom: 65px; }
.note-symbol { padding-top: 18px; color: var(--accent-ink); }
.note-symbol p { font-size: 11px; letter-spacing: 2px; line-height: 2; margin-top: 23px; }
.note-copy { max-width: 610px; }
.note-copy .eyebrow { margin-bottom: 18px; }
.note-copy > p:not(.eyebrow) { font-size: 14px; line-height: 1.9; color: var(--soft-ink); margin-top: 21px; max-width: 480px; }
.note-copy .text-link { margin-top: 21px; }
.note-number { align-self: start; justify-self: end; font-size: 12px; letter-spacing: 2px; color: var(--accent-ink); }
.topics-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: 100px; padding-top: 76px; padding-bottom: 85px; }
.topics-intro .eyebrow { margin-bottom: 18px; }
.topics-intro > p:last-child { font-size: 14px; line-height: 1.9; color: var(--soft-ink); margin-top: 20px; }
.topics-list { border-top: 1px solid var(--line); }
.topics-list > a { display: flex; align-items: center; gap: 26px; padding: 22px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.topics-list > a:hover { color: var(--accent-ink); }
.topic-num { font-size: 12px; color: var(--accent-ink); }
.topics-list strong { font-size: 18px; font-weight: 500; }
.topics-list small { display: block; font-size: 12px; color: var(--soft-ink); margin-top: 6px; }
.topics-list svg { margin-left: auto; }

/* Rodape */
.site-footer { background: var(--paper); padding: 44px 56px 23px; }
.footer-top, .footer-bottom { max-width: 1320px; margin-inline: auto; display: flex; justify-content: space-between; gap: 35px; }
.footer-top { align-items: start; padding-bottom: 39px; }
.footer-top .brand { font-size: 17px; }
.footer-top > p { font-size: 13px; line-height: 1.9; color: var(--soft-ink); }
.footer-top nav { display: flex; gap: 26px; padding-top: 5px; flex-wrap: wrap; }
.footer-top nav a { display: flex; gap: 7px; align-items: center; font-size: 12px; }
.footer-top nav a:hover { color: var(--accent-ink); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; font-size: 11px; color: var(--soft-ink); }
.footer-bottom a { display: flex; align-items: center; gap: 6px; }

/* Paginas e blogue */
.page-intro { padding-top: 68px; padding-bottom: 48px; }
.page-intro .eyebrow { margin-bottom: 22px; }
.page-intro > p:last-child { font-size: 15px; line-height: 1.9; color: var(--soft-ink); margin-top: 25px; max-width: 680px; }
.blog-page { padding-bottom: 85px; }
.feed-toolbar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); gap: 20px; padding-bottom: 19px; }
.category-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.category-filters a { min-height: 37px; display: flex; align-items: center; padding: 9px 16px; font-size: 12px; background: var(--paper); transition: background .2s, color .2s; }
.category-filters a.selected { background: var(--ink); color: #fff; }
.category-filters a:hover { background: var(--accent-ink); color: #fff; }
.feed-search { display: flex; align-items: center; border-bottom: 1px solid var(--soft-ink); width: 260px; }
.feed-search input { width: 100%; padding: 11px 0; border: 0; background: none; font-size: 12px; box-shadow: none; }
.feed-search input:focus { box-shadow: none; }
.feed-search button { height: 40px; width: 40px; background: none; border: 0; display: grid; place-items: center; color: inherit; }
.feed-count { font-size: 12px; color: var(--soft-ink); padding: 20px 0 27px; }
.pagination .nav-links { display: flex; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; background: var(--paper); font-size: 12px; transition: background .2s, color .2s; }
.pagination a.page-numbers:hover { background: var(--accent-ink); color: #fff; }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }
.page-content { padding-bottom: 85px; }

/* Publicacao */
.article-header { padding-top: 35px; }
.back-link { display: inline-flex; margin-bottom: 42px; color: var(--soft-ink); font-size: 12px; }
.back-link:hover { color: var(--accent-ink); }
.article-header .eyebrow { color: var(--accent-ink); margin-bottom: 18px; }
.article-header h1 { max-width: 930px; }
.article-lead { font-size: 17px; line-height: 1.9; color: var(--soft-ink); max-width: 750px; margin-top: 26px; }
.article-meta { display: flex; gap: 25px; align-items: center; font-size: 12px; color: var(--soft-ink); margin-top: 25px; flex-wrap: wrap; }
.article-meta > span { display: flex; gap: 8px; align-items: center; }
.article-meta .text-link { font-size: 12px; }
.share-message { font-size: 12px; color: var(--accent-ink); min-height: 22px; margin-top: 9px; }
.article-cover { width: 100%; max-height: 560px; object-fit: cover; aspect-ratio: 2; display: block; margin-top: 20px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.article-layout { display: grid; grid-template-columns: 1fr; gap: 70px; margin-top: 65px; padding-bottom: 60px; }
.article-layout.has-index { grid-template-columns: 1fr 3fr; }
.article-index { display: none; align-self: start; position: sticky; top: 35px; flex-direction: column; gap: 19px; max-width: 220px; }
.article-index.is-ready { display: flex; }
.article-index .eyebrow { margin-bottom: 10px; }
.article-index-list { display: flex; flex-direction: column; gap: 19px; }
.article-index-list a { font-size: 12px; color: var(--soft-ink); }
.article-index-list a:hover { color: var(--accent-ink); }
.index-note { font-size: 12px; color: var(--soft-ink); line-height: 1.9; border-top: 1px solid var(--line); margin-top: 15px; padding-top: 20px; }
.article-body { max-width: 790px; min-width: 0; font-size: 15px; line-height: 2; color: var(--soft-ink); }
.article-body > * + * { margin-top: 18px; }
.article-body h2 { font-size: 31px; color: var(--ink); margin-top: 47px; margin-bottom: 23px; }
.article-body h3 { font-size: 22px; line-height: 1.4; color: var(--ink); margin-top: 32px; }
.article-body a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-body li + li { margin-top: 8px; }
.article-body img { display: block; height: auto; }
.article-body figure { margin-block: 32px; }
.article-body figcaption { font-size: 12px; color: var(--soft-ink); margin-top: 10px; }
.article-body blockquote { font-family: var(--font-display); font-size: 24px; line-height: 1.6; color: var(--ink); margin: 35px 0; padding: 0 0 0 25px; border: 0; border-left: 2px solid var(--accent-ink); }
.related-section { border-top: 1px solid var(--line); padding-top: 52px; padding-bottom: 80px; }

/* Sobre */
.about-photo { width: 100%; height: 390px; object-fit: cover; display: block; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.about-photo.photo-placeholder svg { width: 88px; height: 88px; }
.story-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 100px; padding: 75px 0 90px; }
.story-layout > div:first-child > svg { color: var(--accent-ink); margin-bottom: 27px; }
.story-layout .eyebrow { margin-bottom: 17px; }
.story-copy { max-width: 730px; }
.story-copy > p { font-size: 15px; line-height: 2; color: var(--soft-ink); margin-bottom: 22px; }
.story-copy blockquote { font-family: var(--font-display); font-size: 25px; line-height: 1.6; margin: 35px 0; padding: 0 0 0 25px; border: 0; border-left: 2px solid var(--accent-ink); }
.story-copy blockquote p { font-size: inherit; line-height: inherit; color: var(--ink); margin: 0; }
.story-copy .text-link { margin-top: 10px; }

/* Contacto */
.contact-page { padding-bottom: 90px; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.8fr; gap: 110px; padding-top: 25px; }
.contact-layout aside > svg { color: var(--accent-ink); margin-bottom: 25px; }
.contact-layout aside h2 { font-size: 26px; margin-bottom: 20px; }
.contact-layout aside p { color: var(--soft-ink); font-size: 14px; line-height: 1.9; margin-bottom: 18px; }
.contact-layout aside .eyebrow { display: block; margin-top: 38px; }
.contact-form { display: flex; flex-direction: column; gap: 25px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.checkbox-label { display: flex; flex-direction: row; gap: 12px; font-size: 12px; line-height: 1.9; align-items: flex-start; color: var(--soft-ink); font-weight: 400; }
.checkbox-label input { appearance: auto; accent-color: var(--accent-ink); min-width: 16px; height: 16px; margin-top: 4px; padding: 0; }
.honeypot { position: absolute; left: -9999px; }
.contact-form > .button { align-self: flex-start; }
.form-footnote { font-size: 12px; color: var(--soft-ink); margin-top: -11px; }
.form-error { font-size: 13px; line-height: 1.8; color: var(--error); }
.contact-success { background: var(--paper); padding: 45px; align-self: start; }
.contact-success > svg { color: var(--accent-ink); margin-bottom: 20px; }
.contact-success p { font-size: 14px; line-height: 1.9; margin-top: 20px; color: var(--soft-ink); }

/* Guias, comparacoes, custos e calculadoras */
.toolkit-hub-page { padding-bottom: 85px; }
.toolkit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.toolkit-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; background: var(--paper); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.toolkit-card:hover { transform: translateY(-3px); border-color: var(--accent-ink); }
.toolkit-card h2 { font-size: 21px; line-height: 1.3; letter-spacing: -.4px; }
.toolkit-card p { font-size: 13px; line-height: 1.8; color: var(--soft-ink); flex: 1; }
.toolkit-card .card-link { margin-top: 4px; }
.detail-crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--soft-ink); margin-bottom: 30px; flex-wrap: wrap; }
.detail-crumbs a:hover { color: var(--accent-ink); }
.toolkit-body { max-width: 790px; margin-top: 10px; padding-bottom: 85px; }
.toolkit-body > * + * { margin-top: 14px; }
.toolkit-body h2 { font-size: 24px; letter-spacing: -.6px; margin-top: 0; padding-top: 24px; border-top: 1px solid var(--line); }
.toolkit-body h2 + p { margin-top: 8px; }
.toolkit-body p { font-size: 14px; line-height: 1.9; color: var(--soft-ink); }
.toolkit-body > h2:first-of-type { margin-top: 34px; }
.toolkit-note { margin-top: 40px; padding: 22px 26px; background: var(--paper); font-size: 13px; line-height: 1.8; color: var(--soft-ink); }
.error-page { min-height: 55vh; padding-top: 90px; padding-bottom: 70px; }
.error-page > p { color: var(--soft-ink); margin-top: 25px; margin-bottom: 30px; line-height: 1.9; }

/* Ecras medios e pequenos */
@media (min-width: 1550px) { .home-hero { padding-top: 80px; } .hero-intro { padding-bottom: 50px; } .hero-photo { height: 460px; } }
@media (max-width: 1100px) {
	.rail-wide { width: calc(100% - 72px); }
	.header-inner { padding: 0 36px; min-height: 80px; }
	.site-footer { padding-inline: 36px; }
	.mobile-menu { display: inline-flex; }
	.desktop-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 36px 20px; max-height: calc(100vh - 90px); overflow: auto; }
	.desktop-nav.is-open { display: block; }
	.nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav-list > li { flex-wrap: wrap; justify-content: space-between; }
	.nav-list > li > a { flex: 1; padding-block: 14px; font-size: 15px; }
	.nav-list > li > a:after { display: none; }
	.nav-list > li.current-menu-item > a, .nav-list > li.current-menu-ancestor > a { color: var(--accent-ink); }
	.nav-list > li > a svg.ico { display: none; }
	.nav-list > li > a[href*='contacto'] svg.ico { display: inline; }
	.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; color: inherit; }
	.sub-toggle svg { transition: transform .2s; }
	.sub-open > .sub-toggle svg { transform: rotate(180deg); }
	.nav-list .sub-menu { position: static; flex-basis: 100%; min-width: 0; opacity: 1; visibility: visible; transform: none; display: none; border: 0; border-left: 1px solid var(--line); padding: 0 0 0 14px; margin-bottom: 6px; background: transparent; }
	.nav-list li:hover > .sub-menu { opacity: 1; }
	.sub-open > .sub-menu { display: flex; }
	.nav-list .sub-menu a { padding: 11px 0; font-size: 14px; }
	.nav-list .sub-menu a:hover { background: transparent; }
	.nav-list .sub-menu .submenu-all > a { border-top: 0; margin-top: 0; padding-top: 11px; color: var(--accent-ink); }
	.header-search { padding: 20px 36px 24px; }
	.hero-side { max-width: 250px; margin-right: 0; }
	.hero-intro { gap: 30px; }
	.hero-intro h1 { font-size: 45px; }
	.post-grid { gap: 23px; }
	.post-card h2, .post-card h3 { font-size: 21px; }
	.about-note-inner { gap: 35px; }
	.topics-section { gap: 65px; }
	.contact-layout { gap: 65px; }
	.article-layout { gap: 40px; }
	.story-layout { gap: 60px; }
	.toolkit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.rail-wide { width: calc(100% - 40px); }
	.header-inner { padding: 0 20px; min-height: 74px; gap: 10px; }
	.brand { font-size: 17px; gap: 8px; }
	.brand img { height: 38px; }
	.header-actions { gap: 0; }
	.desktop-nav { padding: 8px 20px 20px; }
	.header-search { padding: 20px; }
	.header-search .button { padding: 10px 13px; gap: 8px; }
	h1 { font-size: 39px; letter-spacing: -1.5px; }
	h2 { font-size: 30px; }
	.home-hero { padding-top: 40px; }
	.hero-intro { display: block; padding-bottom: 27px; }
	.hero-intro .eyebrow { letter-spacing: 1.6px; margin-bottom: 20px; }
	.hero-intro h1 { font-size: clamp(32px, 8.4vw, 48px); letter-spacing: -1.3px; line-height: 1.25; }
	.hero-side { max-width: 450px; padding: 0; margin-top: 22px; }
	.hero-side > p { font-size: 14px; line-height: 1.8; margin-bottom: 12px; }
	.hero-photo { height: 300px; }
	.hero-photo > img { object-position: 45% 50%; }
	.image-caption { font-size: 9px; letter-spacing: 1px; left: 13px; bottom: 16px; padding: 11px 12px; gap: 7px; }
	.photo-arrow { width: 39px; height: 39px; top: 13px; right: 13px; }
	.photo-arrow svg { width: 23px; }
	.hero-foot { align-items: flex-start; padding-top: 15px; padding-bottom: 22px; gap: 20px; }
	.hero-foot > p { font-size: 12px; line-height: 1.9; max-width: 200px; }
	.scroll-link { white-space: nowrap; min-height: 34px; }
	.latest-section { padding-top: 45px; padding-bottom: 48px; }
	.section-heading { align-items: flex-start; gap: 20px; margin-bottom: 26px; }
	.section-heading h2 { font-size: 28px; }
	.section-heading > .text-link { white-space: nowrap; margin-top: 29px; }
	.post-grid { grid-template-columns: 1fr; gap: 38px; }
	.post-card-image { aspect-ratio: 1.5; }
	.post-card h2, .post-card h3 { font-size: 25px; }
	.post-card > p { font-size: 14px; max-width: 100%; }
	.card-link { min-height: 39px; margin-top: 12px; }
	.card-photo-arrow { opacity: 1; }
	.about-note-inner { grid-template-columns: 1fr; gap: 26px; padding-top: 42px; padding-bottom: 44px; }
	.note-symbol { padding-top: 0; display: flex; align-items: center; gap: 20px; }
	.note-symbol svg { width: 32px; }
	.note-symbol p { margin-top: 0; font-size: 10px; line-height: 1.8; }
	.note-copy h2 { font-size: 29px; }
	.note-number { position: absolute; right: 0; top: 48px; }
	.topics-section { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; padding-bottom: 55px; }
	.topics-intro h2 br, .topics-intro > p:last-child br { display: none; }
	.topics-list > a { padding: 19px 0; gap: 20px; }
	.site-footer { padding: 32px 20px 22px; }
	.footer-top { flex-wrap: wrap; gap: 21px; padding-bottom: 27px; }
	.footer-top > .brand { width: 100%; }
	.footer-top nav { gap: 6px 18px; }
	.footer-top nav a { min-height: 30px; }
	.footer-bottom { gap: 20px; line-height: 1.8; }
	.footer-bottom > span { max-width: 220px; }
	.footer-bottom a { white-space: nowrap; align-self: flex-start; }
	.page-intro { padding-top: 45px; padding-bottom: 35px; }
	.page-intro .eyebrow { margin-bottom: 18px; }
	.page-intro > p:last-child { font-size: 14px; margin-top: 22px; }
	.feed-toolbar { flex-direction: column; align-items: stretch; gap: 23px; }
	.category-filters { gap: 5px; }
	.category-filters a { padding: 10px 12px; min-height: 40px; }
	.feed-search { width: 100%; }
	.blog-page { padding-bottom: 55px; }
	.article-header { padding-top: 26px; }
	.back-link { margin-bottom: 29px; }
	.article-header h1 { font-size: 37px; }
	.article-lead { font-size: 15px; margin-top: 20px; }
	.article-meta { gap: 14px; margin-top: 19px; }
	.article-cover { aspect-ratio: 1.3; margin-top: 15px; }
	.article-layout, .article-layout.has-index { grid-template-columns: 1fr; gap: 35px; margin-top: 32px; }
	.article-index { position: static; max-width: 100%; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
	.article-index-list { flex-direction: row; flex-wrap: wrap; gap: 15px 22px; }
	.index-note { display: none; }
	.article-body { font-size: 14px; }
	.article-body h2 { font-size: 27px; }
	.related-section { padding-top: 39px; padding-bottom: 52px; }
	.related-section .section-heading { display: block; }
	.related-section .section-heading > .text-link { margin-top: 15px; }
	.about-photo { height: 280px; }
	.story-layout { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 55px; }
	.story-layout > div:first-child > svg { margin-bottom: 20px; }
	.story-copy > p { font-size: 14px; }
	.story-copy blockquote { font-size: 22px; margin-block: 29px; padding-left: 18px; }
	.contact-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 0; }
	.contact-layout aside .eyebrow { margin-top: 25px; }
	.contact-layout aside h2 { font-size: 25px; }
	.form-two { grid-template-columns: 1fr; gap: 22px; }
	.contact-form { gap: 24px; }
	.contact-page { padding-bottom: 55px; }
	.contact-success { padding: 30px; }
	.toolkit-grid { grid-template-columns: 1fr; }
	.toolkit-card { padding: 24px; }
	.toolkit-hub-page { padding-bottom: 55px; }
	.toolkit-body h2 { font-size: 22px; }
	.error-page h1 { font-size: 35px; }
}
/* Seletor de idioma */
.lang-switch { display: flex; align-items: center; margin-right: 4px; }
.lang-switch a, .lang-switch .is-current { position: relative; min-width: 36px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; letter-spacing: 1px; }
.lang-switch a { color: var(--soft-ink); transition: color .2s; }
.lang-switch a:hover { color: var(--accent-ink); }
.lang-switch .is-current { color: var(--ink); }
.lang-switch .is-current:after { content: ''; position: absolute; bottom: 9px; left: 50%; width: 16px; margin-left: -8px; height: 2px; background: var(--accent); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { transition: none !important; animation: none !important; } }
