/* Ápex Cold Sistem — landing page
   Paleta derivada da logo: preto profundo, aço escovado e azul elétrico. */
:root {
  --ink: #05080f;
  --navy-900: #0a1322;
  --navy-800: #101d33;
  --navy-700: #182a47;
  --blue-600: #0b6ff2;
  --blue-500: #1a8cff;
  --blue-400: #4fb0ff;
  --blue-100: #e3f0ff;
  --steel-300: #c9ced6;
  --steel-100: #eef1f5;
  --ice-50: #f5f8fc;
  --gray-500: #5b6778;
  --gray-700: #2f3a4b;
  --white: #fff;
  --wa: #25d366;
  --wa-dark: #1da851;

  --font-display: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow: 0 24px 60px rgba(5, 18, 40, .14);
  --shadow-sm: 0 8px 24px rgba(5, 18, 40, .08);
  --ease: 220ms cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; background: var(--white); padding: 8px 14px; border-radius: 8px; transform: translateY(-200%); }
.skip-link:focus { transform: none; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1.2; text-align: center; transition: transform var(--ease), background var(--ease), box-shadow var(--ease), border-color var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37, 211, 102, .32); }
.btn--wa:hover { background: var(--wa-dark); box-shadow: 0 14px 32px rgba(37, 211, 102, .4); }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--outline { border-color: var(--steel-300); color: var(--ink); background: var(--white); }
.btn--outline:hover { border-color: var(--wa); }
.ico--wa { color: var(--wa-dark); }
.btn--sm { padding: .65em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn--xl { padding: 1.15em 2.2em; font-size: 1.15rem; }
.btn--block { width: 100%; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); margin-bottom: .9em; }
.eyebrow--light { color: var(--blue-400); }
.grad { background: linear-gradient(92deg, #7cc4ff 0%, var(--blue-500) 55%, #d9e2ee 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Topo ---------- */
.topbar { background: var(--ink); color: #aab4c3; font-size: .8rem; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar p { margin: 0; }
.topbar strong { color: #fff; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; white-space: nowrap; }
.topbar .ico { color: var(--wa); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(5, 8, 15, .94); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.header__inner { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: #d5dbe4; font-weight: 500; font-size: .95rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--blue-500); transform: scaleX(0); transition: transform var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform var(--ease), opacity var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(5, 8, 15, .92) 0%, rgba(5, 8, 15, .7) 38%, rgba(5, 8, 15, .2) 62%, rgba(5, 8, 15, 0) 100%),
  linear-gradient(0deg, rgba(5, 8, 15, .55) 0%, rgba(5, 8, 15, 0) 28%),
  radial-gradient(60% 80% at 10% 20%, rgba(26, 140, 255, .18), transparent 70%); }
.hero__inner { min-height: min(calc(100vh - 112px), 720px); display: flex; align-items: center; padding: 72px 0 84px; }
.hero__content { max-width: 600px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; margin-bottom: .45em; }
.hero__lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: #c3ccd8; max-width: 540px; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-md); background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.hero__trust li { padding: 14px 18px; display: flex; flex-direction: column; line-height: 1.35; }
.hero__trust li + li { border-left: 1px solid rgba(255, 255, 255, .12); }
.hero__trust strong { font-family: var(--font-display); font-size: .98rem; }
.hero__trust span { font-size: .8rem; color: #9eabbd; }
.hero__tag { position: absolute; right: 20px; top: 18px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .75); background: rgba(5, 8, 15, .55); padding: 6px 10px; border-radius: 999px; }

/* ---------- Clientes (marquee) ---------- */
.clients { padding: 34px 0 30px; border-bottom: 1px solid var(--steel-100); }
.clients__title { text-align: center; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; width: 184px; height: 92px; display: grid; place-items: center; padding: 16px 22px; background: var(--white); border: 1px solid var(--steel-100); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.marquee__track img { max-height: 46px; max-width: 132px; width: auto; height: auto; object-fit: contain; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section--ice { background: var(--ice-50); }
.section--dark { background: var(--navy-900); color: #fff; background-image: radial-gradient(70% 90% at 50% 0%, rgba(26, 140, 255, .14), transparent 70%); }
.section-head { margin-bottom: 48px; }
.section-head p { color: var(--gray-500); margin: 0; }
.section-head h2 { margin-bottom: 0; }
.section-head--split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.section-head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.section-head--center h2 { margin-bottom: .45em; }
.section--dark .section-head p { color: #a9b5c6; }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; border-radius: var(--radius-md); overflow: hidden; min-height: 440px; display: flex; color: #fff; background: var(--navy-900); box-shadow: var(--shadow-sm); isolation: isolate; transition: transform var(--ease), box-shadow var(--ease); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 600ms ease; }
.service-card:hover > img { transform: scale(1.05); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 8, 15, .05) 20%, rgba(5, 8, 15, .72) 52%, rgba(5, 8, 15, .96) 100%); }
.service-card__body { margin-top: auto; padding: 26px; }
.service-card__tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cfe6ff; background: rgba(26, 140, 255, .28); border: 1px solid rgba(79, 176, 255, .45); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: .35em; }
.service-card p { color: #c7d0dc; font-size: .93rem; margin-bottom: 1.1em; }

.cta-strip { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 32px; border-radius: var(--radius-md); background: linear-gradient(110deg, var(--navy-900), var(--navy-700)); color: #fff; }
.cta-strip div { display: flex; flex-direction: column; }
.cta-strip strong { font-family: var(--font-display); font-size: 1.2rem; }
.cta-strip span { color: #a9b5c6; font-size: .95rem; }
.cta-strip--light { background: var(--ice-50); color: var(--ink); border: 1px solid var(--steel-100); }
.cta-strip--light span { color: var(--gray-500); }

/* Diferenciais */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px; border: 1px solid var(--steel-100); border-radius: var(--radius-md); background: var(--white); transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.feature:hover { border-color: #cfe3fb; box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.feature h3 { margin-bottom: .4em; }
.feature p { color: var(--gray-500); font-size: .95rem; margin: 0; }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-100); color: var(--blue-600); margin-bottom: 18px; }
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature--highlight { background: linear-gradient(150deg, var(--navy-900), var(--navy-700)); color: #fff; border: 0; position: relative; overflow: hidden; }
.feature--highlight::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(26, 140, 255, .45), transparent 70%); }
.feature--highlight p { color: #b8c4d4; }
.feature__big { display: flex; align-items: baseline; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; margin-bottom: 16px; }
.feature__big small { font-size: 1rem; font-weight: 600; color: var(--blue-400); text-transform: uppercase; letter-spacing: .1em; }
.section-cta { margin-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.section-cta__note { font-size: .85rem; color: var(--gray-500); }

/* Processo */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, rgba(79, 176, 255, .5), transparent); }
.steps li { text-align: center; position: relative; }
.steps span { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-600); font-family: var(--font-display); font-weight: 700; box-shadow: 0 0 0 8px rgba(26, 140, 255, .15); }
.steps h3 { font-size: 1.1rem; }
.steps p { color: #a9b5c6; font-size: .93rem; margin: 0; }

/* Avaliações (estilo Google) */
.reviews { padding: 72px 0 80px; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.reviews__head h2 { margin: 0; }
.reviews__arrows { display: flex; gap: 10px; }
.reviews__nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--steel-100); background: var(--white); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--ink); transition: border-color var(--ease); }
.reviews__nav:hover { border-color: var(--blue-500); }
.reviews__nav svg { width: 20px; height: 20px; }
.reviews__nav--prev svg { transform: rotate(180deg); }
.reviews__track { list-style: none; margin: 0 -8px; padding: 8px 8px 16px; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.reviews__track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 calc((100% - 72px) / 3.2); min-width: 280px; scroll-snap-align: start; position: relative; background: var(--white); border: 1px solid #e6ebf1; border-radius: 16px; padding: 28px 30px 30px; box-shadow: 0 4px 14px rgba(15, 30, 60, .06); }
.review-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.review-card__avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-weight: 600; font-size: 1.1rem; letter-spacing: .02em; }
.review-card__who { min-width: 0; flex: 1; }
.review-card__who strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 1.08rem; font-weight: 600; color: #111827; line-height: 1.3; }
.review-card__who span { display: block; font-size: .9rem; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review-card__g { width: 24px; height: 24px; align-self: flex-start; flex: none; }
.review-card__rating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.review-card__stars { color: #f5a524; font-size: 1.15rem; letter-spacing: 3px; }
.review-card__date { font-size: .9rem; color: #6b7280; }
.review-card__text { margin: 0; color: #374151; font-size: 1.02rem; line-height: 1.65; }
.review-card__demo { position: absolute; left: 30px; bottom: 8px; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: #c2410c; }

/* Trabalhos realizados */
.eyebrow--pill { display: inline-block; background: var(--blue-100); color: var(--blue-600); padding: 6px 14px; border-radius: 999px; }
.section-head h2 em { font-style: italic; padding-right: .06em; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -12px 0 36px; }
.filters button { padding: 9px 20px; border-radius: 999px; border: 1px solid #d5dde8; background: var(--white); color: var(--gray-700); font-weight: 600; font-size: .92rem; transition: background var(--ease), color var(--ease), border-color var(--ease); }
.filters button:hover { border-color: var(--blue-500); }
.filters button.is-active { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.works { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-card { background: var(--white); border: 1px solid #e3e9f0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--ease), box-shadow var(--ease); }
.work-card[hidden] { display: none; }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.work-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.work-card:hover .work-card__media img { transform: scale(1.05); }
.work-card__tag { position: absolute; top: 14px; left: 14px; background: var(--blue-600); color: #fff; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.work-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.work-card__body h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.work-card__meta { display: flex; align-items: center; gap: 6px; color: var(--gray-500); font-size: .9rem; margin-bottom: 16px; }
.work-card__meta svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; }
.work-card__more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: var(--blue-600); font-weight: 600; font-size: .95rem; }
.work-card__more svg { width: 16px; height: 16px; transition: transform var(--ease); }
.work-card__more:hover svg { transform: translateX(3px); }

/* Barra fixa de orçamento (somente celular) */
.mobile-cta { display: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.faq__intro { position: sticky; top: 110px; }
.faq__intro p:not(.eyebrow) { color: var(--gray-500); }
.faq__list details { border-bottom: 1px solid var(--steel-100); }
.faq__list summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--steel-300); display: grid; place-items: center; font-family: var(--font-body); font-weight: 400; transition: background var(--ease), color var(--ease); }
.faq__list details[open] summary::after { content: "−"; background: var(--ink); color: #fff; border-color: var(--ink); }
.faq__list details p { color: var(--gray-500); padding-right: 44px; }

/* CTA final */
.final-cta { position: relative; color: #fff; padding: 100px 0; background: var(--ink) url("../img/cta-bg.webp") center / cover no-repeat; isolation: isolate; }
.final-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5, 8, 15, .97) 0%, rgba(5, 8, 15, .9) 50%, rgba(10, 19, 34, .82) 100%), radial-gradient(50% 70% at 20% 50%, rgba(26, 140, 255, .25), transparent 70%); }
.final-cta__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.final-cta__logo { width: 100%; max-width: 380px; margin-inline: auto; }
.final-cta h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; }
.checklist li { display: flex; align-items: center; gap: 10px; color: #d6dde7; }
.checklist svg { width: 22px; height: 22px; flex: none; color: #fff; background: var(--blue-600); border-radius: 50%; padding: 4px; }
.final-cta__phone { margin: 16px 0 0; color: #9eabbd; font-size: .92rem; }
.final-cta__phone a { color: #fff; font-weight: 600; }

/* Rodapé */
.footer { background: var(--ink); color: #9eabbd; padding: 56px 0 24px; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.footer__logo { height: 44px; width: auto; margin-bottom: 14px; }
.footer h2 { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer a:hover { color: #fff; }
.footer__bottom { padding-top: 20px; font-size: .82rem; }
.footer__bottom p { margin: 0; }

/* Botão flutuante */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; }
.wa-float__label { background: var(--white); color: var(--ink); font-weight: 600; font-size: .88rem; padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow); transition: opacity var(--ease), transform var(--ease); }
.wa-float__btn { width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); position: relative; }
.wa-float__btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
.wa-float__btn svg { width: 34px; height: 34px; }
.wa-float:hover .wa-float__btn { background: var(--wa-dark); }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

/* Pop-up */
.popup { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.popup[hidden] { display: none; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(5, 8, 15, .62); backdrop-filter: blur(3px); animation: fade 250ms ease; }
.popup__card { position: relative; width: min(780px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); animation: pop 320ms cubic-bezier(.2, .8, .2, 1); }
.popup__media { position: relative; background: var(--ink); }
.popup__media > img:first-child { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.popup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 15, .75), transparent 45%); }
.popup__logo { position: absolute; top: 18px; left: 18px; z-index: 1; height: 36px; width: auto; }
.popup__body { padding: 36px 32px 28px; display: flex; flex-direction: column; justify-content: center; }
.popup__body h2 { font-size: 1.55rem; }
.popup__body p:not(.eyebrow) { color: var(--gray-500); font-size: .95rem; margin-bottom: 1.4em; }
.popup__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: 0 2px 10px rgba(0, 0, 0, .15); font-size: 1.4rem; line-height: 1; color: var(--ink); }
.popup__dismiss { margin-top: 12px; background: none; border: 0; color: var(--gray-500); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 110; background: rgba(5, 8, 15, .94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 150px); width: auto; border-radius: 10px; }
.lightbox figcaption { color: #c3ccd8; margin-top: 12px; font-size: .92rem; text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.6rem; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--prev svg { transform: rotate(180deg); }
.lightbox__nav--next { right: 12px; }

/* Revelação ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .services, .features { grid-template-columns: repeat(2, 1fr); }
  .review-card { flex-basis: calc((100% - 24px) / 2.2); }
  .works { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  .topbar p { display: none; }
  .topbar__inner { justify-content: center; }
  .header__inner { min-height: 64px; gap: 12px; }
  .brand img { height: 36px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08); padding: 8px 20px 18px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--ease), transform var(--ease), visibility var(--ease); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav a::after { display: none; }
  .header__cta { margin-left: auto; }

  .hero__media { position: relative; inset: auto; z-index: 0; display: block; }
  .hero__media img { height: auto; }
  .hero::before { display: none; }
  .hero__inner { min-height: auto; padding: 0 0 44px; margin-top: -48px; position: relative; }
  .hero__actions .btn { width: 100%; }
  .hero__actions { margin-bottom: 28px; }
  .hero__tag { top: 14px; right: 14px; }

  .section { padding: 68px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head--split { grid-template-columns: 1fr; gap: 12px; }
  .cta-strip { flex-direction: column; align-items: stretch; text-align: center; padding: 24px; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
  .steps::before { display: none; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq__intro { position: static; }
  .final-cta { padding: 72px 0 84px; }
  .final-cta__inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .final-cta__logo { max-width: 220px; }
  .checklist { grid-template-columns: 1fr; text-align: left; max-width: 360px; margin-inline: auto; margin-bottom: 28px; }
  .final-cta .btn--xl { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .popup__card { grid-template-columns: 1fr; max-width: 420px; }
  .popup__media { height: 170px; }
  .popup__body { padding: 24px 22px 18px; }
  .popup__body h2 { font-size: 1.3rem; }
  .lightbox { padding: 56px 12px; }
  .reviews { padding: 56px 0 60px; }
  .reviews__arrows { display: none; }
  .reviews__head { margin-bottom: 20px; }
  .mobile-cta { display: flex; align-items: center; justify-content: center; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; min-height: 60px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--wa); color: #0a0a0a; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; box-shadow: 0 -6px 20px rgba(5, 8, 15, .18); }
  .mobile-cta svg { width: 22px; height: 22px; }
  .mobile-cta:active { background: var(--wa-dark); }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
}

@media (max-width: 640px) {
  .services, .features { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .hero__trust { grid-template-columns: 1fr; }
  .hero__trust li { flex-direction: row; align-items: baseline; gap: 8px; padding: 11px 16px; }
  .hero__trust li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .review-card { flex-basis: 86%; min-width: 0; padding: 22px 22px 24px; }
  .review-card__avatar { width: 48px; height: 48px; font-size: 1rem; }
  .works { grid-template-columns: 1fr; }
  .header__cta span { display: none; }
  .header__cta { padding: .6em; }
  .header__cta .ico { width: 1.5em; height: 1.5em; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__label { display: none; }
  .marquee__track li { width: 150px; height: 80px; padding: 12px 16px; }
  .marquee__track img { max-width: 112px; max-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee { overflow-x: auto; }
}
