/* =========================================================
   studio.cdev.com.br — venda de sites
   Mesma linguagem do cdev.com.br: preto e branco, Archivo (wdth 62–125).
   Dois modelos: PC (trilha lateral) e celular (barra no topo + CTA fixo embaixo).
   ========================================================= */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations"), url("../fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --black: #000; --white: #fff;
  --text-2: #a3a3a3; --text-3: #7c7c7c;
  --rule: #262626; --rule-2: #3a3a3a;
  --card: #0b0b0b;
  --wa: #25d366;
  --rail-w: 240px;
  --pad: clamp(24px, 6vw, 104px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-tap-highlight-color: transparent; }
body {
  margin: 0; overflow-x: clip; background: var(--black); color: var(--white);
  font: 17px/1.6 var(--font); font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
strong { font-weight: 650; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }
html { scrollbar-width: thin; scrollbar-color: #444 #000; }

/* modelos separados */
.m-only { display: none !important; }

/* ---------- ícones ---------- */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ico-wa { fill: currentColor; stroke: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--font); text-decoration: none;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: #fff; color: #000; }
.btn-line { border: 1px solid var(--rule-2); color: #fff; background: transparent; }
.btn-line:hover { border-color: #fff; }
.btn-wa { background: var(--wa); color: #04170b; }

/* ---------- trilha lateral (PC) ---------- */
.rail {
  position: fixed; inset: 0 auto 0 0; z-index: 40; width: var(--rail-w); height: 100dvh;
  display: flex; flex-direction: column; gap: 40px; padding: 32px 28px;
  border-right: 1px solid var(--rule); background: #000;
  transform: translateX(-100%); visibility: hidden; z-index: 70;
  transition: transform .45s var(--ease), visibility 0s .45s;
}
.rail.open { transform: none; visibility: visible; transition: transform .45s var(--ease); box-shadow: 30px 0 80px rgba(0,0,0,.6); }
.rail-x { position: absolute; top: 22px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rule-2); background: none; color: #fff; display: grid; place-items: center; cursor: pointer; }
.rail-x:hover { border-color: #fff; }
.scrim { position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s; }
.scrim.on { opacity: 1; }

/* barra do topo (PC e celular) */
.mbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  height: 72px; padding: 0 var(--pad); padding-top: env(safe-area-inset-top, 0px);
  background: rgba(0,0,0,.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.menu-btn { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; border: 1px solid var(--rule-2); background: none; color: #fff; font: 600 14px/1 var(--font); cursor: pointer; transition: border-color .25s; }
.menu-btn:hover { border-color: #fff; }
.mbar-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mbar-logo svg { width: 40px; }
.mbar-logo span { font: 600 11px/1.15 var(--font); letter-spacing: .32em; font-stretch: 125%; color: var(--text-2); }
.mbar-r { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mbar .btn { height: 42px; padding: 0 18px; font-size: 14px; }
html.has-intro .menu-btn, html.has-intro .mbar-r, html.has-intro .mbar-logo span { opacity: 0; }
.menu-btn, .mbar-r, .mbar-logo span { transition: opacity .6s .15s var(--ease); }
.rail-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.rail-logo svg { width: 44px; }
.rail-logo span { font: 600 12px/1.15 var(--font); letter-spacing: .32em; font-stretch: 125%; color: var(--text-2); }
html.has-intro .rail-logo svg, html.intro-flying .rail-logo svg, html.has-intro .mbar-logo svg, html.intro-flying .mbar-logo svg { opacity: 0; }
.nav { display: grid; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: 12px; padding: 8px 0; text-decoration: none;
  color: var(--text-3); font-size: 15px; transition: color .25s;
}
.nav a::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.nav a:hover, .nav a.is-current { color: #fff; }
.nav a.is-current::before { width: 28px; }
.rail-foot { margin-top: auto; display: grid; gap: 14px; }
.rail-foot .btn { height: 46px; font-size: 14px; padding: 0 16px; white-space: nowrap; }
.rail-price { font-size: 13px; color: var(--text-3); line-height: 1.4; }
.rail-price strong { color: #fff; }

.lang { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; width: max-content; }
.lang button {
  height: 30px; padding: 0 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--text-3); font: 600 12px/1 var(--font); letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: #1c1c1c; color: #fff; }

/* ---------- conteúdo ---------- */
main, .foot { margin-left: 0; }
.ch { padding: clamp(88px, 13vh, 140px) var(--pad); border-top: 1px solid var(--rule); container-type: inline-size; }
.ch-tag { display: block; color: var(--text-3); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.ch h2 { font-size: clamp(34px, 5.4cqi, 72px); line-height: 1; letter-spacing: -.02em; font-weight: 700; font-variation-settings: "wdth" 112; max-width: 18ch; }
.ch-sub { margin-top: 18px; color: var(--text-2); font-size: clamp(17px, 1.6cqi, 20px); max-width: 54ch; }

/* hero */
.hero { min-height: 100dvh; padding-top: 120px; display: flex; flex-direction: column; justify-content: center; border-top: 0; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -12vw; top: 50%; width: 60vw; aspect-ratio: 1; translate: 0 -50%;
  background: radial-gradient(closest-side, rgba(255,255,255,.08), transparent); pointer-events: none;
}
.promo {
  display: inline-flex; align-items: center; gap: 10px; width: max-content;
  padding: 8px 16px 8px 10px; border: 1px solid var(--rule-2); border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.promo i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hero h1 {
  margin-top: 28px; font-weight: 800; line-height: .9; letter-spacing: -.035em;
  font-size: clamp(48px, 8.6cqi, 140px); font-variation-settings: "wdth" 125;
}
.hero h1 span { display: block; }
.hero h1 .dim { color: var(--text-3); }
.hero-lead { margin-top: 28px; max-width: 46ch; font-size: clamp(18px, 1.8cqi, 22px); color: var(--text-2); }
.hero-lead strong { color: #fff; }
.hero-price { margin-top: 36px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.hero-price .old { width: 100%; color: var(--wa); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.hero-price .big { font-size: clamp(40px, 5cqi, 64px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variation-settings: "wdth" 110; }
.hero-price .big small { font-size: .38em; font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.hero-price .plus { color: var(--text-2); font-size: 18px; }
.hero-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--text-3); font-size: 14px; }

/* incluso */
.inc { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.inc li { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.inc li + li { padding-left: 28px; border-left: 1px solid var(--rule); }
.inc li:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.inc .ico { width: 24px; height: 24px; }
.inc h3 { font-size: 18px; font-weight: 650; }
.inc p { color: var(--text-2); font-size: 15px; }

/* exemplos */
.demos { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.demo-card { text-decoration: none; display: grid; gap: 14px; }
.demo-shot {
  position: relative; aspect-ratio: 4 / 5; border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--card);
  transition: border-color .3s, transform .4s var(--ease);
}
.demo-card:hover .demo-shot { border-color: #fff; transform: translateY(-4px); }
.demo-shot iframe { position: absolute; top: 0; left: 0; width: 390px; height: 487px; border: 0; transform-origin: 0 0; pointer-events: none; }
.demo-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.demo-meta strong { font-size: 18px; }
.demo-meta span { color: var(--text-3); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* como funciona */
.steps { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 28px 28px 0 0; border-top: 2px solid var(--rule-2); counter-increment: s; position: relative; }
.steps li::before { content: counter(s); position: absolute; top: -15px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; font: 700 13px/1 var(--font); }
.steps h3 { font-size: 20px; margin-top: 8px; }
.steps p { color: var(--text-2); font-size: 15px; margin-top: 6px; max-width: 32ch; }

/* preço */
.plans { margin-top: 48px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--rule); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; background: var(--card); }
.plan-main { border-color: #fff; background: #fff; color: #000; }
.plan-main .plan-sub, .plan-main li { color: #333; }
.plan-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 24px; }
.plan-sub { color: var(--text-2); font-size: 15px; }
.plan-price { font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variation-settings: "wdth" 110; }
.plan-price small { font-size: 16px; font-weight: 600; letter-spacing: 0; }
.plan-extra { font-size: 15px; font-weight: 600; }
.plan ul { display: grid; gap: 8px; font-size: 15px; color: var(--text-2); }
.plan li { display: flex; gap: 10px; }
.plan li .ico { width: 16px; height: 16px; margin-top: 4px; }
.plan .btn { margin-top: auto; }
.plan-main .btn-solid { background: #000; color: #fff; }
.free-strike { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.free-strike s { opacity: .55; }
.free-strike b { background: #000; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 12px; letter-spacing: .06em; }

/* faq */
.faq { margin-top: 48px; border-top: 1px solid var(--rule); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 24px; font-weight: 400; transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 62ch; }

/* contato */
.contact h2 { max-width: 14ch; }
.wa-big {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 18px; text-decoration: none;
  font-size: clamp(32px, 6cqi, 84px); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variation-settings: "wdth" 115;
}
.wa-big .ico-wa { width: .8em; height: .8em; color: var(--wa); }
.wa-big:hover span { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.contact .btn { margin-top: 32px; }

.foot { border-top: 1px solid var(--rule); padding: 28px var(--pad); color: var(--text-3); font-size: 14px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

/* revelar ao rolar */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.rv.on { opacity: 1; transform: none; }

/* ---------- abertura (intro.js) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; align-items: center; justify-content: center; transition: background-color .6s var(--ease); }
.intro.is-leaving { background-color: transparent; pointer-events: none; }
.intro svg.logo { width: min(56vmin, 520px); height: min(56vmin, 520px); overflow: visible; transform-origin: 50% 40%; }
.intro-skip { position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: inline-flex; gap: 8px; }
.intro-skip button {
  height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); font: 500 13px/1 var(--font);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  opacity: 0; animation: introIn .8s .6s var(--ease) forwards;
}
.intro.is-leaving .intro-skip { opacity: 0; transition: opacity .2s; }
@keyframes introIn { to { opacity: 1; } }
html.has-intro body { overflow: hidden; }
html.has-intro main, html.has-intro .foot, html.has-intro .mcta { opacity: 0; }
main, .foot, .mcta { transition: opacity .7s var(--ease); }
html.has-intro .nav, html.has-intro .rail-foot, html.has-intro .rail-logo span { opacity: 0; transform: translateX(-8px); }
.nav, .rail-foot, .rail-logo span { transition: opacity .6s .15s var(--ease), transform .6s .15s var(--ease); }

/* =========================================================
   MODELO CELULAR
   ========================================================= */
@media (max-width: 899px) {
  .d-only { display: none !important; }
  .m-only { display: revert !important; }
  html { scroll-padding-top: 72px; }
  body { font-size: 16px; padding-bottom: 84px; }
  main, .foot { margin-left: 0; }

  .mbar { height: 60px; padding: 0 16px; gap: 12px; }
  .menu-btn { width: 42px; padding: 0; justify-content: center; }
  .mbar-logo { gap: 10px; }
  .mbar-logo svg { width: 34px; }
  .mbar-logo span { font-size: 10px; letter-spacing: .3em; }
  .rail { width: min(86vw, 320px); }
  .lang button { height: 28px; padding: 0 10px; }

  /* CTA fixo embaixo */
  .mcta {
    position: fixed; inset: auto 0 0 0; z-index: 50; display: flex !important; align-items: center; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(0,0,0,.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    border-top: 1px solid var(--rule);
  }
  .mcta-p { line-height: 1.2; font-size: 12px; color: var(--text-3); }
  .mcta-p strong { display: block; color: #fff; font-size: 17px; }
  .mcta .btn { flex: 1; height: 50px; }

  .ch { padding: 72px 20px; }
  .ch h2 { font-size: clamp(32px, 9vw, 44px); }
  .ch-sub { font-size: 16px; }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: 56px; }
  .hero::after { width: 120vw; right: -50vw; top: 30%; }
  .promo { font-size: 11px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 64px); margin-top: 22px; font-variation-settings: "wdth" 90; }
  .hero-lead { font-size: 17px; margin-top: 20px; }
  .hero-price { margin-top: 26px; }
  .hero-price .big { font-size: 46px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  /* incluso: lista compacta */
  .inc { grid-template-columns: 1fr; margin-top: 32px; }
  .inc li, .inc li + li { padding: 18px 0; border-left: 0; grid-template-columns: 28px 1fr; column-gap: 14px; }
  .inc li .ico { grid-row: span 2; margin-top: 2px; }
  .inc h3 { font-size: 16px; }
  .inc p { font-size: 14px; }

  /* exemplos: carrossel com deslize */
  .demos {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%;
    overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px -20px 0; padding: 0 20px 8px; gap: 14px;
    scrollbar-width: none;
  }
  .demos::-webkit-scrollbar { display: none; }
  .demo-card { scroll-snap-align: start; }
  .swipe-hint { margin-top: 10px; color: var(--text-3); font-size: 13px; }

  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 36px; border-left: 2px solid var(--rule-2); margin-left: 13px; }
  .steps li { border-top: 0; padding: 0 0 28px 28px; }
  .steps li::before { left: -15px; top: 0; }
  .steps h3 { margin-top: 0; font-size: 18px; }

  .plans { grid-template-columns: 1fr; margin-top: 32px; }
  .plan { padding: 24px; }
  .plan-price { font-size: 46px; }

  .faq summary { font-size: 16px; padding: 18px 36px 18px 0; }
  .faq summary::after { top: 13px; }

  .wa-big { font-size: clamp(22px, 7.4vw, 40px); gap: 10px; white-space: nowrap; }
  .foot { padding: 24px 20px; }
}
.mcta { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .promo i { animation: none; }
}
