/* ==========================================================================
   LOSANGO DIGITAL — Folha de estilos
   Paleta extraída de /assets/images/paleta.svg e do logótipo:
   roxo #a47cf7 · ciano #01c1d5 · azul #0a418b / #033876 · índigo #5062b7 · ardósia #22455f
   Abordagem mobile-first.
   ========================================================================== */

/* ---------- 1. VARIÁVEIS E RESET ---------- */
@property --angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --purple: #a47cf7;
  --purple-2: #967cdf;
  --cyan: #01c1d5;
  --cyan-2: #02adc5;
  --blue: #0a418b;
  --blue-2: #033876;
  --indigo: #5062b7;
  --slate: #22455f;

  --bg: #050a16;
  --bg-2: #0a1428;
  --ink: #e8f1ff;
  --muted: #93a6c4;
  --line: rgba(150, 180, 255, .14);
  --glass: rgba(14, 30, 62, .45);

  --grad: linear-gradient(120deg, var(--cyan), var(--indigo) 50%, var(--purple));
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) - 10px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
::selection { background: var(--purple); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--cyan); color: #00222a; padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* Barra de progresso de scroll */
.scroll-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); will-change: transform; box-shadow: 0 0 12px var(--cyan); }

/* ---------- 2. TIPOGRAFIA E SECÇÕES ---------- */
h1, h2, h3, h4 { font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.section { position: relative; padding: clamp(72px, 12vw, 140px) 0; }
.section__head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 72px); }
.section__head h2 { margin: 14px 0 18px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.dot { width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 10px var(--cyan); animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- 3. BOTÕES (gradiente animado + ripple) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: .95rem; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; will-change: transform; }
.btn img { transition: transform .3s var(--ease); }
.btn:hover img { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }
.btn--xl { padding: 18px 34px; font-size: 1.05rem; }
.btn--primary { color: #04101f; background: linear-gradient(110deg, var(--cyan), var(--purple), var(--indigo), var(--cyan)); background-size: 300% 100%; animation: gradMove 5s linear infinite; box-shadow: 0 0 30px rgba(1, 193, 213, .35), 0 0 60px rgba(164, 124, 247, .2); }
.btn--primary img { filter: brightness(0.1); }
.btn--primary:hover { box-shadow: 0 0 40px rgba(1, 193, 213, .6), 0 0 80px rgba(164, 124, 247, .4); }
@keyframes gradMove { to { background-position: 300% 0; } }
.btn--ghost { border: 1px solid rgba(1, 193, 213, .45); color: var(--ink); background: rgba(1, 193, 213, .06); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: var(--cyan); box-shadow: 0 0 24px rgba(1, 193, 213, .35), inset 0 0 18px rgba(1, 193, 213, .15); }
.ripple-wave { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: scale(0); animation: ripple .7s ease-out forwards; pointer-events: none; z-index: -1; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- 4. NAVBAR ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .4s, backdrop-filter .4s, border-color .4s, height .4s; border-bottom: 1px solid transparent; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(6, 14, 30, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.nav.is-scrolled { --nav-h: 64px; border-color: var(--line); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { width: min(1200px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }
.nav__logo img { height: 46px; width: auto; transition: transform .5s var(--ease), filter .4s, height .4s; animation: logoFloat 6s ease-in-out infinite; }
.nav.is-scrolled .nav__logo img { height: 40px; }
.nav__logo:hover img { transform: scale(1.05) rotate(-1.5deg); filter: drop-shadow(0 0 14px rgba(1, 193, 213, .7)); }
@keyframes logoFloat { 50% { transform: translateY(-2px); } }

.nav__burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; z-index: 2; }
.nav__burger span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu móvel: painel em ecrã inteiro */
.nav__menu { position: fixed; inset: 0; background: rgba(5, 10, 22, .96); backdrop-filter: blur(20px); display: flex; flex-direction: column; align-items: center; justify-content: safe center; gap: 32px; padding: 84px 20px 32px; overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.nav__menu.is-open { opacity: 1; visibility: visible; }
.nav__links { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.nav__links a { display: block; padding: 10px 18px; font-size: 1.5rem; font-weight: 700; color: var(--muted); transition: color .3s, text-shadow .3s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; text-shadow: 0 0 14px var(--cyan), 0 0 32px rgba(1, 193, 213, .6); }
.nav__indicator { display: none; }

@media (min-width: 960px) {
  .nav__burger { display: none; }
  .nav__menu { position: static; inset: auto; background: none; backdrop-filter: none; flex-direction: row; opacity: 1; visibility: visible; gap: 28px; overflow: visible; }
  .nav__links { flex-direction: row; gap: 2px; }
  .nav__links a { font-size: .9rem; font-weight: 600; padding: 10px 16px; }
  /* Indicador animado da secção ativa */
  .nav__indicator { display: block; position: absolute; left: 0; bottom: 2px; height: 2px; width: 0; border-radius: 2px; background: var(--grad); box-shadow: 0 0 12px var(--cyan), 0 0 24px var(--purple); transition: transform .5s var(--ease), width .5s var(--ease), opacity .3s; opacity: 0; will-change: transform, width; }
}

/* ---------- 5. HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 120px; overflow: hidden; background: radial-gradient(ellipse at 70% 20%, rgba(10, 65, 139, .35), transparent 60%), radial-gradient(ellipse at 10% 90%, rgba(164, 124, 247, .15), transparent 55%), var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__glow { position: absolute; left: 0; top: 0; width: 60vmax; height: 60vmax; transform: translate3d(calc(var(--gx, 60vw) - 50%), calc(var(--gy, 30vh) - 50%), 0); background: radial-gradient(circle, rgba(1, 193, 213, .13), transparent 60%); pointer-events: none; z-index: 1; will-change: transform; }

/* Grid perspetivado estilo Tron */
.hero__grid { position: absolute; inset: auto 0 0 0; height: 58%; perspective: 520px; overflow: hidden; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 28%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 28%, #000 100%); pointer-events: none; }
.hero__plane { position: absolute; left: -60%; right: -60%; top: 0; height: 320%; transform-origin: 50% 0; transform: rotateX(64deg); background-image: linear-gradient(rgba(1, 193, 213, .4) 1.5px, transparent 1.5px), linear-gradient(90deg, rgba(164, 124, 247, .38) 1.5px, transparent 1.5px); background-size: 70px 70px; animation: gridMove 2.2s linear infinite; will-change: background-position; }
@keyframes gridMove { to { background-position: 0 70px, 0 0; } }

/* Camadas com profundidade */
.hero__layers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.layer { position: absolute; right: -18vmin; top: 50%; translate: 0 -50%; will-change: transform; }
.layer i { display: block; border-radius: 6%; transform: rotate(45deg); border: 1px solid rgba(164, 124, 247, .35); animation: layerFloat 9s ease-in-out infinite; }
.layer--1 i { width: 76vmin; height: 76vmin; background: linear-gradient(135deg, rgba(80, 98, 183, .12), transparent); }
.layer--2 { right: -4vmin; } .layer--2 i { width: 54vmin; height: 54vmin; border-color: rgba(1, 193, 213, .35); background: linear-gradient(135deg, rgba(10, 65, 139, .25), rgba(3, 56, 118, .05)); backdrop-filter: blur(3px); animation-delay: -2s; animation-direction: reverse; }
.layer--3 { right: 8vmin; } .layer--3 i { width: 32vmin; height: 32vmin; border-color: rgba(164, 124, 247, .6); background: linear-gradient(135deg, rgba(164, 124, 247, .25), rgba(1, 193, 213, .08)); backdrop-filter: blur(6px); animation-delay: -4s; }
.layer--4 { right: 18vmin; top: 38%; } .layer--4 i { width: 9vmin; height: 9vmin; border: 0; background: var(--grad); box-shadow: 0 0 40px rgba(1, 193, 213, .7); animation-duration: 6s; }
@keyframes layerFloat { 50% { transform: rotate(52deg) translateY(-14px); } }

.hero__content { position: relative; z-index: 2; will-change: transform, opacity; }
.hero h1 { font-size: clamp(2.5rem, 8.2vw, 5.6rem); font-weight: 900; margin: 22px 0 22px; max-width: 14ch; letter-spacing: -.035em; }
.hero__type { font-family: var(--mono); font-size: clamp(.95rem, 2.4vw, 1.3rem); color: var(--cyan); min-height: 1.7em; margin-bottom: 18px; text-shadow: 0 0 16px rgba(1, 193, 213, .5); }
.caret { display: inline-block; width: .6ch; height: 1.1em; margin-left: 3px; vertical-align: -.18em; background: var(--cyan); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero__lead { max-width: 560px; color: var(--muted); font-size: 1.05rem; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(232, 241, 255, .4); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* Efeito glitch em CSS */
.glitch { position: relative; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.glitch::before { color: var(--cyan); animation: glitchA 8s infinite steps(1); }
.glitch::after { color: var(--purple); animation: glitchB 8s infinite steps(1); }
@keyframes glitchA {
  0%, 90%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  91% { opacity: .85; transform: translate(-5px, 1px); clip-path: inset(10% 0 62% 0); }
  93% { opacity: .85; transform: translate(4px, -1px); clip-path: inset(58% 0 12% 0); }
  95% { opacity: .85; transform: translate(-3px, 0); clip-path: inset(30% 0 40% 0); }
  97% { opacity: 0; }
}
@keyframes glitchB {
  0%, 90%, 100% { opacity: 0; transform: none; clip-path: inset(0 0 100% 0); }
  92% { opacity: .85; transform: translate(5px, -1px); clip-path: inset(48% 0 22% 0); }
  94% { opacity: .85; transform: translate(-4px, 1px); clip-path: inset(6% 0 70% 0); }
  96% { opacity: .85; transform: translate(3px, 0); clip-path: inset(72% 0 6% 0); }
  98% { opacity: 0; }
}
.glitch em { -webkit-text-fill-color: transparent; }
.glitch::before, .glitch::after { -webkit-text-fill-color: currentColor; }

/* ---------- 6. REVEAL (scroll animations) ---------- */
.js .reveal { opacity: 0; translate: 0 44px; transition: opacity .9s var(--ease), translate .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, translate; }
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- 7. SERVIÇOS — BENTO GRID ---------- */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { position: relative; padding: 30px; border-radius: 26px; background: var(--glass); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border: 1px solid var(--line); overflow: hidden; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .4s; will-change: transform; transform-style: preserve-3d; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--angle), transparent 0%, var(--cyan) 12%, var(--purple) 28%, transparent 40%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: spin 4s linear infinite; pointer-events: none; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(1, 193, 213, .16), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { box-shadow: 0 0 50px rgba(1, 193, 213, .15), 0 30px 60px rgba(0, 0, 0, .4); }
.card:hover::before, .card:hover::after { opacity: 1; }
@keyframes spin { to { --angle: 360deg; } }
.card__icon { width: 64px; height: 64px; margin-bottom: 22px; transform: translateZ(40px); }
.card h3 { margin-bottom: 12px; transform: translateZ(25px); }
.card p { color: var(--muted); font-size: .96rem; }
.card__list { margin-top: 20px; display: grid; gap: 10px; font-size: .92rem; }
.card__list li { display: flex; gap: 12px; align-items: center; color: var(--ink); }
.card__list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 10px var(--cyan); }
.card__code { margin-top: 26px; padding: 16px 18px; border-radius: 14px; background: rgba(3, 10, 24, .7); border: 1px solid var(--line); font-family: var(--mono); font-size: .8rem; color: var(--cyan); display: grid; gap: 4px; }
.card__code span:nth-child(2) { color: var(--purple); }

/* Mini chat do cartão de IA */
.chat { display: grid; gap: 10px; align-content: center; padding: 22px; border-radius: 20px; background: rgba(3, 10, 24, .6); border: 1px solid var(--line); font-size: .86rem; }
.chat__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; line-height: 1.45; opacity: 0; animation: 14s infinite; }
.chat__msg--in { background: rgba(80, 98, 183, .3); border-bottom-left-radius: 4px; justify-self: start; }
.chat__msg--out { background: linear-gradient(120deg, rgba(1, 193, 213, .32), rgba(164, 124, 247, .32)); border-bottom-right-radius: 4px; justify-self: end; }
.chat__typing { display: flex; gap: 5px; padding: 6px 4px; }
.chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: typing 1s infinite; }
.chat__typing i:nth-child(2) { animation-delay: .15s; } .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-5px); opacity: 1; } }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); }
  .card--sites { grid-column: 1 / 5; grid-row: 1 / 3; padding: 40px; }
  .card--sites h3 { font-size: 1.7rem; }
  .card--social { grid-column: 5 / 7; }
  .card--host { grid-column: 5 / 7; }
  .card--ai { grid-column: 1 / 7; display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: center; padding: 40px; }
}

/* ---------- 8. PORQUÊ — SECÇÃO CRIATIVA (núcleo + pilares) ---------- */
.why { overflow: hidden; background: linear-gradient(180deg, transparent, rgba(10, 65, 139, .12), transparent); }
.why__bgtext { position: absolute; left: 50%; top: 30%; translate: -50% 0; font-size: clamp(8rem, 30vw, 26rem); font-weight: 900; letter-spacing: -.05em; background: linear-gradient(180deg, rgba(150, 180, 255, .09), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; pointer-events: none; user-select: none; will-change: transform; }
.why__stage { position: relative; display: grid; gap: 18px; }
.why__lines { display: none; }
.why__core { position: relative; width: 220px; height: 220px; margin: 10px auto 30px; display: grid; place-items: center; order: -1; }
.why__diamond { position: absolute; border: 1.5px solid; border-radius: 8%; transform: rotate(45deg); }
.why__diamond--1 { inset: 40px; border-color: var(--cyan); background: linear-gradient(135deg, rgba(1, 193, 213, .2), rgba(164, 124, 247, .2)); box-shadow: 0 0 40px rgba(1, 193, 213, .4), inset 0 0 30px rgba(164, 124, 247, .25); animation: pulseD 3s ease-in-out infinite; }
.why__diamond--2 { inset: 14px; border-color: rgba(164, 124, 247, .7); animation: rot 18s linear infinite; }
.why__diamond--3 { inset: -14px; border-color: rgba(80, 98, 183, .5); border-style: dashed; animation: rot 30s linear infinite reverse; }
@keyframes rot { to { transform: rotate(405deg); } }
@keyframes pulseD { 50% { transform: rotate(45deg) scale(1.07); } }
.why__core-text { position: relative; font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; text-shadow: 0 0 18px var(--cyan); transition: opacity .25s, transform .25s; }
.why__core-text.is-swap { opacity: 0; transform: translateY(8px) scale(.9); }

.pillar { --cut: 26px; position: relative; text-align: left; padding: 1px; background: linear-gradient(135deg, rgba(1, 193, 213, .5), rgba(164, 124, 247, .5)); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); transition: transform .5s var(--ease), filter .4s; }
.pillar::before { content: ""; position: absolute; inset: 1px; background: var(--bg-2); clip-path: inherit; transition: background .4s; }
.pillar > * { position: relative; }
.pillar-inner { display: block; }
.pillar { display: block; padding: 1px; }
.pillar img { margin: 30px 30px 16px; }
.pillar__n { position: absolute !important; right: 34px; top: 22px; font-family: var(--mono); font-size: .8rem; color: var(--purple); }
.pillar h3 { padding: 0 30px; margin-bottom: 8px; }
.pillar p { padding: 0 30px 30px; color: var(--muted); font-size: .95rem; }
.pillar:hover, .pillar.is-active { filter: drop-shadow(0 0 22px rgba(1, 193, 213, .45)); transform: translateY(-4px); background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.pillar:hover::before, .pillar.is-active::before { background: linear-gradient(135deg, #07213f, #0b1a38); }

@media (min-width: 1000px) {
  .why__stage { display: block; height: 640px; }
  .why__lines { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .why__lines path { fill: none; stroke: rgba(150, 180, 255, .28); stroke-width: 1.5; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; transition: stroke .4s, stroke-width .4s; animation: dash 1.2s linear infinite; }
  .why__lines path.is-active { stroke: var(--cyan); stroke-width: 2.5; filter: drop-shadow(0 0 6px var(--cyan)); }
  @keyframes dash { to { stroke-dashoffset: -14; } }
  .why__core { position: absolute; left: 50%; top: 50%; translate: -50% -50%; margin: 0; width: 250px; height: 250px; }
  .pillar { position: absolute; width: 33%; }
  .pillar--1 { left: 0; top: 0; }
  .pillar--2 { right: 0; top: 50%; translate: 0 -50%; }
  .pillar--3 { left: 6%; bottom: 0; }
}

/* ---------- 9. COMO FUNCIONA — TIMELINE ---------- */
.timeline { position: relative; --p: 0; }
.timeline__track { position: absolute; left: 27px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--purple)); transform-origin: 50% 0; transform: scaleY(var(--p)); box-shadow: 0 0 14px var(--cyan); will-change: transform; }
.timeline__steps { display: grid; gap: 44px; }
.step { position: relative; padding-left: 84px; }
.step__num { position: absolute; left: 0; top: 0; width: 56px; height: 56px; display: grid; place-items: center; font-family: var(--mono); font-weight: 500; }
.step__num::before { content: ""; position: absolute; inset: 6px; transform: rotate(45deg); border-radius: 8px; background: var(--bg-2); border: 1.5px solid var(--line); transition: border-color .5s, box-shadow .5s, background .5s; }
.step__num b { position: relative; font-size: 1.05rem; transition: color .5s, text-shadow .5s; color: var(--muted); }
.step.is-lit .step__num::before { border-color: var(--cyan); background: linear-gradient(135deg, rgba(1, 193, 213, .35), rgba(164, 124, 247, .35)); box-shadow: 0 0 24px rgba(1, 193, 213, .6); }
.step.is-lit .step__num b { color: #fff; text-shadow: 0 0 10px var(--cyan); }
.step h3 { margin: 4px 0 8px; font-size: 1.35rem; }
.step p { color: var(--muted); font-size: .96rem; max-width: 36ch; }
.step__tag { display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 99px; font-family: var(--mono); font-size: .75rem; color: var(--cyan); border: 1px solid rgba(1, 193, 213, .35); background: rgba(1, 193, 213, .07); }

@media (min-width: 900px) {
  .timeline__track { left: 12.5%; right: 12.5%; top: 27px; bottom: auto; width: auto; height: 2px; }
  .timeline__fill { transform-origin: 0 50%; transform: scaleX(var(--p)); background: linear-gradient(90deg, var(--cyan), var(--purple)); }
  .timeline__steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { padding: 84px 8px 0; text-align: center; }
  .step__num { left: 50%; margin-left: -28px; }
  .step p { margin-inline: auto; }
}

/* ---------- 11. TESTEMUNHOS (carrossel com fade) ---------- */
.carousel { max-width: 880px; margin-inline: auto; }
.carousel__slides { display: grid; }
.slide { grid-area: 1 / 1; padding: clamp(28px, 5vw, 56px); border-radius: 28px; background: var(--glass); backdrop-filter: blur(18px); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: scale(.97) translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide::before { content: "“"; position: absolute; font-size: 9rem; line-height: 1; font-weight: 900; color: rgba(164, 124, 247, .18); top: 0; left: 24px; }
.slide { position: relative; }
.slide blockquote { position: relative; font-size: clamp(1.1rem, 2.6vw, 1.6rem); font-weight: 500; line-height: 1.5; margin-bottom: 28px; }
.slide figcaption { display: flex; gap: 16px; align-items: center; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.slide figcaption strong { display: block; color: var(--ink); font-size: 1rem; }
.avatar { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); box-shadow: 0 0 18px rgba(1, 193, 213, .35); }
.avatar { font-weight: 800; font-size: .9rem; color: #04101f; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 28px; }
.carousel__btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.carousel__btn:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(1, 193, 213, .5); }
.carousel__dots { display: flex; gap: 10px; }
.carousel__dots button { width: 10px; height: 10px; border-radius: 2px; transform: rotate(45deg); background: var(--line); transition: background .3s, box-shadow .3s, scale .3s; }
.carousel__dots button.is-active { background: var(--cyan); box-shadow: 0 0 12px var(--cyan); scale: 1.3; }

/* ---------- 12. CTA FINAL + FORMULÁRIO ---------- */
/* Estilos limitados ao contacto para preservar as restantes secções. */
#contacto { overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 90% 45%, rgba(10, 65, 139, .28), transparent 65%), var(--bg); }
#contacto::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(1, 193, 213, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(80, 98, 183, .06) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, transparent, var(--cyan) 35%, transparent); }
:is(#contacto, #contactModal, #domainModal) .cta__orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(100px); pointer-events: none; }
:is(#contacto, #contactModal, #domainModal) .cta__orb--1 { width: 380px; height: 380px; left: -240px; top: 8%; background: rgba(164, 124, 247, .16); }
:is(#contacto, #contactModal, #domainModal) .cta__orb--2 { width: 440px; height: 440px; right: -260px; bottom: 5%; background: rgba(1, 193, 213, .13); }
:is(#contacto, #contactModal, #domainModal) .cta__inner { position: relative; width: min(1240px, 100% - 40px); display: grid; gap: 36px; align-items: start; }
:is(#contacto, #contactModal, #domainModal) .cta__text, :is(#contacto, #contactModal, #domainModal) .form, :is(#contacto, #contactModal, #domainModal) .field { min-width: 0; }
:is(#contacto, #contactModal, #domainModal) .dot { animation: none; }
#contacto h2 { margin: 18px 0 22px; font-size: clamp(2.6rem, 7vw, 4.4rem); font-weight: 900; letter-spacing: -.045em; color: var(--cyan); text-shadow: 0 0 20px rgba(1, 193, 213, .3), 0 0 48px rgba(1, 193, 213, .16); }
#contacto h2 span { display: block; }
:is(#contacto, #contactModal, #domainModal) .cta__text > p:not(.eyebrow) { max-width: 46ch; color: var(--muted); font-size: 1rem; line-height: 1.8; }
:is(#contacto, #contactModal, #domainModal) .cta__points { margin-top: 30px; display: grid; gap: 0; }
:is(#contacto, #contactModal, #domainModal) .cta__points li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(80, 98, 183, .26); }
:is(#contacto, #contactModal, #domainModal) .cta__points strong { display: block; font-size: .9rem; font-weight: 600; line-height: 1.55; }
:is(#contacto, #contactModal, #domainModal) .cta__points li div > span { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; line-height: 1.6; }
:is(#contacto, #contactModal, #domainModal) .cta__check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(1, 193, 213, .3); border-radius: 8px; background: rgba(1, 193, 213, .08); box-shadow: inset 0 0 14px rgba(1, 193, 213, .06); }
:is(#contacto, #contactModal, #domainModal) .cta__check::before { content: ""; width: 10px; height: 6px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-1px) rotate(-45deg); }

:is(#contacto, #contactModal, #domainModal) .form { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; padding: clamp(20px, 3vw, 36px); border-radius: 24px; border: 1px solid rgba(80, 98, 183, .4); background: linear-gradient(135deg, rgba(34, 69, 95, .24), rgba(3, 56, 118, .12)); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 24px 70px rgba(3, 56, 118, .18), 0 0 50px rgba(1, 193, 213, .04), inset 0 1px 0 rgba(164, 124, 247, .1); }
:is(#contacto, #contactModal, #domainModal) .form::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--purple), transparent); pointer-events: none; }
:is(#contacto, #contactModal, #domainModal) .form__head { padding-bottom: 22px; margin-bottom: 2px; border-bottom: 1px solid rgba(80, 98, 183, .26); }
:is(#contacto, #contactModal, #domainModal) .form__eyebrow { margin-bottom: 10px; color: var(--purple); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
:is(#contacto, #contactModal, #domainModal) .form__head h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.3; }
#contacto #formHint { margin-top: 10px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
:is(#contacto, #contactModal, #domainModal) .field { display: grid; align-content: start; gap: 8px; }
:is(#contacto, #contactModal, #domainModal) .field--full { grid-column: 1 / -1; }
:is(#contacto, #contactModal, #domainModal) .field label { font-size: .8rem; font-weight: 600; letter-spacing: .02em; }
:is(#contacto, #contactModal, #domainModal) .field label span { color: var(--muted); font-weight: 400; }
:is(#contacto, #contactModal, #domainModal) .field input:not([type="checkbox"]), :is(#contacto, #contactModal, #domainModal) .field select, :is(#contacto, #contactModal, #domainModal) .field textarea, :is(#contacto, #contactModal, #domainModal) .dd__btn { width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border-radius: 10px; background: var(--bg); border: 1px solid rgba(80, 98, 183, .4); font-size: 1rem; line-height: 1.4; transition: border-color .2s, box-shadow .2s; }
:is(#contacto, #contactModal, #domainModal) .field textarea { min-height: 132px; resize: vertical; }
:is(#contacto, #contactModal, #domainModal) .field select option { background: var(--bg); }
:is(#contacto, #contactModal, #domainModal) .field input::placeholder, :is(#contacto, #contactModal, #domainModal) .field textarea::placeholder { color: var(--muted); opacity: 1; }
:is(#contacto, #contactModal, #domainModal) .field input:not([type="checkbox"]):hover, :is(#contacto, #contactModal, #domainModal) .field select:hover, :is(#contacto, #contactModal, #domainModal) .field textarea:hover, :is(#contacto, #contactModal, #domainModal) .dd__btn:hover { border-color: rgba(1, 193, 213, .55); }
:is(#contacto, #contactModal, #domainModal) .field input:focus, :is(#contacto, #contactModal, #domainModal) .field select:focus, :is(#contacto, #contactModal, #domainModal) .field textarea:focus, :is(#contacto, #contactModal, #domainModal) .dd__btn:focus, :is(#contacto, #contactModal, #domainModal) .btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; box-shadow: 0 0 18px rgba(1, 193, 213, .16); }

/* Dropdowns acima dos restantes campos, sem recortar as opções. */
:is(#contacto, #contactModal, #domainModal) .field .sr-only { position: absolute !important; width: 1px; height: 1px; min-height: 0; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
:is(#contacto, #contactModal, #domainModal) .dd { position: relative; min-width: 0; }
:is(#contacto, #contactModal, #domainModal) .dd.is-open { z-index: 5; }
:is(#contacto, #contactModal, #domainModal) .dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font-size: .9rem; }
:is(#contacto, #contactModal, #domainModal) .dd__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
:is(#contacto, #contactModal, #domainModal) .dd__btn.is-placeholder .dd__text { color: var(--muted); }
:is(#contacto, #contactModal, #domainModal) .dd.is-open .dd__btn { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(1, 193, 213, .12); }
:is(#contacto, #contactModal, #domainModal) .dd__chev { flex: none; width: 8px; height: 8px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-2px) rotate(45deg); transition: transform .2s var(--ease); }
:is(#contacto, #contactModal, #domainModal) .dd.is-open .dd__chev { transform: translateY(2px) rotate(-135deg); }
:is(#contacto, #contactModal, #domainModal) .dd__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 8px); max-height: 268px; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 12px; background: var(--bg); border: 1px solid rgba(1, 193, 213, .45); box-shadow: 0 16px 40px rgba(3, 56, 118, .35); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; scrollbar-width: thin; scrollbar-color: var(--slate) var(--bg); }
:is(#contacto, #contactModal, #domainModal) .dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; }
:is(#contacto, #contactModal, #domainModal) .dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 10px; border-radius: 7px; font-size: .84rem; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
:is(#contacto, #contactModal, #domainModal) .dd__opt small { font-family: var(--mono); color: var(--muted); font-size: .75rem; }
:is(#contacto, #contactModal, #domainModal) .dd__opt.is-focus, :is(#contacto, #contactModal, #domainModal) .dd__opt:hover { background: linear-gradient(120deg, rgba(1, 193, 213, .15), rgba(164, 124, 247, .12)); outline: 1px solid rgba(1, 193, 213, .3); outline-offset: -1px; }
:is(#contacto, #contactModal, #domainModal) .dd__opt[aria-selected="true"] { color: var(--cyan); }
:is(#contacto, #contactModal, #domainModal) .dd__opt[aria-selected="true"]::after { content: ""; flex: none; width: 6px; height: 6px; background: var(--cyan); transform: rotate(45deg); }
:is(#contacto, #contactModal, #domainModal) .phone { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; }
:is(#contacto, #contactModal, #domainModal) .dd--code .dd__list { right: auto; width: 220px; }
:is(#contacto, #contactModal, #domainModal) .dd--code .dd__btn { padding-inline: 10px; font-family: var(--mono); font-size: .8rem; }

:is(#contacto, #contactModal, #domainModal) .field.has-error .dd__btn, :is(#contacto, #contactModal, #domainModal) .field.has-error input, :is(#contacto, #contactModal, #domainModal) .field.has-error select, :is(#contacto, #contactModal, #domainModal) .field.has-error textarea { border-color: #ff6b8b; box-shadow: 0 0 0 3px rgba(255, 107, 139, .15); }
:is(#contacto, #contactModal, #domainModal) .field__error { color: #ff8fa8; font-size: .75rem; line-height: 1.5; }
:is(#contacto, #contactModal, #domainModal) .field__error:empty, :is(#contacto, #contactModal, #domainModal) .form__status:empty { display: none; }
:is(#contacto, #contactModal, #domainModal) .field--check { padding-top: 4px; }
:is(#contacto, #contactModal, #domainModal) .field--check label { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .78rem; font-weight: 400; line-height: 1.7; cursor: pointer; }
:is(#contacto, #contactModal, #domainModal) .field--check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--cyan); cursor: pointer; }
:is(#contacto, #contactModal, #domainModal) .form > .btn { min-height: 52px; padding: 14px 24px; margin-top: 2px; border-radius: 12px; font-size: .95rem; }
:is(#contacto, #contactModal, #domainModal) .ripple-wave { background: rgba(1, 193, 213, .55); }
:is(#contacto, #contactModal, #domainModal) .form__status { text-align: center; font-size: .85rem; font-weight: 600; }
:is(#contacto, #contactModal, #domainModal) .form__status.is-ok { color: var(--cyan); }
:is(#contacto, #contactModal, #domainModal) .form__status.is-err { color: #ff8fa8; }

@media (min-width: 680px) {
  :is(#contacto, #contactModal, #domainModal) .form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
  :is(#contacto, #contactModal, #domainModal) .cta__points { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  :is(#contacto, #contactModal, #domainModal) .cta__points li { gap: 10px; }
}
@media (min-width: 1120px) {
  :is(#contacto, #contactModal, #domainModal) .cta__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.85fr); gap: 56px; }
  :is(#contacto, #contactModal, #domainModal) .cta__text { padding-top: 20px; }
  :is(#contacto, #contactModal, #domainModal) .cta__points { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  :is(#contacto, #contactModal, #domainModal) *, :is(#contacto, #contactModal, #domainModal) *::before, :is(#contacto, #contactModal, #domainModal) *::after { animation: none !important; transition: none !important; }
  :is(#contacto, #contactModal, #domainModal) .reveal { opacity: 1; translate: none; }
  :is(#contacto, #contactModal, #domainModal) .btn:hover, :is(#contacto, #contactModal, #domainModal) .btn:hover img { transform: none; }
  :is(#contacto, #contactModal, #domainModal) .ripple-wave { display: none; }
}

/* ---------- 13. FOOTER ---------- */
.footer { position: relative; overflow: hidden; padding-top: 90px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg), #030711); }
.footer__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(1, 193, 213, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(164, 124, 247, .09) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 90%); mask-image: linear-gradient(to bottom, transparent, #000 90%); animation: footGrid 20s linear infinite; }
@keyframes footGrid { to { background-position: 56px 56px; } }
.footer__word { position: absolute; left: 50%; bottom: -.18em; translate: -50% 0; font-size: clamp(5rem, 24vw, 21rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, rgba(1, 193, 213, .16), rgba(164, 124, 247, .03) 70%, transparent); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; pointer-events: none; white-space: nowrap; }
.footer__inner { position: relative; display: grid; gap: 40px; grid-template-columns: 1fr 1fr; padding-bottom: 60px; }
.footer__brand { grid-column: 1 / -1; max-width: 380px; }
.footer__brand > img { height: 56px; width: auto; margin-bottom: 18px; }
.social img { width: 22px; height: 22px; }
.footer__brand p { color: var(--muted); font-size: .95rem; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-size: .8rem; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); margin-bottom: 6px; }
.footer__col a:not(.btn) { color: var(--muted); font-size: .95rem; width: fit-content; transition: color .3s, text-shadow .3s, transform .3s; }
.footer__col a:not(.btn):hover { color: #fff; text-shadow: 0 0 12px var(--cyan); transform: translateX(4px); }
.social { display: flex; gap: 12px; margin-top: 26px; }
.social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: rgba(10, 20, 40, .6); transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.social a:hover { transform: translateY(-5px) rotate(-6deg); border-color: var(--cyan); box-shadow: 0 0 22px rgba(1, 193, 213, .7), inset 0 0 14px rgba(1, 193, 213, .25); }
.social a:hover img { filter: drop-shadow(0 0 6px var(--cyan)) brightness(1.4); }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer__top:hover { color: var(--cyan); }
.footer__inner { margin-bottom: clamp(40px, 12vw, 160px); }
@media (min-width: 860px) { .footer__inner { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }

/* ---------- 14. PÁGINA 404 ---------- */
.page-404 { min-height: 100svh; display: grid; place-items: center; background: radial-gradient(ellipse at 50% 30%, rgba(10, 65, 139, .45), transparent 65%), var(--bg); overflow: hidden; }
.page-404 .hero__grid { position: fixed; height: 55%; }
.e404 { position: relative; z-index: 2; text-align: center; padding: 100px 20px 60px; display: grid; justify-items: center; }
.e404__logo { position: absolute; top: 28px; left: 50%; translate: -50% 0; }
.e404__logo img { height: 46px; width: auto; }
.e404__stage { position: relative; width: min(340px, 80vw); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 20px; }
.e404__diamond { position: absolute; border: 1.5px solid; border-radius: 8%; transform: rotate(45deg); }
.e404__diamond--1 { inset: 17%; border-color: var(--cyan); background: linear-gradient(135deg, rgba(1, 193, 213, .15), rgba(164, 124, 247, .15)); box-shadow: 0 0 60px rgba(1, 193, 213, .4); animation: pulseD 3s ease-in-out infinite; }
.e404__diamond--2 { inset: 6%; border-color: rgba(164, 124, 247, .7); animation: rot 16s linear infinite; }
.e404__diamond--3 { inset: -6%; border: 1.5px dashed rgba(80, 98, 183, .6); animation: rot 28s linear infinite reverse; }
.e404__code { position: relative; font-size: clamp(4.5rem, 20vw, 8rem); font-weight: 900; letter-spacing: -.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 24px rgba(1, 193, 213, .5)); }
.e404__code.glitch::before, .e404__code.glitch::after { -webkit-text-fill-color: currentColor; animation-duration: 3s; }
.e404__title { font-size: clamp(1.6rem, 5vw, 2.6rem); margin-bottom: 14px; }
.e404__text { color: var(--muted); max-width: 46ch; }
.e404__term { margin: 22px 0 34px; font-family: var(--mono); font-size: .9rem; color: var(--cyan); min-height: 1.6em; }
.e404__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 15. ACESSIBILIDADE — MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__canvas { display: none; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .chat__msg { opacity: 1; }
}

/* ==========================================================================
   16. REVISÃO DE DESIGN — correções e melhorias
   ========================================================================== */

/* Menu: em desktop remove o preenchimento do painel móvel */
@media (min-width: 960px) { .nav__menu { padding: 0; overflow: visible; } }

/* Mini-chat: uma única conversa sincronizada (14s) */
.chat__msg:nth-child(1) { animation-name: m1; } .chat__msg:nth-child(2) { animation-name: m2; }
.chat__msg:nth-child(3) { animation-name: m3; } .chat__msg:nth-child(4) { animation-name: m4; }
@keyframes m1 { 0%, 2% { opacity: 0; transform: translateY(12px); } 6%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes m2 { 0%, 14% { opacity: 0; transform: translateY(12px); } 18%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes m3 { 0%, 28% { opacity: 0; transform: translateY(12px); } 32%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes m4 { 0%, 42% { opacity: 0; transform: translateY(12px); } 46%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }


/* "Porquê": no telemóvel o núcleo fica compacto e visível enquanto se escolhe um pilar */
@media (max-width: 999px) {
  .why__core { position: sticky; top: 70px; z-index: 5; align-self: start; justify-self: center; width: 150px; height: 150px; margin: 0 auto 10px; background: radial-gradient(circle, rgba(5, 10, 22, .9) 35%, transparent 72%); }
  .why__core-text { font-size: .8rem; }
}

/* Footer: a palavra da marca tem uma área própria, sem cortes */
.footer__inner { margin-bottom: 0; }
.footer__word { position: relative; left: auto; bottom: auto; translate: none; text-align: center; font-size: clamp(3rem, 16.5vw, 16rem); line-height: .9; padding: 10px 0 .06em; margin-bottom: 18px; }

/* Movimento: decoração fora do ecrã fica em pausa; menos blur no telemóvel */
.is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
@media (max-width: 759px) {
  .card, .slide, .form, .layer i, .cta__text .cta__points { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .card, .slide { background: rgba(12, 26, 54, .82); } .form { background: rgba(12, 26, 54, .88); }
}

/* Demonstrações visuais nos cartões (versão rica) */
.mock { margin-top: 26px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #060e20; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(150, 180, 255, .05); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; } .mock__bar i:nth-child(1) { background: var(--purple); } .mock__bar i:nth-child(2) { background: var(--indigo); } .mock__bar i:nth-child(3) { background: var(--cyan); }
.mock__bar span { flex: 1; margin-left: 10px; padding: 3px 12px; border-radius: 99px; background: rgba(150, 180, 255, .08); }
.mock__bar b { padding: 1px 9px; border-radius: 99px; background: var(--cyan); color: #04101f; font-size: .7rem; }
.mock__body { display: grid; gap: 14px; padding: 14px 16px 16px; }
.mock__nav { display: flex; align-items: center; gap: 10px; }
.mock__logo { width: 16px; height: 16px; margin-right: auto; background: linear-gradient(135deg, var(--purple), var(--cyan)); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.mock__pill { width: 34px; height: 6px; border-radius: 4px; background: rgba(150, 180, 255, .25); }
.mock__cta { width: 44px; height: 16px; border-radius: 99px; background: var(--grad); }
.mock__hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: center; padding: 18px; border-radius: 12px; background: linear-gradient(135deg, rgba(10, 65, 139, .55), rgba(80, 98, 183, .2) 60%, rgba(164, 124, 247, .25)); overflow: hidden; }
.mock__txt { display: grid; gap: 8px; }
.mock__h { display: block; height: 12px; width: 92%; border-radius: 6px; background: linear-gradient(90deg, #e8f1ff, #b9d4ff); }
.mock__h--s { width: 60%; background: linear-gradient(90deg, var(--cyan), var(--purple)); }
.mock__p { display: block; height: 6px; width: 88%; border-radius: 4px; background: rgba(232, 241, 255, .28); }
.mock__p--s { width: 58%; }
.mock__btns { display: flex; gap: 8px; margin-top: 4px; }
.mock__b1 { width: 62px; height: 20px; border-radius: 99px; background: var(--grad); }
.mock__b2 { width: 62px; height: 20px; border-radius: 99px; border: 1px solid rgba(232, 241, 255, .4); }
.mock__art { position: relative; height: 90px; }
.mock__art span { position: absolute; border: 1.5px solid; transform: rotate(45deg); border-radius: 6px; animation: mockFloat 6s ease-in-out infinite; }
.mock__art span:nth-child(1) { inset: 6px 14px; border-color: rgba(164, 124, 247, .7); }
.mock__art span:nth-child(2) { inset: 22px 30px; border-color: rgba(1, 193, 213, .8); animation-delay: -2s; }
.mock__art span:nth-child(3) { inset: 36px 44px; border: 0; background: var(--grad); box-shadow: 0 0 20px rgba(1, 193, 213, .6); animation-delay: -4s; }
@keyframes mockFloat { 50% { transform: rotate(60deg) scale(1.06); } }
.mock__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock__cols > div { position: relative; display: grid; gap: 6px; padding: 12px; border-radius: 10px; background: rgba(150, 180, 255, .07); border: 1px solid var(--line); overflow: hidden; }
.mock__cols > div::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent, rgba(1, 193, 213, .2), transparent); transform: translateX(-100%); animation: shimmer 4s ease-in-out infinite; }
.mock__cols > div:nth-child(2)::after { animation-delay: .6s; } .mock__cols > div:nth-child(3)::after { animation-delay: 1.2s; }
.mock__ic { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--cyan), var(--indigo)); margin-bottom: 2px; }
.mock__cols > div:nth-child(2) .mock__ic { background: linear-gradient(135deg, var(--indigo), var(--purple)); }
.mock__cols > div:nth-child(3) .mock__ic { background: linear-gradient(135deg, var(--purple), var(--cyan)); }
@keyframes shimmer { 60%, 100% { transform: translateX(100%); } }

.soc { margin-top: 22px; padding: 16px; border-radius: 16px; background: #060e20; border: 1px solid var(--line); }
.soc__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .8rem; }
.soc__head strong { font-weight: 700; color: var(--ink); }
.soc__up { padding: 2px 9px; border-radius: 99px; font-family: var(--mono); font-size: .68rem; color: var(--cyan); background: rgba(1, 193, 213, .12); white-space: nowrap; }
.soc__days, .soc__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.soc__days { margin-bottom: 6px; text-align: center; font-family: var(--mono); font-size: .62rem; color: var(--muted); }
.soc__grid span { position: relative; aspect-ratio: 1; border-radius: 8px; background: rgba(150, 180, 255, .07); }
.soc__grid .p, .soc__legend i { background: linear-gradient(135deg, var(--indigo), var(--purple)); }
.soc__grid .p--vid, .soc__legend i.p--vid { background: linear-gradient(135deg, var(--cyan), var(--indigo)); }
.soc__grid .p::after { content: ""; position: absolute; inset: 0; margin: auto; width: 34%; height: 34%; background: rgba(255, 255, 255, .85); }
.soc__grid .p--img::after { border-radius: 2px; }
.soc__grid .p--vid::after { clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.soc__grid .today { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--cyan), 0 0 16px rgba(1, 193, 213, .7); animation: calPop 3s ease-in-out infinite; }
.soc__legend { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .68rem; color: var(--muted); font-family: var(--mono); }
.soc__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; } .soc__legend i + i { margin-left: 8px; }
@keyframes calPop { 50% { opacity: .6; } }

.host { margin-top: 22px; padding: 14px 16px 16px; border-radius: 16px; background: #060e20; border: 1px solid var(--line); }
.host__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.host__on { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.host__on i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(1, 193, 213, .6); animation: ping 2s ease-out infinite; }
@keyframes ping { 70%, 100% { box-shadow: 0 0 0 9px rgba(1, 193, 213, 0); } }
.host__chart { width: 100%; height: 70px; margin: 10px 0 12px; overflow: visible; }
.host__line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: drawLine 3s ease-out .3s forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.host__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.host__tags span { padding: 3px 10px; border-radius: 99px; font-family: var(--mono); font-size: .66rem; color: var(--cyan); border: 1px solid rgba(1, 193, 213, .3); background: rgba(1, 193, 213, .07); }

/* Cartões mais compactos */
.mock { margin-top: 22px; }
.mock__art { height: 74px; }
.mock__hero { padding: 14px; }
.soc { margin-top: 18px; padding: 14px; }
.soc__grid span:nth-child(n+8), .soc__legend { display: none; }
.host { margin-top: 18px; }
.host__chart { height: 48px; margin: 8px 0 10px; }

/* Sites: texto à esquerda, mini-site à direita (cartão largo) */
@media (min-width: 1000px) {
  .card--sites { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 36px; align-content: center; align-items: start; padding: 36px; }
  .card--sites > * { grid-column: 1; }
  .card--sites .mock { grid-column: 2; grid-row: 1 / span 5; margin: 0; align-self: center; }
  .card--sites h3 { font-size: 1.5rem; }
}

/* Bento: 2 linhas equilibradas (Sites + Redes | Alojamento + IA) */
@media (min-width: 760px) {
  .card--sites { grid-column: 1 / 5; grid-row: 1; }
  .card--social { grid-column: 5 / 7; grid-row: 1; }
  .card--host { grid-column: 1 / 3; grid-row: 2; }
  .card--ai { grid-column: 3 / 7; grid-row: 2; grid-template-columns: 1fr; gap: 22px; padding: 32px; }
}
@media (min-width: 1000px) { .card--ai { grid-template-columns: 1.05fr 1fr; align-items: center; } }

/* FAQ (acordeão semântico com <details>) */
.faq__inner { max-width: 860px; }
.faq__list { display: grid; gap: 12px; }
.faq__item { border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.faq__item[open], .faq__item:hover { border-color: rgba(1, 193, 213, .45); box-shadow: 0 0 28px rgba(1, 193, 213, .1); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease); }
.faq__item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq__item p { padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }

/* FAQ — versão com efeitos */
.faq__list { counter-reset: q; gap: 14px; }
.faq__item { position: relative; overflow: hidden; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: border-color .4s, box-shadow .4s, background .4s, transform .4s var(--ease); }
.faq__item::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--angle), transparent 0%, var(--cyan) 12%, var(--purple) 28%, transparent 40%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: spin 4s linear infinite; pointer-events: none; }
.faq__item::after { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(1, 193, 213, .14), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.faq__item:hover { transform: translateX(6px); }
.faq__item:hover::before, .faq__item:hover::after, .faq__item[open]::before, .faq__item[open]::after { opacity: 1; }
.faq__item[open] { background: linear-gradient(135deg, rgba(10, 65, 139, .35), rgba(80, 98, 183, .18) 60%, rgba(164, 124, 247, .2)); box-shadow: 0 0 40px rgba(1, 193, 213, .14); }
.faq__item summary { position: relative; z-index: 1; gap: 18px; padding: 22px 26px; transition: color .3s; }
.faq__item summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); flex: none; font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--purple); transition: color .3s, text-shadow .3s; }
.faq__item:hover summary::before, .faq__item[open] summary::before { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }
.faq__item summary > span { flex: 1; }
.faq__item[open] summary { background: linear-gradient(90deg, var(--cyan), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.faq__item[open] summary::before { -webkit-text-fill-color: var(--cyan); }
.faq__item summary::after { width: 34px; height: 34px; margin-left: auto; border: 1px solid rgba(1, 193, 213, .4); border-radius: 10px; background: linear-gradient(var(--cyan), var(--cyan)) center / 12px 2px no-repeat, linear-gradient(var(--cyan), var(--cyan)) center / 2px 12px no-repeat; transform: none; transition: transform .45s var(--ease), border-color .3s, box-shadow .3s, background-color .3s; }
.faq__item:hover summary::after { box-shadow: 0 0 16px rgba(1, 193, 213, .5); }
.faq__item[open] summary::after { transform: rotate(135deg); border-color: var(--purple); background-color: rgba(164, 124, 247, .15); background-image: linear-gradient(var(--purple), var(--purple)), linear-gradient(var(--purple), var(--purple)); }
.faq__item p { position: relative; z-index: 1; padding: 0 26px 24px 68px; }
@media (max-width: 600px) { .faq__item p { padding-left: 26px; } .faq__item:hover { transform: none; } }

/* Testemunhos e FAQ: cabeçalhos centrados, alinhados com o conteúdo centrado */
#testemunhos .section__head, #faq .section__head { margin-inline: auto; text-align: center; }
#testemunhos .eyebrow, #faq .eyebrow { justify-content: center; }
.faq__inner { width: min(860px, 100% - 40px); }

/* ==========================================================================
   17. BLOCOS BRANCOS (alternância claro/escuro, como no nexdi.pt)
   As variáveis são redefinidas dentro do bloco, por isso os componentes
   existentes (timeline, FAQ, cabeçalhos) adaptam-se sem duplicar regras.
   ========================================================================== */
.section--light {
  --ink: #0d1f3a; --muted: #52657d; --line: rgba(10, 65, 139, .14); --glass: #fff; --cyan-ink: #0a7f92;
  --grad-light: linear-gradient(120deg, #0a418b, #5062b7 55%, #a47cf7);
  position: relative; color: var(--ink);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(1, 193, 213, .10), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(164, 124, 247, .12), transparent 70%),
    #fff;
}
.section--light h2, .section--light h3 { color: var(--ink); }
.section--light em { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--light .eyebrow { color: var(--cyan-ink); }
.section--light .dot { background: var(--cyan-ink); box-shadow: 0 0 8px rgba(2, 173, 197, .6); }
.section--light ::selection { background: var(--purple); color: #fff; }

/* Timeline em fundo branco */
.section--light .timeline__track { background: rgba(10, 65, 139, .12); }
.section--light .timeline__fill { box-shadow: 0 0 10px rgba(1, 193, 213, .5); }
.section--light .step__num::before { background: #fff; border-color: rgba(10, 65, 139, .22); box-shadow: 0 10px 24px -14px rgba(11, 45, 107, .5); }
.section--light .step__num b { color: #52657d; }
.section--light .step.is-lit .step__num::before { background: linear-gradient(135deg, #e6f9fc, #f1ebfe); border-color: var(--cyan-2); box-shadow: 0 12px 28px -12px rgba(2, 173, 197, .7); }
.section--light .step.is-lit .step__num b { color: #0a418b; text-shadow: none; }
.section--light .step__tag { color: #0a6c7d; border-color: rgba(2, 173, 197, .4); background: rgba(1, 193, 213, .08); }

/* FAQ em fundo branco */
.section--light .faq__item { background: #fff; border-color: var(--line); box-shadow: 0 24px 60px -40px rgba(11, 45, 107, .45); backdrop-filter: none; -webkit-backdrop-filter: none; }
.section--light .faq__item:hover, .section--light .faq__item[open] { border-color: rgba(2, 173, 197, .5); box-shadow: 0 28px 70px -36px rgba(2, 173, 197, .55); }
.section--light .faq__item[open] { background: linear-gradient(135deg, rgba(1, 193, 213, .07), rgba(164, 124, 247, .09)), #fff; }
.section--light .faq__item summary { color: var(--ink); }
.section--light .faq__item[open] summary { background: var(--grad-light); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--light .faq__item summary::before { color: var(--purple-2); text-shadow: none; }
.section--light .faq__item:hover summary::before, .section--light .faq__item[open] summary::before { color: var(--cyan-ink); text-shadow: none; -webkit-text-fill-color: var(--cyan-ink); }
.section--light .faq__item p { color: var(--muted); }
.section--light .faq__item summary::after { border-color: rgba(10, 65, 139, .25); background-color: #fff; }
.section--light .faq__item::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(1, 193, 213, .12), transparent 60%); }

/* Blocos claros: tom azul-gelo + transição gradual escuro → claro */
.section--light {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(1, 193, 213, .13), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(164, 124, 247, .15), transparent 70%),
    #e8eef9;
}
.section--light::before, .section--light::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(72px, 12vw, 140px); pointer-events: none; z-index: 0; }
.section--light::before { top: 0; background: linear-gradient(to bottom, #050a16 0%, rgba(5, 10, 22, .84) 16%, rgba(5, 10, 22, .55) 38%, rgba(5, 10, 22, .24) 65%, rgba(5, 10, 22, .07) 85%, rgba(5, 10, 22, 0) 100%); }
.section--light::after { bottom: 0; background: linear-gradient(to top, #050a16 0%, rgba(5, 10, 22, .84) 16%, rgba(5, 10, 22, .55) 38%, rgba(5, 10, 22, .24) 65%, rgba(5, 10, 22, .07) 85%, rgba(5, 10, 22, 0) 100%); }
.section--light > .container { position: relative; z-index: 1; }

/* Blocos claros como painéis flutuantes dentro do fundo escuro (sem corte total) */
.section--light { background: none; padding: clamp(36px, 6vw, 80px) 0; }
.section--light::before, .section--light::after { display: none; }
.section--light > .container {
  width: min(1200px, 100% - 28px);
  padding: clamp(36px, 6vw, 84px) clamp(20px, 5vw, 72px);
  border-radius: clamp(24px, 3.5vw, 44px);
  background:
    radial-gradient(60% 55% at 100% 0%, rgba(1, 193, 213, .14), transparent 70%),
    radial-gradient(55% 55% at 0% 100%, rgba(164, 124, 247, .16), transparent 70%),
    #eef3fb;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -50px rgba(1, 193, 213, .35), 0 30px 80px -40px rgba(0, 0, 0, .7);
}
.section--light .faq__inner { width: min(1000px, 100% - 28px); }
.section--light .section__head { margin-bottom: clamp(28px, 5vw, 56px); }

/* Painéis claros: menos espaço vazio à volta (o painel já tem o seu próprio preenchimento) */
.section--light { padding: clamp(0px, 1.5vw, 16px) 0; }
.section--light > .container { padding-block: clamp(32px, 5vw, 68px); }

/* Blocos claros de largura total, com cantos de cima e de baixo arredondados */
.section--light {
  padding: clamp(64px, 10vw, 120px) 0;
  border-radius: clamp(32px, 6vw, 84px);
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(1, 193, 213, .14), transparent 70%),
    radial-gradient(50% 50% at 0% 100%, rgba(164, 124, 247, .16), transparent 70%),
    #e4ebf7;
  box-shadow: 0 -30px 100px -40px rgba(1, 193, 213, .35), 0 30px 100px -40px rgba(164, 124, 247, .3);
}
.section--light > .container { width: min(1200px, 100% - 40px); padding: 0; border-radius: 0; background: none; box-shadow: none; }
.section--light .faq__inner { width: min(860px, 100% - 40px); }
.section--light .section__head { margin-bottom: clamp(36px, 6vw, 72px); }

/* Blocos claros sem cantos arredondados */
.section--light { border-radius: 0; box-shadow: none; }

/* ==========================================================================
   18. BARRA DE SCROLL NA MARCA
   ========================================================================== */
html { scrollbar-width: auto; scrollbar-color: #3b5ba9 var(--bg); }
::-webkit-scrollbar { width: 16px; height: 16px; }
::-webkit-scrollbar-track { background: var(--bg); border-left: 1px solid rgba(150, 180, 255, .08); }
::-webkit-scrollbar-thumb { background: #3b5ba9; border: 2px solid var(--bg); border-radius: 99px; min-height: 64px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-2); }
::-webkit-scrollbar-thumb:active { background: var(--cyan); }
::-webkit-scrollbar-corner { background: var(--bg); }

/* ==========================================================================
   19. PÁGINAS DE SERVIÇOS
   ========================================================================== */
.svc-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: min(80svh, 760px); padding: calc(var(--nav-h) + 48px) 0 96px; background: radial-gradient(ellipse at 75% 15%, rgba(10, 65, 139, .38), transparent 60%), radial-gradient(ellipse at 5% 100%, rgba(164, 124, 247, .16), transparent 55%), var(--bg); }
.svc-hero .hero__canvas { opacity: .8; }
.svc-hero__content { position: relative; z-index: 2; }
.svc-hero h1 { font-size: clamp(2.1rem, 5.6vw, 4rem); font-weight: 900; letter-spacing: -.035em; line-height: 1.08; margin: 18px 0 20px; max-width: 20ch; }
.svc-hero__lead { max-width: 60ch; color: var(--muted); font-size: 1.08rem; margin-bottom: 24px; }
.svc-hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-bottom: 32px; font-weight: 600; font-size: .92rem; }
.svc-hero__points li { display: inline-flex; align-items: center; gap: 10px; }
.svc-hero__gem { position: absolute; right: -14vmin; top: 50%; translate: 0 -50%; width: 70vmin; height: 70vmin; pointer-events: none; z-index: 1; opacity: .7; }
.svc-hero__gem i { position: absolute; border: 1px solid; border-radius: 6%; transform: rotate(45deg); animation: layerFloat 9s ease-in-out infinite; }
.svc-hero__gem i:nth-child(1) { inset: 0; border-color: rgba(164, 124, 247, .3); }
.svc-hero__gem i:nth-child(2) { inset: 17%; border-color: rgba(1, 193, 213, .35); background: linear-gradient(135deg, rgba(10, 65, 139, .25), transparent); animation-delay: -3s; animation-direction: reverse; }
.svc-hero__gem i:nth-child(3) { inset: 36%; border-color: rgba(164, 124, 247, .55); background: linear-gradient(135deg, rgba(164, 124, 247, .2), rgba(1, 193, 213, .08)); animation-delay: -6s; }

.crumbs { margin-bottom: 8px; font-family: var(--mono); font-size: .76rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs li { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.crumbs li + li::before { content: "/"; opacity: .45; }
.crumbs a { color: var(--cyan); }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

.svc-features { display: grid; gap: 16px; grid-template-columns: 1fr; }
.svc-features .card h3 { margin-bottom: 10px; }
@media (min-width: 700px) { .svc-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-features { grid-template-columns: repeat(3, 1fr); } }

.svc-steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: 1fr; }
.svc-steps li { position: relative; padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -40px rgba(11, 45, 107, .45); }
.svc-step__n { display: inline-block; margin-bottom: 12px; font-family: var(--mono); font-weight: 500; font-size: .85rem; color: var(--cyan-ink); }
.svc-steps h3 { margin-bottom: 8px; font-size: 1.2rem; }
.svc-steps p { color: var(--muted); font-size: .94rem; }
@media (min-width: 700px) { .svc-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .svc-steps { grid-template-columns: repeat(4, 1fr); } }
.svc-cta-inline { margin-top: 40px; text-align: center; }

.svc-links { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .svc-links { grid-template-columns: repeat(3, 1fr); } }
.svc-link { display: flex; flex-direction: column; gap: 6px; color: inherit; }
.svc-link .card__icon { margin-bottom: 16px; }
.svc-link p { flex: 1; }
.svc-link__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 700; font-size: .9rem; color: var(--cyan); }
.svc-link:hover .svc-link__go img { transform: translateX(4px); }
.svc-link__go img { transition: transform .3s var(--ease); }
.svc-inline { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--cyan); transform: translateZ(25px); }
.card__more:hover { text-shadow: 0 0 12px var(--cyan); }

/* ==========================================================================
   20. DROPDOWN "SERVIÇOS" (painel com ícones, descrições e redes sociais)
   ========================================================================== */
/* Telemóvel: lista simples sempre visível, por baixo de "Serviços" */
.nav__sub { display: block; margin-bottom: 8px; }
.mega { display: grid; justify-items: center; gap: 0; }
.nav__links .mega__item { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; font-size: 1rem; font-weight: 600; }
.mega__ic, .mega__tx small, .mega__go, .mega__all { display: none; }
.mega__nets { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin-bottom: 4px; }
.nav__links .mega__nets a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: .85rem; font-weight: 600; color: var(--cyan); }
.mega__nets img { width: 14px; height: 14px; }

@media (min-width: 960px) {
  .nav__dd { position: relative; }
  .nav__dd > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
  .nav__dd:hover > a::after, .nav__dd:focus-within > a::after { transform: translateY(1px) rotate(-135deg); }

  .nav__sub { position: absolute; top: calc(100% + 8px); left: 50%; width: 430px; margin: 0; padding: 10px; border-radius: 22px; text-align: left;
    background: linear-gradient(160deg, rgba(10, 30, 66, .96), rgba(6, 14, 32, .97)); backdrop-filter: blur(24px) saturate(160%); -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(1, 193, 213, .3); box-shadow: 0 30px 70px rgba(0, 0, 0, .6), 0 0 40px rgba(1, 193, 213, .12), inset 0 1px 0 rgba(255, 255, 255, .06);
    opacity: 0; visibility: hidden; transform: translate(-50%, -10px) scale(.97); transform-origin: top center; transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
  /* seta apontada ao link */
  .nav__sub::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: #0a1e42; border-left: 1px solid rgba(1, 193, 213, .3); border-top: 1px solid rgba(1, 193, 213, .3); transform: rotate(45deg); border-radius: 3px 0 0 0; }
  /* ponte invisível para o hover não cair entre o link e o painel */
  .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
  .nav__dd:hover .nav__sub, .nav__dd:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }

  .mega { display: grid; justify-items: stretch; gap: 2px; }
  .nav__links .mega__item { position: relative; display: flex; align-items: center; gap: 14px; padding: 11px 12px; border-radius: 15px; font-size: .95rem; text-align: left; color: var(--ink); transition: background .25s; }
  .nav__links .mega__item:hover, .nav__links .mega__item:focus-visible { background: linear-gradient(120deg, rgba(1, 193, 213, .16), rgba(164, 124, 247, .16)); color: #fff; text-shadow: none; }
  .mega__ic { display: grid; flex: none; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, rgba(1, 193, 213, .14), rgba(164, 124, 247, .14)); border: 1px solid rgba(1, 193, 213, .22); transition: box-shadow .3s, border-color .3s, transform .35s var(--ease); }
  .mega__item:hover .mega__ic { border-color: rgba(1, 193, 213, .7); box-shadow: 0 0 20px rgba(1, 193, 213, .45); transform: scale(1.06) rotate(-3deg); }
  .mega__tx { display: grid; gap: 1px; min-width: 0; }
  .mega__tx strong { font-size: .95rem; font-weight: 700; color: #fff; }
  .mega__tx small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
  .mega__go { display: block; flex: none; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--cyan); border-top: 2px solid var(--cyan); transform: translateX(-4px) rotate(45deg); opacity: 0; transition: opacity .25s, transform .3s var(--ease); }
  .mega__item:hover .mega__go, .mega__item:focus-visible .mega__go { opacity: 1; transform: translateX(0) rotate(45deg); }

  .mega__nets { display: flex; justify-content: flex-start; gap: 6px; margin: -2px 0 6px 72px; flex-wrap: nowrap; }
  .nav__links .mega__nets a { padding: 5px 11px; border-radius: 99px; font-size: .76rem; color: var(--ink); background: rgba(150, 180, 255, .08); border: 1px solid rgba(150, 180, 255, .14); transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease); }
  .nav__links .mega__nets a:hover { color: #fff; background: rgba(1, 193, 213, .18); border-color: rgba(1, 193, 213, .55); transform: translateY(-1px); text-shadow: none; }

  .nav__links .mega__all { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding: 12px 14px; border-radius: 13px; border-top: 1px solid rgba(150, 180, 255, .12); font-size: .82rem; font-weight: 700; color: var(--cyan); transition: background .25s; }
  .nav__links .mega__all:hover { background: rgba(1, 193, 213, .1); color: #fff; text-shadow: none; }
  .mega__all img { transition: transform .3s var(--ease); }
  .mega__all:hover img { transform: translateX(4px); }
}

/* ==========================================================================
   21. VERIFICADOR DE DOMÍNIOS (simples: nome | extensão | verificar)
   ========================================================================== */
.domain { padding: clamp(32px, 5vw, 56px) 0; }
.domain__box { max-width: 820px; margin-inline: auto; padding: clamp(22px, 4vw, 40px); border-radius: 24px; background: var(--glass); border: 1px solid var(--line); }
.domain__box h2 { margin-bottom: 20px; font-size: clamp(1.4rem, 3.4vw, 2.1rem); }

/* barra única: nome + extensão + botão */
.domain__bar { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 8px; border-radius: 20px; background: rgba(3, 10, 24, .7); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.domain__bar:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(1, 193, 213, .16), 0 0 26px rgba(1, 193, 213, .2); }
.domain__bar input { grid-column: 1 / -1; width: 100%; padding: 14px 14px; border: 0; background: none; font-family: var(--mono); font-size: 1.1rem; }
.domain__bar input:focus { outline: none; }
.domain__bar input::placeholder { color: rgba(147, 166, 196, .5); }
.domain__bar input[aria-invalid="true"] { color: #ff9db3; }
.domain__bar .dd--tld { min-width: 120px; }
.domain__bar .dd__btn { height: 100%; padding: 0 16px; border-radius: 14px; background: rgba(150, 180, 255, .08); border: 1px solid var(--line); font-family: var(--mono); font-weight: 500; }
.domain__bar .dd__list { min-width: 160px; right: auto; }
.domain__bar .btn { width: 100%; padding-inline: 26px; border-radius: 14px; }
@media (min-width: 620px) {
  .domain__bar { grid-template-columns: minmax(0, 1fr) auto auto; align-items: stretch; gap: 8px; }
  .domain__bar input { grid-column: auto; }
  .domain__bar .btn { width: auto; }
}
.domain__error { min-height: 1.3em; margin-top: 10px; font-size: .85rem; color: #ff8fa8; }

.domain__results { display: grid; gap: 8px; }
.domain__row { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; padding: 14px 18px; border-radius: 16px; background: rgba(3, 10, 24, .55); border: 1px solid var(--line); animation: rowIn .45s var(--ease) both; transition: border-color .3s, box-shadow .3s; }
@keyframes rowIn { from { opacity: 0; transform: translateY(8px); } }
.domain__name { font-family: var(--mono); font-size: 1rem; font-weight: 500; overflow-wrap: anywhere; }
.domain__status { display: inline-flex; align-items: center; gap: 8px; justify-self: end; padding: 4px 12px; border-radius: 99px; font-size: .78rem; font-weight: 700; color: var(--muted); background: rgba(150, 180, 255, .1); }
.domain__act { grid-column: 1 / -1; }
.domain__act:empty { display: none; }
.domain__row.is-loading .domain__status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--cyan); border-top-color: transparent; animation: spinD .8s linear infinite; }
@keyframes spinD { to { transform: rotate(360deg); } }
.domain__row.is-free { border-color: rgba(1, 193, 213, .5); box-shadow: 0 0 28px rgba(1, 193, 213, .14); }
.domain__row.is-free .domain__status { color: #04101f; background: linear-gradient(120deg, var(--cyan), #6fe3f0); }
.domain__row.is-taken .domain__name { color: var(--muted); }
.domain__row.is-taken .domain__status { color: #ff9db3; background: rgba(255, 107, 139, .12); }
.domain__btn { padding: 9px 18px; border-radius: 99px; font-size: .85rem; font-weight: 700; color: #04101f; background: var(--grad); transition: transform .3s var(--ease), box-shadow .3s; }
.domain__btn:hover { transform: translateY(-2px); box-shadow: 0 0 24px rgba(1, 193, 213, .5); }
.domain__btn--ghost { color: var(--ink); background: transparent; border: 1px solid rgba(1, 193, 213, .45); }
@media (min-width: 640px) {
  .domain__row { grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.1fr); }
  .domain__act { grid-column: auto; justify-self: end; }
  .domain__status { justify-self: start; }
}
.domain__more { margin-top: 12px; padding: 4px 2px; font-size: .88rem; font-weight: 700; color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.domain__more:hover { text-shadow: 0 0 12px var(--cyan); }
.domain__note { margin-top: 16px; font-size: .78rem; color: var(--muted); }


/* ==========================================================================
   22. MENU MÓVEL (abaixo de 960px): painel completo, acordeão em "Serviços"
   ========================================================================== */
.nav__dd-toggle { display: none; }

@media (max-width: 959px) {
  .nav__menu { position: fixed; inset: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: calc(var(--nav-h) + 8px) 24px max(28px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    background: radial-gradient(ellipse at 100% 0%, rgba(10, 65, 139, .55), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(164, 124, 247, .22), transparent 55%), #050a16; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .nav__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; max-width: 560px; margin: 0 auto; }
  .nav__links > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); }
  .nav__menu.is-open .nav__links > li { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + 120ms); }
  .nav__links > li:nth-child(1) { --i: 0; } .nav__links > li:nth-child(2) { --i: 1; } .nav__links > li:nth-child(3) { --i: 2; }
  .nav__links > li:nth-child(4) { --i: 3; } .nav__links > li:nth-child(5) { --i: 4; } .nav__links > li:nth-child(6) { --i: 5; }

  .nav__links > li > a { display: block; padding: 17px 4px; font-size: clamp(1.25rem, 5.4vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; text-align: left; color: #dbe7ff; }
  .nav__links > li > a:hover, .nav__links > li > a.is-active { color: #fff; text-shadow: 0 0 18px rgba(1, 193, 213, .6); }

  /* "Serviços" com seta para expandir */
  .nav__dd { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .nav__dd > a::after { display: none; }
  .nav__dd-toggle { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: rgba(150, 180, 255, .06); transition: background .3s, border-color .3s; }
  .nav__dd-toggle::before { content: ""; width: 9px; height: 9px; margin-top: -4px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .35s var(--ease); }
  .nav__dd.is-expanded .nav__dd-toggle { border-color: rgba(1, 193, 213, .5); background: rgba(1, 193, 213, .1); }
  .nav__dd.is-expanded .nav__dd-toggle::before { transform: translateY(4px) rotate(-135deg); }

  /* painel dos serviços: recolhido por defeito */
  .nav__sub { grid-column: 1 / -1; position: static; width: auto; margin: 0; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; opacity: 1; visibility: visible; transform: none; text-align: left; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
  .nav__sub::before, .nav__sub::after { display: none; }
  .nav__dd.is-expanded .nav__sub { max-height: 640px; padding-bottom: 12px; }

  .mega { display: grid; justify-items: stretch; gap: 2px; }
  .nav__links .mega__item { display: flex; align-items: center; gap: 14px; padding: 10px 8px; border-radius: 14px; font-size: 1rem; text-align: left; color: #fff; }
  .nav__links .mega__item:hover { background: rgba(1, 193, 213, .1); text-shadow: none; }
  .nav__links .mega__ic { display: grid; flex: none; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, rgba(1, 193, 213, .14), rgba(164, 124, 247, .14)); border: 1px solid rgba(1, 193, 213, .22); }
  .nav__links .mega__ic img { width: 24px; height: 24px; }
  .nav__links .mega__tx { display: grid; gap: 0; min-width: 0; }
  .nav__links .mega__tx strong { font-size: .98rem; font-weight: 700; }
  .nav__links .mega__tx small { display: block; font-size: .76rem; font-weight: 500; color: var(--muted); }
  .nav__links .mega__go, .nav__links .mega__all { display: none; }
  .nav__links .mega__nets { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; margin: 0 0 8px 64px; }
  .nav__links .mega__nets a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: .78rem; font-weight: 600; color: var(--ink); background: rgba(150, 180, 255, .08); border: 1px solid rgba(150, 180, 255, .14); }

  /* botão de proposta no fim, a toda a largura */
  .nav__menu .nav__cta { width: 100%; max-width: 560px; margin: 28px auto 0; padding: 16px 24px; font-size: 1rem; opacity: 0; transform: translateY(16px); }
  .nav__menu.is-open .nav__cta { opacity: 1; transform: none; transition: opacity .5s var(--ease) .45s, transform .5s var(--ease) .45s; }
}

@media (max-width: 959px) and (prefers-reduced-motion: reduce) {
  .nav__links > li, .nav__menu .nav__cta { opacity: 1; transform: none; transition: none !important; }
}

/* Desktop: garante que nada do painel móvel se aplica */
@media (min-width: 960px) {
  .nav__menu { height: auto; padding: 0; overflow: visible; background: none; flex-direction: row; align-items: center; }
  .nav__links > li { border: 0; opacity: 1; transform: none; }
}
@media (max-width: 959px) { .nav__logo { position: relative; z-index: 2; } }

/* Texto só para leitores de ecrã (global) */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Dropdown de extensões do verificador (estilos próprios, não dependem do contacto) */
:is(.domain, .domain-strip) .dd { position: relative; min-width: 0; }
:is(.domain, .domain-strip) .dd.is-open { z-index: 6; }
:is(.domain, .domain-strip) .dd__btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; background: rgba(150, 180, 255, .08); border: 1px solid var(--line); font-family: var(--mono); font-size: 1rem; font-weight: 500; color: var(--ink); text-align: left; transition: border-color .25s, background .25s; }
:is(.domain, .domain-strip) .dd__btn:hover, :is(.domain, .domain-strip) .dd.is-open .dd__btn { border-color: rgba(1, 193, 213, .6); background: rgba(1, 193, 213, .08); }
:is(.domain, .domain-strip) .dd__btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
:is(.domain, .domain-strip) .dd__chev { flex: none; width: 8px; height: 8px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
:is(.domain, .domain-strip) .dd.is-open .dd__chev { transform: translateY(2px) rotate(-135deg); }
:is(.domain, .domain-strip) .dd__list { position: absolute; z-index: 8; left: 0; top: calc(100% + 8px); min-width: 170px; max-height: 280px; overflow-y: auto; margin: 0; padding: 8px; border-radius: 16px; list-style: none; background: rgba(8, 18, 40, .97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(1, 193, 213, .35); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 30px rgba(1, 193, 213, .14); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.97); transform-origin: top; transition: opacity .2s, transform .3s var(--ease), visibility .2s; }
:is(.domain, .domain-strip) .dd.is-open .dd__list { opacity: 1; visibility: visible; transform: none; }
:is(.domain, .domain-strip) .dd__opt { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; border-radius: 10px; font-family: var(--mono); font-size: .95rem; cursor: pointer; transition: background .2s; }
:is(.domain, .domain-strip) .dd__opt.is-focus, :is(.domain, .domain-strip) .dd__opt:hover { background: linear-gradient(120deg, rgba(1, 193, 213, .2), rgba(164, 124, 247, .2)); }
:is(.domain, .domain-strip) .dd__opt[aria-selected="true"] { color: var(--cyan); }
:is(.domain, .domain-strip) .dd__opt[aria-selected="true"]::after { content: ""; width: 7px; height: 7px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 10px var(--cyan); }
/* barra: alturas iguais e sem esticar */
.domain__bar { align-items: stretch; }
.domain__bar input { min-height: 52px; padding-block: 0; }
.domain__bar .btn { min-height: 52px; }
.domain__bar .dd__btn { height: 100%; }

/* O dropdown do verificador abre por cima da secção seguinte: a secção do verificador tem de ficar acima */
.domain { position: relative; z-index: 20; }

/* Lista de extensões: duas colunas, sem scroll interno, sempre por cima */
:is(.domain, .domain-strip) .dd.is-open { z-index: 40; }
:is(.domain, .domain-strip) .dd__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; min-width: 290px; max-height: none; overflow: visible; }
@media (max-width: 619px) { :is(.domain, .domain-strip) .dd__list { right: 0; left: auto; min-width: 280px; } }

/* Navbar em desktop estreito (960 a 1139px): sem quebras de linha, mais compacta */
@media (min-width: 960px) {
  .nav__links a, .nav__cta, .nav__dd > a { white-space: nowrap; }
}
@media (min-width: 960px) and (max-width: 1139px) {
  .nav__menu { gap: 14px; }
  .nav__links a { padding: 10px 11px; font-size: .84rem; }
  .nav__links .nav__sub a, .nav__links .mega__item { font-size: .92rem; }
  .nav__cta { padding: 9px 16px; font-size: .8rem; }
  .nav__logo img { height: 40px; }
}

/* ==========================================================================
   23. POPUP DO FORMULÁRIO DE CONTACTO ("Pedir proposta")
   O formulário existente é movido para dentro do popup quando este abre
   e volta ao sítio quando fecha (por isso mantém validação e estilos).
   ========================================================================== */
html.modal-open { overflow: hidden; }
dialog.modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
dialog.modal:not([open]) { display: none; }
dialog.modal[open] { display: grid; place-items: start center; }
dialog.modal::backdrop { background: rgba(3, 7, 18, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
dialog.modal[open]::backdrop { animation: modalFade .3s ease both; }
.modal__panel { position: relative; width: min(760px, 100%); margin: clamp(8px, 4vh, 48px) auto; animation: modalIn .45s var(--ease) both; }
@keyframes modalFade { from { opacity: 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(10, 20, 44, .85); border: 1px solid rgba(150, 180, 255, .25); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.modal__close::before, .modal__close::after { content: ""; position: absolute; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); }
.modal__close::before { transform: rotate(45deg); } .modal__close::after { transform: rotate(-45deg); }
.modal__close:hover { border-color: var(--cyan); box-shadow: 0 0 18px rgba(1, 193, 213, .5); transform: rotate(90deg); }
.modal__body > .form { margin: 0; width: 100%; max-width: none; opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) { .modal__panel, dialog.modal[open]::backdrop { animation: none; } }

/* Popup: fundo do formulário opaco (não deixa ver a página por trás) */
.modal__body > .form { background: linear-gradient(160deg, #0b1b3a, #07122a 60%, #0a1230); border: 1px solid rgba(1, 193, 213, .3); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 60px rgba(1, 193, 213, .12); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Popup em telemóvel: o botão de fechar fica sempre visível, mesmo ao fazer scroll no formulário */
@media (max-width: 760px) {
  .modal__close { position: fixed; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 46px; height: 46px; background: rgba(10, 20, 44, .95); border-color: rgba(1, 193, 213, .5); box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
  dialog.modal { padding: 12px; }
  .modal__panel { margin: 60px auto 16px; }
}

/* ==========================================================================
   24. POPUP CURTO DO DOMÍNIO (registar / transferir)
   ========================================================================== */
#domainModal .modal__panel { width: min(520px, 100%); }
#domainModal .form.form--simple { grid-template-columns: minmax(0, 1fr); gap: 18px; background: linear-gradient(160deg, #0b1b3a, #07122a 60%, #0a1230); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 60px rgba(1, 193, 213, .12); }
#domainModal .form__head h3 { margin: 6px 0 12px; }
.domain-order__chip { display: inline-block; max-width: 100%; padding: 6px 14px; border-radius: 99px; font-family: var(--mono); font-size: .95rem; font-weight: 500; color: var(--cyan); background: rgba(1, 193, 213, .1); border: 1px solid rgba(1, 193, 213, .4); overflow-wrap: anywhere; }

/* ==========================================================================
   25. PÁGINAS DE SERVIÇOS: AFINAÇÕES PARA TELEMÓVEL
   ========================================================================== */
/* breadcrumb: o separador fica no fim do item (não no início da linha seguinte) */
.crumbs { margin-bottom: 16px; }
.crumbs li + li::before { content: none; }
.crumbs li:not(:last-child)::after { content: "/"; opacity: .45; margin-left: 8px; }
.crumbs ol { column-gap: 8px; row-gap: 4px; }
.section__head h2 { text-wrap: balance; }

/* barra fixa de contacto (só em telemóvel) */
.svc-sticky { display: none; }
@media (max-width: 760px) {
  .svc-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px max(12px, env(safe-area-inset-bottom)); background: #0a1226; border-top: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 -8px 24px rgba(0, 0, 0, .35); transform: translateY(115%); transition: transform .4s var(--ease); pointer-events: none; }
  .svc-sticky.is-on { transform: none; pointer-events: auto; }
  .svc-sticky .btn { width: 100%; padding-block: 15px; }
  .page-servico { padding-bottom: 82px; }

  /* ritmo vertical mais compacto */
  .page-servico .section { padding-block: clamp(44px, 11vw, 64px); }
  .page-servico .section--light { padding-block: clamp(48px, 12vw, 68px); }
  .page-servico .section__head { margin-bottom: 28px; }
  .page-servico .domain { padding-block: 24px; }

  /* hero */
  .svc-hero { min-height: 0; padding: calc(var(--nav-h) + 28px) 0 44px; }
  .svc-hero h1 { margin: 14px 0 16px; }
  .svc-hero__lead { font-size: 1rem; margin-bottom: 18px; }
  .svc-hero__points { flex-direction: column; gap: 10px; margin-bottom: 24px; }
  .svc-hero__gem { opacity: .3; right: -34vmin; }
  .svc-hero .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .svc-hero .hero__actions .btn { width: 100%; }
  .svc-cta-inline .btn { width: 100%; }
  .svc-cta-inline { margin-top: 28px; }

  /* cartões e passos com menos preenchimento */
  .svc-features .card { padding: 22px; border-radius: 20px; }
  .svc-steps li { padding: 22px 20px; }
  .svc-link { padding: 24px; }

  /* FAQ alinhada à esquerda, como as restantes secções */
  .page-servico #faq .section__head { margin-inline: 0; text-align: left; }
  .page-servico #faq .eyebrow { justify-content: flex-start; }
  .faq__item summary { padding: 18px 18px; gap: 12px; }
  .faq__item p { padding: 0 18px 20px; }
}
@media (max-width: 380px) {
  .svc-hero h1 { font-size: 1.95rem; }
  .domain__box { padding: 20px 16px; }
  .domain__row { padding: 12px 14px; }
}

/* Os dois popups (proposta e domínio) com exatamente o mesmo fundo opaco */
#contactModal .modal__body > .form,
#domainModal .modal__body > .form { background: linear-gradient(160deg, #0b1b3a, #07122a 60%, #0a1230); border: 1px solid rgba(1, 193, 213, .3); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 60px rgba(1, 193, 213, .12); backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ==========================================================================
   26. FAIXA DE DOMÍNIOS NA PÁGINA INICIAL
   ========================================================================== */
.domain-strip { position: relative; z-index: 20; display: grid; gap: 16px; margin-top: 16px; padding: clamp(20px, 3vw, 28px); border-radius: 26px; background: linear-gradient(120deg, rgba(10, 65, 139, .38), rgba(80, 98, 183, .16) 55%, rgba(164, 124, 247, .18)); border: 1px solid rgba(1, 193, 213, .28); }
.domain-strip__text { display: grid; gap: 4px; }
.domain-strip__text strong { font-size: clamp(1.1rem, 2.6vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; }
.domain-strip__text span { color: var(--muted); font-size: .92rem; }
.domain-strip .domain__error { margin-top: 6px; }
@media (min-width: 900px) {
  .domain-strip { grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: center; gap: 36px; }
  .domain-strip .domain__error { min-height: 0; }
}

/* Faixa de domínios: mesmo efeito dos cartões de serviço (borda neon, brilho que segue o cursor, sombra e tilt 3D) */
.domain-strip { border-color: var(--line); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .4s, border-color .4s; will-change: transform; }
.domain-strip::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--angle), transparent 0%, var(--cyan) 12%, var(--purple) 28%, transparent 40%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; animation: spin 4s linear infinite; pointer-events: none; }
.domain-strip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(1, 193, 213, .16), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.domain-strip:hover { box-shadow: 0 0 50px rgba(1, 193, 213, .15), 0 30px 60px rgba(0, 0, 0, .4); }
.domain-strip:hover::before, .domain-strip:hover::after, .domain-strip:focus-within::before, .domain-strip:focus-within::after { opacity: 1; }
/* ao escrever, a faixa fica estável (sem inclinar) */
.domain-strip:focus-within { transform: none; }

/* Cartões: a animação de entrada (.reveal) não pode apagar a transição do movimento 3D.
   Sem isto, ao tirar o rato o cartão "salta" para a posição inicial. */
.js .card.reveal { transition: opacity .9s var(--ease), translate .9s var(--ease), transform .35s var(--ease), box-shadow .4s; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s; will-change: opacity, translate, transform; }

/* Faixa de domínios: efeito simples (a pessoa vai preencher campos): sem inclinação, sem arco a girar, sem brilho a seguir o rato */
.domain-strip { transform: none; will-change: auto; transition: border-color .3s, box-shadow .3s, background .3s; }
.domain-strip::before, .domain-strip::after { display: none; }
.domain-strip:hover, .domain-strip:focus-within { border-color: rgba(1, 193, 213, .5); box-shadow: 0 0 40px rgba(1, 193, 213, .12); }

/* Ícone do serviço no hero das páginas de serviços */
.svc-hero__gemicon { display: none; position: absolute; inset: 0; margin: auto; width: 26%; height: auto; filter: drop-shadow(0 0 26px rgba(1, 193, 213, .6)); }
@media (min-width: 900px) { .svc-hero__gemicon { display: block; } .svc-hero__gem { opacity: .95; } }


/* Ícones de rede no hero: o LinkedIn (quadrado cheio) era o que mais pesava; ajusta-se cada um ao seu peso visual */
.svc-hero__gemicon--linkedin { width: 18%; }
.svc-hero__gemicon--facebook { width: 22%; }
.svc-hero__gemicon--instagram { width: 22%; }

/* ==========================================================================
   27. AFINAÇÕES GERAIS PARA TELEMÓVEL (página inicial, rodapé e 404)
   ========================================================================== */
@media (max-width: 760px) {
  /* hero da página inicial: botões a toda a largura e losangos mais discretos atrás do texto */
  .hero .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero .hero__actions .btn { width: 100%; }
  .hero__layers { opacity: .4; }
  .hero__lead { font-size: 1rem; margin-bottom: 28px; }

  /* "Porquê": o losango central não toca no primeiro pilar */
  .why__core { margin: 0 auto 38px; }

  /* rodapé: serviços em duas colunas de ligações (sem quebras de linha), empresa e CTA por baixo */
  .footer__col[aria-label="Serviços"] { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer__col[aria-label="Serviços"] h4 { grid-column: 1 / -1; }
  .footer__col a:not(.btn) { padding-block: 2px; }
  .footer__bottom { flex-direction: column; gap: 6px; }

  /* 404 */
  .e404 { padding-top: 96px; }
  .e404__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .e404__actions .btn { width: 100%; }
}

/* ==========================================================================
   28. BOTÃO "SABER MAIS" DOS CARTÕES DE SERVIÇO (página inicial)
   Fixo à mesma distância do fundo e da margem em todos os cartões, por isso fica sempre alinhado.
   ========================================================================== */
.bento .card { --pad: 28px; padding: var(--pad) var(--pad) 96px; }
@media (min-width: 760px) { .bento .card { --pad: 34px; padding: var(--pad) var(--pad) 100px; } }
.bento .card__more { position: absolute; left: var(--pad); bottom: 30px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 12px 22px; border-radius: 99px; border: 1px solid rgba(1, 193, 213, .5); background: rgba(1, 193, 213, .1); color: #fff; font-size: .9rem; font-weight: 700; line-height: 1; text-shadow: none; transform: translateZ(30px); transition: background .3s, border-color .3s, box-shadow .3s, color .3s; }
.bento .card__more img { transition: transform .3s var(--ease), filter .3s; }
.bento .card__more:hover, .bento .card__more:focus-visible { background: var(--grad); border-color: transparent; color: #04101f; box-shadow: 0 0 28px rgba(1, 193, 213, .45); text-shadow: none; }
.bento .card__more:hover img, .bento .card__more:focus-visible img { transform: translateX(4px); filter: brightness(.1); }
/* O cartão de Sites é uma grelha: o botão posiciona-se em relação ao cartão e não à coluna */
.bento .card--sites > .card__more { grid-column: auto; grid-row: auto; }

/* Redes sociais na página 404 (sem rodapé) */
.e404__social { justify-content: center; margin-top: 34px; }

/* ==========================================================================
   29. PÁGINAS LEGAIS (privacidade e cookies), RODAPÉ LEGAL E INTEGRAÇÕES
   ========================================================================== */
.legal-hero { padding: calc(var(--nav-h) + 56px) 0 40px; background: radial-gradient(ellipse at 85% 0%, rgba(10, 65, 139, .35), transparent 60%), radial-gradient(ellipse at 0% 100%, rgba(164, 124, 247, .12), transparent 55%), var(--bg); border-bottom: 1px solid var(--line); }
.legal__back { display: inline-block; margin-bottom: 22px; font-family: var(--mono); font-size: .8rem; color: var(--cyan); }
.legal__back:hover { text-decoration: underline; }
.legal-hero h1 { margin: 14px 0 12px; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.08; }
.legal-hero__lead { max-width: 60ch; color: var(--muted); font-size: 1.08rem; }
.legal__date { margin-top: 14px; font-family: var(--mono); font-size: .78rem; color: var(--muted); }

.legal { padding: 40px 0 clamp(64px, 9vw, 110px); }
.legal__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.legal__toc { padding: 22px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.legal__toc h2 { margin-bottom: 12px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.legal__toc ol { display: grid; gap: 2px; }
.legal__toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: .9rem; color: var(--muted); transition: background .25s, color .25s; }
.legal__toc a span { padding-top: 2px; font-family: var(--mono); font-size: .75rem; color: var(--purple); }
.legal__toc a:hover { background: rgba(1, 193, 213, .1); color: #fff; }
.legal__other { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.legal__other a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 960px) {
  .legal__grid { grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; }
  .legal__toc { position: sticky; top: calc(var(--nav-h) + 24px); }
}
.legal__body { max-width: 80ch; }
.legal__sec { padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 20px); }
.legal__sec:first-child { padding-top: 0; }
.legal__sec:last-child { border-bottom: 0; }
.legal__sec h2 { display: flex; gap: 16px; align-items: baseline; margin-bottom: 16px; font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.legal__n { font-family: var(--mono); font-size: .85rem; font-weight: 500; color: var(--purple); }
.legal__sec h3 { margin: 20px 0 8px; font-size: 1.02rem; color: #fff; }
.legal__sec p { margin-bottom: 14px; color: #b4c3dc; }
.legal__sec ul { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; }
.legal__sec li { position: relative; padding-left: 22px; color: #b4c3dc; }
.legal__sec li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; background: var(--cyan); transform: rotate(45deg); }
.legal__sec a:not(.btn) { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal__sec strong { color: #fff; }
.legal__table-wrap { overflow-x: auto; margin: 6px 0 16px; border: 1px solid var(--line); border-radius: 14px; }
.legal__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .9rem; }
.legal__table th, .legal__table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table th { font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); background: rgba(150, 180, 255, .05); }
.legal__table td { color: #b4c3dc; }
.legal__table code { font-family: var(--mono); color: var(--cyan); }
.legal__cookie-btn { margin-top: 4px; }

/* rodapé: ligações legais */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a { color: var(--muted); font-size: .85rem; transition: color .3s; }
.footer__legal a:hover { color: var(--cyan); }
@media (max-width: 760px) { .footer__legal { flex-direction: column; gap: 6px; } }

/* integrações de pagamento */
.svc-note { max-width: 80ch; margin-top: 28px; font-size: .78rem; color: var(--muted); }
.svc-links--4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .svc-links--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .svc-links--4 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   30. BARRA DE CONSENTIMENTO DE COOKIES
   ========================================================================== */
html.ck-open { overflow: hidden; }
/* no computador a barra não bloqueia o site: sem fundo escurecido e com scroll livre */
@media (min-width: 761px) { html.ck-open { overflow: visible; } .ck-backdrop { display: none !important; } }
.ck-backdrop { position: fixed; inset: 0; z-index: 150; background: rgba(3, 7, 18, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.ck-backdrop[hidden] { display: none; }
.ck-box { position: fixed; z-index: 160; left: 20px; bottom: 20px; width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 40px); overflow-y: auto; padding: 26px 26px 22px; border-radius: 22px; background: linear-gradient(160deg, #0b1b3a, #07122a 60%, #0a1230); border: 1px solid rgba(1, 193, 213, .32); box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 50px rgba(1, 193, 213, .12); animation: ckIn .45s var(--ease) both; }
.ck-box[hidden] { display: none; }
@keyframes ckIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.ck-box h2 { margin: 0 0 12px; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.ck-box p { margin: 0 0 20px; font-size: .92rem; line-height: 1.6; color: var(--muted); }
.ck-box p a { color: var(--cyan); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ck-options { display: grid; gap: 10px; margin: 0 0 18px; }
.ck-options[hidden] { display: none; }
.ck-opt { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .25s, background .25s; }
.ck-opt:hover { border-color: rgba(1, 193, 213, .6); }
.ck-opt.is-locked { cursor: default; background: rgba(150, 180, 255, .05); }
.ck-opt.is-locked:hover { border-color: var(--line); }
.ck-opt input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cyan); }
.ck-opt span { display: block; min-width: 0; }
.ck-opt strong { display: block; margin-bottom: 3px; font-size: .98rem; font-weight: 700; }
.ck-opt small { display: block; font-size: .82rem; line-height: 1.5; color: var(--muted); }
.ck-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ck-btn { min-height: 48px; padding: 0 16px; border: 1px solid transparent; border-radius: 99px; background: var(--grad); color: #04101f; font-size: .92rem; font-weight: 700; cursor: pointer; transition: box-shadow .3s, transform .3s var(--ease); }
.ck-btn:hover { box-shadow: 0 0 26px rgba(1, 193, 213, .45); transform: translateY(-1px); }
.ck-btn--ghost { background: transparent; border-color: rgba(1, 193, 213, .5); color: var(--ink); }
.ck-btn:focus-visible, .ck-link:focus-visible, .ck-fab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.ck-link { display: block; margin: 14px auto 0; padding: 6px; border: 0; background: none; color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ck-save { width: 100%; margin-top: 10px; }
.ck-save[hidden], .ck-link[hidden] { display: none; }
.ck-fab { position: fixed; z-index: 95; left: 16px; bottom: 16px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(1, 193, 213, .45); background: rgba(10, 20, 44, .94); color: var(--cyan); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); cursor: pointer; transition: box-shadow .3s, transform .3s var(--ease); }
.ck-fab:hover { box-shadow: 0 0 24px rgba(1, 193, 213, .5); transform: scale(1.06); }
.ck-fab[hidden] { display: none; }
@media (max-width: 760px) {
  .ck-box { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 22px 20px 18px; }
  .page-servico .ck-fab { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) { .ck-box { animation: none; } }

/* páginas legais: "Voltar ao início" numa linha própria */
.legal__back { display: block; width: fit-content; }

/* FAQ: a resposta alinha exatamente com o texto da pergunta (o número ocupa sempre a mesma largura) */
.faq__item { --fp: 26px; --fg: 18px; --fn: 24px; }
.faq__item summary { padding-inline: var(--fp); gap: var(--fg); }
.faq__item summary::before { flex: none; width: var(--fn); }
.faq__item p { padding-left: calc(var(--fp) + var(--fn) + var(--fg)); padding-right: var(--fp); }
@media (max-width: 760px) { .faq__item { --fp: 18px; --fg: 12px; --fn: 22px; } }
