/* SKAYNET v2 — tokens, base, componentes. Estrutura inspirada em flairstech.com, identidade SKAYNET (navy + azul). */
@font-face { font-family: Poppins; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/poppins-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/poppins-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/poppins-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/poppins-latin-700-normal.woff2) format("woff2"); }

:root {
    color-scheme: light;
    --navy: #080d26;
    --navy-2: #0e1740;
    --blue: #1749cc;
    --blue-2: #4d86ff;
    --sky: #95bdff;
    --ice: #eef3ff;
    --ink: #111a38;
    --muted: #42516c;
    --line: #dce4f0;
    --surface: #fff;
    --action: #004080;
    --grad: linear-gradient(90deg, #1749cc, #4d86ff);
    --gutter: clamp(1rem, 5vw, 4rem);
    --measure: 76rem;
    --radius: .45rem;
    --pill: 999px;
    --section-space: clamp(3.5rem, 8vw, 7rem);
    --font: Poppins, system-ui, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--surface); font: 400 1rem/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h2 { margin-bottom: 1rem; font-size: clamp(1.9rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { font-size: 1.2rem; line-height: 1.3; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--measure)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; inset: 1rem auto auto 1rem; padding: .65rem 1rem; background: #fff; border-radius: var(--radius); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }

/* Botões */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .85rem 1.6rem; border: 0; border-radius: var(--pill); background: var(--grad); color: #fff; font: 600 .95rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgb(23 73 204 / .38); filter: brightness(1.06); }
.button-outline { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / .45); }
.button-outline:hover { background: rgb(255 255 255 / .1); box-shadow: none; }
.button-light { background: #fff; color: var(--navy); }
.button-sm { padding: .6rem 1.15rem; font-size: .88rem; }
.on-light .button-outline, .button-outline.dark { color: var(--ink); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; }
.kicker { display: inline-block; margin: 0 0 1rem; color: var(--blue); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.on-dark .kicker, .dark .kicker, .presence .kicker, .feature .kicker, .hero-dark .kicker { color: var(--sky); }
.section-cta { margin-top: 2rem; }

/* Cabeçalho flutuante (pílula branca) */
.site-header { position: absolute; z-index: 60; inset: .75rem 0 auto; pointer-events: none; }
.site-header.is-sticky { position: fixed; }
.header-pill { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: min(calc(100% - 1.5rem), 74rem); margin-inline: auto; padding: .45rem .5rem .45rem 1.25rem; border-radius: var(--pill); background: #fff; box-shadow: 0 10px 34px rgb(5 10 40 / .22); pointer-events: auto; }
.brand { display: block; line-height: 0; }
.brand img { display: block; width: 118px; height: auto; }
.desktop-nav { display: none; }
.desktop-nav > ul { display: flex; align-items: center; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.desktop-nav a { display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .85rem; border-radius: var(--pill); color: var(--ink); font-size: .92rem; font-weight: 500; text-decoration: none; }
.desktop-nav a:hover { background: var(--ice); color: var(--blue); }
.services-menu > summary { display: flex; align-items: center; justify-content: space-between; gap: .4rem; cursor: pointer; list-style: none; padding: .55rem .85rem; border-radius: var(--pill); font-size: .92rem; font-weight: 500; }
.services-menu > summary::-webkit-details-marker { display: none; }
.services-menu[open] > summary, .services-menu > summary:hover { background: var(--ice); color: var(--blue); }
.services-menu[open] > summary > .icon { transform: rotate(180deg); }
.services-menu-panel { padding: .65rem; }
.services-menu-groups { display: grid; gap: .9rem; }
.services-menu-group > p { margin: .35rem .55rem; color: var(--blue); font-size: .82rem; font-weight: 700; }
.services-menu-group ul { margin: 0; padding: 0; list-style: none; }
.services-menu-group li a { display: flex; align-items: flex-start; gap: .65rem; padding: .65rem .55rem; border-radius: .7rem; line-height: 1.35; }
.services-menu-icon { display: grid; place-items: center; flex: 0 0 2.15rem; height: 2.15rem; color: var(--blue); background: var(--ice); border-radius: .55rem; }
.services-menu-group strong, .services-menu-group small { display: block; }
.services-menu-group small { margin-top: .2rem; color: var(--muted); font-size: .8rem; }
.services-menu-footer { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: space-between; margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.services-menu-footer a { display: inline-flex; gap: .35rem; align-items: center; font-weight: 700; }
.mobile-panel .services-menu > summary { display: flex; width: 100%; height: auto; padding: .7rem .9rem; border-radius: .8rem; background: transparent; color: var(--ink); place-items: initial; font-size: inherit; }
.mobile-panel .services-menu[open] > summary { background: var(--ice); color: var(--blue); }
@media (min-width: 64rem) {
    .desktop-nav .services-menu-panel { position: absolute; inset: 100% 0 auto; max-height: calc(100svh - 6rem); overflow-y: auto; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1.15rem; background: #fff; box-shadow: 0 18px 50px rgb(5 10 40 / .22); }
    .desktop-nav .services-menu-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-actions .button { white-space: nowrap; }
.mobile-menu summary { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ice); color: var(--navy); cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu .icon-close, .mobile-menu[open] .icon-open { display: none; }
.mobile-menu[open] .icon-close { display: inline; }
.mobile-panel { position: absolute; inset: calc(100% + .5rem) 0 auto; display: grid; gap: .1rem; padding: .9rem; max-height: calc(100svh - 6rem); overflow-y: auto; background: #fff; border-radius: 1.5rem; box-shadow: 0 18px 50px rgb(5 10 40 / .3); }
.mobile-panel a { display: block; padding: .7rem .9rem; border-radius: .8rem; color: var(--ink); font-weight: 500; text-decoration: none; }
.mobile-panel a:hover { background: var(--ice); }
.mobile-panel .button { margin-top: .5rem; color: #fff; text-align: center; }
@media (min-width: 64rem) {
    .desktop-nav { display: block; }
    .mobile-menu { display: none; }
}
@media (max-width: 30rem) { .header-actions > .button { display: none; } }

/* Botão flutuante de chamada */
.float-call { position: fixed; z-index: 55; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem; border-radius: var(--pill); background: var(--grad); color: #fff; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 10px 30px rgb(23 73 204 / .45); }
.float-call:hover { filter: brightness(1.08); }
@media (max-width: 30rem) { .float-call span { display: none; } .float-call { padding: .95rem; } }

/* Hero escuro com orbes */
.hero-dark { position: relative; isolation: isolate; overflow: hidden; background: #05081c; color: #fff; }
.hero-dark::before, .hero-dark::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-dark::before { left: -14%; top: -8%; width: 52rem; height: 52rem; background: radial-gradient(closest-side, rgb(23 73 204 / .95), transparent); filter: blur(30px); animation: drift 22s ease-in-out infinite alternate; }
.hero-dark::after { right: -16%; bottom: -22%; width: 50rem; height: 50rem; background: radial-gradient(closest-side, rgb(77 134 255 / .7), rgb(149 189 255 / .18) 60%, transparent); filter: blur(30px); animation: drift 26s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(6%, 8%) scale(1.08); } }
.home-hero { min-height: min(100svh, 58rem); display: flex; flex-direction: column; border-radius: 0 0 clamp(1.5rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem); }
.case-strip { position: relative; z-index: 1; margin-top: 5.2rem; }
.case-strip a { display: flex; flex-wrap: wrap; gap: .4rem .9rem; align-items: center; justify-content: center; padding: .55rem 1rem; border: 1px solid rgb(255 255 255 / .16); border-radius: 1.3rem; background: rgb(255 255 255 / .07); backdrop-filter: blur(10px); color: #dfe8ff; font-size: .82rem; text-decoration: none; }
.case-strip a:hover { background: rgb(255 255 255 / .14); }
.case-strip strong { color: #fff; font-weight: 600; }
.hero-main { flex: 1; display: flex; align-items: center; padding-block: clamp(2.5rem, 7vw, 5rem); }
.hero-main h1 { max-width: 16ch; margin-bottom: 1.4rem; font-size: clamp(2.5rem, 7.2vw, 5.6rem); line-height: 1.05; letter-spacing: -.045em; }
.typer { display: block; min-height: 1.15em; color: var(--sky); }
@media (max-width: 52rem) { .typer { min-height: 2.3em; } }
.typer-caret { display: inline-block; width: .06em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--sky); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-lead { max-width: 46ch; margin-bottom: 2rem; color: #dfe8ff; font-size: clamp(1.02rem, 1.8vw, 1.25rem); }
.hero-lead strong { color: #fff; font-weight: 600; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; margin-top: 2.2rem; color: #c1d4fc; font-size: .88rem; }
.scroll-hint { display: inline-flex; align-items: center; gap: .5rem; color: #c1d4fc; text-decoration: none; }
.scroll-hint .icon { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }
.social-rail { position: absolute; right: clamp(.75rem, 2vw, 2rem); top: 50%; z-index: 1; display: none; flex-direction: column; align-items: center; gap: 1rem; transform: translateY(-50%); }
.social-rail span { writing-mode: vertical-rl; transform: rotate(180deg); color: #c1d4fc; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.social-rail a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 1px solid rgb(255 255 255 / .25); border-radius: 50%; color: #fff; }
.social-rail a:hover { background: rgb(255 255 255 / .14); }
@media (min-width: 64rem) { .social-rail { display: flex; } }

/* Secções */
.section { padding-block: var(--section-space); }
.section-ice { background: var(--ice); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2rem; }
.section-head h2 { max-width: 20ch; margin: 0; }
.section-head p { max-width: 46ch; margin: .8rem 0 0; color: var(--muted); }

/* Carrossel (serviços e casos) */
.carousel, .marquee { position: relative; }
.carousel-track { position: relative; display: flex; gap: 1.1rem; padding: .4rem .2rem 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-controls { display: none; align-items: center; gap: 1rem; margin-top: .4rem; }
.js .carousel-controls { display: flex; }
.carousel-bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgb(23 73 204 / .16); overflow: hidden; }
.carousel-bar::after { content: ""; position: absolute; inset: 0 auto 0 calc(var(--p, 0) * (100% - var(--w, 25%))); width: var(--w, 25%); border-radius: 4px; background: var(--grad); }
.round-btn { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.round-btn:hover:not(:disabled) { background: var(--blue); color: #fff; }
.round-btn:disabled { opacity: .35; cursor: default; }

.services { position: relative; padding-bottom: clamp(1rem, 3vw, 2rem); background: linear-gradient(180deg, #dfe8ff 0, var(--ice) 14rem, #fff 100%); }
.service-card { flex: 0 0 min(19.5rem, 82vw); display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; border: 1px solid #e5ebf8; border-radius: 1.5rem; background: #fff; box-shadow: 0 12px 34px rgb(23 50 130 / .09); scroll-snap-align: start; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgb(23 50 130 / .16); }
.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .8rem; border-radius: var(--pill); background: #f1f4fa; color: var(--muted); font-size: .76rem; font-weight: 500; }
.tag .icon { color: var(--blue); }
.service-card h3 { margin: 1.4rem 0 .6rem; color: var(--blue); font-size: 1.4rem; }
.service-card p { flex: 1; margin-bottom: 1rem; color: var(--muted); }
.price { display: block; margin-bottom: 1.1rem; color: var(--ink); font-size: .85rem; font-weight: 600; }
.service-card .button { width: 100%; }

/* Presença / Luanda */
.presence { position: relative; overflow: hidden; display: grid; gap: 2rem; padding: clamp(1.6rem, 5vw, 3.5rem); border-radius: 2rem; background: var(--navy) url(../img/grid.svg); color: #fff; }
.presence h2 { max-width: 16ch; }
.presence ul { display: grid; gap: .9rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: #dfe8ff; }
.presence li { display: flex; gap: .8rem; align-items: flex-start; }
.presence li .icon { margin-top: .25rem; color: var(--sky); }
.presence a { color: #fff; }
.map-pin { position: relative; min-height: 15rem; display: grid; place-items: center; border-radius: 1.4rem; background: radial-gradient(circle at 50% 55%, rgb(77 134 255 / .35), transparent 65%), url(../img/grid.svg); }
.pin-dot { position: relative; display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 .9rem rgb(77 134 255 / .22), 0 0 0 1.9rem rgb(77 134 255 / .1); }
.pin-label { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); padding: .45rem 1rem; border-radius: var(--pill); background: rgb(255 255 255 / .12); backdrop-filter: blur(8px); font-size: .85rem; white-space: nowrap; }
@media (min-width: 52rem) { .presence { grid-template-columns: 1.1fr .9fr; align-items: center; } }

/* Auditoria gratuita (painel de destaque) */
.feature { color: #fff; }
.feature-grid { display: grid; gap: 2.5rem; align-items: center; }
.feature h2 { max-width: 16ch; }
.feature .lead { max-width: 48ch; color: #dfe8ff; font-size: 1.1rem; }
.glass-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.glass { padding: 1.4rem 1.2rem; border: 1px solid rgb(255 255 255 / .2); border-radius: 1.3rem; background: rgb(255 255 255 / .1); backdrop-filter: blur(14px); }
.glass b { display: block; margin-bottom: .3rem; color: var(--sky); font-size: .8rem; font-weight: 600; letter-spacing: .12em; }
.glass strong { display: block; font-size: 1.1rem; font-weight: 600; }
.glass span { display: block; margin-top: .3rem; color: #c1d4fc; font-size: .85rem; line-height: 1.5; }
@media (min-width: 56rem) { .feature-grid { grid-template-columns: 1.1fr .9fr; } }

/* Números */
.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: 1.6rem 1.3rem; border: 1px solid #dfe6f7; border-radius: 1.4rem; background: #fff; }
.stat b { display: block; font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: .5rem; color: var(--muted); font-size: .9rem; }
@media (min-width: 52rem) { .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Casos */
.cases { background: #e9f0ff; }
.case-card { flex: 0 0 min(23rem, 86vw); display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem; background: #fff; scroll-snap-align: start; box-shadow: 0 12px 34px rgb(23 50 130 / .09); }
.case-card img { display: block; width: 100%; height: auto; aspect-ratio: 768 / 354; object-fit: cover; background: var(--navy); }
.case-body { display: flex; flex: 1; gap: 1rem; align-items: flex-end; justify-content: space-between; padding: 1.3rem; }
.case-body h3 { margin: .3rem 0 .5rem; }
.case-body p { margin: 0; color: var(--muted); font-size: .92rem; }
.arrow-btn { display: grid; flex: none; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--grad); color: #fff; transition: transform .2s; }
a:hover > .arrow-btn, .arrow-btn:hover { transform: rotate(45deg); }
.case-body a { color: inherit; text-decoration: none; display: contents; }

/* Testemunhos (marquee) */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 1.1rem; width: max-content; padding-block: .4rem; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - .55rem)); } }
.quote { width: min(24rem, 80vw); padding: 1.6rem; border: 1px solid #e1e8f7; border-radius: 1.4rem; background: #fff; }
.quote h3 { color: var(--blue); }
.quote p { color: var(--muted); }
.quote strong { display: block; }
.quote small { color: var(--muted); }
.quote-mark { display: block; margin-bottom: .3rem; color: var(--blue-2); font-size: 2.6rem; font-weight: 700; line-height: .7; }
@media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; mask-image: none; }
    .marquee-track { animation: none; }
    .marquee-track [aria-hidden="true"] { display: none; }
}

/* Sectores */
.sectors { display: grid; gap: 2rem; align-items: stretch; }
.sector-list { display: grid; align-content: start; margin: 0; padding: 0; list-style: none; }
.sector-list button { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1rem 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: #8a93a8; font: 600 clamp(1.5rem, 3.4vw, 2.3rem)/1.2 var(--font); letter-spacing: -.03em; text-align: left; cursor: pointer; transition: color .2s, padding .2s; }
.sector-list button:hover { color: var(--ink); }
.sector-list button[aria-selected="true"] { padding-left: .8rem; color: var(--ink); }
.sector-list button .icon { opacity: 0; color: var(--blue); }
.sector-list button[aria-selected="true"] .icon { opacity: 1; }
.sector-panels { position: relative; min-height: 22rem; }
.sector-panel { position: relative; display: flex; align-items: flex-end; min-height: 22rem; height: 100%; padding: 1.2rem; overflow: hidden; border-radius: 1.6rem; background: linear-gradient(135deg, #0e1740, #1749cc) ; }
.sector-panel::before { content: ""; position: absolute; inset: 0; background: url(../img/grid.svg), radial-gradient(circle at 80% 15%, rgb(149 189 255 / .55), transparent 55%); }
.sector-panel:nth-child(2n) { background: linear-gradient(160deg, #080d26, #2a56d6); }
.sector-panel:nth-child(3n) { background: linear-gradient(120deg, #0e1740, #3f78ff); }
.sector-card { position: relative; width: 100%; padding: 1.4rem; border: 1px solid rgb(255 255 255 / .35); border-radius: 1.2rem; background: rgb(255 255 255 / .82); backdrop-filter: blur(16px); }
.sector-card h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: 1.3rem; }
.sector-card h3 .icon { color: var(--blue); }
.sector-card p { color: var(--muted); }
.js .sector-panel { display: none; }
.js .sector-panel.is-active { display: flex; }
.sector-list { display: none; }
.js .sector-list { display: grid; }
.sector-panels > .sector-panel + .sector-panel { margin-top: 1rem; }
.js .sector-panels > .sector-panel + .sector-panel { margin-top: 0; }
@media (min-width: 56rem) { .sectors { grid-template-columns: 1fr 1.1fr; } }

/* Clientes */
.clients { text-align: center; }
.clients h2 { margin-inline: auto; font-size: clamp(1.3rem, 2.6vw, 1.8rem); letter-spacing: -.02em; }
.client-track { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.client-track span { padding: .7rem 1.4rem; border: 1px solid var(--line); border-radius: var(--pill); color: var(--muted); font-weight: 600; }

/* CTA final */
.final-cta { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.final-cta .container { display: grid; justify-items: center; }
.final-cta h2 { max-width: 18ch; font-size: clamp(2rem, 5.5vw, 4rem); }
.final-cta p { max-width: 46ch; margin-bottom: 2rem; color: #dfe8ff; font-size: 1.1rem; }

/* Blog */
.post-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; transition: box-shadow .25s, transform .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgb(23 50 130 / .12); }
.post-card .tag, .info-card .tag { align-self: flex-start; }
.info-card .tag { margin-bottom: .8rem; }
.post-card h3 { margin: .3rem 0 0; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card p { flex: 1; margin: 0; color: var(--muted); }
.post-card .text-link { text-decoration: none; }
.grid-3 { display: grid; gap: 1.1rem; }
@media (min-width: 42rem) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* FAQ */
.faq-wrap { display: grid; gap: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--blue); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq p { margin: 0 0 1.2rem; color: var(--muted); }
.faq-toggle { margin-bottom: .6rem; padding: .4rem 0; border: 0; background: none; color: var(--blue); font: 600 .9rem var(--font); text-decoration: underline; cursor: pointer; }
@media (min-width: 52rem) { .faq-wrap { grid-template-columns: .8fr 1.2fr; } }

/* Rodapé */
.site-footer { background: var(--navy); color: #c1d4fc; padding-block: clamp(3rem, 6vw, 5rem) 1.5rem; }
.site-footer a { color: #dfe8ff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid h2 { margin-bottom: 1rem; color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid ul { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.footer-brand img { width: 130px; height: auto; padding: .6rem .9rem; border-radius: .8rem; background: #fff; }
.footer-brand p { max-width: 30ch; margin: 1rem 0; font-size: .93rem; }
.footer-contact address { margin: .8rem 0; font-style: normal; font-size: .93rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgb(255 255 255 / .14); font-size: .82rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

/* Páginas interiores */
.page-hero { padding: clamp(8rem, 16vw, 11rem) 0 clamp(3rem, 7vw, 5rem); border-radius: 0 0 clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem); }
.page-hero h1 { max-width: 20ch; margin-bottom: 1rem; font-size: clamp(2.2rem, 5.5vw, 4.2rem); line-height: 1.08; letter-spacing: -.04em; }
.page-hero .hero-lead { margin-bottom: 1.6rem; }
.split { display: grid; gap: clamp(1.7rem, 5vw, 4rem); align-items: start; }
@media (min-width: 52rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card-grid { display: grid; gap: 1.1rem; }
@media (min-width: 42rem) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.info-card, .project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; }
.info-card { padding: 1.5rem; }
.info-card h3 { color: var(--blue); }
.info-card p { margin: 0; color: var(--muted); }
.project-card img { display: block; width: 100%; height: auto; }
.project-copy { padding: 1.4rem; }
.project-copy h2 { margin: 0 0 .5rem; font-size: 1.4rem; letter-spacing: -.02em; }
.project-copy h2 a { color: var(--ink); text-decoration: none; }
.project-copy p { color: var(--muted); }
.check-list { display: grid; gap: .7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list .icon { margin-top: .3rem; color: var(--blue); }
.steps { display: grid; gap: 1rem; margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { position: relative; padding-left: 3.2rem; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 600; font-size: .9rem; }
.detail-image { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 1.2rem; }
.detail-grid dt { font-weight: 600; }
.detail-grid dd { margin: .2rem 0 1rem; color: var(--muted); }
.editorial { max-width: 46rem; }
.editorial p { font-size: 1.05rem; }
.contact-box { padding: 1.6rem; border: 1px solid var(--line); border-radius: 1.4rem; background: var(--ice); }
.contact-box address { margin-bottom: 1rem; font-style: normal; }
.htmx-indicator { opacity: 0; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ── Fase 2: Sobre, Sectores, Portfólio, Blog, Contactos ── */
.lead-dark { max-width: 46rem; color: var(--muted); font-size: 1.1rem; }
.section-ice .section-head p, .section .section-head p { max-width: 34rem; color: var(--muted); }
.grid-2 { display: grid; gap: 1.1rem; }
@media (min-width: 42rem) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.grid-4 { display: grid; gap: 1.1rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Filtros (só aparecem com JavaScript) */
.filter-bar { display: none; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; }
.js .filter-bar { display: flex; }
.chip { padding: .55rem 1rem; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; color: var(--ink); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { border-color: transparent; background: var(--grad); color: #fff; }
a.chip { text-decoration: none; }
.filter-meta { margin: 0 0 1.4rem; color: var(--muted); font-size: .95rem; }
.filter-meta b { color: var(--ink); }
.empty-note { padding: 2rem; border: 1px dashed var(--line); border-radius: 1.2rem; color: var(--muted); text-align: center; }
[hidden] { display: none !important; }

/* Portfólio */
.work-grid { display: grid; gap: 1.2rem; }
@media (min-width: 42rem) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.work-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; transition: box-shadow .25s, transform .25s; scroll-margin-top: 7rem; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgb(23 50 130 / .12); }
.work-card:target { outline: 2px solid var(--blue-2); outline-offset: 3px; }
.work-card img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: top; background: var(--ice); }
.work-ph { display: grid; place-items: center; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--ice), #dbe6ff); }
.work-ph span { color: var(--blue); font-size: 2.4rem; font-weight: 700; letter-spacing: -.04em; }
.work-body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.5rem; }
.work-body h3 { margin: .3rem 0 0; font-size: 1.2rem; }
.work-body p { flex: 1; margin: 0; color: var(--muted); font-size: .95rem; }
.work-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .4rem; }
.work-body .tag { align-self: auto; }

/* Sectores */
.sector-grid { display: grid; gap: 1.1rem; }
@media (min-width: 42rem) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sector-tile { display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; transition: box-shadow .25s, transform .25s; }
.sector-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgb(23 50 130 / .12); }
.sector-tile .ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--ice); color: var(--blue); }
.sector-tile h2, .sector-tile h3 { margin: .4rem 0 0; font-size: 1.25rem; letter-spacing: -.02em; }
.sector-tile h2 a, .sector-tile h3 a { color: var(--ink); text-decoration: none; }
.sector-tile p { flex: 1; margin: 0; color: var(--muted); }
.need-card { padding: 1.6rem; border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; }
.need-card b { display: block; margin-bottom: .6rem; color: var(--blue-2); font-size: .9rem; letter-spacing: .08em; }
.need-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.need-card p { margin: 0; color: var(--muted); }
.chip-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.chip-links a { display: inline-flex; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; color: var(--ink); font-size: .88rem; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; }
.chip-links a:hover, .chip-links a[aria-current="page"] { border-color: var(--blue); color: var(--blue); }
.client-line { margin: 1.2rem 0 0; color: var(--muted); }
.client-line strong { color: var(--ink); }

/* Sobre */
.stat-grid.stat-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 52rem) { .stat-grid.stat-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini-service { display: flex; gap: .9rem; align-items: flex-start; padding: 1.2rem; border: 1px solid var(--line); border-radius: 1.2rem; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.mini-service:hover { transform: translateY(-2px); border-color: var(--blue-2); }
.mini-service .ico { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .9rem; background: var(--ice); color: var(--blue); }
.mini-service strong { display: block; margin-bottom: .2rem; }
.mini-service span { color: var(--muted); font-size: .92rem; }
.commitments { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 42rem) { .commitments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.commitments li { display: flex; gap: .8rem; align-items: flex-start; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 1.2rem; background: #fff; }
.commitments .icon { flex: none; margin-top: .25rem; color: var(--blue); }

/* Blog */
.post-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; margin: 0 0 1.4rem; color: var(--muted); font-size: .9rem; }
.hero-dark .post-meta { color: var(--sky); }
.featured-post { display: grid; gap: 1.2rem; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 1.8rem; }
@media (min-width: 52rem) { .featured-post { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.featured-post h2 { margin: .6rem 0; font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.03em; }
.featured-post h2 a { color: #fff; text-decoration: none; }
.featured-post p { color: var(--sky); }
.featured-post .button { align-self: flex-start; }
.prose { max-width: 46rem; margin-inline: auto; }
.prose p { margin: 0 0 1.2rem; font-size: 1.08rem; line-height: 1.75; }
.post-cta { display: grid; gap: 1rem; margin: 2.4rem 0 0; padding: 1.8rem; border-radius: 1.4rem; background: var(--ice); }
.post-cta h2 { margin: 0; font-size: 1.3rem; }
.post-cta p { margin: 0; color: var(--muted); }

/* Contactos */
.channel { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; }
.channel .ico { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .4rem; border-radius: 1rem; background: var(--ice); color: var(--blue); }
.channel h2, .channel h3 { margin: 0; font-size: 1.1rem; }
.channel p, .channel address { margin: 0; color: var(--muted); font-style: normal; }
.channel .big { color: var(--ink); font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.channel .text-link { margin-top: .4rem; }
.section + .section-cta { padding-top: 0; margin-top: 0; }
.section-ice + .section-cta { padding-top: clamp(3rem, 7vw, 5rem); }

.content-cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .9rem; }
.service-card .content-cover, .sector-tile .content-cover, .info-card .content-cover { margin-bottom: 1rem; }
.prose > .content-cover { margin-bottom: 2rem; }
.service-hero-grid { display: grid; align-items: center; gap: clamp(1.5rem, 4vw, 3rem); }
.home-hero > .hero-main { margin-top: 3rem; }
.mini-service:has(.content-cover) { display: grid; grid-template-columns: auto 1fr; }
.mini-service .content-cover { grid-column: 1 / -1; }
@media (min-width: 56rem) {
    .service-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}
.featured-post > .content-cover { align-self: center; }
@media (min-width: 56rem) {
    .featured-post:has(.content-cover) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
}

.footer-grid li a, .footer-contact > a, .footer-contact address, .footer-contact p { display: flex; align-items: flex-start; gap: .55rem; }
.footer-grid .icon { flex: none; margin-top: .18rem; color: var(--sky); }
.language-link { display: grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; color: var(--blue); background: var(--ice); text-decoration: none; font-weight: 700; font-size: .82rem; }
.quote-layout, .quote-form { display: grid; gap: 1.25rem; }
.quote-layout { align-items: start; }
.quote-form label { display: grid; gap: .4rem; font-weight: 600; min-width: 0; }
.quote-form input:not([type=checkbox]), .quote-form select, .quote-form textarea { width: 100%; min-height: 2.85rem; border: 1px solid var(--line); border-radius: .55rem; padding: .6rem .75rem; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.quote-form textarea { resize: vertical; }
.quote-form label.quote-consent { display: flex; align-items: flex-start; font-weight: 400; }
.quote-form .button { justify-self: start; }
.quote-error { border-left: 3px solid #a02c32; padding: .65rem 1rem; color: #821f26; background: #fff0f0; }
@media (min-width: 44rem) {
    .quote-form { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .quote-wide { grid-column: 1 / -1; }
}
@media (min-width: 56rem) {
    .quote-layout { grid-template-columns: minmax(0, 1.65fr) minmax(0, .75fr); gap: 3rem; }
}
@media (max-width: 42rem) {
    .header-pill { padding-inline: .75rem .45rem; gap: .35rem; }
    .header-actions { gap: .3rem; }
    .mobile-panel { max-height: calc(100dvh - 5.4rem); overscroll-behavior: contain; }
    .mobile-panel > a, .mobile-panel .services-menu > summary { min-height: 2.75rem; }
    .float-call { bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); }
    .page-hero { padding-inline: 0; }
    .site-footer { padding-bottom: 5rem; }
}
@media (prefers-reduced-motion: no-preference) {
    .home-hero .hero-main > div { animation: home-intro .65s ease-out both; }
    @keyframes home-intro { from { opacity: 0; transform: translateY(.9rem); } to { opacity: 1; transform: translateY(0); } }
}
@supports (animation-timeline: scroll(root)) {
    @media (min-width: 56rem) and (prefers-reduced-motion: no-preference) {
        .home-hero { background-image: url(../img/grid.svg); }
        .home-hero::before { animation: home-parallax linear both; animation-timeline: scroll(root); animation-range: 0px 680px; }
        @keyframes home-parallax { from { translate: 0 0; } to { translate: 0 11rem; } }
    }
}

.scope-grid, .contact-layout, .contact-channels { display: grid; gap: 1rem; }
.scope-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.scope-grid > .info-card { min-width: 0; }
.service-benefit-icon { display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .75rem; border-radius: 1rem; background: var(--ice); color: var(--blue); }
.scope-grid h3, .contact-channels h3 { margin: 0; }
.contact-layout { align-items: start; }
.contact-layout h2 { margin-bottom: 1rem; }
.contact-layout address { font-style: normal; }
.contact-channels { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.contact-channels .big { overflow-wrap: anywhere; }
.quote-panel { padding: clamp(1rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: 1.4rem; background: #fff; }
.quote-panel > p { margin-bottom: 1.25rem; }
.quote-form small { color: var(--muted); font-weight: 400; }
.quote-subheading { margin: .35rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (min-width: 56rem) {
    .contact-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 2rem; }
}

.assistant-launch { border: 0; cursor: pointer; }
.assistant-dialog { position: fixed; inset: auto 1rem calc(1rem + env(safe-area-inset-bottom)); margin: 0 0 0 auto; width: min(25rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid var(--line); border-radius: 1.1rem; color: var(--ink); box-shadow: 0 16px 48px rgb(5 10 40 / .26); overflow: auto; }
.assistant-dialog::backdrop { background: rgb(5 10 40 / .25); }
.assistant-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding: 1rem; background: var(--navy); color: #fff; }
.assistant-head h2 { margin: 0; font-size: 1.15rem; }
.assistant-head p { margin: .25rem 0 0; font-size: .8rem; }
.assistant-head button { display: grid; place-items: center; flex: 0 0 2.5rem; height: 2.5rem; border: 0; border-radius: 50%; cursor: pointer; }
.assistant-body { display: grid; gap: .8rem; padding: 1rem; }
.assistant-answers { display: grid; align-content: start; gap: .6rem; max-height: min(17rem, 32dvh); overflow: auto; overscroll-behavior: contain; font-size: .9rem; }
.assistant-answers:empty { display: none; }
.assistant-answers p { margin: 0; padding: .65rem; border-radius: .6rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.assistant-question { background: var(--navy); color: #fff; justify-self: end; }
.assistant-answer, .assistant-status { background: var(--ice); }
.assistant-prompts { display: flex; flex-wrap: wrap; gap: .45rem; }
.assistant-prompts button { padding: .35rem .65rem; border: 1px solid var(--line); border-radius: var(--pill); background: #fff; color: var(--blue); font: inherit; font-size: .78rem; cursor: pointer; }
.assistant-body form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem; }
.assistant-body label { grid-column: 1 / -1; font-size: .85rem; font-weight: 600; }
.assistant-body input { min-width: 0; border: 1px solid var(--line); border-radius: .55rem; padding: .55rem; font: inherit; }
.assistant-body small { color: var(--muted); }
[data-analytics] { padding-block: 1rem 4rem; }
[data-analytics] [hidden] { display: none; }
.contact-layout .contact-box { align-self: start; }
.contact-hero .content-cover, .sector-hero .content-cover { width: 100%; border-radius: 1rem; }
