/* =====================================================================
   Dlinger Serviço Digital · estilos
   ===================================================================== */
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text); background: var(--bg); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --bg: #f4efe9; --bg-2: #ece4da; --text: #2b2526; --muted: #625757; --accent: #a32e25; --button: #ad352c; --button-ink: #fff;
  --panel: #fbf7f2; --line: #d6cac2; --radius: 14px; --shadow: 0 10px 30px #2b252614; --shadow-lg: 0 24px 60px #2b252626;
  --ease: cubic-bezier(.2, .7, .2, 1);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
.wrap { max-width: 1240px; width: calc(100% - clamp(32px, 8vw, 120px)); margin-inline: auto; }
.narrow { max-width: 860px; }

/* ---------------------------------------------------------------- transições entre páginas */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
.site-head { view-transition-name: site-head; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- efeitos de entrada */
.anim-in { animation: rise .8s var(--ease) both; }
.anim-in.d1 { animation-delay: .08s; } .anim-in.d2 { animation-delay: .16s; } .anim-in.d3 { animation-delay: .24s; } .anim-in.d4 { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease) var(--delay, 0ms), transform .7s var(--ease) var(--delay, 0ms); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
}

/* ---------------------------------------------------------------- cabeçalho */
.site-head { position: sticky; top: 0; z-index: 20; background: #f4efe9e6; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px #2b25260f; background: #f4efe9f2; }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; transition: min-height .3s var(--ease); }
.site-head.scrolled .head-inner { min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; font-size: 30px; font-weight: 850; letter-spacing: -.085em; line-height: 1; color: var(--text); }
.brand-mark { display: inline-grid; place-content: center; margin-right: 10px; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(145deg, #c2453a, #8f241c); color: #fff; font-size: 20px; letter-spacing: 0; box-shadow: 0 6px 16px #ad352c40; }
.brand-dot { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 34px); }
.main-nav a { position: relative; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; padding: 6px 0; transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--text); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta-mobile { display: none; }
.head-account { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 20px); }
.account-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text); background: none; border: 0; padding: 6px 2px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.account-link:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; color: var(--text); place-content: center; }

