/* ============================================================
   fern.dev — v2 · Swiss/grid REFINADO (sophisticated)
   warm neutrals · serif numerals · hairlines · grain · elegant motion
   ============================================================ */

:root {
  /* surfaces — warm, layered */
  --paper:    #eceae2;
  --paper-2:  #e4e1d7;
  --paper-3:  #f4f2ec;
  --ink:      #100f0c;
  --ink-2:    #16150f;
  --ink-card: #181711;

  --tx:       #100f0c;
  --tx-muted: rgba(16,15,12,.56);
  --tx-faint: rgba(16,15,12,.36);
  --tx-ghost: rgba(16,15,12,.18);

  --txd:       #eceae2;
  --txd-muted: rgba(236,234,226,.58);
  --txd-faint: rgba(236,234,226,.32);

  /* hairlines — finer, lighter */
  --line:    rgba(16,15,12,.10);
  --line-2:  rgba(16,15,12,.17);
  --line-3:  rgba(16,15,12,.28);
  --line-d:  rgba(236,234,226,.12);
  --line-d2: rgba(236,234,226,.22);

  --accent:    #1f6a44;
  --accent-2:  #2c7d53;
  --accent-d:  #57b984;

  --serif: "Sora", "Hanken Grotesk", sans-serif;
  --sans:  "Sora", "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, monospace;

  --pad: clamp(22px, 5vw, 92px);
  --maxw: 1460px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: auto; }
body {
  margin: 0; background: var(--paper); color: var(--tx);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  overflow-x: hidden; cursor: none; position: relative;
}
@media (max-width: 700px) { body { cursor: auto; } }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,p { margin: 0; }
img { display: block; max-width: 100%; }

/* fine grain overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

.kick { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; }
.idx  { font-family: var(--mono); font-size: 13px; color: var(--tx-faint); }

/* ---------- section ---------- */
.section { position: relative; border-top: 1px solid var(--line); }
.section.dark { background: var(--ink); color: var(--txd); border-top-color: var(--line-d); }

/* crop-mark corner ticks on each section's content frame */
.section > .wrap { position: relative; }
.section > .wrap::before, .section > .wrap::after {
  content: ""; position: absolute; top: 0; width: 9px; height: 9px; opacity: .5;
}
.section > .wrap::before { left: calc(var(--pad) - 16px); border-left: 1px solid var(--line-3); border-top: 1px solid var(--line-3); }
.section > .wrap::after  { right: calc(var(--pad) - 16px); border-right: 1px solid var(--line-3); border-top: 1px solid var(--line-3); }
.section.dark > .wrap::before, .section.dark > .wrap::after { border-color: var(--line-d2); }
@media (max-width: 700px) { .section > .wrap::before, .section > .wrap::after { display: none; } }

/* section header — refined */
.sec-head {
  display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1.28fr);
  gap: 30px 64px; align-items: end;
  padding-top: clamp(64px, 8vw, 132px);
  padding-bottom: clamp(40px, 5vw, 76px);
}
.sec-head .meta { display: flex; flex-direction: column; gap: 22px; }
.sec-head .kick { color: var(--accent); display: inline-flex; align-items: center; gap: 12px; }
.section.dark .sec-head .kick { color: var(--accent-d); }
.sec-row, .sec-rule { display: none; }

.sec-title {
  font-family: var(--sans); font-weight: 580;
  font-size: clamp(33px, 5vw, 72px); line-height: 1.0;
  letter-spacing: -.032em; text-wrap: balance;
}
.sec-lead {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(18px, 1.7vw, 23px); line-height: 1.5; color: var(--tx-muted);
  max-width: 44ch;
}
.section.dark .sec-lead { color: var(--txd-muted); }
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 22px; } }
/* sections without a lead — let the title use the full measure */
#diferenciais .sec-head { grid-template-columns: 1fr; }
#diferenciais .sec-title { max-width: 18ch; }

/* ---------- reveal — refined, blur-in ---------- */
.rv { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .40s; } .rv-d6 { transition-delay: .48s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; filter: none; } }

