/* ====================================================================
   byFranke — shell novo das páginas internas (aprovado 02-12-2026).
   Continuidade com a home: dark #0a0a0a, vermelho #cf000f, Gilroy,
   títulos com ponto vermelho, nav glass fixa, rodapé único, fotos de
   serviço como hero, animações de entrada e cards liquid glass.
   Sem Bootstrap, sem jQuery, sem tema VLT.
   ==================================================================== */

:root {
  --bg: #0a0a0a;
  --ink: #f2f3f4;
  --muted: #9a9ca1;
  --dim: #74767c;
  --red: #cf000f;
  --red-h: #e3111f;
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(14, 15, 17, .55);
  --font: Gilroy, "Helvetica Neue", Arial, system-ui, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
.byf [hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body.byf {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
body.byf img { max-width: 100%; }
body.byf a { color: inherit; }

/* acessibilidade: skip-link (o mesmo da home) */
.byf .skip-link {
  position: absolute; top: -40px; left: 6px; z-index: 9999;
  background: var(--red); color: #fff; padding: 8px 16px;
  text-decoration: none; border-radius: 4px; font-size: 14px;
}
.byf .skip-link:focus { top: 6px; }
.byf main[tabindex="-1"]:focus { outline: none; }

/* ============ NAV glass fixa (a da home) ============ */
.byf-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; padding: 0 46px;
  background: linear-gradient(180deg, rgba(10,10,10,.78), rgba(10,10,10,.28) 80%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
          backdrop-filter: blur(14px) saturate(130%);
  transition: background .25s ease;
}
.byf-nav.solid {
  background: rgba(10, 10, 10, .92);
  border-bottom: 1px solid var(--line);
}
.byf-brand {
  display: inline-flex; align-items: center;
  text-decoration: none;
}
.byf-brand img { height: 23px; width: auto; display: block; }
.byf-menu { display: flex; list-style: none; gap: 46px; margin: 0; padding: 0; }
.byf-menu a {
  font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; transition: color .18s;
}
.byf-menu a:hover, .byf-menu a[aria-current] { color: var(--red); }
.byf-login {
  font-size: 15px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; transition: color .18s;
}
.byf-login:hover { color: var(--red); }

/* burger (só no mobile) */
.byf-burger {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  width: 44px; height: 44px; position: relative;
}
.byf-burger span, .byf-burger span::before, .byf-burger span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: absolute; left: 11px; transition: transform .25s, opacity .2s, top .25s;
}
.byf-burger span { top: 21px; }
.byf-burger span::before { top: -7px; left: 0; }
.byf-burger span::after { top: 7px; left: 0; }
.byf-burger[aria-expanded="true"] span { background: transparent; }
.byf-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.byf-burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* menu mobile em liquid glass */
.byf-drawer {
  position: fixed; inset: 0; z-index: 49; display: none;
  background: rgba(8, 8, 9, .72);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
          backdrop-filter: blur(22px) saturate(140%);
  padding: 110px 34px 40px;
}
.byf-drawer.open { display: block; }
.byf-drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.byf-drawer a {
  display: block; padding: 15px 4px;
  font-size: 22px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line);
}
.byf-drawer a:hover, .byf-drawer a[aria-current] { color: var(--red); }
.byf-drawer .drawer-login { margin-top: 22px; border-bottom: 0; color: var(--muted); font-size: 16px; }
html.byf-lock, html.byf-lock body { overflow: hidden; }

@media (max-width: 860px) {
  .byf-nav { padding: 0 22px; }
  .byf-menu, .byf-nav .byf-login { display: none; }
  .byf-burger { display: block; }
}

/* ============ HERO com a foto do serviço ============ */
.byf-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.byf-hero--short { min-height: 62vh; }
.byf-hero__bg { position: absolute; inset: 0; }
.byf-hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: byf-kb 24s ease-out both; }
@keyframes byf-kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.byf-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.35) 0%, rgba(10,10,10,.25) 45%, rgba(10,10,10,.92) 100%);
}
.byf-hero__inner {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--wrap); margin: 0 auto; padding: 120px 46px 86px;
}
.byf-crumb { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.byf-crumb a { color: var(--muted); text-decoration: none; }
.byf-crumb a:hover { color: var(--red); }
.byf-h1 {
  font-size: clamp(44px, 7vw, 84px); font-weight: 700; line-height: .98;
  letter-spacing: -.025em; margin: 0; text-wrap: balance;
}
.byf-dot { color: var(--red); }
.byf .has-accent-color { color: var(--red); }
.byf-hero__sub { margin: 22px 0 0; max-width: 52ch; font-size: 18px; line-height: 1.6; color: var(--muted); }
/* hero com formulário ao lado (Radar e afins) */
.byf-hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: end;
}
@media (max-width: 960px) { .byf-hero__grid { grid-template-columns: 1fr; gap: 30px; align-items: start; } }