/* ---------------------------------------------------------------- botões */
.button { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 44px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--text); background: transparent; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s, background .2s, filter .2s; }
.button:hover { border-color: var(--accent); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button.primary, .head-cta { background: linear-gradient(145deg, #bb3f34, #9c2b22); color: var(--button-ink); border-color: transparent; box-shadow: 0 8px 20px #ad352c40; }
.button.primary:hover, .head-cta:hover { box-shadow: 0 12px 28px #ad352c59; filter: brightness(1.05); }
.button.primary::after, .head-cta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, #ffffff40 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.button.primary:hover::after, .head-cta:hover::after { transform: translateX(120%); }
.button.secondary { background: var(--panel); }
.button.big { min-height: 54px; padding: 13px 26px; font-size: 16px; }
.button.light { background: #fff; color: var(--accent); border-color: #fff; }
.button.ghost-light { color: #fff; border-color: #ffffff80; }
.button.ghost-light:hover { border-color: #fff; background: #ffffff1a; }
.text-link, .link-button { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 750; text-decoration: none; background: none; border: 0; padding: 0; }
.text-link svg { transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.link-plain { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; }
.link-plain:hover { color: var(--accent); }

/* ---------------------------------------------------------------- tipografia e seções */
.eyebrow, .kicker { font-size: 13px; letter-spacing: .16em; color: var(--accent); font-weight: 800; text-transform: uppercase; }
.eyebrow { margin-bottom: 18px; }
.kicker { display: block; margin-bottom: 8px; letter-spacing: .14em; }
h1 { font: 500 clamp(50px, 8vw, 118px)/.98 Georgia, serif; letter-spacing: -.07em; }
h1 em, h2 em { color: var(--accent); font-style: italic; }
h2 { font: 500 clamp(30px, 3.6vw, 52px)/1.05 Georgia, serif; letter-spacing: -.06em; }
.small-title { font: 500 clamp(24px, 2.4vw, 32px)/1.1 Georgia, serif; letter-spacing: -.04em; margin-bottom: 16px; }
.intro, .lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); max-width: 46ch; margin-top: 20px; }
.muted-text { color: var(--muted); margin-top: 12px; }
.section { padding-block: clamp(56px, 8vw, 100px); }
.section.alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head > p { color: var(--muted); max-width: 44ch; }

/* ---------------------------------------------------------------- início */
.hero { min-height: calc(100vh - 78px); max-height: 860px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 5vw, 80px); padding-block: 40px 60px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.trust { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: 14px; }
.trust li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 7px; }
.trust.vertical { flex-direction: column; margin-top: 18px; }
.hero-visual { position: relative; align-self: stretch; min-height: 420px; }
.hero-image, .service-image, .svc-row-img, .svc-hero-img, .wz-pick-img { background-size: cover; background-position: center; }
.hero-image { position: absolute; inset: 20px 0; border-radius: 28px; box-shadow: var(--shadow-lg); animation: float-soft 9s ease-in-out infinite; }
@keyframes float-soft { 50% { transform: translateY(-10px); } }
.float-card { position: absolute; display: flex; align-items: center; gap: 9px; padding: 12px 16px; background: #fffffff0; border: 1px solid #fff; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; font-weight: 700; color: var(--text); backdrop-filter: blur(6px); }
.float-card svg { color: var(--accent); }
.fc-1 { left: -26px; bottom: 70px; animation: float-soft 7s ease-in-out infinite; }
.fc-2 { right: -18px; top: 60px; animation: float-soft 8s ease-in-out -2s infinite; }
.asset-servers { background-color: #331c56; background-image: url("assets/servers.webp"), radial-gradient(at 70% 55%, #6e34b8, #171226 68%); }
.asset-software { background-color: #20304b; background-image: url("assets/software.webp"), radial-gradient(at 75% 10%, #247890, #142334 70%); }
.asset-android { background-color: #e7dfd5; background-image: url("assets/android.webp"), linear-gradient(135deg, #7696c4, #eccabd); }
.asset-web { background-color: #e0b3a9; background-image: url("assets/web.webp"), linear-gradient(135deg, #b2d4e5, #ee927d); }

/* cartões de serviço */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service { overflow: hidden; display: flex; text-decoration: none; color: var(--text); border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #c9b3aa; }
.service-image { flex: 0 0 38%; min-height: 220px; transition: transform .8s var(--ease); }
.service:hover .service-image { transform: scale(1.06); }
.service-copy { position: relative; z-index: 1; background: var(--panel); padding: 24px; flex: 1; display: flex; flex-direction: column; align-items: start; gap: 10px; }
.service-icon { color: var(--accent); display: grid; place-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex: 0 0 auto; }
.service h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.025em; }
.service p { color: var(--muted); }
.service-points { margin: 0; padding-left: 18px; color: var(--muted); font-size: 14px; }
.service-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 750; }
.service-link svg { transition: transform .25s var(--ease); }
.service:hover .service-link svg { transform: translateX(5px); }

/* diferenciais e passos */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s; }
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-icon, .step-icon, .tl-icon { display: grid; place-content: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(145deg, #fbe9e6, #f3d5cf); color: var(--accent); margin-bottom: 16px; }
.why-item strong, .steps strong { display: block; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.why-item p, .steps p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 24px; border-top: 2px solid var(--line); counter-increment: step; }
.steps li::before { content: "0" counter(step); position: absolute; right: 18px; top: 16px; font: 500 34px/1 Georgia, serif; color: #d9c8c1; }

/* faixa de chamada */
.cta-band { margin: clamp(40px, 6vw, 80px) auto; width: calc(100% - clamp(32px, 8vw, 120px)); max-width: 1240px; border-radius: 28px; background: radial-gradient(circle at 85% 20%, #d0564a, transparent 45%), linear-gradient(135deg, #a52f26, #6f1c16); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(32px, 5vw, 64px); width: auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffffffd0; margin-top: 10px; max-width: 48ch; }
.cta-band .hero-actions { margin-top: 0; }

/* ---------------------------------------------------------------- páginas internas */
.page-hero { padding-block: clamp(48px, 7vw, 90px) clamp(28px, 4vw, 50px); background: radial-gradient(circle at 90% 0%, #f1d5cd, transparent 40%); }
.page-hero.compact { padding-bottom: 10px; }
.page-hero h1 { font-size: clamp(46px, 6.5vw, 92px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.svc-hero h1 { font-size: clamp(42px, 5.4vw, 78px); }
.svc-hero-img { min-height: 380px; border-radius: 28px; box-shadow: var(--shadow-lg); animation: float-soft 9s ease-in-out infinite, rise .8s var(--ease) .16s both; }
.svc-rows { display: grid; gap: clamp(40px, 6vw, 80px); }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 70px); align-items: center; }
.svc-row.reverse .svc-row-img { order: 2; }
.svc-row-img { min-height: 340px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.svc-row-copy { display: grid; gap: 14px; justify-items: start; }
.svc-row-copy p { color: var(--muted); font-size: 18px; }
.svc-row-copy .hero-actions { margin-top: 6px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: start; }
.checklist svg { flex: 0 0 auto; color: #fff; background: var(--button); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 2px; }
.include-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.include-grid .checklist { grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.example-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.example { padding: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 8px; align-content: start; transition: transform .35s var(--ease), box-shadow .35s; }
.example:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.example strong { font-size: 18px; letter-spacing: -.01em; }
.example p { color: var(--muted); font-size: 14.5px; }
.ex-badge { display: grid; place-content: center; width: 52px; height: 52px; border-radius: 15px; color: #fff; font-weight: 850; font-size: 17px; letter-spacing: .02em; box-shadow: 0 8px 18px #0000001f; margin-bottom: 6px; }
.g-dayz { background: linear-gradient(135deg, #4d5a3a, #232a1b); } .g-mu { background: linear-gradient(135deg, #b8860b, #5a2a0c); }
.g-mc { background: linear-gradient(135deg, #5b9b3a, #2f5a1f); } .g-rp { background: linear-gradient(135deg, #2c6fbb, #142c55); }
.g-rust { background: linear-gradient(135deg, #c55a2b, #5b2412); } .g-ark { background: linear-gradient(135deg, #2b8f88, #134440); }
.g-cs { background: linear-gradient(135deg, #e0a325, #6b4a0b); } .g-other { background: linear-gradient(135deg, #bb3f34, #6f1c16); }
.g-a { background: linear-gradient(135deg, #bb3f34, #7d2119); } .g-b { background: linear-gradient(135deg, #3a6fa8, #1d3a5c); }
.g-c { background: linear-gradient(135deg, #4c8a5c, #23452c); } .g-d { background: linear-gradient(135deg, #8a5cc2, #43286b); }
.g-e { background: linear-gradient(135deg, #c98a2b, #6b4512); } .g-f { background: linear-gradient(135deg, #2b9aa0, #134c50); }
.g-g { background: linear-gradient(135deg, #5c6470, #2b2f36); } .g-h { background: linear-gradient(135deg, #c2566f, #5e1f30); }
.other-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.other-svc { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); text-decoration: none; font-weight: 700; transition: transform .3s var(--ease), border-color .3s; }
.other-svc > svg { margin-left: auto; color: var(--accent); transition: transform .25s; }
.other-svc:hover { transform: translateY(-3px); border-color: var(--accent); }
.other-svc:hover > svg { transform: translateX(4px); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--accent), #e4cfc8); }
.timeline li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding-bottom: 34px; }
.timeline .tl-icon { position: relative; z-index: 1; margin: 0; background: var(--panel); border: 2px solid var(--accent); }
.timeline strong { font-size: 22px; letter-spacing: -.02em; }
.timeline p { color: var(--muted); margin-top: 6px; }
.faq-list { display: grid; gap: 10px; }
.faq-page { display: grid; gap: 34px; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; transition: box-shadow .3s, border-color .3s; }
.faq-list details[open] { box-shadow: var(--shadow); border-color: #cdb9b0; }
.faq-list summary { cursor: pointer; padding: 18px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; transition: transform .3s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-bottom: 18px; color: var(--muted); animation: rise .4s var(--ease); }

/* ---------------------------------------------------------------- rodapé */
.site-foot { margin-top: 30px; background: #241f20; color: #e8dfda; padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 34px; padding-bottom: 40px; }
.site-foot .brand { color: #fff; }
.foot-brand p { margin-top: 14px; color: #b9aeaa; font-size: 14px; max-width: 34ch; }
.foot-title { display: block; color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-links a, .foot-links button { color: #cfc4bf; text-decoration: none; }
.foot-links a:hover, .foot-links button:hover { color: #fff; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-contact a, .fc-row { display: flex; align-items: center; gap: 12px; color: #e8dfda; text-decoration: none; font-size: 15px; overflow-wrap: anywhere; }
.foot-contact small { display: block; color: #9d918d; font-size: 12px; letter-spacing: .04em; }
.fc-icon { flex: 0 0 auto; display: grid; place-content: center; width: 38px; height: 38px; border-radius: 11px; background: #ffffff12; color: #f0a79f; transition: background .2s, transform .2s; }
.fc-icon.wa { color: #4cd38a; }
.foot-contact a:hover .fc-icon { background: #ffffff22; transform: translateY(-2px); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid #ffffff1a; color: #9d918d; font-size: 13px; }

/* ---------------------------------------------------------------- janela (conta, perfil) */
dialog { width: min(640px, calc(100% - 28px)); max-height: calc(100% - 28px); overflow: auto; padding: clamp(20px, 4vw, 32px); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 90px #0008; }
dialog[open] { animation: pop .35s var(--ease); }
dialog::backdrop { background: #110c0eb8; backdrop-filter: blur(3px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dialog-head { display: flex; justify-content: space-between; align-items: center; color: var(--accent); font-size: 14px; letter-spacing: .1em; font-weight: 800; }
.close { color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font-size: 24px; line-height: 1; width: 40px; height: 40px; }
.dialog-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.dialog-tabs button { border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; color: var(--text); background: var(--panel); font-size: 14px; font-weight: 600; }
.dialog-tabs button[aria-pressed="true"] { background: var(--button); border-color: var(--button); color: var(--button-ink); }
.dialog-note { margin-top: 13px; padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--panel); border-radius: 6px; font-size: 14px; }
#form-area { margin-top: 16px; }
form, form label { display: grid; gap: 7px; }
form { gap: 13px; }
form label { font-weight: 650; font-size: 14px; }
form .button { justify-self: start; }
form h3 { font-size: 18px; }
.field-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
input, textarea, select { width: 100%; min-width: 0; background: #fffdfb; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px #ad352c1f; outline: none; }
input:disabled { opacity: .7; }
textarea { resize: vertical; }
.form-result { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); padding: 12px; overflow-wrap: anywhere; }
.hint, .muted { color: var(--muted); font-weight: 400; font-size: 13px; }
.field-error { color: var(--accent); font-weight: 600; font-size: 13px; }
[aria-invalid="true"] { border-color: var(--accent); }
.form-result.is-error { border-color: var(--accent); color: var(--accent); }
.password-box { position: relative; }
.password-box input { padding-right: 80px; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--accent); font-size: 13px; font-weight: 700; padding: 6px; }
form label.check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 4px 9px; font-weight: 400; }
label.check input { width: 18px; height: 18px; margin-top: 3px; }
label.check .field-error { grid-column: 2; }
.contact-summary { font-size: 14px; color: var(--muted); padding: 10px 13px; border: 1px dashed var(--line); border-radius: 10px; }
.contact-summary strong { color: var(--text); }
button:disabled { opacity: .6; cursor: progress; }
.account { display: grid; gap: 14px; }
.account-top { display: flex; gap: 10px; }
.request-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.request-list li { display: grid; gap: 2px; padding: 12px 14px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.request-list li.clickable { cursor: pointer; transition: border-color .2s, transform .2s; }
.request-list li.clickable:hover { border-color: var(--accent); transform: translateX(3px); }
.request-top { display: flex; justify-content: space-between; gap: 8px; }
.badge, .pill { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); }
.profile { display: grid; gap: 22px; }
.profile-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; align-items: center; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, #fff, var(--panel)); border: 1px solid var(--line); }
.profile-card > div { display: grid; }
.profile-card span { color: var(--muted); overflow-wrap: anywhere; }
.avatar { grid-row: span 2; display: grid; place-content: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(145deg, #c2453a, #8f241c); color: #fff; font-weight: 800; font-size: 20px; }
.profile-stats { grid-column: 2; display: flex; gap: 16px; font-size: 14px; color: var(--muted); }
.profile-stats b { color: var(--text); font-size: 16px; }
.logout { justify-self: start; }

/* ---------------------------------------------------------------- orçamento em etapas */
.wizard { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.wz-main { display: grid; gap: 14px; }
.wz-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: none; }
.wz-steps li, .wz-steps li button { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.wz-steps li { padding: 12px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); transition: background .3s, color .3s, border-color .3s; }
.wz-steps li button { background: none; border: 0; padding: 0; color: inherit; }
.wz-steps li.current { color: var(--text); border-color: var(--accent); box-shadow: 0 0 0 3px #ad352c1a; }
.wz-steps li.done { color: var(--accent); }
.wz-num { flex: 0 0 auto; display: grid; place-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); font-size: 13px; }
.wz-steps li.current .wz-num, .wz-steps li.done .wz-num { background: var(--button); color: #fff; }
.wz-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.4vw, 36px); box-shadow: var(--shadow); min-height: 320px; }
.wz-pane { display: grid; gap: 18px; animation: slide-in .45s var(--ease); }
@keyframes slide-in { from { opacity: 0; transform: translateX(18px); } }
.wz-title { font: 500 clamp(26px, 2.6vw, 34px)/1.1 Georgia, serif; letter-spacing: -.04em; }
.wz-picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.wz-pick { display: grid; gap: 6px; text-align: left; padding: 0 0 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.wz-pick:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.wz-pick[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px #ad352c26; }
.wz-pick-img { height: 120px; margin-bottom: 8px; }
.wz-pick strong, .wz-pick span:not(.wz-pick-img) { padding-inline: 16px; }
.wz-pick strong { font-size: 17px; }
.wz-pick span:not(.wz-pick-img) { color: var(--muted); font-size: 14px; }
.q-group { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.q-group legend { font-weight: 750; font-size: 15px; margin-bottom: 10px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.choice, .chip { position: relative; display: block; cursor: pointer; }
.choice input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; min-height: 52px; padding: 10px 14px 10px 40px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 14.5px; font-weight: 600; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.choice span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 2px solid #c9b8b0; transition: border-color .2s, box-shadow .2s; }
.choice:hover span { border-color: #c9a79e; transform: translateY(-1px); }
.choice input:checked + span { border-color: var(--accent); background: #fdf1ee; box-shadow: 0 0 0 3px #ad352c1f; }
.choice input:checked + span::before { border-color: var(--accent); box-shadow: inset 0 0 0 4px var(--accent); }
.choice input:focus-visible + span, .chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: #fff; font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.chip input:checked + span { background: var(--button); border-color: var(--button); color: #fff; }
.chip input:checked + span::before { content: "✓ "; }
.counter { justify-self: end; }
.wz-nav { display: flex; justify-content: space-between; gap: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.wz-nav .button.primary { margin-left: auto; }
.review-block { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.review-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.review-block dl, .wz-summary { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 6px 16px; margin: 0; }
.review-block dt, .wz-summary dt { color: var(--muted); font-size: 14px; }
.review-block dd, .wz-summary dd { margin: 0; font-weight: 600; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.wz-aside { position: sticky; top: 90px; padding: 22px; border-radius: 20px; background: linear-gradient(160deg, #2b2526, #3d2a28); color: #f4ece8; box-shadow: var(--shadow-lg); }
.wz-aside-title { display: block; font: 500 24px/1.1 Georgia, serif; margin-bottom: 14px; }
.wz-aside .muted { color: #c9bbb6; font-size: 14px; }
.wz-summary { grid-template-columns: 1fr; gap: 2px; }
.wz-summary dt { color: #b9a9a4; font-size: 12px; margin-top: 8px; text-transform: uppercase; letter-spacing: .06em; }
.wz-summary dd { color: #fff; }
.wz-aside .trust { color: #e7dcd7; }
.wz-aside .trust li::before { color: #f39b90; }
.wz-wa { display: block; margin-top: 18px; color: #7fe0a9; font-weight: 700; font-size: 14px; }
.success { display: grid; gap: 12px; justify-items: start; }
.success.big { padding: 8px 0; animation: rise .6s var(--ease); }
.success-icon { display: grid; place-content: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(145deg, #3fae6a, #23804a); color: #fff; font-size: 32px; box-shadow: 0 12px 28px #23804a55; animation: pop .5s var(--ease); }
.success-title { font: 500 clamp(32px, 3.4vw, 44px)/1.05 Georgia, serif; color: var(--accent); letter-spacing: -.04em; }
.protocol { font-weight: 800; font-size: 18px; letter-spacing: .02em; }
.next-steps { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 4px; }

/* ---------------------------------------------------------------- chat de suporte */
.support-fab { position: fixed; right: 22px; bottom: 22px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 0; border-radius: 99px; background: linear-gradient(145deg, #bb3f34, #8f241c); color: #fff; font-weight: 750; font-size: 15px; box-shadow: 0 14px 34px #8f241c66; transition: transform .25s var(--ease), box-shadow .25s; }
.support-fab:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px #8f241c80; }
.fab-logo { display: grid; place-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--accent); font-weight: 900; font-size: 22px; }
.fab-dot { position: absolute; top: 4px; left: 38px; width: 14px; height: 14px; border-radius: 50%; background: #3fdc7e; border: 2px solid #fff; transform: scale(0); transition: transform .3s var(--ease); }
.support-fab.has-news .fab-dot { transform: scale(1); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px #3fdc7e33; } }
body.support-open .support-fab .fab-label { display: none; }
body.support-open .support-fab { padding-right: 8px; }
.sp-panel { position: fixed; right: 22px; bottom: 90px; z-index: 31; width: 360px; max-width: calc(100vw - 24px); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 30px 80px #0006; overflow: hidden; animation: chat-in .35s var(--ease); transform-origin: bottom right; }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.sp-head { display: flex; align-items: center; gap: 10px; padding: 14px; background: linear-gradient(145deg, #2b2526, #45302d); color: #fff; }
.sp-logo { margin: 0; width: 36px; height: 36px; flex: 0 0 auto; }
.sp-who { display: grid; min-width: 0; flex: 1; }
.sp-who strong { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-who small { color: #d4c6c2; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-icon-btn { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; border: 1px solid #ffffff33; background: #ffffff12; color: #fff; font-size: 22px; line-height: 1; }
.sp-icon-btn:hover { background: #ffffff26; }
.sp-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: radial-gradient(circle at 100% 0%, #f3ddd6, transparent 45%), var(--bg); }
.sp-msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); animation: msg-in .3s var(--ease); }
.sp-msg p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14.5px; line-height: 1.45; }
.sp-msg.bot, .sp-msg.staff { align-self: flex-start; border-bottom-left-radius: 4px; }
.sp-msg.staff { border-color: #e2c3bc; background: #fff7f5; }
.sp-msg.me { align-self: flex-end; background: var(--button); color: #fff; border-color: var(--button); border-bottom-right-radius: 4px; }
.sp-meta { display: block; font-size: 11px; opacity: .75; margin-bottom: 2px; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.sp-foot { padding: 12px; border-top: 1px solid var(--line); background: var(--panel); display: grid; gap: 8px; }
.sp-choices { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chip { border: 1px solid var(--accent); color: var(--accent); background: #fff; border-radius: 99px; padding: 7px 12px; font-size: 13.5px; font-weight: 700; transition: background .2s, color .2s; }
.sp-chip:hover { background: var(--button); color: #fff; }
.sp-wide { width: 100%; }
.sp-composer { display: flex; gap: 8px; align-items: end; }
.sp-composer textarea { resize: none; font-size: 14.5px; border-radius: 12px; }
.sp-send { flex: 0 0 auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--button); color: #fff; font-size: 18px; }
.sp-end { justify-self: start; background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; text-decoration: underline; }
.sp-end[data-confirm="1"] { color: var(--accent); font-weight: 700; }
.sp-list { display: grid; gap: 6px; }
.sp-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }
.sp-ticket { display: grid; gap: 2px; text-align: left; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid #c9b8b0; border-radius: 12px; background: #fff; color: var(--text); transition: transform .2s, border-color .2s; }
.sp-ticket:hover { transform: translateX(3px); border-color: var(--accent); }
.sp-ticket strong { font-size: 14px; }
.sp-ticket span { color: var(--muted); font-size: 12.5px; }
.sp-ticket.s-respondido { border-left-color: #3fae6a; }
.sp-ticket.s-aguardando-suporte { border-left-color: #e0a325; }
.sp-closed { display: grid; gap: 8px; justify-items: start; font-size: 14px; }
.sp-stars { display: flex; gap: 4px; }
.sp-stars button { border: 0; background: none; font-size: 26px; color: #d6c4bd; padding: 0 2px; transition: transform .15s, color .15s; }
.sp-stars button:hover, .sp-stars button:hover ~ button { color: #d6c4bd; }
.sp-stars:hover button { color: #e0a325; }
.sp-stars button:hover ~ button { color: #d6c4bd; }
.sp-stars button:hover { transform: scale(1.15); }
.shake { animation: shake .35s; border-color: var(--accent) !important; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 1100px) {
  .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .example-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard { grid-template-columns: 1fr; }
  .wz-aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); }
  .main-nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .nav-cta-mobile { display: block; color: var(--accent) !important; border-bottom: 0 !important; }
  body.menu-open .main-nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-toggle { display: grid; }
  .head-cta { display: none; }
  .hero, .svc-hero-grid, .svc-row, .include-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 28px; }
  .hero-visual { min-height: 260px; }
  .svc-row.reverse .svc-row-img { order: 0; }
  .svc-row-img, .svc-hero-img { min-height: 240px; }
  .service-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: start; }
  .other-grid { grid-template-columns: 1fr; }
  .include-grid .checklist { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .brand { font-size: 25px; }
  .brand-mark { width: 30px; height: 30px; font-size: 18px; margin-right: 8px; }
  .account-name { display: none; }
  .service { flex-direction: column; }
  .service-image { min-height: 160px; }
  .why-grid, .steps, .example-grid, .wz-picks, .field-row { grid-template-columns: 1fr; }
  .wz-steps { grid-template-columns: repeat(4, 1fr); }
  .wz-steps li { justify-content: center; padding: 10px 6px; }
  .wz-steps li span:not(.wz-num) { display: none; }
  .float-card { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .support-fab .fab-label { display: none; }
  .support-fab { padding: 6px; right: 14px; bottom: 14px; }
  .sp-panel { right: 12px; left: 12px; width: auto; bottom: 80px; height: min(560px, calc(100vh - 100px)); }
  .review-block dl { grid-template-columns: 1fr; }
}