/* ============================================================ CURSOR */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 9999; width: 32px; height: 32px; margin: -16px 0 0 -16px;
  border: 1px solid var(--ink); border-radius: 50%; pointer-events: none; mix-blend-mode: difference; background: transparent;
  transition: width .28s var(--ease), height .28s var(--ease), margin .28s var(--ease), background .28s var(--ease);
}
.cursor-dot { position: fixed; top:0; left:0; z-index: 9999; width: 3px; height: 3px; margin: -1.5px 0 0 -1.5px; background: var(--ink); border-radius: 50%; pointer-events: none; mix-blend-mode: difference; }
.cursor.hot { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; }
.cursor-label { position: fixed; top:0; left:0; z-index: 9999; transform: translate(-50%,-50%); font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #000; mix-blend-mode: difference; opacity: 0; transition: opacity .2s; pointer-events: none; white-space: nowrap; }
.cursor-label.show { opacity: 1; }
@media (max-width: 700px) { .cursor,.cursor-dot,.cursor-label { display: none; } }

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; padding-inline: var(--pad);
  border-bottom: 1px solid transparent; transition: background .45s var(--ease), border-color .45s, height .35s;
}
.nav.scrolled { background: color-mix(in srgb, var(--paper) 78%, transparent); backdrop-filter: blur(18px) saturate(1.3); border-bottom-color: var(--line-2); height: 60px; }
.brand { font-family: var(--mono); font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.brand .blink { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent); animation: blink 1.8s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 13.5px; color: var(--tx-muted); transition: color .25s; position: relative; letter-spacing: .005em; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-6px; height:1px; width:0; background: var(--ink); transition: width .35s var(--ease); }
.nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { width: 100%; }
.nav-cta { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; padding: 9px 17px; border: 1px solid var(--line-3); border-radius: 40px; display: inline-flex; align-items: center; gap: 9px; transition: background .3s, color .3s, border-color .3s; }
.nav-cta:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.nav-cta .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 color-mix(in srgb,var(--accent) 55%,transparent);} 70%{box-shadow:0 0 0 7px transparent;} 100%{box-shadow:0 0 0 0 transparent;} }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ============================================================ HERO */
.hero { padding-top: 68px; }
.hero-meta {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-muted);
}
.hero-meta .dot { display: inline-flex; align-items: center; gap: 9px; }
.hero-meta .gd { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 14%,transparent); }

.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 4vw, 70px); padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(44px, 5vw, 78px); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-left { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; }
.hero-h1 { font-family: var(--sans); font-size: clamp(46px, 8vw, 122px); font-weight: 600; line-height: .92; letter-spacing: -.045em; }
.hero-h1 .ln { display: block; overflow: hidden; }
.hero-h1 .ln span { display: block; transform: translateY(102%); transition: transform 1.05s var(--ease-soft); }
.hero.ready .hero-h1 .ln span { transform: none; }
.hero-h1 .ln:nth-child(2) span { transition-delay: .08s; }
.hero-h1 .ln:nth-child(3) span { transition-delay: .16s; }
.hero-h1 .ln:nth-child(4) span { transition-delay: .24s; }
.hero-h1 .mut { color: var(--tx-faint); font-weight: 300; letter-spacing: -.045em; }

.hero-sub { font-family: var(--serif); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.5; color: var(--tx-muted); max-width: 50ch; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  padding: 15px 24px; border-radius: 44px; border: 1px solid var(--ink); transition: transform .3s var(--ease), background .35s, color .35s, border-color .35s; position: relative; will-change: transform;
}
.btn .ar { transition: transform .35s var(--ease); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover .ar { transform: translate(4px,-4px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-3); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-ghost:hover .ar { transform: translateY(4px); }

/* stats — serif numerals, airy */
.hero-stats { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-2); margin-top: 40px; }
.hero-stats .st { padding: 26px 24px 4px 0; border-right: 1px solid var(--line); }
.hero-stats .st:last-child { border-right: 0; }
.hero-stats .sv { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.2vw, 50px); letter-spacing: -.02em; line-height: 1; }
.hero-stats .sl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tx-muted); margin-top: 12px; }

