/* MCM Development — estilos da home. Mobile-first: 768px e 1100px. */

/* Archivo variável (peso 100–900, largura 62–125%), hospedada no site. Subconjunto latino do Google Fonts, licença OFL. */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

:root {
  --bg: #0A0A0B;
  --surface: #131315;
  --surface-2: #1C1C1F;
  --line: #2A2A2E;
  --text: #F2F2F0;
  --muted: #B0B0B6;
  --red: #E10B17;
  --red-hi: #FF2A35;
  --red-soft: rgba(225, 11, 23, .18);
  --font: Archivo, system-ui, sans-serif;
  --wide: 116%;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --r: 16px;
  --gutter: 16px;
  color-scheme: dark;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; scrollbar-color: #3A3A3F var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.55 var(--font); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; caret-color: var(--red-hi); accent-color: var(--red);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: .25em; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; font-stretch: var(--wide); line-height: 1; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hi); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botões ---------- */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: var(--b); color: #fff; border: 0;
  font: 650 16px/1 var(--font); padding: 15px 22px; border-radius: 999px;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn-sm { padding: 11px 15px; font-size: 14px; }
.btn-lg { padding: 18px 28px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-soft { --b: var(--surface-2); color: var(--text); }
.btn-ghost {
  display: inline-flex; gap: .45em; align-items: center; color: var(--text);
  font-weight: 600; padding: 14px 4px; text-decoration: underline; text-decoration-color: var(--line);
  text-decoration-thickness: 2px; transition: text-decoration-color .16s ease;
}
.btn-ghost .ico { width: 1em; height: 1em; transition: transform .2s var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { --b: var(--red-hi); }
  .btn-soft:hover { --b: var(--red); color: #fff; }
  .btn-ghost:hover { text-decoration-color: var(--red); }
  .btn-ghost:hover .ico { transform: translateX(4px); }
}

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, .78); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color .3s ease;
}
.top.scrolled { background: rgba(19, 19, 21, .9); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.logo-img { height: 24px; width: auto; align-self: center; }
.logo-sub { font-size: 14px; font-weight: 500; color: var(--muted); }
.nav { display: none; }
.top .btn-sm span { display: none; }
@media (min-width: 420px) { .top .btn-sm span { display: inline; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; isolation: isolate; }
.hero-in { display: grid; gap: 56px; }
.hero h1 { font-size: clamp(40px, 10.6vw, 76px); font-stretch: 100%; line-height: .98; }
/* Palavras sobem uma a uma. Começa em .01 (não 0) para o título contar como pintado no LCP. */
.hero h1 .w { display: inline-block; animation: word-up .7s cubic-bezier(.23, 1, .32, 1) calc(var(--i) * 70ms) both; }
@keyframes word-up { from { opacity: .01; transform: translateY(.45em); filter: blur(6px); } }
.hero h1 em { font-style: normal; color: var(--red-hi); }
.lead { margin-top: 24px; font-size: 20px; color: var(--muted); max-width: 30em; }
.lead strong { color: var(--text); font-weight: 650; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px clamp(18px, 5vw, 32px); margin: 44px 0 0; }
.hero-facts dt { font-size: 14px; color: var(--muted); }
.hero-facts dd { margin: 4px 0 0; font-size: 20px; white-space: nowrap; font-weight: 750; font-stretch: var(--wide); }

/* O celular fica sobre um campo vermelho que sangra até a borda da tela */
.hero-visual { position: relative; display: grid; justify-items: center; gap: 18px; padding: 36px 0 28px; perspective: 1600px; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(-1 * var(--gutter)); background: var(--red); }
.phone {
  position: relative; width: min(290px, 74vw); aspect-ratio: 9 / 19.2;
  border-radius: 46px; padding: 11px; background: #161618;
  box-shadow: 0 0 0 1px #34343A inset, 0 40px 70px -24px rgba(0, 0, 0, .7);
  transform-style: preserve-3d; transition: transform .6s var(--ease-out);
}
.phone-notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; transform: translateX(-50%); background: #050505; border-radius: 99px; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #fff; }
.phone-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.phone-screen iframe {
  position: absolute; left: 0; top: 0; border: 0; background: #fff;
  width: 390px; height: calc(100% / var(--phone-scale, .71)); transform-origin: 0 0; transform: scale(var(--phone-scale, .71));
  opacity: 0; transition: opacity .5s ease;
}
.phone-screen iframe.ready { opacity: 1; }
.phone-cap { font-size: 14px; font-weight: 600; color: #fff; text-align: center; }
.phone-cap span { font-weight: 400; }

/* ---------- Faixa de confiança ---------- */
.trust { background: var(--surface); padding-block: 28px; }
.trust-in { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 550; }
.trust .ico { color: var(--red-hi); width: 22px; height: 22px; }

/* ---------- Seções ---------- */
.sec { padding: 88px 0; }
.sec-alt { background: var(--surface); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(34px, 7.4vw, 64px); }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 20px; max-width: 36em; }

/* Portfólio: o cliente real ganha mais espaço que a demonstração */
.cards-2 { display: grid; gap: 20px; align-items: start; }
.work { display: block; text-decoration: none; border-radius: var(--r); background: var(--surface); overflow: hidden; transition: background-color .25s ease; }
.work-shot { aspect-ratio: 16 / 10; overflow: hidden; background: #111; }
.work-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease-out); }
.work-body { padding: 24px; }
.work-body h3 { font-size: 24px; margin: 10px 0 10px; }
.work-body p { color: var(--muted); max-width: 46ch; }
.work-link { display: inline-flex; align-items: center; gap: .4em; margin-top: 18px; font-weight: 650; color: var(--red-hi); }
.work-link .ico { width: 1em; height: 1em; transition: transform .2s var(--ease-out); }
.badge { font-weight: 650; color: var(--text); }
.badge-real { font-weight: 650; color: var(--red-hi); }
@media (hover: hover) and (pointer: fine) {
  .work:hover { background: var(--surface-2); }
  .work:hover .work-shot img { transform: scale(1.03); }
  .work:hover .work-link .ico { transform: translate(2px, -2px); }
}

/* Como funciona: a barra vermelha percorre os passos quando a lista aparece */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 36px; }
.step { position: relative; padding-top: 30px; }
.step::before, .step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: var(--line); }
.step::after { background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out) calc(var(--i) * 220ms + .15s); }
.steps.in .step::after { transform: none; }
.step h3 { font-size: 24px; margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 32ch; }

