/* Inter alojada no próprio site (variável, 100–900) */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../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; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../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; }
/* Fonte de reserva com métricas ajustadas à Inter (evita o "salto" do texto) */
@font-face { font-family: 'Inter Fallback'; src: local('Arial'), local('Helvetica Neue'), local('Helvetica'); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.48%; line-gap-override: 0%; }

/* ===== TOKENS (mesma paleta do portfólio): dark = vermelho + preto, light = vermelho + branco ===== */
:root {
  color-scheme: dark;
  --bg: #0a0a0a; --bg-soft: #121212; --surface: #161616;
  --border: rgba(255,255,255,0.09); --border-strong: rgba(255,255,255,0.16);
  --text: #f5f5f5; --text-dim: #a1a1a1; --text-dim-2: #8a8a8a;
  --accent: #e11d2e; --accent-hover: #f0384a; --accent-text: #ff4d5a; --accent-soft: rgba(225,29,46,0.14);
  --glow: rgba(225,29,46,0.30); --grid-line: rgba(255,77,90,0.38);
  --green: #22c55e; --wa: #15803d; --error: #ff4d5a;
  --font: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --maxw: 1140px; --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3); --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff; --bg-soft: #f8f6f6; --surface: #ffffff;
  --border: rgba(15,17,20,0.09); --border-strong: rgba(15,17,20,0.16);
  --text: #141212; --text-dim: #5b6168; --text-dim-2: #646b76;
  --accent: #d71a2b; --accent-hover: #b91424; --accent-text: #c4122a; --accent-soft: rgba(215,26,43,0.08);
  --glow: rgba(215,26,43,0.16); --grid-line: rgba(215,26,43,0.30);
  --error: #c4122a;
  --shadow-sm: 0 1px 2px rgba(15,17,20,0.06); --shadow-md: 0 12px 28px rgba(15,17,20,0.1);
}

/* ===== RESET + BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(76px + env(safe-area-inset-top, 0px)); }
html, body { overflow-x: clip; }
body { background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.6; padding-bottom: env(safe-area-inset-bottom, 0px); transition: background .25s ease, color .25s ease; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, black 35%, transparent 78%);
  mask-image: radial-gradient(ellipse 65% 55% at 50% 0%, black 35%, transparent 78%); opacity: .6; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
.hidden { display: none !important; }

.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i-wa { fill: currentColor; stroke: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2rem); }
.section { padding: clamp(3rem, 8vh, 5rem) 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ===== TIPOGRAFIA ===== */
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .7rem; }
.title { font-weight: 800; font-size: clamp(1.6rem, 3.2vw, 2.2rem); letter-spacing: -.01em; line-height: 1.2; margin-bottom: .6rem; }
.muted { color: var(--text-dim); font-size: 1.02rem; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.6rem; }
.accent-text { color: var(--accent-text); }

/* ===== BOTÕES ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 600; font-size: .95rem; padding: .75rem 1.3rem; border-radius: 8px; border: 1px solid var(--border); white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.btn-primary { background: var(--accent); color: #fff; border-color: transparent; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); }
.btn-outline:hover { border-color: var(--border-strong); background: var(--bg-soft); }
.btn-wa { background: var(--wa); color: #fff; border-color: transparent; }
.btn-wa:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.05rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* ===== CARTÕES ===== */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-static:hover { transform: none; box-shadow: none; }
.icon-box { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 9px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 1.1rem; font-size: 1.25rem; }
.badge-live { position: absolute; top: 1.4rem; right: 1.4rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 700; letter-spacing: .04em; padding: .22rem .6rem; border-radius: 999px; color: var(--green); background: rgba(10,10,10,.82); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* ===== NAV ===== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top, 0px); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.brand-mark .i { width: 18px; height: 18px; }
.nav-links { display: none; align-items: center; gap: 1.7rem; }
.nav-links a { font-weight: 600; font-size: .93rem; color: var(--text-dim); transition: color .2s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent-text); }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-cta { display: none; }
.icon-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); color: var(--text-dim); transition: border-color .2s ease, color .2s ease, background .2s ease; }
.icon-btn:hover { border-color: var(--border-strong); color: var(--text); background: var(--bg-soft); }
.icon-btn .i { width: 18px; height: 18px; }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--border); padding: .75rem 0 1rem; }
.mobile-menu a.m-link { display: block; padding: .8rem .6rem; border-radius: 8px; font-weight: 600; color: var(--text-dim); }
.mobile-menu a.m-link:hover { background: var(--bg-soft); color: var(--text); }
.mobile-menu .btn { margin-top: .5rem; }
@media (min-width: 768px) {
  .nav-links { display: flex; } .nav-cta { display: inline-flex; } .menu-btn { display: none; } .mobile-menu { display: none !important; }
}

