/*
Theme Name: EFSB Industrial
Description: Site público da EFSB — compras, fornecimento industrial e logística Portugal–Angola. Preparado para o plugin EFSB Portal.
Version: 1.1.0
Requires PHP: 7.4
Text Domain: efsb-industrial
*/

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-wght-normal.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: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-latin-ext-wght-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--ink: #0f1b2d;
	--ink-2: #34465c;
	--muted: #5b6b7f;
	--line: #e1e7ef;
	--bg: #ffffff;
	--soft: #f5f7fa;
	--blue: #0b2a4a;
	--blue-2: #164a7d;
	--blue-3: #2f6fb0;
	--blue-50: #eef4fb;
	--or: #ee7419;
	--or-2: #d4610b;
	--or-50: #fff4ea;
	--ok: #1f8a4c;
	--r: 14px;
	--max: 1200px;
	--shadow: 0 1px 2px rgba(15,27,45,.05), 0 8px 24px -12px rgba(11,42,74,.18);
	/* para os componentes do plugin */
	--efsb-theme-ink: var(--ink); --efsb-theme-muted: var(--muted); --efsb-theme-line: var(--line); --efsb-theme-soft: var(--soft); --efsb-theme-steel: var(--blue); --efsb-theme-accent: var(--or);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: var(--or-2); }
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 750; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); font-weight: 720; }
h3 { font-size: 1.12rem; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; } .skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #7fb0e6; outline-offset: 2px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--blue); flex: none; }
.brand-mark { font-weight: 850; font-size: 1.45rem; letter-spacing: .02em; color: var(--blue); }
.brand-mark::after { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 2px; background: var(--or); margin-left: 3px; vertical-align: 2px; }
.brand-sub { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.primary-nav a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 11px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .94rem; white-space: nowrap; }
.primary-nav a:hover { background: var(--soft); color: var(--blue); }
.primary-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-50); }
.primary-nav .nav-cta { background: var(--blue); color: #fff; margin-left: 6px; } .primary-nav .nav-cta:hover { background: var(--blue-2); color: #fff; }
.primary-nav .nav-track::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px #d9f2e3; }
.nav-drop { position: relative; } .nav-drop > button { font: inherit; font-weight: 550; font-size: .94rem; color: var(--ink-2); background: none; border: 0; padding: 8px 11px; border-radius: 8px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.nav-drop > button::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); }
.nav-drop > button:hover, .nav-drop.open > button { background: var(--soft); color: var(--blue); }
.nav-drop .menu { position: absolute; top: calc(100% + 6px); left: -8px; width: 330px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 48px -18px rgba(11,42,74,.35); padding: 8px; display: none; }
.nav-drop.open .menu { display: block; animation: drop .15s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav-drop .menu a { display: grid; grid-template-columns: 36px 1fr; gap: 0 12px; align-items: center; padding: 9px 10px; white-space: normal; }
.nav-drop .menu a b { font-weight: 650; color: var(--ink); font-size: .95rem; } .nav-drop .menu a span { grid-column: 2; color: var(--muted); font-size: .82rem; font-weight: 450; }
.nav-drop .menu .ico { grid-row: span 2; }
.nav-toggle { display: none; margin-left: auto; font: inherit; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; color: var(--blue); min-height: 42px; }
.ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-2); flex: none; }
.ico svg { width: 20px; height: 20px; }
.ico.or { background: var(--or-50); color: var(--or-2); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: .98rem; border-radius: 10px; padding: 11px 18px; min-height: 46px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--or); color: #fff; } .btn-primary:hover { background: var(--or-2); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; } .btn-blue:hover { background: var(--blue-2); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: #c9d3de; } .btn-ghost:hover { border-color: var(--blue-2); color: var(--blue); }
.arrow-link { font-weight: 650; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; } .arrow-link::after { content: "→"; transition: transform .15s; } .arrow-link:hover::after { transform: translateX(3px); }

/* ---------- Primeiro ecrã ---------- */
.hero { position: relative; padding: 44px 0 56px; background: radial-gradient(1100px 420px at 85% -10%, #e3eefb 0%, transparent 60%), linear-gradient(180deg, #f7f9fc 0%, #fff 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; opacity: .35; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%); mask-image: linear-gradient(180deg, #000 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.hero-copy { padding-top: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--or); }
.hero h1 { margin-bottom: 18px; } .hero h1 em { font-style: normal; color: var(--blue-3); }
.hero .lead { font-size: 1.12rem; color: var(--ink-2); max-width: 34em; }
.hero-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-2); }
.hero-points li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23164a7d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.hero-akz { margin-top: 22px; display: inline-flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; font-size: .9rem; color: var(--ink-2); box-shadow: var(--shadow); }
.hero-akz b { color: var(--blue); }
.hero-akz .flag { width: 28px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, #c8102e 50%, #111 50%); position: relative; flex: none; } .hero-akz .flag::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; border: 1.5px solid #f7c600; }

/* ---------- Secções ---------- */
.section { padding: 72px 0; } .section.tight { padding: 52px 0; } .section.alt { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 40em; margin: 0; }
.section-head h2 { margin: 0 0 6px; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--or-2); margin-bottom: 8px; display: block; }