/* Preços */
.plans { display: grid; gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r); background: var(--surface); }
.plan h3 { font-size: 24px; }
.plan-for { color: var(--muted); font-size: 17px; margin-top: 10px; min-height: 3.1em; }
.plan-for strong { color: inherit; }
.price { font-size: 60px; font-weight: 800; font-stretch: var(--wide); line-height: 1; letter-spacing: -.03em; margin: 26px 0; display: flex; align-items: flex-start; gap: 6px; font-variant-numeric: tabular-nums; }
.price .cur { font-size: 17px; font-weight: 600; color: var(--muted); margin-top: 7px; letter-spacing: 0; }
.feat { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 11px; flex: 1; }
.feat li { position: relative; padding-left: 26px; }
.feat li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--red-hi); border-bottom: 2px solid var(--red-hi); transform: rotate(-45deg); }
/* O plano mais pedido é um bloco vermelho chapado */
.plan-hot { background: var(--red); color: #fff; }
.plan-hot .plan-for, .plan-hot .price .cur { color: #fff; }
.plan-hot .feat li::before { border-color: #fff; }
.plan-hot .btn { --b: #fff; color: #B4000B; }
@media (hover: hover) and (pointer: fine) { .plan-hot .btn:hover { --b: #0A0A0B; color: #fff; } }

.calc { margin-top: 20px; display: grid; gap: 32px; padding: 30px 26px; border-radius: calc(var(--r) + 4px); background: var(--surface-2); }
.calc h3 { font-size: 24px; }
.calc-left > p { color: var(--muted); margin-top: 12px; max-width: 38ch; }
.stepper { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.stepper button {
  width: 50px; height: 50px; border-radius: 12px; border: 0; background: var(--bg);
  color: var(--text); font: 500 24px/1 var(--font); cursor: pointer;
  transition: background-color .16s ease, transform .16s var(--ease-out);
}
.stepper button:active { transform: scale(.94); }
.stepper input {
  width: 78px; height: 50px; text-align: center; border-radius: 12px; border: 0;
  background: var(--bg); color: var(--text); font: 800 24px/1 var(--font); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; box-shadow: 0 0 0 2px var(--red); }
.stepper-unit { color: var(--muted); margin-left: 4px; }
@media (hover: hover) and (pointer: fine) { .stepper button:hover { background: var(--red-soft); } }
.calc-label { font-size: 14px; color: var(--muted); }
.calc-total { font-size: clamp(48px, 12vw, 64px); font-weight: 800; font-stretch: var(--wide); line-height: 1; letter-spacing: -.03em; margin: 0 0 8px; font-variant-numeric: tabular-nums; }
.calc-rows { margin: 16px 0 24px; display: grid; gap: 4px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; }
.calc-rows dt { color: var(--muted); }
.calc-rows dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.note { margin-top: 20px; color: var(--muted); font-size: 14px; max-width: 70ch; }

/* Dúvidas */
.faq { display: grid; gap: 8px; }
.faq details { border-radius: 12px; background: var(--bg); }
.sec:not(.sec-alt) .faq details { background: var(--surface); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 58px 20px 22px; position: relative;
  font-weight: 650; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-ico { position: absolute; right: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--red-hi); transition: transform .25s var(--ease-out); }
.faq details[open] .faq-ico { transform: rotate(45deg); }
.faq details::details-content { height: 0; overflow: clip; transition: height .3s var(--ease-out), content-visibility .3s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq details p { padding: 0 22px 22px; color: var(--muted); max-width: 62ch; }

/* Contato: o fechamento é um campo vermelho inteiro */
.contact { background: var(--red); color: #fff; }
.contact-in { display: grid; gap: 40px; }
/* itens de grid encolhem até a tela de 320px em vez de empurrar a página para o lado */
.contact-in > *, .hero-in > * { min-width: 0; }
@media (max-width: 380px) { .hero-facts { grid-template-columns: repeat(2, auto); } }
.contact h2 { font-size: clamp(30px, 8vw, 54px); }
.contact-copy > p { color: #fff; margin-top: 18px; font-size: 20px; max-width: 26em; }
.contact :focus-visible { outline-color: #fff; }
.form { display: grid; gap: 18px; padding: 26px; border-radius: calc(var(--r) + 4px); background: var(--bg); color: var(--text); }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.form input, .form select {
  width: 100%; height: 52px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: 400 16px var(--font); transition: border-color .16s ease, box-shadow .16s ease;
}
.form input::placeholder { color: #8E8E95; }
.form input:focus, .form select:focus { outline: none; border-color: var(--red-hi); box-shadow: 0 0 0 3px var(--red-soft); }
.form button { margin-top: 6px; }

/* Rodapé: o nome volta em largura total */
.foot { padding: 56px 0 104px; }
.foot-in { display: grid; gap: 40px; color: var(--muted); font-size: 14px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot .logo { display: grid; gap: 12px; justify-items: end; }
.foot .logo-img { width: 100%; height: auto; }
.foot .logo-sub { font-size: clamp(15px, 2vw, 22px); }

/* Link "ver tudo" que leva da home para as páginas */
.more {
  display: inline-flex; align-items: center; gap: .45em; margin-top: 32px; font-weight: 650; color: var(--text);
  text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px;
}
.more .ico { width: 1em; height: 1em; color: var(--red-hi); transition: transform .2s var(--ease-out); }
.faq .more { margin-top: 16px; }
@media (hover: hover) and (pointer: fine) { .more:hover .ico { transform: translateX(4px); } }

/* ---------- Páginas internas ---------- */
.nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: .5em; }
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(36px, 9.4vw, 88px); line-height: .98; max-width: 14em; }
.page-head .lead { margin-top: 22px; }
.sec-tight { padding-top: 40px; }

/* Portfólio: cada projeto com o print do computador e o do celular sobreposto */
.proj { padding: 56px 0; }
.proj:nth-of-type(even) { background: var(--surface); }
.proj-in { display: grid; gap: 40px; align-items: center; }
.proj-media { position: relative; padding: 0 0 40px; }
.proj-desk { width: 88%; height: auto; border-radius: var(--r); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.proj-mob {
  position: absolute; right: 0; bottom: 0; width: 30%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top;
  border-radius: 18px; border: 5px solid #161618;
}
.proj-body h2 { font-size: clamp(34px, 6.4vw, 56px); }
.proj-lead { margin-top: 16px; font-size: 20px; color: var(--muted); max-width: 32em; }
.proj-body h3 { font-size: 17px; font-stretch: 100%; letter-spacing: 0; margin: 32px 0 14px; }
.proj-body .feat { margin-bottom: 32px; }
.proj-body .feat li { color: var(--muted); }

/* Projeto premium: moldura com brilho girando, faixa correndo e prints flutuando */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.premium {
  position: relative; overflow: hidden; padding: 0 0 64px; isolation: isolate;
  background: radial-gradient(60% 50% at 80% 30%, rgba(18, 56, 230, .38), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(225, 11, 23, .22), transparent 70%), #07070C;
}
.premium::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1.4px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.premium-tape { overflow: hidden; border-block: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .03); margin-bottom: 56px; }
.premium-tape div { display: flex; width: max-content; animation: tape 28s linear infinite; }
.premium-tape span { padding: 14px 28px; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; white-space: nowrap; color: #C9D2FF; }
.premium-tape span::after { content: "✦"; margin-left: 56px; color: #3D63FF; }
@keyframes tape { to { transform: translateX(-50%); } }
.premium-in { display: grid; gap: 48px; align-items: center; }
.chip-premium {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: linear-gradient(110deg, #1238E6 0%, #1238E6 40%, #7C95FF 50%, #1238E6 60%, #1238E6 100%); background-size: 250% 100%;
  animation: shine 3.2s var(--ease-out) infinite;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18) inset, 0 8px 24px -8px rgba(18, 56, 230, .9);
}
.chip-premium svg { width: 15px; height: 15px; fill: #FFD84D; }
@keyframes shine { 0% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
.premium-body h2 {
  margin-top: 22px; font-size: clamp(56px, 13vw, 120px); line-height: .9; letter-spacing: -.04em;
  background: linear-gradient(180deg, #fff 30%, #9DB0FF); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.premium-body h2 span { display: block; margin-top: 12px; font-size: .28em; letter-spacing: .02em; text-transform: uppercase; -webkit-text-fill-color: #FF4650; }
.premium-body .feat { margin: 28px 0 34px; }
.premium-body .feat li { color: #C4C6D4; }
.btn-premium { background: #fff; color: #0B1A8C; box-shadow: 0 14px 40px -12px rgba(61, 99, 255, .9); }
.btn-premium:hover { background: #E8EDFF; }
.premium-note { margin-top: 20px; font-size: 13px; color: #7D8090; max-width: 44ch; }
.premium-media { position: relative; display: block; padding: 0 0 48px; perspective: 1400px; text-decoration: none; }
.premium-glow {
  position: absolute; inset: 8% 14% 20% 4%; z-index: -1; border-radius: 40px; filter: blur(60px); opacity: .7;
  background: conic-gradient(from var(--spin), #1238E6, #FF1E3C, #fff, #1238E6); animation: spin 8s linear infinite;
}
.premium-frame {
  position: relative; display: block; width: 90%; padding: 2px; border-radius: calc(var(--r) + 2px);
  background: conic-gradient(from var(--spin), #1238E6, #FF1E3C 25%, #fff 40%, #1238E6 60%, #3D63FF 80%, #1238E6); animation: spin 5s linear infinite;
  transform: rotateY(-9deg) rotateX(4deg); transition: transform .7s var(--ease-out); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
}
.premium-frame .proj-desk { width: 100%; border-radius: var(--r); }
.premium-media .proj-mob { border-color: #0D0D14; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); animation: bob 5s ease-in-out infinite; }
@keyframes spin { to { --spin: 360deg; } }
@keyframes bob { 50% { transform: translateY(-14px) rotate(1.5deg); } }
@media (hover: hover) and (pointer: fine) { .premium-media:hover .premium-frame { transform: none; } }
.work-premium { margin-top: 20px; position: relative; isolation: isolate; background: #07070C; box-shadow: 0 0 0 1px rgba(61, 99, 255, .45), 0 30px 70px -30px rgba(18, 56, 230, .8); }
.work-premium::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 100% 0%, rgba(18, 56, 230, .35), transparent 70%); }
.work-premium .work-body h3 { margin-top: 16px; font-size: clamp(26px, 4vw, 40px); }
.work-premium .work-link { color: #8FA4FF; }
@media (min-width: 768px) {
  .premium { padding-bottom: 104px; }
  .premium-in { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .work-premium { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; }
  .work-premium .work-shot { height: 100%; aspect-ratio: auto; min-height: 320px; }
  .work-premium .work-body { padding: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .premium-tape div, .chip-premium, .premium-glow, .premium-frame, .premium-media .proj-mob { animation: none; }
}

/* Preços: incluso e não incluso */
.incl { display: grid; gap: 16px; }
.incl-box { padding: 30px 26px; border-radius: var(--r); background: var(--bg); }
.incl-box h3 { font-size: 24px; margin-bottom: 20px; }
.incl-box .feat { margin: 0; }
.incl-box > p { margin-top: 20px; color: var(--muted); max-width: 46ch; }
.feat-no li::before { width: 12px; height: 2px; top: .75em; border: 0; background: var(--muted); transform: none; }
.facts { display: grid; gap: 28px; margin: 0; }
.facts dt { font-size: 24px; font-weight: 800; font-stretch: var(--wide); letter-spacing: -.02em; }
.facts dd { margin: 10px 0 0; color: var(--muted); max-width: 38ch; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  box-shadow: 0 0 0 3px var(--bg), 0 12px 28px -8px rgba(0, 0, 0, .75); transition: transform .16s var(--ease-out), background-color .16s ease;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: var(--red-hi); } }

/* Entrada do hero: só CSS, começa no primeiro paint */
.rise { animation: rise .8s var(--ease-out) both; }
.lead.rise { animation-delay: .1s; }
.hero-cta.rise { animation-delay: .18s; }
.hero-facts.rise { animation-delay: .26s; }
.hero-visual.rise { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Revelação ao rolar (só quando o JS está ativo). Em .stagger, os filhos entram um depois do outro. */
.js .reveal:not(.stagger), .js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .stagger > * { transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.in:not(.stagger), .js .stagger.in > * { opacity: 1; transform: none; }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .nav { display: flex; gap: 30px; }
  .nav a { text-decoration: none; font-size: 14px; color: var(--muted); transition: color .16s ease; }
  .nav a:hover { color: var(--text); }
  .hero { padding: 64px 0 104px; }
  .trust-in { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .cards-2 { grid-template-columns: 1.35fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .calc { padding: 44px; }
  .sec { padding: 128px 0; }
  .sec-tight { padding-top: 48px; }
  .form { padding: 34px; }
  .page-head { padding: 88px 0 32px; }
  .proj { padding: 96px 0; }
  .incl { grid-template-columns: 1fr 1fr; }
  .incl-box { padding: 40px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1100px) {
  .hero { padding: 72px 0 0; }
  .hero-in { grid-template-columns: 1.4fr .6fr; align-items: stretch; gap: 48px; }
  .hero h1 { font-stretch: 108%; }
  .calc { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .hero-copy { padding-bottom: 112px; align-self: center; }
  .hero-visual { padding: 72px 0 56px; align-content: center; }
  .hero-visual::before { inset: -72px -100vw 0 -32px; }
  .phone { transform: rotateY(-12deg) rotateX(4deg) rotateZ(1deg); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .faq-in .sec-head { position: sticky; top: 110px; }
  .contact-in { grid-template-columns: 1.2fr .8fr; align-items: center; gap: 64px; }
  .proj-in { grid-template-columns: 1.25fr .75fr; gap: 72px; }
  .proj-flip .proj-in { grid-template-columns: .75fr 1.25fr; }
  .proj-flip .proj-media { order: 2; }
}
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .hero-visual:hover .phone { transform: rotateY(-5deg) rotateX(2deg); }
}

/* Menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal:not(.stagger), .js .stagger > * { opacity: 1; transform: none; }
  .step::after { transform: none; }
  .phone, .hero-visual:hover .phone { transform: none; }
  /* Fade não é movimento: o título ainda aparece palavra por palavra */
  .hero h1 .w { animation: word-fade .6s ease calc(var(--i) * 90ms) both !important; }
}
@keyframes word-fade { from { opacity: .01; } }