/* ===== HERO (100vh) ===== */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(72px + env(safe-area-inset-top, 0px)); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-glow { position: absolute; z-index: -3; left: 50%; bottom: -35%; width: 130vmax; height: 75vmax; transform: translateX(-50%) translate3d(calc(var(--px, 0) * 42px), calc(var(--py, 0) * 26px), 0); transition: transform .5s ease-out; background: radial-gradient(ellipse at 50% 50%, var(--glow) 0%, transparent 62%); pointer-events: none; }
.hero-spot { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(640px circle at var(--mx, 72%) var(--my, 30%), color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%); }

.hero-grid { flex: 1; position: relative; display: grid; gap: 2.5rem; align-items: center; align-content: center; padding-top: 1.5rem; padding-bottom: 2rem; }
.hero-text { max-width: 640px; }
.rise { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms); }
@keyframes rise { from { opacity: .01; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.trust-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; font-size: .8rem; font-weight: 600; color: var(--text-dim); padding: .45rem .9rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); margin-bottom: 1.4rem; }
.trust-pill i { font-style: normal; color: var(--text-dim-2); }
.headline { font-weight: 800; font-size: clamp(2.3rem, 5.8vw, 4.3rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.headline .accent-text { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-text) 45%, var(--accent) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.subhead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--text-dim); max-width: 540px; margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; }
.trust-row li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; font-weight: 600; color: var(--text-dim); }
.trust-row .i { color: var(--accent-text); width: 1em; height: 1em; }