/* terminal — refined chrome */
.term {
  background: var(--ink); color: var(--txd); border-radius: 8px; font-family: var(--mono); font-size: 13px; line-height: 1.95;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 40px 90px -40px rgba(0,0,0,.6), 0 8px 24px -16px rgba(0,0,0,.5);
  overflow: hidden; align-self: start; position: relative; border: 1px solid rgba(0,0,0,.4);
}
.term::before { content:""; position:absolute; inset:0; pointer-events:none; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 16%); }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-d); }
.term-bar .tl { width: 10px; height: 10px; border-radius: 50%; background: rgba(236,234,226,.14); }
.term-bar .tl:nth-child(1){ background: rgba(236,234,226,.22);} 
.term-bar .tt { margin-left: 12px; font-size: 10.5px; color: var(--txd-faint); letter-spacing: .12em; text-transform: uppercase; }
.term-body { padding: 22px 22px 28px; min-height: 274px; }
.term-line { white-space: pre-wrap; }
.term-line.cmd { color: var(--txd); }
.term-line.muted { color: var(--txd-muted); }
.term-line .pr { color: var(--accent-d); }
.term-line .ar { color: var(--txd-faint); }
.term-line .red { color: #df8a76; }
.term-line .verd { color: var(--accent-d); font-weight: 500; }
.term-cur { display: inline-block; width: 7px; height: 15px; background: var(--accent-d); transform: translateY(2px); animation: blink 1.05s steps(1) infinite; }

/* ============================================================ PROBLEMA — refined ruled grid */
.prob-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; border-top: 1px solid var(--line-2); }
.prob-cell {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 40px 40px 48px 0; min-height: 254px; position: relative; transition: background .4s var(--ease);
}
.prob-cell:nth-child(3n) { border-right: 0; }
.prob-cell { padding-left: 34px; }
.prob-cell:nth-child(3n+1) { padding-left: 0; }
.prob-cell:hover { background: var(--paper-3); }
.prob-cell .pn { font-family: var(--mono); font-weight: 500; font-size: 22px; color: var(--accent); line-height: 1; }
.prob-cell h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 22px 0 14px; }
.prob-cell p { font-size: 14.5px; line-height: 1.6; color: var(--tx-muted); max-width: 38ch; }
.prob-cell::after { content:""; position:absolute; left:0; bottom:-1px; right: 0; height:1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.prob-cell:hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .prob-grid { grid-template-columns: 1fr 1fr; } .prob-cell:nth-child(3n){border-right:1px solid var(--line);} .prob-cell:nth-child(2n){border-right:0;} .prob-cell, .prob-cell:nth-child(3n+1){padding-left:0;} .prob-cell:nth-child(2n){padding-left:34px;} }
@media (max-width: 560px) { .prob-grid { grid-template-columns: 1fr; } .prob-cell, .prob-cell:nth-child(2n){border-right:0; padding-left:0; min-height:0;} }

/* ============================================================ SERVIÇOS — refined hover (no black slab) */
.serv-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.serv {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 34px 32px 36px; min-height: 326px; position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: background .45s var(--ease);
}
.serv .fill { display: none; }
.serv::before { content:""; position:absolute; top:0; left:0; right:0; height:2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); z-index: 2; }
.serv:hover { background: var(--paper-3); }
.serv:hover::before { transform: scaleX(1); }
.serv-top { display: flex; align-items: flex-start; justify-content: space-between; }
.serv .sn { font-family: var(--mono); font-size: 15px; color: var(--tx-faint); }
.serv .glyph { width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--tx); transition: border-color .4s, transform .5s var(--ease), color .4s; }
.serv .glyph svg { width: 18px; height: 18px; }
.serv:hover .glyph { border-color: var(--accent); color: var(--accent); transform: rotate(-8deg); }
.serv h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin: 44px 0 0; transition: transform .45s var(--ease); }
.serv:hover h3 { transform: translateX(4px); }
.serv p { font-size: 13.5px; line-height: 1.6; color: var(--tx-muted); margin-top: 14px; flex: 1; }
.serv .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.serv .tag { font-family: var(--mono); font-size: 10px; letter-spacing: .07em; text-transform: uppercase; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 40px; color: var(--tx-muted); }
@media (max-width: 980px) { .serv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .serv-grid { grid-template-columns: 1fr; } .serv { min-height: 0; } }