.byf-scroll-cue {
  position: absolute; right: 46px; bottom: 40px; z-index: 1; color: var(--dim);
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl;
}
.byf-scroll-cue::after {
  content: ""; display: block; width: 1px; height: 46px; background: var(--red);
  margin: 10px auto 0; animation: byf-cue 1.8s ease-in-out infinite;
}
@keyframes byf-cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }
@media (max-width: 860px) {
  .byf-hero__inner { padding: 110px 22px 70px; }
  .byf-scroll-cue { display: none; }
}

/* ============ Botões ============ */
.byf-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: uppercase;
  padding: 17px 32px; transition: background .15s, transform .15s;
}
.byf-btn:hover { background: var(--red-h); transform: translateY(-2px); }
.byf-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.3); color: var(--ink); }
.byf-btn--ghost:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.55); }
.byf-price { margin-left: 18px; font-size: 14px; color: var(--muted); }
.byf-price b { color: var(--ink); font-size: 17px; }

/* ============ Seções ============ */
.byf-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 46px; }
.byf-block { padding: 110px 0; }
.byf-block--tight { padding-top: 0; }
.byf-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--red); margin: 0 0 16px; }
.byf-h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
.byf-lead { margin: 20px 0 0; max-width: 58ch; color: var(--muted); font-size: 16.5px; line-height: 1.65; }
.byf-prose p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.byf-prose strong { color: var(--ink); }
@media (max-width: 860px) {
  .byf-wrap { padding: 0 22px; }
  .byf-block { padding: 72px 0; }
}

/* reveal on scroll */
.byf .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.byf .rv.in { opacity: 1; transform: none; }

/* ============ Cards glass numerados ============ */
.byf-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.byf-steps--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .byf-steps, .byf-steps--2 { grid-template-columns: 1fr; } }
.byf-step {
  background: var(--glass); border: 1px solid var(--line); border-radius: 14px;
  padding: 30px 26px;
  -webkit-backdrop-filter: blur(10px) saturate(120%);
          backdrop-filter: blur(10px) saturate(120%);
  transition: transform .2s ease, border-color .2s ease;
}
.byf-step:hover { transform: translateY(-4px); border-color: rgba(207, 0, 15, .5); }
.byf-step .n { font-size: 15px; font-weight: 700; color: var(--red); letter-spacing: .06em; }
.byf-step h3 { margin: 12px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.byf-step p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ============ Split foto + texto ============ */
.byf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.byf-split--flip > .byf-photo { order: 2; }
@media (max-width: 900px) {
  .byf-split { grid-template-columns: 1fr; gap: 30px; }
  .byf-split--flip > .byf-photo { order: 0; }
}
.byf-photo { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #101114; }
.byf-photo--tall { aspect-ratio: 3 / 4; }
.byf-photo--wide { aspect-ratio: 16 / 9; }
.byf-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.byf-photo:hover img { transform: scale(1.04); }
.byf-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.55)); pointer-events: none; }
.byf-photo--plain::after { content: none; }
.byf-photo--contain img { object-fit: contain; padding: 14px; }