/* mockup 3D interativo */
.hero-visual { display: none; position: relative; width: 100%; max-width: 470px; justify-self: center; perspective: 1100px; }
.tilt { position: relative; transform-style: preserve-3d; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .25s ease-out; }
.mock { position: relative; border: 1px solid var(--border-strong); border-radius: 16px; background: var(--surface); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px var(--accent-soft), 0 0 80px -10px var(--glow); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: .65rem .9rem; border-bottom: 1px solid var(--border); }
.mock-bar .d { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.mock-bar .d:first-child { background: var(--accent); }
.mock-url { margin-left: .6rem; font-size: 11px; color: var(--text-dim); background: var(--bg-soft); border: 1px solid var(--border); padding: .15rem .7rem; border-radius: 999px; }
.mock-load { height: 2px; background: transparent; }
.mock-load i { display: block; height: 100%; width: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mock-load.run i { animation: load .9s cubic-bezier(.3,.7,.3,1) forwards; }
@keyframes load { 0% { width: 0; opacity: 1; } 85% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
.mock-body { padding: 1rem; }
.mock-row { display: flex; align-items: center; justify-content: space-between; }
.mock-row > div { display: flex; gap: .5rem; }
.sk { display: block; border-radius: 6px; background: var(--border-strong); }
.mock-banner { margin-top: 1.1rem; border-radius: 10px; padding: 1.4rem 1.2rem 1.2rem; background: linear-gradient(135deg, var(--accent), #5b0f17); color: #fff; }
.mock-type { min-height: 2.4em; font-weight: 800; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; background: #fff; vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock-cta { display: inline-block; margin-top: .9rem; padding: .4rem .9rem; border-radius: 6px; background: #fff; color: #141212; font-size: .72rem; font-weight: 800; animation: ctaPulse 2.4s ease-in-out infinite; }
@keyframes ctaPulse { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.25); } }
.mock-cards { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.mock-cards > div { border: 1px solid var(--border); border-radius: 8px; padding: .7rem; }
.mock-toast { position: absolute; right: -1.4rem; bottom: -1.6rem; display: flex; align-items: center; gap: .65rem; padding: .7rem .95rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); opacity: 0; transform: translate3d(0, 18px, 70px) scale(.92); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.9,.3,1.2); }
.mock-toast.show { opacity: 1; transform: translate3d(0, 0, 70px) scale(1); }
.mock-toast .wa-dot { width: 34px; height: 34px; border-radius: 9px; background: var(--wa); color: #fff; display: grid; place-items: center; }
.mock-toast .wa-dot .i { width: 20px; height: 20px; }
.mock-toast b { display: block; font-size: .8rem; line-height: 1.3; }
.mock-toast small { font-size: .7rem; color: var(--text-dim); }
.float-chip { position: absolute; display: flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; padding: .5rem .85rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-md); transform: translateZ(50px); }
.float-chip .ico { width: 28px; height: 28px; border-radius: 7px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: .9rem; }
.float-chip .i { width: 16px; height: 16px; }
.chip-1 { left: -2.4rem; bottom: -1.4rem; } .chip-2 { right: -1.5rem; top: -1rem; }

.hero-bottom { position: relative; z-index: 1; }
.stats-bar { border-top: 1px solid var(--border); padding: clamp(1.2rem, 3vh, 2rem) 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1rem; }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: .2rem; }
.stat span { font-size: .82rem; font-weight: 600; color: var(--text-dim); }
@media (min-width: 640px) { .stats-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } .hero-visual { display: block; } }

/* ===== PROJETOS ===== */
.grid { display: grid; gap: 1.5rem; }
.grid-projects { grid-template-columns: 1fr; max-width: 920px; margin: 0 auto; }
@media (min-width: 768px) { .grid-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.project-card { display: flex; flex-direction: column; overflow: hidden; }
.thumb { position: relative; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; padding: 1rem; border-bottom: 1px solid var(--border); }
.site { height: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--border-strong); transition: transform .4s ease; }
.card:hover .site { transform: scale(1.03); }
.site-bar { display: flex; align-items: center; gap: 6px; padding: .5rem .75rem; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 10px; color: rgba(255,255,255,.5); }
.site-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.site-bar span { margin-left: .4rem; }
.site-body { padding: .75rem; }
.site-body div { border-radius: 4px; }
.site-grid { display: grid; gap: .5rem; margin-top: .75rem; }
.project-body { display: flex; flex: 1; flex-direction: column; gap: .75rem; padding: 1.5rem; }
.project-body .eyebrow { margin: 0; font-size: .7rem; }
.project-body h3 { font-size: 1.1rem; font-weight: 700; }
.project-body > p { flex: 1; font-size: .92rem; color: var(--text-dim); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { font-size: .74rem; font-weight: 600; color: var(--text-dim); border: 1px solid var(--border); background: var(--bg-soft); padding: .2rem .65rem; border-radius: 999px; }
.project-body .btn { margin-top: .5rem; }

/* ===== PACOTES ===== */
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-3.on-md { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.price-card { position: relative; padding: 1.8rem 1.6rem; display: flex; flex-direction: column; }
.price-card h3 { font-size: 1.25rem; font-weight: 700; }
.price-card .for { margin-top: .4rem; font-size: .9rem; color: var(--text-dim); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.ribbon { position: absolute; top: -.7rem; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .8rem; border-radius: 999px; white-space: nowrap; }
.price-list { display: flex; flex-direction: column; gap: .65rem; margin: 1.3rem 0 1.6rem; flex: 1; }
.price-list li { display: flex; gap: .6rem; font-size: .92rem; }
.price-list .i { color: var(--accent-text); margin-top: .25rem; width: 1em; height: 1em; }

/* ===== GARANTIAS ===== */
.guarantee-card { padding: 1.75rem; }
.guarantee-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.guarantee-card p { font-size: .95rem; color: var(--text-dim); }
.guarantee-banner { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.5rem; padding: 1.75rem; }
.guarantee-banner .icon-box { width: 56px; height: 56px; border-radius: 12px; margin: 0; flex-shrink: 0; font-size: 1.7rem; }
.guarantee-banner .grow { flex: 1; }
.guarantee-banner h3 { font-size: 1.25rem; font-weight: 700; }
.guarantee-banner p { margin-top: .5rem; font-size: .95rem; color: var(--text-dim); }
.guarantee-banner .eyebrow { margin-bottom: .25rem; }
.checks { display: flex; flex-direction: column; gap: .5rem; font-size: .88rem; }
.checks li { display: flex; gap: .5rem; }
.checks .i { color: var(--accent-text); margin-top: .2rem; width: 1em; height: 1em; }
@media (min-width: 768px) { .guarantee-banner { flex-direction: row; align-items: center; padding: 2.25rem; } .checks { width: 16rem; } }

/* ===== PROCESSO ===== */
.process-grid { display: flex; flex-direction: column; align-items: center; gap: 1.8rem; max-width: 980px; margin: 0 auto; }
.process-step { flex: 1; text-align: center; padding: 0 1rem; }
.process-num { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--accent-soft); font-weight: 800; font-size: 1.05rem; color: var(--accent-text); margin-bottom: 1.1rem; }
.process-step h3 { font-weight: 700; font-size: 1.05rem; margin-bottom: .5rem; }
.process-step p { color: var(--text-dim); font-size: .9rem; max-width: 240px; margin: 0 auto; }
.process-connector { display: none; flex: 0 0 auto; width: clamp(30px, 6vw, 70px); height: 1px; margin-top: 26px; background: var(--border-strong); }
@media (min-width: 721px) { .process-grid { flex-direction: row; align-items: flex-start; gap: 0; } .process-connector { display: block; } }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: .7rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; font-weight: 400; color: var(--text-dim); flex-shrink: 0; transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] { border-color: var(--border-strong); }
.faq-item p { color: var(--text-dim); font-size: .93rem; margin-top: .8rem; }

/* ===== CONTACTO ===== */
.contact-grid { display: grid; gap: 2.5rem; align-items: start; }
.contact-grid .title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.15; }
.contact-grid .muted { max-width: 440px; margin-bottom: 1.75rem; }
.form-card { padding: 1.5rem; }
.form-card h3 { font-size: 1.1rem; font-weight: 700; }
.form-card form { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.field input { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: 8px; padding: .75rem .9rem; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: 8px; padding: .75rem .9rem; outline: none; resize: vertical; min-height: 110px; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea::placeholder { color: var(--text-dim-2); }
.field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field .optional { font-weight: 400; color: var(--text-dim-2); }
.field input::placeholder { color: var(--text-dim-2); }
.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-error { font-size: .88rem; color: var(--error); }
.form-note { text-align: center; font-size: .78rem; color: var(--text-dim); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ===== FOOTER + WHATSAPP FLUTUANTE ===== */
.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 2rem; padding-bottom: 2rem; font-size: .88rem; color: var(--text-dim); }
.footer .brand { font-size: 1rem; color: var(--text); }
.footer .brand-mark { width: 24px; height: 24px; border-radius: 6px; }
.footer .brand-mark .i { width: 14px; height: 14px; }
.footer nav { display: flex; gap: 1.25rem; }
.footer nav a:hover { color: var(--text); }
@media (min-width: 640px) { .footer-inner { flex-direction: row; } }
.whatsapp-float { position: fixed; z-index: 50; right: max(1.25rem, env(safe-area-inset-right, 0px)); bottom: max(1.25rem, env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0,0,0,.35); animation: ring 2.4s infinite; transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float .i { width: 28px; height: 28px; }
body.menu-open .whatsapp-float { display: none; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 10px 25px rgba(0,0,0,.35); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 10px 25px rgba(0,0,0,.35); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 25px rgba(0,0,0,.35); } }

/* ===== ANIMAÇÕES DE ENTRADA (só se houver JS) ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ===== PERFORMANCE (telemóvel) ===== */
/* (sem content-visibility: desalinhava os saltos para âncoras em páginas longas) */
@media (max-width: 760px) {
  body::before { position: absolute; inset: 0 0 auto 0; height: 100svh; opacity: .45; }
  .hero-spot { display: none; }
  .nav::before { background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (hover: none) {
  .card:hover, .btn-primary:hover, .btn-wa:hover, .whatsapp-float:hover { transform: none; box-shadow: none; }
  .card:hover .site { transform: none; }
}
/* Movimento reduzido: vem do sistema (a não ser que o utilizador tenha ligado as animações no botão)
   ou do botão de animações (data-motion="off"). */
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="on"]) { scroll-behavior: auto; }
  :root:not([data-motion="on"]).js .reveal { opacity: 1; transform: none; transition: none; }
  :root:not([data-motion="on"]) :is(.rise, .headline .accent-text, .mock, .mock-cta, .caret, .whatsapp-float, .pulse) { animation: none; }
  :root:not([data-motion="on"]) :is(.tilt, .mock-toast, .hero-glow, .shot) { transition: none; }
}
:root[data-motion="off"] { scroll-behavior: auto; }
:root[data-motion="off"].js .reveal { opacity: 1; transform: none; transition: none; }
:root[data-motion="off"] :is(.rise, .headline .accent-text, .mock, .mock-cta, .caret, .whatsapp-float, .pulse) { animation: none; }
:root[data-motion="off"] :is(.tilt, .mock-toast, .hero-glow, .shot) { transition: none; }


/* ========================================================
   PÁGINA "SOBRE NÓS"
   ======================================================== */
.hero.page-hero { min-height: 0; display: block; text-align: center; padding: calc(72px + env(safe-area-inset-top, 0px) + clamp(3rem, 10vh, 6rem)) 0 clamp(3rem, 9vh, 5.5rem); }
.page-title { font-weight: 800; font-size: clamp(2rem, 5.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.03em; max-width: 780px; margin: 0 auto 1.2rem; }
.page-quote { max-width: 660px; margin: 0 auto; font-size: clamp(1.05rem, 2vw, 1.35rem); line-height: 1.55; color: var(--text-dim); }
.page-hero .eyebrow { margin-bottom: .9rem; }

.story { display: grid; gap: 1.5rem; }
.story-head .title { margin-bottom: 0; }
.prose p { color: var(--text-dim); font-size: 1.05rem; margin-bottom: 1.15rem; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 700; }
@media (min-width: 900px) {
  .story { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 4rem; }
  .story-head { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); align-self: start; }
}

.pattern-list { display: grid; gap: .85rem; margin: 1.4rem 0 1.6rem; }
.pattern { display: flex; align-items: flex-start; gap: 1rem; padding: 1.05rem 1.25rem; }
.pattern .icon-box { width: 36px; height: 36px; margin: 0; font-size: 1rem; flex-shrink: 0; }
.prose .pattern p { margin: 0; font-size: .98rem; color: var(--text); max-width: none; }

.commit-card { max-width: 820px; margin: 0 auto; text-align: center; padding: clamp(2rem, 5vw, 3.5rem); background: linear-gradient(180deg, var(--accent-soft), transparent 65%), var(--surface); }
.commit-card .muted { max-width: 62ch; margin: 0 auto; }
.commit-card .muted strong { color: var(--text); }


/* ========================================================
   PÁGINA "PROJETOS"
   ======================================================== */
.works { display: flex; flex-direction: column; gap: 1.75rem; }
.work { display: grid; overflow: hidden; scroll-margin-top: 90px; }
.work .thumb { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--border); border-right: 0; }
.work-body { display: flex; flex-direction: column; gap: .85rem; padding: 1.6rem; justify-content: center; }
.work-body .eyebrow { margin: 0; font-size: .72rem; }
.work-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.work-desc { color: var(--text-dim); font-size: 1rem; }
.work-list { display: grid; gap: .5rem; margin: .2rem 0; }
.work-list li { display: flex; gap: .6rem; font-size: .92rem; }
.work-list .i { color: var(--accent-text); margin-top: .25rem; width: 1em; height: 1em; }
.work-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .5rem; }
@media (min-width: 860px) {
  .work { grid-template-columns: 1.05fr 1fr; }
  .work .thumb { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 1px solid var(--border); }
  .work-rev .thumb { order: 2; border-right: 0; border-left: 1px solid var(--border); }
  .work-body { padding: 2.25rem; }
}


