/* Brylle Digital — brylle.com.br. Fonte servida pelo próprio site (Plus Jakarta Sans, SIL OFL). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --black: #000;
  --ink: #0e1a13;
  --text: #3d4b43;
  --mute: #66766d;
  --bg: #ffffff;
  --tint: #f2f7f4;
  --line: #e1e9e4;
  --g: #0ef866;
  --g-dark: #078a3c;
  --g-ink: #02130a;
  --g-soft: #e3fbec;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-dark); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--g); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.narrow { max-width: 880px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--g); color: var(--g-ink); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  background: var(--g); color: var(--g-ink); border: 0; border-radius: 12px; cursor: pointer;
  font: 700 16px/1 var(--font); text-decoration: none; white-space: nowrap; transition: background-color .15s, transform .15s;
}
.btn:hover { background: #4dfb8f; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }

/* Barra do topo */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,.08); }
.bar-in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.brand img { height: 30px; width: auto; }
.bar nav { display: none; gap: 26px; margin-left: auto; }
.bar nav a { color: #c3ccc6; text-decoration: none; font-size: 15px; font-weight: 500; }
.bar nav a:hover { color: #fff; }
.bar .btn { margin-left: auto; }
@media (min-width: 900px) { .bar nav { display: flex; } .bar .btn { margin-left: 0; } }

/* Barra transparente sobre o topo; fica preta ao rolar a página */
.bar-over { background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background-color .2s, border-color .2s; }
.bar-over.scrolled { background: #000; border-bottom-color: rgba(255,255,255,.08); }
.bar-over + main .hero { margin-top: -69px; padding-top: 69px; }

/* Topo escuro */
.hero { background: radial-gradient(900px 500px at 85% 20%, rgba(14,248,102,.16), transparent 60%), #000; color: #c3ccc6; overflow: hidden; }
.hero-in { display: grid; gap: 48px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: 1fr 1.05fr; gap: 40px; padding-top: 80px; padding-bottom: 96px; } }
.badge { display: inline-block; font-size: 14px; font-weight: 600; color: var(--g); background: rgba(14,248,102,.1); border: 1px solid rgba(14,248,102,.25); padding: 6px 14px; border-radius: 999px; }
.hero h1 { color: #fff; font-size: clamp(36px, 5vw, 60px); line-height: 1.06; margin-top: 22px; letter-spacing: -0.03em; }
.hero h1 .hl { color: var(--g); }
.lede { font-size: clamp(17px, 1.5vw, 19px); margin-top: 22px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: #e7ece9; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--g); }
.checks li::after { content: ""; position: absolute; left: 5px; top: .55em; width: 6px; height: 3px; border-left: 2px solid var(--g-ink); border-bottom: 2px solid var(--g-ink); transform: rotate(-45deg); }

/* Notebook + celular */
.devices { position: relative; margin-right: 6%; }
.laptop .screen { background: #1c1f1d; border: 1px solid #2e3431; border-radius: 14px 14px 0 0; padding: 2.2% 2.2% 0; }
.laptop .screen .viewport { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px 6px 0 0; background: #fff; }
.laptop .base { height: 14px; margin: 0 -5%; background: linear-gradient(#3a403c, #1c1f1d); border-radius: 0 0 14px 14px; }
.phone { position: absolute; right: -7%; bottom: 34px; width: 26%; background: #111; border: 1px solid #2e3431; border-radius: 26px; padding: 7px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
.phone .viewport { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 20px; background: #fff; }

/* Vitrine: os sites passam um de cada vez, rolando do topo até o fim (controlada pelo site.js) */
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; opacity: 0; transition: opacity .8s ease; }
.slide.ativo { opacity: 1; animation: desce var(--dur, 12s) ease-in-out forwards; }
.slide.saindo { opacity: 0; object-position: 50% 100%; }
@keyframes desce {
  0%, 14% { object-position: 50% 0%; }
  88%, 100% { object-position: 50% 100%; }
}
.now { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14px; color: #c3ccc6; min-height: 22px; }
.now b { color: #fff; font-weight: 700; }
.now-url { color: #8c978f; }
.now-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgba(14,248,102,.18); }

/* Seções claras */
.sec { padding: 88px 0; scroll-margin-top: 68px; }
.sec-tint { background: var(--tint); }
.eyebrow { color: var(--g-dark); font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.intro { margin-top: 12px; max-width: 40em; color: var(--mute); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 1px 2px rgba(14,26,19,.04); }
.sec-tint .card { border-color: #dbe6df; }
.card h3 { margin-top: 10px; }
.card p { margin-top: 8px; font-size: 16px; }
.tag { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--g-dark); background: var(--g-soft); padding: 4px 10px; border-radius: 6px; }

.grid2 { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.grid3 { display: grid; gap: 18px; margin-top: 36px; }
@media (min-width: 680px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid3 { grid-template-columns: repeat(3, 1fr); } }

.strip { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: #000; color: #c3ccc6; border-radius: 16px; padding: 24px 28px; }
.strip p { max-width: 40em; font-size: 17px; }
.strip b { color: var(--g); }

.feat svg { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--g-soft); fill: none; stroke: var(--g-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { margin-top: 16px; }
.feat-hl { background: #000; border-color: #000; }
.feat-hl h3 { color: #fff; }
.feat-hl p { color: #c3ccc6; }
.feat-hl svg { background: rgba(14,248,102,.14); stroke: var(--g); }

/* Processo */
.steps { list-style: none; counter-reset: s; margin: 40px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; background: #fff; border: 1px solid #dbe6df; border-radius: 16px; padding: 24px; display: flex; flex-direction: column; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #000; color: var(--g); font-weight: 800; margin-bottom: 14px; }
.steps p { margin-top: 8px; font-size: 16px; flex: 1; }
.pill { align-self: flex-start; margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--g-dark); background: var(--g-soft); padding: 4px 10px; border-radius: 6px; }

/* Trabalhos */
.works { display: grid; gap: 22px; margin-top: 40px; }
@media (min-width: 680px) { .works { grid-template-columns: 1fr 1fr; } .work-main { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .works { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 680px) and (max-width: 1039px) { .works > .work:last-child:not(.work-main) { grid-column: 1 / -1; flex-direction: row; } .works > .work:last-child .shot { flex: 1.2; } .works > .work:last-child .work-txt { flex: 1; align-self: center; } }
.work { display: flex; flex-direction: column; background: #fff; border: 1px solid #dbe6df; border-radius: 18px; overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.work:hover { box-shadow: 0 18px 40px -20px rgba(14,26,19,.35); transform: translateY(-2px); }
.shot { position: relative; background: #0d130f; padding: 22px 22px 0; }
.shot-d { border-radius: 10px 10px 0 0; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; width: 100%; }
.shot-m { display: none; }
.work-txt { padding: 22px 24px 24px; }
.work-txt h3 { margin-top: 10px; font-size: 21px; }
.work-txt p { margin-top: 6px; font-size: 16px; }
.more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--g-dark); font-size: 15px; }
@media (min-width: 820px) {
  .work-main { flex-direction: row; }
  .work-main .shot { flex: 1.5; padding: 28px 28px 0; }
  .work-main .shot-d { aspect-ratio: 16 / 10; width: 88%; }
  .work-main .shot-m { display: block; position: absolute; right: 22px; bottom: 0; width: 22%; border: 5px solid #111; border-bottom: 0; border-radius: 18px 18px 0 0; aspect-ratio: 390 / 700; object-fit: cover; object-position: top; }
  .work-main .work-txt { flex: 1; align-self: center; padding: 32px; }
  .work-main .work-txt h3 { font-size: 26px; }
}

/* Dúvidas */
.faq { margin-top: 32px; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--g-soft); color: var(--g-dark); font-size: 20px; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; }

/* Orçamento */
.cta { background: radial-gradient(800px 400px at 10% 0%, rgba(14,248,102,.14), transparent 60%), #000; color: #c3ccc6; padding: 88px 0; scroll-margin-top: 68px; }
.cta-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .cta-in { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cta h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); }
.cta-copy p { margin-top: 16px; font-size: 18px; max-width: 30em; }
.cta .contact { font-size: 16px; }
.cta .contact a { color: var(--g); }
.form { background: #fff; color: var(--text); border-radius: 18px; padding: 28px; display: grid; gap: 6px; box-shadow: 0 30px 60px -30px rgba(14,248,102,.35); }
.form h3 { font-size: 21px; margin-bottom: 10px; }
.form label { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 8px; }
.form input, .form select, .form textarea { width: 100%; font: 16px/1.4 var(--font); color: var(--ink); background: var(--tint); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--g-dark); background: #fff; box-shadow: 0 0 0 3px var(--g-soft); }
.form textarea { resize: vertical; }
.form .btn { margin-top: 14px; width: 100%; }
.form-err { min-height: 0; color: #c0262d; font-size: 14px; font-weight: 600; }
.form-err:empty { display: none; }
.form-note { font-size: 13px; color: var(--mute); text-align: center; margin-top: 6px; }

/* Rodapé */
.foot { background: #000; color: #8c978f; font-size: 14px; border-top: 1px solid rgba(255,255,255,.08); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 32px; padding-bottom: 36px; }
.foot img { height: 26px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #c3ccc6; text-decoration: none; }
.foot a:hover { color: #fff; }
.foot .copy { width: 100%; }

/* Botão flutuante do WhatsApp */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 15; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: var(--g-ink); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.wa-float svg { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide.ativo { animation: none; }
  .btn, .work { transition: none; }
  .work:hover { transform: none; }
}