.byf-ticks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.byf-ticks li { display: flex; gap: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.byf-ticks li b, .byf-ticks li strong { color: var(--ink); font-weight: 600; }
.byf-ticks li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-top: 8px; }

/* ============ Cards de serviço com FOTO (cross-sell) ============ */
.byf-svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 52px; }
.byf-svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .byf-svc-grid, .byf-svc-grid--3 { grid-template-columns: 1fr; } }
.byf-svc {
  position: relative; display: block; border-radius: 16px; overflow: hidden;
  min-height: 260px; text-decoration: none; border: 1px solid var(--line);
}
.byf-svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.byf-svc:hover img { transform: scale(1.05); }
.byf-svc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.15), rgba(10,10,10,.88) 82%); }
.byf-svc .inner { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px 26px; }
.byf-svc h3 { margin: 0; font-size: 23px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.byf-svc p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 46ch; }
.byf-svc .go {
  position: absolute; top: 20px; right: 22px; z-index: 1; width: 40px; height: 40px; border-radius: 50%;
  background: var(--glass); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  display: grid; place-items: center; color: #fff; font-size: 17px; transition: background .2s, border-color .2s;
}
.byf-svc:hover .go { background: var(--red); border-color: var(--red); }

/* ============ CTA final glass ============ */
.byf-cta {
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  -webkit-backdrop-filter: blur(12px) saturate(125%);
          backdrop-filter: blur(12px) saturate(125%);
  padding: 58px 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.byf-cta h2 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.02em; }
.byf-cta p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .byf-cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; } }