/* Navegação rápida na página de projetos + botão "Em breve" */
.work-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: .5rem; }
.chip { font-size: .85rem; font-weight: 600; color: var(--text-dim); padding: .45rem 1rem; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.chip:hover { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.btn.is-soon { opacity: .5; cursor: not-allowed; }
.btn.is-soon:hover { transform: none; box-shadow: none; background: var(--accent); }
.work:target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }


/* ========================================================
   PÁGINA "SERVIÇOS"
   ======================================================== */
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid-2 .price-card .price-list { margin-bottom: 0; }
.extra-price { display: inline-block; margin-top: .9rem; font-weight: 800; font-size: 1rem; color: var(--accent-text); }
#pacotes, #o-que-fazemos { scroll-margin-top: 80px; }


/* ========================================================
   PÁGINA "PREÇOS"
   ======================================================== */
/* menu com 7 ligações: aperta em ecrãs médios */
@media (min-width: 768px) and (max-width: 1060px) {
  .nav-links { gap: 1rem; } .nav-links a { font-size: .86rem; } .nav-cta { display: none; }
}
.tiers { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 641px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tier .for { min-height: 4.8em; } }
.tier { padding: 1.6rem 1.4rem; gap: .2rem; }
.tier .price-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .9rem; }
.tier .icon-box { margin: 0; width: 40px; height: 40px; }
.tier-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-soft); padding: .25rem .7rem; border-radius: 6px; }
.tier h3 { font-size: 1.15rem; }
.tier .for { margin-top: .3rem; }
.price-from { margin-top: 1rem; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim-2); }
.price-val { font-size: clamp(1.7rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.tier .price-list { margin: 1.1rem 0 1.4rem; }
.tier .price-list li { font-size: .88rem; }

.custom-quote { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; padding: 1.4rem 1.6rem; margin-top: 1.4rem; }
.custom-quote .icon-box { margin: 0; flex-shrink: 0; }
.custom-quote > div { flex: 1; min-width: 0; }
.custom-quote h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .2rem; }
.custom-quote p { font-size: .9rem; color: var(--text-dim); }
@media (min-width: 761px) { .custom-quote { flex-direction: row; align-items: center; gap: 1.2rem; } }

.table-wrap { max-width: 1100px; margin: 0 auto; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .9rem; }
.price-table th, .price-table td { padding: .8rem 1rem; text-align: center; border-bottom: 1px solid var(--border); }
.price-table thead th { font-size: .82rem; font-weight: 800; background: var(--bg-soft); }
.price-table tbody th { text-align: left; font-weight: 600; min-width: 220px; position: sticky; left: 0; z-index: 1; background: var(--surface); }
.price-table thead th:first-child { text-align: left; position: sticky; left: 0; z-index: 2; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:first-child td { font-weight: 800; }
.price-table .col-featured { background: var(--accent-soft); }
.price-table thead .col-featured { color: var(--accent-text); }
.yes { color: var(--green); font-weight: 800; }
.no { color: var(--text-dim-2); }
.tag-extra { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent-text); border: 1px solid var(--accent-soft); padding: .1rem .5rem; border-radius: 999px; }

.extras-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; max-width: 980px; margin: 0 auto; }
@media (min-width: 761px) { .extras-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.extra-row { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.extra-row .icon-box { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
.extra-row > div { flex: 1; min-width: 0; }
.extra-row strong { display: block; font-size: .95rem; margin-bottom: .1rem; }
.extra-row > div > span { font-size: .84rem; color: var(--text-dim); }
.extra-amount { flex-shrink: 0; font-weight: 800; font-size: .95rem; white-space: nowrap; }

.plan-band { display: flex; flex-direction: column; gap: 1.5rem; padding: 1.5rem; max-width: 980px; margin: 0 auto; }
.plan-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .6rem; }
.plan-copy h3 { font-size: 1.2rem; font-weight: 700; }
.plan-copy > p { font-size: .92rem; color: var(--text-dim); }
.plan-list { display: grid; grid-template-columns: 1fr; gap: .5rem 1.2rem; margin: .3rem 0 0; flex: none; }
.plan-price { flex-shrink: 0; text-align: center; padding-top: 1.2rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.plan-amount strong { font-size: 2.4rem; font-weight: 800; letter-spacing: -.02em; }
.plan-amount span { font-size: .85rem; color: var(--text-dim); }
.plan-note { font-size: .88rem; color: var(--text-dim); margin-bottom: .4rem; }
@media (min-width: 761px) {
  .plan-band { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.9rem 2rem; }
  .plan-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-price { padding: 0 0 0 2rem; border-top: 0; border-left: 1px solid var(--border); }
}
#pacotes, #comparar, #extras, #manutencao, #fatores { scroll-margin-top: 80px; }

#processo { scroll-margin-top: 80px; }


/* ========================================================
   ACESSIBILIDADE, PÁGINA LEGAL E 404
   ======================================================== */
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 100; background: var(--accent); color: #fff; padding: .7rem 1.1rem; border-radius: 8px; font-weight: 700; transition: top .2s ease; }
.skip-link:focus { top: calc(.75rem + env(safe-area-inset-top, 0px)); }
main:focus { outline: none; }

.legal { max-width: 760px; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin: 2.2rem 0 .7rem; color: var(--text); }
.legal h2:first-child { margin-top: 0; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .5rem; color: var(--text-dim); font-size: 1.02rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(96px + env(safe-area-inset-top, 0px)) 0 4rem; }
.nf-code { font-size: clamp(5.5rem, 22vw, 11rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 1rem; background: linear-gradient(100deg, var(--accent), var(--accent-text) 50%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }


/* ========================================================
   CALCULADORA DE ORÇAMENTO
   ======================================================== */
.calc { display: grid; gap: 1.5rem; align-items: start; max-width: 1040px; margin: 0 auto; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 1fr) 350px; gap: 2rem; } }
.calc-main { display: grid; gap: 1.8rem; min-width: 0; }
.calc-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-step legend { display: flex; align-items: center; gap: .7rem; padding: 0; margin-bottom: 1rem; font-weight: 700; font-size: 1.05rem; }
.step-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: .85rem; font-weight: 800; }

.pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
@media (max-width: 480px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg { position: relative; display: block; cursor: pointer; }
.pkg input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.pkg-body { display: flex; flex-direction: column; gap: .2rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.pkg-body strong { font-size: .98rem; }
.pkg-body em { font-style: normal; font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; }
.pkg-body small { color: var(--text-dim); font-size: .8rem; }
.pkg-body .pkg-note { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.pkg:hover .pkg-body { border-color: var(--text-dim-2); }
.pkg input:checked + .pkg-body { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.pkg input:focus-visible + .pkg-body { outline: 2px solid var(--accent); outline-offset: 3px; }

.opt-list { display: grid; gap: .6rem; }
.opt { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color .2s ease, background .2s ease, opacity .2s ease; }
.opt.is-on { border-color: var(--accent); background: var(--accent-soft); }
.opt.is-off { display: none; }
.opt-label, .opt-left { display: flex; align-items: flex-start; gap: .8rem; flex: 1; min-width: 0; }
.opt-label { cursor: pointer; }
.opt.is-off .opt-label { cursor: not-allowed; }
.opt input[type="checkbox"] { width: 18px; height: 18px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--accent); }
.opt-text { min-width: 0; }
.opt-text strong { display: block; font-size: .93rem; }
.opt-text small { display: block; font-size: .8rem; color: var(--text-dim); }
.opt-text .opt-hint:empty { display: none; }
.opt-text .opt-hint { color: var(--accent-text); margin-top: .15rem; }
.opt-price { flex-shrink: 0; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.opt-price .incl { font-size: .68rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--green); border: 1px solid var(--border-strong); padding: .15rem .55rem; border-radius: 999px; }
.stepper { display: inline-flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.stepper button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--bg-soft); font-size: 1.1rem; line-height: 1; color: var(--text); transition: border-color .2s ease; }
.stepper button:hover:not(:disabled) { border-color: var(--accent); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 1.4rem; text-align: center; font-weight: 800; }
@media (max-width: 560px) { .opt { flex-wrap: wrap; } .opt-price { margin-left: calc(18px + .8rem); } .opt .stepper { margin-left: auto; } }

.calc-summary { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1000px) { .calc-summary { position: sticky; top: calc(88px + env(safe-area-inset-top, 0px)); } }
.sum-pkg { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--border); }
.sum-pkg strong { font-size: 1.05rem; }
.sum-pkg span { font-weight: 800; white-space: nowrap; }
.sum-lines { display: grid; gap: .5rem; }
.sum-lines li { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--text-dim); }
.sum-lines li span:last-child { white-space: nowrap; font-weight: 600; color: var(--text); }
.sum-lines .sum-empty { display: block; font-style: italic; }
.sum-total { display: flex; flex-direction: column; gap: .15rem; padding-top: .9rem; border-top: 1px solid var(--border); }
.sum-total span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim-2); }
.sum-total strong { font-size: clamp(1.9rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sum-note { font-size: .8rem; color: var(--text-dim); }
.sum-note[hidden] { display: none; }

/* barra de total fixa por baixo do menu, só em ecrãs pequenos */
.calc-bar { position: sticky; z-index: 5; top: calc(66px + env(safe-area-inset-top, 0px)); display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 1rem; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-sm); }
.calc-bar span { font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-dim-2); }
.calc-bar strong { font-size: 1.1rem; font-weight: 800; }
@media (min-width: 1000px) { .calc-bar { display: none; } }
#calculadora { scroll-margin-top: 80px; }