/* Exemplos concretos */
.examples { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.example { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.example:hover { border-color: #b9c9db; box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.example .art { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-50); color: var(--blue-2); display: grid; place-items: center; overflow: hidden; }
.example .art svg { width: 24px; height: 24px; }
.example .tag { font-size: .74rem; font-weight: 700; color: var(--blue-2); letter-spacing: .06em; text-transform: uppercase; }
.example b { font-size: 1.02rem; line-height: 1.3; } .example span.how { font-size: .88rem; color: var(--muted); margin-top: auto; }
.example .go { font-size: .88rem; font-weight: 650; color: var(--blue-2); }

/* Categorias */
.cats { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.cat { position: relative; border-radius: var(--r); overflow: hidden; background: var(--blue); color: #fff; text-decoration: none; min-height: 190px; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.cat:first-child { grid-row: span 2; min-height: 394px; } .cat:last-child { grid-column: span 2; }
.cat .bg { position: absolute; inset: 0; z-index: -1; } .cat .bg svg, .cat .bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,42,74,.05) 0%, rgba(8,26,46,.55) 45%, rgba(8,26,46,.94) 100%); }
.cat h3 { color: #fff; font-size: 1.25rem; margin-bottom: 4px; } .cat p { margin: 0; font-size: .9rem; color: #d6e2ef; max-width: 28em; }
.cat .go { margin-top: 10px; font-weight: 650; font-size: .9rem; color: #ffd2b0; }
.cat:hover { color: #fff; } .cat:hover .go { color: #fff; }
.photo-note { font-size: .75rem; color: var(--muted); margin-top: 10px; }

/* Lojas */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; } .split > * { min-width: 0; }
.store-flow { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 12px; counter-reset: f; }
.store-flow li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; counter-increment: f; }
.store-flow li::before { content: counter(f); width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; }
.store-flow b { display: block; } .store-flow span { color: var(--muted); font-size: .92rem; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 12px; } .mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #dfe5ed; }
.mock-url { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--blue-2); border-radius: 10px; padding: 10px 12px; font-size: .9rem; color: var(--ink-2); background: #fbfdff; }
.mock-url .lk { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; }
.mock-url .b { background: var(--or); color: #fff; font-weight: 650; border-radius: 8px; padding: 6px 12px; font-size: .85rem; }
.mock-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mock-item:last-child { border: 0; } .mock-item .th { width: 48px; height: 48px; border-radius: 10px; background: var(--blue-50); display: grid; place-items: center; color: var(--blue-2); }
.mock-item .th svg { width: 26px; height: 26px; } .mock-item small { display: block; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 650; border-radius: 99px; padding: 3px 10px; background: #e7f5ec; color: #146c3a; white-space: nowrap; }
.pill.blue { background: var(--blue-50); color: var(--blue-2); } .pill.or { background: var(--or-50); color: var(--or-2); }

/* Já comprou */
.forward { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.forward > div { padding: 20px; border-right: 1px solid var(--line); } .forward > div:last-child { border: 0; }
.forward b { display: block; margin: 10px 0 4px; } .forward p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 19px; height: 2px; background: linear-gradient(90deg, var(--blue-2), var(--or)); opacity: .35; }
.steps li { position: relative; text-align: center; padding: 0 4px; }
.steps .n { width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 2px solid var(--blue-2); color: var(--blue); display: grid; place-items: center; font-weight: 750; position: relative; }
.steps li:nth-child(n+4) .n { border-color: var(--or); color: var(--or-2); }
.steps b { display: block; font-size: .98rem; } .steps span { display: block; font-size: .85rem; color: var(--muted); margin-top: 2px; }

/* Acompanhamento */
.track-demo { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.track-demo .hd { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fbfcfe; flex-wrap: wrap; }
.track-demo .hd b { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.tl { list-style: none; margin: 0; padding: 14px 16px 6px; }
.tl li { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; padding-bottom: 14px; position: relative; font-size: .92rem; }
.tl li::before { content: ""; position: absolute; left: 10px; top: 20px; bottom: 0; width: 2px; background: var(--line); } .tl li:last-child::before { display: none; }
.tl .d { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); background: #fff; z-index: 1; }
.tl .done .d, .tl li.done .d { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 4px #fff; }
.tl li.now .d { background: var(--or); border-color: var(--or); box-shadow: 0 0 0 5px var(--or-50); }
.tl li.next { color: var(--muted); } .tl time { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.tl small { display: block; color: var(--muted); }
.track-demo .ft { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.feature-list { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; } .feature-list b { display: block; } .feature-list span { color: var(--muted); font-size: .92rem; }

/* Presença */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.place { border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.place h3 { margin-bottom: 2px; } .place .role { color: var(--blue-2); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.place address { font-style: normal; color: var(--ink-2); font-size: .94rem; margin-bottom: 10px; }
.place .links { display: flex; gap: 16px; flex-wrap: wrap; font-size: .92rem; }
.place .badge { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--blue); }
.place .badge.ao { background: linear-gradient(180deg, #c8102e 50%, #1a1a1a 50%); }
.place .badge.pt { background: linear-gradient(90deg, #046a38 40%, #da291c 40%); }
.place p.small { font-size: .88rem; color: var(--muted); margin: 0 0 10px; }

/* Perguntas */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 16px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; padding: 14px 24px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 11px; font-size: 1.3rem; color: var(--blue-2); font-weight: 400; }
.faq details[open] summary::after { content: "–"; } .faq details p { color: var(--ink-2); font-size: .94rem; margin: 0 0 14px; }

.cta-band { background: var(--blue); color: #e3ecf6; border-radius: 18px; padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background-image: radial-gradient(600px 200px at 100% 0, rgba(238,116,25,.25), transparent 70%); }
.cta-band h2 { color: #fff; margin: 0 0 4px; } .cta-band p { margin: 0; }

/* ---------- Páginas internas ---------- */
.page-head { padding: 40px 0 26px; background: linear-gradient(180deg, #f5f8fc 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 8px; } .page-head p { color: var(--ink-2); max-width: 46em; margin: 0; font-size: 1.04rem; }
.content { padding: 30px 0 64px; }
.content .cards { display: grid; gap: 14px; } .content .cards.two { grid-template-columns: 1fr 1fr; } .content .cards.three { grid-template-columns: repeat(3, 1fr); } .content .cards.four { grid-template-columns: repeat(4, 1fr); }
.content .card { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: #fff; } .content .card h3 { margin-bottom: 6px; } .content .card p { color: var(--ink-2); font-size: .95rem; }
.content .card .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.content .note { color: var(--muted); font-size: .9rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: #0a1f36; color: #b7c6d6; padding: 52px 0 26px; font-size: .92rem; }
.site-footer a { color: #e3ecf6; text-decoration: none; } .site-footer a:hover { color: #ffb57d; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer address { font-style: normal; margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #1d3653; margin-top: 34px; padding-top: 18px; font-size: .84rem; }

/* ---------- Barra de serviços (telemóvel) ---------- */
.svc-bar { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1120px) {
	.primary-nav a, .nav-drop > button { padding: 8px 8px; font-size: .9rem; }
}
@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; align-items: center; }
	.primary-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(11,42,74,.35); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; gap: 2px; max-height: calc(100vh - 64px); overflow: auto; }
	.primary-nav.is-open { display: flex; }
	.primary-nav a { padding: 12px 10px; font-size: 1rem; } .primary-nav .nav-cta { margin: 8px 0 0; justify-content: center; }
	.nav-drop > button { display: none; } .nav-drop .menu { display: block; position: static; width: auto; box-shadow: none; border: 0; padding: 0; }
	.hero .wrap { grid-template-columns: 1fr; gap: 22px; } .hero-copy { padding-top: 0; } .hero { padding: 26px 0 36px; }
	.hero-points { display: none; }
	.examples { grid-template-columns: 1fr 1fr; } .cats { grid-template-columns: 1fr 1fr; } .cat:first-child { grid-row: auto; grid-column: span 2; min-height: 240px; } .cat:last-child { grid-column: auto; }
	.split { grid-template-columns: 1fr; gap: 28px; } .forward { grid-template-columns: 1fr 1fr; } .forward > div:nth-child(2) { border-right: 0; } .forward > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.steps { grid-template-columns: repeat(3, 1fr); row-gap: 22px; } .steps::before { display: none; }
	.places, .faq { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; }
	.content .cards.three, .content .cards.four { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.section { padding: 48px 0; } .section.tight { padding: 36px 0; }
	.hero { padding: 18px 0 28px; } .hero .eyebrow { display: none; }
	.hero h1 { font-size: 1.72rem; margin-bottom: 8px; } .hero .lead { font-size: .95rem; margin-bottom: 0; }
	.hero .wrap { display: flex; flex-direction: column; gap: 16px; } .hero-copy { display: contents; } .hero-copy h1 { order: 1; } .hero-copy .lead { order: 2; } .hero-panel { order: 3; } .hero-akz { order: 4; display: flex; margin-top: 0; font-size: .85rem; }
	.examples { grid-template-columns: 1fr; gap: 10px; } .example { flex-direction: row; align-items: center; padding: 12px; } .example .art { width: 44px; height: 44px; flex: none; } .example span.how { display: none; }
	.cats { grid-template-columns: 1fr; } .cat:first-child { grid-column: auto; } .cat { min-height: 170px; }
	.forward { grid-template-columns: 1fr; } .forward > div { border-right: 0 !important; border-bottom: 1px solid var(--line); } .forward > div:last-child { border-bottom: 0; }
	.steps { grid-template-columns: 1fr 1fr; }
	.footer-cols { grid-template-columns: 1fr; }
	.content .cards.two, .content .cards.three, .content .cards.four { grid-template-columns: 1fr; }
	/* Barra fixa com os quatro serviços: não tapa o conteúdo (o corpo reserva o espaço) */
	body.has-svc-bar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.svc-bar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(11,42,74,.4); padding-bottom: env(safe-area-inset-bottom); }
	.svc-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 60px; font-size: .72rem; font-weight: 650; color: var(--ink-2); text-decoration: none; }
	.svc-bar a svg { width: 22px; height: 22px; color: var(--blue-2); }
	.svc-bar a:active { background: var(--soft); }
	.svc-bar.hide { transform: translateY(110%); } .svc-bar { transition: transform .2s ease; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }


/* ---------- 1.1: barra de contactos, factos, instalações, línguas, WhatsApp ---------- */
.topbar { background: var(--blue); color: #c9d7e8; font-size: .82rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.tb-contacts { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.tb-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-item a { color: #fff; text-decoration: none; } .tb-item a:hover { color: #ffd2ad; }
.tb-wa { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #25d366; color: #fff !important; }
.tb-c { color: #9fb4cc; }
.loc-flag { display: inline-block; width: 18px; height: 12px; border-radius: 2px; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.08); vertical-align: -1px; }
.loc-flag.pt { background: linear-gradient(90deg, #046a38 40%, #da291c 40%); }
.loc-flag.ao { background: linear-gradient(180deg, #c8102e 50%, #1a1a1a 50%); }
.lang-switch { display: flex; gap: 2px; align-items: center; }
.lang-switch a { color: #c9d7e8; text-decoration: none; font-weight: 600; font-size: .78rem; padding: 4px 7px; border-radius: 6px; letter-spacing: .02em; }
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-switch a.on { color: #fff; background: rgba(255,255,255,.14); }
.lang-switch .sr, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lang-foot a { color: #9fb4cc; }

.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts .wrap { display: flex; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; flex: 1; }
.facts li { display: flex; gap: 12px; align-items: flex-start; }
.facts .ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--blue-50); color: var(--blue-2); display: grid; place-items: center; }
.facts .ico svg { width: 20px; height: 20px; }
.facts b { display: block; font-size: .92rem; line-height: 1.3; }
.facts li span:not(.ico) { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; }

@media (max-width: 960px) {
	.facts .wrap { flex-direction: column; align-items: stretch; gap: 12px; }
	.facts ul { grid-template-columns: 1fr 1fr; }
	.tb-c { display: none; }
}
@media (max-width: 640px) {
	.topbar .wrap { min-height: 34px; gap: 8px; }
	.tb-contacts { gap: 12px; font-size: .78rem; }
	.tb-item a:not(.tb-wa) { font-variant-numeric: tabular-nums; }
	.topbar .lang-switch a { padding: 3px 5px; }
	.facts ul { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 400px) { .tb-item:nth-child(n+2) a:not(.tb-wa) { display: none; } }

/* WhatsApp flutuante (acima da barra de serviços no telemóvel) */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 70; }
.wa-btn { width: 56px; height: 56px; border-radius: 50%; border: 0; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px -6px rgba(0,0,0,.35); cursor: pointer; }
.wa-btn:hover { background: #1ebe5b; }
.wa-menu { position: absolute; right: 0; bottom: 66px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px; }
.wa-menu p { margin: 2px 6px 8px; font-size: .82rem; color: var(--muted); }
.wa-menu a { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.wa-menu a:hover { background: var(--soft); }
.wa-menu small { display: block; color: var(--muted); font-size: .8rem; }
@media (max-width: 640px) { body.has-svc-bar .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); right: 12px; } .wa-btn { width: 50px; height: 50px; } }

/* Chinês: tipografia sem espaçamento negativo */
.lang-zh h1, .lang-zh h2, .lang-zh h3 { letter-spacing: 0; }
.lang-zh body, body.lang-zh { line-height: 1.7; }
.fb-links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.lang-zh .hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.25; }
.lang-zh .hero h1 em { display: block; }