/* ============================================================ PORTFÓLIO */
.port-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.port-tile {
  position: relative; aspect-ratio: 4/3; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.port-tile .ph { position: absolute; inset: 0; z-index: 0; background-image: repeating-linear-gradient(45deg, transparent 0 10px, rgba(16,15,12,.04) 10px 11px); }
.port-tile .ph::after { content:"IMG"; position:absolute; top:18px; left:20px; font-family: var(--mono); font-size: 9px; letter-spacing:.2em; color: var(--tx-faint); }
.port-tile > * { position: relative; z-index: 1; }
.port-tile .ptag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-muted); }
.port-tile .pname { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: -.01em; margin-top: 5px; display: flex; align-items: center; gap: 9px; }
.port-tile .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent); }
.port-tile:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -28px rgba(16,15,12,.4); }
.port-tile .open { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 10px; opacity: 0; transform: translateY(-4px); transition: .35s var(--ease); }
.port-tile:hover .open { opacity: 1; transform: none; }
.port-note { margin-top: 24px; border: 1px solid var(--line-2); border-radius: 6px; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; padding: 36px 40px; background: var(--paper-3); }
.port-note .big { font-family: var(--serif); font-weight: 400; font-size: clamp(56px,7vw,96px); letter-spacing: -.03em; line-height: 1; }
.port-note .big sub { font-family: var(--mono); font-size: 13px; font-weight: 500; vertical-align: super; color: var(--accent); }
.port-note h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 9px; }
.port-note p { font-size: 14.5px; line-height: 1.6; color: var(--tx-muted); max-width: 70ch; }
@media (max-width: 900px) { .port-grid { grid-template-columns: 1fr 1fr; } .port-note { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 560px) { .port-grid { grid-template-columns: 1fr; } }

/* ============================================================ DIFERENCIAIS (dark) */
.diff-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: clamp(38px,4.5vw,62px); }
.diff-intro p { font-family: var(--serif); font-size: clamp(16px,1.5vw,20px); line-height: 1.55; color: var(--txd-muted); }
@media (max-width: 820px) { .diff-intro { grid-template-columns: 1fr; gap: 18px; } }

.cmp { border-top: 1px solid var(--line-d2); }
.cmp-head { display: grid; grid-template-columns: 1fr 150px 150px; padding: 18px 0; border-bottom: 1px solid var(--line-d); }
.cmp-head span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--txd-faint); }
.cmp-head .me { color: var(--accent-d); text-align: center; }
.cmp-head .mk { text-align: center; }
.cmp-row { display: grid; grid-template-columns: 1fr 150px 150px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line-d);
  opacity: 0; transform: translateX(-16px); transition: opacity .6s, transform .6s var(--ease); }
.cmp-row.in { opacity: 1; transform: none; }
.cmp-row .crit { font-size: clamp(15px,1.4vw,18px); font-weight: 500; letter-spacing: -.01em; }
.cmp-row .cell { display: grid; place-items: center; }
.mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; }
.mark.no { color: var(--txd-faint); border: 1px solid var(--line-d2); }
.mark.yes { background: var(--accent-d); color: #06231a; }
.mark svg { width: 15px; height: 15px; }
.cmp-row .mecell { position: relative; }
.cmp-row .mecell::before { content:""; position: absolute; inset: -11px 0; background: rgba(87,185,132,.06); }
@media (max-width: 640px) { .cmp-head, .cmp-row { grid-template-columns: 1fr 64px 64px; } .cmp-row .crit { font-size: 14px; padding-right: 10px; } }

/* ============================================================ PROCESSO */
.proc-grid { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid var(--line); }
.proc { border-right: 1px solid var(--line); padding: 34px 28px 36px 28px; min-height: 290px; position: relative; }
.proc .pn { font-family: var(--mono); font-weight: 500; font-size: 16px; color: var(--accent); }
.proc .bar { height: 1px; background: var(--line-2); margin: 22px 0 28px; position: relative; overflow: hidden; }
.proc .bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.proc.in .bar i { transform: scaleX(1); }
.proc h3 { font-size: 23px; font-weight: 600; letter-spacing: -.02em; }
.proc p { font-size: 13.5px; line-height: 1.6; color: var(--tx-muted); margin-top: 14px; }
@media (max-width: 900px) { .proc-grid { grid-template-columns: 1fr 1fr; } .proc { min-height: 230px; } }
@media (max-width: 520px) { .proc-grid { grid-template-columns: 1fr; } .proc { min-height: 0; padding: 30px 0; border-right: 0; padding-left: 24px; } }

/* ============================================================ FAQ */
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); transition: padding .4s var(--ease); }
.faq-item.open { background: linear-gradient(90deg, var(--paper-3), transparent 60%); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; cursor: none; display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 18px; padding: 30px 0; font-family: var(--sans); color: var(--ink); }
@media (max-width: 700px) { .faq-q { cursor: pointer; } }
.faq-q .qn { font-family: var(--mono); font-size: 14px; color: var(--tx-faint); }
.faq-q .qt { font-size: clamp(18px,1.9vw,25px); font-weight: 550; letter-spacing: -.02em; transition: color .25s, transform .35s var(--ease); }
.faq-q:hover .qt { color: var(--accent); transform: translateX(4px); }
.faq-q .pm { position: relative; width: 17px; height: 17px; justify-self: end; transition: transform .35s var(--ease); }
.faq-item.open .pm { transform: rotate(180deg); }
.faq-q .pm::before, .faq-q .pm::after { content:""; position:absolute; background: var(--ink); transition: transform .3s; }
.faq-q .pm::before { top: 8px; left: 0; width: 17px; height: 1.5px; }
.faq-q .pm::after { left: 8px; top: 0; width: 1.5px; height: 17px; }
.faq-item.open .pm::after { transform: scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .45s var(--ease); }
.faq-a-inner { padding: 0 0 32px 62px; max-width: 74ch; font-family: var(--serif); font-size: 17px; line-height: 1.62; color: var(--tx-muted); }
@media (max-width: 700px) { .faq-a-inner { padding-left: 0; } }

