/* =========================================================
   JV Leme Digital — estilos
   Paleta: ardósia azulada (nem preto, nem claro), azul do logo
   suavizado e névoa clara para a seção de processo.
   ========================================================= */

:root {
  --bg: #26303E;
  --bg-2: #2C3747;
  --bg-3: #212A36;
  --surface: #323E50;
  --surface-2: #38455A;
  --line: #43516A;
  --line-soft: #3A475B;
  --text: #EEF2F6;
  --muted: #B6C0CD;
  --blue: #6AAAF0;
  --blue-brand: #2F8BEA;
  --btn: #2672C4;
  --btn-hover: #1F63AD;
  --mist: #DDE4EB;
  --mist-2: #CDD7E1;
  --ink: #1E2733;
  --ink-muted: #4A5668;
  --blue-ink: #1A5FA8;
  --danger: #FF9C8F;
  --ok: #8FD6A8;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
p { text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 10px 24px -12px rgba(38, 114, 196, .8); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-outline { color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line); background: transparent; }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--blue); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(38, 48, 62, .82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(38, 48, 62, .94); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { width: 46px; height: 46px; overflow: visible; }
.brand-word { display: grid; line-height: 1; }
.bw-top { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: .01em; color: #fff; }
.bw-bottom { font-family: var(--font-head); font-weight: 700; font-size: 10.5px; letter-spacing: .5em; color: var(--blue-brand); margin-top: 5px; padding-left: 1px; }

/* Logo: cores */
.brand-mark .c-blue { stroke: var(--blue-brand); }
.brand-mark .c-white { stroke: #fff; }
.brand-mark .c-fill-bg { fill: var(--bg); }
.brand-mark path:not(.mark-head) { fill: none; }
.brand-mark .mark-head { fill: var(--blue-brand); }

/* Logo: animação de entrada (o leme gira e a seta sobe) */
.mark-spin, .mark-turn { transform-box: view-box; transform-origin: 50% 50%; }
.mark-spin { animation: helm-in 1.5s var(--ease-out) both; }
.mark-turn { transition: transform .9s var(--ease-out); }
.brand:hover .mark-turn, .brand:focus-visible .mark-turn { transform: rotate(45deg); }
.mark-arrow { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .55s .75s cubic-bezier(.6, 0, .2, 1) forwards; }
.mark-head { transform-box: fill-box; transform-origin: 70% 30%; transform: scale(0); animation: pop .45s 1.2s var(--ease-out) forwards; }
.mark-tail, .mark-hub { transform-box: fill-box; transform-origin: center; animation: pop .4s .55s var(--ease-out) both; }
.brand .bw-top { animation: rise .7s .9s var(--ease-out) both; }
.brand .bw-bottom { animation: track .9s 1.05s var(--ease-out) both; }
@keyframes helm-in { from { transform: rotate(-220deg) scale(.6); opacity: 0; } to { transform: rotate(0) scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes track { from { opacity: 0; letter-spacing: .1em; } to { opacity: 1; letter-spacing: .5em; } }

.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a {
  position: relative; padding: 8px 12px; border-radius: 8px;
  font-weight: 600; font-size: 16px; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: var(--blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease-out);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang, .currency {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-soft);
}
.lang button, .currency button {
  border: 0; background: transparent; cursor: pointer;
  min-width: 40px; height: 34px; padding: 0 10px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: var(--muted);
  transition: background-color .2s, color .2s;
}
.lang button[aria-pressed="true"], .currency button[aria-pressed="true"] { background: var(--surface-2); color: #fff; }
.lang button:hover, .currency button:hover { color: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out), top .3s var(--ease-out); }
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Abertura ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 104px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(47, 139, 234, .16), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}
.hero-helm {
  position: absolute; z-index: -1; width: 980px; height: 980px;
  right: -260px; top: 50%; margin-top: -490px;
  stroke: var(--text); opacity: .035; fill: none;
  will-change: transform;
}
.hero-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 4.1vw, 56px); font-weight: 800; letter-spacing: -.03em; line-height: 1.07; max-width: 15ch; }
.hero-lead { margin: 24px 0 34px; font-size: 20px; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 10px; }
.hero-facts li { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.hero-facts .ico { color: var(--blue); }

/* Entrada da abertura: um único momento orquestrado */
.hero-copy > * { animation: rise .8s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .25s; }
.hero-copy > :nth-child(2) { animation-delay: .38s; }
.hero-copy > :nth-child(3) { animation-delay: .5s; }
.hero-copy > :nth-child(4) { animation-delay: .62s; }
.stage { animation: stage-in 1.1s .45s var(--ease-out) both; }
@keyframes stage-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }

/* Mockup: notebook + celular */
.stage { position: relative; padding: 0 6% 54px 0; }
.laptop { position: relative; filter: drop-shadow(0 40px 50px rgba(8, 14, 24, .45)); }
.laptop-lid { background: #171D26; border-radius: 16px 16px 6px 6px; padding: 12px 12px 14px; box-shadow: inset 0 0 0 1px #3A4454; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #E8EDF2; border-radius: 6px 6px 0 0; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C3CCD6; }
.browser-bar .url { margin: 0 auto; transform: translateX(-14px); padding: 2px 14px; border-radius: 6px; background: #fff; color: #5A6779; font-size: 12px; font-weight: 600; line-height: 1.5; }
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #F7FAF9; border-radius: 0 0 4px 4px; }
.scroller { width: 100%; height: auto; will-change: transform; }
.screen .scroller { animation: page-scroll 22s 1.6s ease-in-out infinite; }
.phone-screen .scroller { animation: page-scroll 26s 2.4s ease-in-out infinite; }
@keyframes page-scroll {
  0%, 9% { transform: translateY(0); }
  22%, 31% { transform: translateY(calc(var(--end, 0px) * .3)); }
  44%, 53% { transform: translateY(calc(var(--end, 0px) * .62)); }
  66%, 76% { transform: translateY(var(--end, 0px)); }
  92%, 100% { transform: translateY(0); }
}
.is-paused .scroller { animation-play-state: paused; }
.laptop-base {
  position: relative; height: 16px; margin: 0 -7%;
  background: linear-gradient(180deg, #A7B1BE 0%, #7D8896 60%, #5D6774 100%);
  border-radius: 2px 2px 18px 18px;
}
.laptop-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 7px; margin-left: -8%; background: #6C7684; border-radius: 0 0 10px 10px; }

.phone {
  position: absolute; right: 0; bottom: 0; width: 25%; min-width: 120px;
  aspect-ratio: 9 / 19; padding: 7px; border-radius: 30px;
  background: #12171E; box-shadow: inset 0 0 0 1.5px #3A4454, 0 30px 50px -10px rgba(8, 14, 24, .6);
}
.phone::before { content: ""; position: absolute; z-index: 2; top: 13px; left: 50%; width: 32%; height: 12px; margin-left: -16%; background: #12171E; border-radius: 10px; }
.phone-screen { height: 100%; overflow: hidden; border-radius: 23px; background: #F7FAF9; }
.stage-caption { position: absolute; left: 0; bottom: 0; font-size: 14px; color: var(--muted); }

/* ---------- Seções ---------- */
.section { padding: 112px 0; }
.section h2 { font-size: clamp(30px, 3.4vw, 44px); max-width: 22ch; }
.section-sub { margin-top: 14px; color: var(--muted); font-size: 19px; max-width: 58ch; }

/* Por que ter um site */
.why { background: var(--bg-2); }
.why-in { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 40px); }
.why-list article { padding: 32px 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 14px 1fr; column-gap: 24px; }
.why-list article:first-child { padding-top: 0; border-top: 0; }
.why-list article::before { content: ""; grid-row: span 2; width: 4px; border-radius: 4px; background: linear-gradient(var(--blue), transparent); margin-top: 6px; }
.why-list h3 { font-size: 23px; margin-bottom: 10px; }
.why-list p { color: var(--muted); max-width: 54ch; }

/* Serviços */
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.currency button { min-width: 48px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 48px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  padding: 32px 28px 28px; border-radius: var(--radius-lg);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line-soft);
}
.plan-main { background: var(--surface); box-shadow: inset 0 0 0 1.5px rgba(106, 170, 240, .55), 0 30px 60px -36px rgba(47, 139, 234, .6); }
.plan h3 { font-size: 24px; }
.plan-desc { margin-top: 10px; color: var(--muted); font-size: 17px; }
.plan-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; padding: 20px 0; border-block: 1px solid var(--line-soft); }
.plan-meta dt { font-size: 14px; color: var(--muted); }
.plan-meta dd { font-family: var(--font-head); font-weight: 700; font-size: 17px; margin-top: 4px; }
.plan-meta .price { font-size: 30px; letter-spacing: -.02em; color: #fff; }
.plan-meta .price-quote { font-size: 20px; padding-top: 6px; }
.price.is-swapping { animation: swap .35s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.plan-list { list-style: none; padding: 0; display: grid; gap: 10px; margin-bottom: 30px; flex: 1; }
.plan-list li { position: relative; padding-left: 30px; font-size: 17px; }
.plan-list li::before {
  content: ""; position: absolute; left: 3px; top: .42em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue);
  transform: rotate(-45deg);
}
.plans-note { margin-top: 24px; font-size: 15px; color: var(--muted); max-width: 80ch; }

/* Como funciona (seção clara) */
.process { background: var(--mist); color: var(--ink); }
.process .section-sub { color: var(--ink-muted); }
.steps { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps::before, .steps::after {
  content: ""; position: absolute; top: 25px; left: 26px; right: calc(25% - 6px); height: 2px; border-radius: 2px;
}
.steps::before { background: var(--mist-2); }
.steps::after { background: var(--blue-ink); transform: scaleX(0); transform-origin: left; transition: transform 1.6s .2s var(--ease-out); }
.steps.in-view::after { transform: scaleX(1); }
.steps li { position: relative; z-index: 1; }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--mist); box-shadow: inset 0 0 0 2px var(--mist-2);
  font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink-muted);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.steps.in-view .step-num { background: var(--blue-ink); color: #fff; box-shadow: 0 0 0 6px var(--mist); }
.steps.in-view li:nth-child(2) .step-num { transition-delay: .5s; }
.steps.in-view li:nth-child(3) .step-num { transition-delay: .9s; }
.steps.in-view li:nth-child(4) .step-num { transition-delay: 1.3s; }
.steps h3 { font-size: 21px; margin: 22px 0 8px; }
.steps p { color: var(--ink-muted); font-size: 17px; }

/* Portfólio */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 32px; margin-top: 52px; }
.work.work-lg { grid-column: span 2; display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: center; }
.work { display: flex; flex-direction: column; gap: 20px; }
.work-shot { display: block; border-radius: var(--radius); overflow: hidden; background: #E8EDF2; box-shadow: 0 0 0 1px var(--line-soft), 0 24px 50px -30px rgba(8, 14, 24, .8); }
.shot-bar { display: flex; gap: 6px; padding: 9px 12px; background: #E8EDF2; }
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C3CCD6; }
.work-shot img { width: 100%; height: auto; transition: transform .6s var(--ease-out); }
.work:hover .work-shot img { transform: scale(1.03); }
.work-tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue); padding: 3px 10px; border-radius: 999px; background: rgba(106, 170, 240, .12); }
.work-body h3 { font-size: 22px; margin-top: 10px; }
.work-lg .work-body h3 { font-size: 26px; }
.work-body h3 a { text-decoration: none; background: linear-gradient(var(--blue), var(--blue)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.work-body h3 a:hover, .work-body h3 a:focus-visible { background-size: 100% 2px; }
.work-body h3 a::after { content: ""; position: absolute; inset: 0; }
.work { position: relative; }
.work-kind { font-size: 15px; color: var(--muted); margin-top: 4px; }
.work-body > p:last-child { margin-top: 10px; color: var(--muted); max-width: 52ch; }

/* Diferenciais */
.perks { background: var(--bg-2); }
.perk-grid { list-style: none; padding: 0; margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.perk-grid li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.perk-ico { width: 52px; height: 52px; padding: 13px; border-radius: 14px; background: rgba(106, 170, 240, .12); fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.perk-grid h3 { font-size: 19px; margin: 3px 0 6px; }
.perk-grid p { color: var(--muted); font-size: 17px; }

/* Perguntas frequentes */
.faq-in { display: grid; grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-head .btn { margin-top: 28px; }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list details:first-child { border-top: 1px solid var(--line-soft); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 22px 48px 22px 0; font-family: var(--font-head); font-weight: 600; font-size: 18px; line-height: 1.35;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; margin-top: -1px;
  background: var(--blue); border-radius: 2px; transition: transform .35s var(--ease-out);
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 48px 24px 0; color: var(--muted); }

/* Contato */
.contact { background: var(--bg-2); }
.contact-in { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; }
.channels { list-style: none; padding: 0; margin-top: 36px; display: grid; gap: 14px; }
.channels li { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-soft); }
.channels .ico { width: 24px; height: 24px; color: var(--blue); }
.channels div { display: grid; flex: 1; min-width: 0; }
.ch-label { font-size: 14px; color: var(--muted); }
.channels a { font-weight: 700; font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.channels a:hover { color: var(--blue); }
.copy-btn { border: 0; cursor: pointer; padding: 8px 14px; border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 14px; transition: background-color .2s; }
.copy-btn:hover { background: var(--surface-2); }

.contact-form { padding: 36px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: 16px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); font-size: 17px; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field input::placeholder, .field textarea::placeholder { color: #8994A3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(106, 170, 240, .2); }
.field-error { display: none; font-size: 15px; color: var(--danger); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .field-error { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 16px; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }
.form-status a { color: var(--blue); }
.contact-form button[disabled] { opacity: .7; cursor: progress; }

/* Rodapé */
.site-footer { background: var(--bg-3); padding: 64px 0 32px; }
.footer-in { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 48px; }
.footer-brand p { margin-top: 16px; color: var(--muted); font-size: 16px; max-width: 40ch; }
.footer-nav, .footer-contact { display: grid; gap: 10px; align-content: start; }
.footer-nav a, .footer-contact a { color: var(--muted); text-decoration: none; font-size: 16px; width: fit-content; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 56px; }
  .hero h1 { max-width: 18ch; }
  .stage { max-width: 680px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan-main { grid-column: auto; }
  .perk-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 20px 24px;
    background: var(--bg); border-bottom: 1px solid var(--line-soft);
    box-shadow: 0 30px 40px -20px rgba(8, 14, 24, .6);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease-out), visibility 0s .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease-out); }
  .main-nav a { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .why-in, .faq-in, .contact-in { grid-template-columns: 1fr; gap: 40px; }
  .why-head, .faq-head { position: static; }
  .work.work-lg { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before, .steps::after { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .header-in { gap: 12px; }
  .brand-mark { width: 40px; height: 40px; }
  .bw-top { font-size: 17px; }
  .bw-bottom { font-size: 9.5px; }
  .header-actions .btn-sm { display: none; }
  .hero { padding: 44px 0 72px; }
  .hero-lead { font-size: 18px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stage { padding-right: 10%; padding-bottom: 46px; }
  .phone { width: 30%; min-width: 0; border-radius: 22px; padding: 5px; }
  .phone-screen { border-radius: 17px; }
  .phone::before { top: 9px; height: 9px; }
  .laptop-lid { padding: 7px 7px 9px; border-radius: 11px 11px 5px 5px; }
  .browser-bar { height: 22px; }
  .browser-bar .url { font-size: 10px; }
  .section { padding: 80px 0; }
  .section-sub { font-size: 18px; }
  .plans { grid-template-columns: 1fr; }
  .plan-main { grid-column: auto; }
  .works { grid-template-columns: 1fr; }
  .work.work-lg { grid-column: auto; }
  .works { gap: 44px; }
  .steps { grid-template-columns: 1fr; row-gap: 32px; }
  .steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 18px; }
  .steps li .step-num { grid-row: span 2; }
  .steps h3 { margin: 10px 0 4px; }
  .perk-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form { padding: 24px 20px; }
  .channels li { flex-wrap: wrap; row-gap: 10px; }
  .channels div { flex: 1 1 200px; }
  .channels a { font-size: 17px; overflow-wrap: normal; }
  .copy-btn { margin-left: 40px; }
  .stage-caption { max-width: 62%; font-size: 13px; line-height: 1.4; }
  .footer-in { grid-template-columns: 1fr; gap: 32px; }
  .faq-list summary { font-size: 17px; }
}

@media (max-width: 380px) {
  .brand-word { display: none; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .scroller { animation: none !important; }
  .mark-arrow { stroke-dashoffset: 0; }
  .mark-head { transform: none; }
}

/* Páginas simples (404 e obrigado) */
.simple-page { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.simple-in { display: grid; gap: 24px; justify-items: start; padding-block: 64px; }
.simple-in h1 { font-size: clamp(32px, 5vw, 52px); max-width: 18ch; }
.simple-in .btn { margin-top: 8px; }

/* Selo de projeto real no portfólio */
.work-tag-real { color: var(--ok); background: rgba(143, 214, 168, .14); }
.footer-bottom { width: calc(100% - 56px); padding-left: 0; padding-right: 0; }
@media (max-width: 640px) { .footer-bottom { width: calc(100% - 40px); } }
.form-hint { font-size: 14px; color: var(--muted); margin-top: -8px; }