/* ============ RODAPÉ único (o da home) ============ */
.byf-footer {
  border-top: 1px solid var(--line); margin-top: 20px;
  padding: 34px 46px; display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.byf-footer .left { color: var(--muted); font-size: 13.5px; line-height: 2; }
.byf-footer .left a { color: var(--muted); text-decoration: none; }
.byf-footer .left a:hover { color: var(--red); }
.byf-footer .lang { display: flex; gap: 14px; font-size: 13px; letter-spacing: .04em; }
.byf-footer .lang a { color: var(--dim); text-decoration: none; }
.byf-footer .lang a.is-active { color: var(--red); }
@media (max-width: 860px) { .byf-footer { padding: 28px 22px; } }

/* ============ Formulários (campos escuros, foco vermelho) ============ */
.byf-field { margin-top: 18px; }
.byf-field label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--dim); margin-bottom: 8px;
}
.byf-field input[type="text"],
.byf-field input[type="email"],
.byf-field input[type="url"],
.byf-field input[type="tel"],
.byf-field input[type="date"],
.byf-field input[type="datetime-local"],
.byf-field input[type="number"],
.byf-field select,
.byf-field textarea {
  width: 100%; background: rgba(8, 8, 9, .6); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px; color: var(--ink); font-size: 16px; font-family: inherit;
  padding: 15px 16px; transition: border-color .18s, background .18s;
  color-scheme: dark;
}
.byf-field input::placeholder, .byf-field textarea::placeholder { color: var(--dim); }
.byf-field input:focus, .byf-field select:focus, .byf-field textarea:focus {
  outline: none; border-color: var(--red); background: rgba(8, 8, 9, .85);
}
.byf-field-note { font-size: 12.5px; color: var(--dim); line-height: 1.55; margin: 12px 0 0; }
.byf-error {
  display: none; margin-top: 14px; padding: 12px 14px;
  border-left: 3px solid var(--red); border-radius: 0 8px 8px 0;
  background: rgba(207, 0, 15, .08); color: #f0f0f0; font-size: 14px;
}
.byf-error.is-visible { display: block; }
.byf-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; cursor: pointer; }
.byf-check input { margin-top: 3px; accent-color: var(--red); }
.byf-check span { color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* card glass para formulário dentro do hero */
.byf-form-card {
  background: var(--glass); border: 1px solid var(--line); border-radius: 18px;
  -webkit-backdrop-filter: blur(14px) saturate(125%);
          backdrop-filter: blur(14px) saturate(125%);
  padding: 30px 28px; max-width: 560px;
}
.byf-form-card .byf-btn { width: 100%; justify-content: center; margin-top: 20px; }
.byf-form-card .byf-field:first-child { margin-top: 0; }
@media (max-width: 860px) { .byf-form-card { padding: 24px 20px; max-width: none; } }

/* ============ FAQ (details no padrão do shell) ============ */
.byf-faq { margin-top: 44px; display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.byf-faq details {
  background: var(--glass); border: 1px solid var(--line); border-radius: 12px;
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  overflow: hidden;
}
.byf-faq summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.byf-faq summary::-webkit-details-marker { display: none; }
.byf-faq summary::after { content: "+"; color: var(--red); font-size: 20px; font-weight: 400; transition: transform .2s; }
.byf-faq details[open] summary::after { transform: rotate(45deg); }
.byf-faq details p { margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.byf-faq details[open] { border-color: rgba(207, 0, 15, .4); }

/* ============ Texto legal (privacidade, termos) ============ */
.byf-legal { max-width: 820px; }
.byf-legal h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 46px 0 12px; }
.byf-legal p { color: var(--muted); font-size: 15.5px; line-height: 1.75; margin: 0 0 10px; }
.byf-legal strong { color: var(--ink); }
.byf-legal a { color: var(--ink); }
.byf-legal a:hover { color: var(--red); }
.byf-legal .lastupdate { color: var(--dim); font-size: 13px; letter-spacing: .04em; margin-top: 44px; }

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .byf .rv { opacity: 1; transform: none; transition: none; }
  .byf-hero__bg img { animation: none; }
  .byf-scroll-cue::after { animation: none; }
  .byf-photo img, .byf-svc img { transition: none; }
}

/* ============ Upsell Sheep Platform (card com foto de fundo) ============ */
.byf-upsell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  background: #0d0d0d;
  border: 1px solid #222;
}
.byf-upsell__photo { position: absolute; inset: 0; z-index: -1; }
.byf-upsell__photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 70% 40%;
  filter: saturate(.6) brightness(.7);
}
.byf-upsell__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0d0d0d 0%, rgba(13, 13, 13, .92) 45%, rgba(13, 13, 13, .35) 100%);
}
.byf-upsell__body { max-width: 620px; padding: 40px 36px; }
.byf-upsell__kicker {
  margin: 0 0 10px; color: #888;
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.byf-upsell__title {
  margin: 0 0 14px; color: #fff;
  font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem); line-height: 1.15;
}
.byf-upsell__text { margin: 0 0 18px; color: #b4b4b4; }
.byf-upsell__list { margin: 0 0 26px; padding: 0; list-style: none; }
.byf-upsell__list li {
  position: relative; padding: 7px 0 7px 20px;
  color: #e0e0e0; font-size: 0.95rem;
}
.byf-upsell__list li::before {
  content: ""; position: absolute; left: 0; top: calc(7px + 0.75em);
  width: 8px; height: 1px; background: #cf000f;
}
.byf-upsell__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.byf-upsell__link {
  color: #fff; font-size: 0.9rem;
  text-decoration: underline; text-underline-offset: 4px;
}
.byf-upsell__link:hover { color: #cf000f; }
.byf-upsell__note { margin: 16px 0 0; color: #777; font-size: 0.8rem; }
@media (max-width: 767px) {
  .byf-upsell__photo::after {
    background: linear-gradient(180deg, rgba(13, 13, 13, .55) 0%, rgba(13, 13, 13, .9) 55%, #0d0d0d 100%);
  }
  .byf-upsell__body { padding: 28px 22px; }
}
@media print {
  .byf-upsell { display: none !important; }
}