/* ============================================================ CTA (dark) + FOOTER */
.cta { background: var(--ink); color: var(--txd); text-align: center; padding: clamp(80px,10vw,168px) 0; position: relative; overflow: hidden; }
.cta .avail { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--txd-muted); margin-bottom: 40px; }
.cta .avail .ld { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-d); box-shadow: 0 0 12px var(--accent-d); }
.cta h2 { font-family: var(--sans); font-size: clamp(40px,6.2vw,98px); font-weight: 600; line-height: .98; letter-spacing: -.04em; max-width: 17ch; margin: 0 auto; }
.cta h2 em { font-style: normal; font-weight: 600; color: var(--accent-d); }
.cta p { font-family: var(--serif); font-size: clamp(17px,1.6vw,22px); color: var(--txd-muted); max-width: 50ch; margin: 30px auto 46px; line-height: 1.5; }
.cta .btn-solid { background: var(--paper); color: var(--ink); border-color: var(--paper); font-size: 14px; padding: 18px 32px; }
.cta .btn-solid:hover { background: var(--accent-d); border-color: var(--accent-d); color: #06231a; }
.cta .openings { margin-top: 32px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--txd-faint); display: inline-flex; align-items: center; gap: 9px; }
.cta .openings .gd { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-d); }
.cta-wm { position: absolute; bottom: -12%; left: 50%; transform: translateX(-50%); font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 32vw; color: rgba(236,234,226,.028); letter-spacing: -.03em; pointer-events: none; user-select: none; line-height: 1; }

.footer { background: var(--ink); color: var(--txd); border-top: 1px solid var(--line-d); }
.footer-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; padding: 34px 0; }
.footer .brand { color: var(--txd); }
.footer .fr { font-family: var(--mono); font-size: 11px; color: var(--txd-muted); letter-spacing: .05em; }
.footer .fl { display: flex; gap: 24px; }
.footer .fl a { font-family: var(--mono); font-size: 11px; color: var(--txd-muted); letter-spacing: .05em; position: relative; transition: color .2s; }
.footer .fl a:hover { color: var(--txd); }
.footer .fl a::after { content:""; position:absolute; left:0; bottom:-3px; height:1px; width:0; background: var(--accent-d); transition: width .25s; }
.footer .fl a:hover::after { width: 100%; }

/* CTA em accent — add italic emphasis to a word via JS-free markup already present (none) */

/* ---- satolo brand logos ---- */
.brand img { height: 22px; width: auto; display: block; }
.nav.scrolled .brand img { height: 20px; }
.footer .brand img { height: 20px; }
.cta-wm img { display: block; width: 58vw; max-width: 860px; height: auto; opacity: .05; }