/* Preços globais: nota, tabela larga, planos de manutenção, selector de 3 colunas */
.price-note { text-align: center; font-size: .82rem; color: var(--text-dim); margin: 1.4rem auto 0; max-width: 640px; }
.price-table.wide { min-width: 1020px; }
.price-table.wide thead th { font-size: .78rem; }
.price-table.wide tbody th { min-width: 230px; }
.price-val small { font-size: .85rem; font-weight: 600; color: var(--text-dim); letter-spacing: 0; }
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; max-width: 780px; margin: 0 auto; }
@media (min-width: 761px) { .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pkg-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .pkg-grid.three { grid-template-columns: 1fr; } }
.price-card .price-from + .price-val { margin-bottom: 0; }
#hoteis { scroll-margin-top: 80px; }


/* Botão de animações */
.icon-btn { position: relative; }
.icon-btn[aria-pressed="true"] { color: var(--accent-text); border-color: var(--border-strong); }
.icon-btn[aria-pressed="false"] .i { opacity: .55; }
.icon-btn[aria-pressed="false"]::after { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(-45deg); }


/* Capturas de ecrã reais dos projetos */
.shot-frame { display: flex; flex-direction: column; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; background: #0b0b0b; box-shadow: var(--shadow-sm); }
.thumb > .shot-frame { height: 100%; }
.shot-bar { display: flex; align-items: center; gap: 6px; flex-shrink: 0; padding: .5rem .75rem; border-bottom: 1px solid rgba(255,255,255,.08); background: #161616; font-size: 10px; color: rgba(255,255,255,.6); }
.shot-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); }
.shot-bar span { margin-left: .4rem; }
.shot-stage { position: relative; flex: 1; min-height: 0; overflow: hidden; background: #0b0b0b; cursor: pointer; }
.shot-stage .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s, transform .5s ease; }
.shot-stage .shot.is-active { opacity: 1; visibility: visible; }
.card:hover .shot-stage .shot.is-active { transform: scale(1.03); }
.thumb-shots { aspect-ratio: auto; display: flex; flex-direction: column; justify-content: center; gap: .8rem; }
.thumb-shots > .shot-frame { height: auto; flex: none; }
.thumb-shots .shot-stage { flex: none; aspect-ratio: 2 / 1; }
.shot-tabs { display: flex; justify-content: center; gap: .5rem; }
.shot-tabs button { font-size: .78rem; font-weight: 600; padding: .35rem .95rem; border-radius: 999px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-dim); transition: color .2s ease, border-color .2s ease, background .2s ease; }
.shot-tabs button:hover { color: var(--text); }
.shot-tabs button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent); }
@media (hover: none) { .card:hover .shot-stage .shot.is-active { transform: none; } }