/* ============================================================
   PORTFÓLIO — realistic store-screenshot cards (v2)
   ============================================================ */
.port-tile.shotcard {
  aspect-ratio: auto; padding: 0; display: flex; flex-direction: column;
  background: var(--paper-3); border-radius: 8px;
}
.port-tile.shotcard .ph,
.port-tile.shotcard > .ptag,
.port-tile.shotcard > .pname { display: none; }

.shot { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #cfc9bc; display: flex; flex-direction: column; }
.shot .chrome {
  flex: 0 0 26px; display: flex; align-items: center; gap: 5px; padding: 0 11px;
  background: rgba(245,243,237,.92); border-bottom: 1px solid rgba(16,15,12,.10); position: relative; z-index: 3;
}
.shot .chrome i { width: 7px; height: 7px; border-radius: 50%; background: rgba(16,15,12,.18); }
.shot .chrome .url {
  margin-left: 10px; font-family: var(--mono); font-size: 8.5px; letter-spacing: .03em;
  color: rgba(16,15,12,.42); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: rgba(16,15,12,.05); padding: 3px 9px; border-radius: 20px;
}
.shot .page { position: relative; flex: 1; overflow: hidden; }
.shot .photo { position: absolute; inset: 0; z-index: 0; }
/* faux studio grain + soft vignette over the photo for realism */
.shot .page::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(255,255,255,.16), transparent 42%),
    radial-gradient(130% 120% at 50% 120%, rgba(0,0,0,.34), transparent 55%);
}
.shot .snav {
  position: absolute; top: 0; left: 0; right: 0; height: 30px; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; padding: 0 14px;
}
.shot .slogo { font-family: var(--serif); font-style: italic; font-size: 12px; letter-spacing: -.01em; white-space: nowrap; }
.shot .slinks { display: flex; gap: 8px; align-items: center; }
.shot .slinks i { width: 15px; height: 3px; border-radius: 2px; background: currentColor; opacity: .42; }
.shot .slinks b { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .6; }
.shot .scap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; }
.shot .stitle { font-family: var(--serif); font-weight: 500; font-size: clamp(15px, 2.4vw, 21px); line-height: 1.0; letter-spacing: -.015em; }
.shot .ssub { font-family: var(--mono); font-size: 8px; letter-spacing: .16em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.shot .sbtn { display: inline-block; margin-top: 9px; font-family: var(--mono); font-size: 7.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border: 1px solid currentColor; border-radius: 30px; opacity: .85; }
/* product-row variant */
.shot .srow { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.shot .srow span { aspect-ratio: 3/4; border-radius: 3px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(2px); }
.shot.tone-light .srow span { background: rgba(16,15,12,.06); border-color: rgba(16,15,12,.12); backdrop-filter: none; }
.shot .sglabel { position: absolute; top: 40px; left: 14px; z-index: 2; font-family: var(--mono); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; opacity: .55; }

.shot.tone-dark { color: #f2efe7; }
.shot.tone-light { color: #16150f; }
.shot.tone-light .chrome { background: rgba(255,255,255,.9); }

/* caption strip under the screenshot */
.shotcard .tile-cap {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; border-top: 1px solid var(--line-2);
}
.shotcard .tile-cap .left { display: flex; flex-direction: column; gap: 3px; }
.shotcard .tile-cap .pname { font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: -.01em; display: flex; align-items: center; gap: 9px; }
.shotcard .tile-cap .live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--accent) 16%,transparent); flex: 0 0 auto; }
.shotcard .tile-cap .ptag { font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--tx-muted); }
.shotcard .tile-cap .go { font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--tx-faint); white-space: nowrap; transition: color .3s, transform .35s var(--ease); }
.port-tile.shotcard:hover .tile-cap .go { color: var(--accent); transform: translate(3px,-3px); }
.port-tile.shotcard:hover { box-shadow: 0 34px 56px -30px rgba(16,15,12,.42); }
/* subtle "screen on" lift of the shot on hover */
.port-tile.shotcard .shot .photo { transition: transform .8s var(--ease); }
.port-tile.shotcard:hover .shot .photo { transform: scale(1.05); }