/* Mais setores: filtro, grupos na calculadora, cartões de setor, tabelas */
[hidden] { display: none !important; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 auto 1.8rem; max-width: 820px; }
.filter-bar .chip { cursor: pointer; font-family: inherit; }
.filter-bar .chip[aria-pressed="true"] { color: var(--accent-text); border-color: var(--accent); background: var(--accent-soft); }
.tier-calc { display: block; margin-top: .85rem; text-align: center; font-size: .84rem; font-weight: 600; color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; }
.tier-calc:hover { color: var(--accent-text); }
.pkg-group { grid-column: 1 / -1; margin: .6rem 0 0; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim-2); }
.pkg-group:first-child { margin-top: 0; }
.opt-foot { margin-top: .9rem; font-size: .85rem; color: var(--text-dim); }
.opt-foot a { text-decoration: underline; text-underline-offset: 3px; }
.table-title { font-size: 1.05rem; font-weight: 700; margin: 0 auto .8rem; max-width: 1100px; }
.table-gap { height: 2.4rem; }
.grid-sectors { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-sectors { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sector { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: .5rem 1rem; padding: 1.2rem 1.3rem; color: inherit; }
.sector .icon-box { margin: 0; width: 42px; height: 42px; flex-shrink: 0; }
.sector > div { flex: 1; min-width: 0; }
.sector h3 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.sector p { font-size: .86rem; color: var(--text-dim); }
.sector-price { grid-column: 2; justify-self: start; margin-top: .2rem; font-size: .78rem; font-weight: 800; color: var(--accent-text); background: var(--accent-soft); padding: .25rem .6rem; border-radius: 6px; white-space: nowrap; }

/* Seletor de idioma PT/EN */
.lang-btn { height: 38px; min-width: 38px; padding: 0 .65rem; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid var(--border); color: var(--text-dim); font-size: .8rem; font-weight: 700; letter-spacing: .04em; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.lang-btn:hover { border-color: var(--border-strong); color: var(--text); background: var(--bg-soft); }
.mobile-menu a.m-lang { border-top: 1px solid var(--border); border-radius: 0 0 8px 8px; margin-top: .25rem; }
@media (max-width: 479px) { .nav-actions .lang-btn { display: none; } .brand { white-space: nowrap; } }

/* Página de contacto */
.contact-list { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.5rem; }
.contact-item .icon-box { margin: 0; flex-shrink: 0; }
.contact-item .icon-wa { background: color-mix(in srgb, var(--wa) 16%, transparent); color: var(--wa); }
.contact-item h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: .35rem; }
.contact-item p { font-size: .95rem; color: var(--text-dim); }
.contact-item .btn { margin-top: 1rem; }
.form-card h2 { font-size: 1.1rem; font-weight: 700; }
