/* ==========================================================
   Brandly AO — estilo minimalista (preto + laranja)
   Para mudar o tamanho do logo: --logo-h (por defeito 21px)
   ========================================================== */
:root {
  --bg: #000;
  --card: #141414;
  --line: #222;
  --text: #fff;
  --muted: #9a9a9a;
  --accent: #ff6b00;

  --logo-h: 21px;          /* tamanho do logo */
  --logo-filter: none;     /* use "brightness(0) invert(1)" para forçar logo branco */

  --header-h: 72px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
i { font-style: normal; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* progresso */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 120; }

/* header */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: rgba(0,0,0,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: var(--logo-h); width: auto; max-width: 220px; object-fit: contain; filter: var(--logo-filter); }
.logo-text { font-weight: 800; letter-spacing: .02em; font-size: 22px; }
.logo-text.small { font-size: 18px; margin-bottom: 10px; }
.header-right { display: flex; align-items: center; gap: 18px; }

.lang { display: inline-flex; border: 1px solid #333; }
.lang button {
  padding: 8px 16px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--muted);
}
.lang button.on { background: var(--accent); color: #000; }

.burger { width: 40px; height: 28px; position: relative; }
.burger span { position: absolute; left: 4px; right: 4px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.burger span:nth-child(1) { top: 9px; }
.burger span:nth-child(2) { top: 17px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 13px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 13px; transform: rotate(-45deg); }

/* menu */
.menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: #000;
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu.open { opacity: 1; visibility: visible; }
.menu a { font-size: clamp(34px, 9vw, 64px); font-weight: 800; line-height: 1.2; transition: color .2s; }
.menu a:hover { color: var(--accent); }

/* tipografia */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.eyebrow.center { text-align: center; }
.h2 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 24px; }
.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 0 40px; }
.muted { color: var(--muted); }
.small-t { font-size: 13px; margin: 0; }

/* botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 18px 32px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: var(--accent); }
.btn-dark { background: #141414; color: var(--accent); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: #444; color: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.link-arrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.link-arrow:hover { color: #fff; }

/* hero */
.hero { padding: calc(var(--header-h) + 72px) 0 80px; }
.hero-title { font-size: clamp(48px, 11vw, 112px); font-weight: 900; line-height: .98; letter-spacing: -.02em; margin: 0 0 40px; max-width: 900px; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-kicker { font-size: clamp(18px, 2.4vw, 22px); font-weight: 700; margin: 0 0 12px; max-width: 560px; }
.hero-text { color: var(--muted); font-size: 18px; max-width: 520px; margin: 0 0 40px; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }

/* clientes */
.clients { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; }
.clients .eyebrow { margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: slide 36s linear infinite; }
.marquee-track span { font-size: 28px; font-weight: 800; letter-spacing: .04em; color: #4a4a4a; white-space: nowrap; }
.marquee-track span.dot { color: var(--accent); font-size: 14px; align-self: center; }
@keyframes slide { to { transform: translateX(-50%); } }

/* blocos */
.block { padding: 104px 0; }
.block + .block { border-top: 1px solid var(--line); }

/* cards de websites */
.cards { display: grid; gap: 32px; grid-template-columns: 1fr; margin-top: 48px; }
.card { background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; }
.thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0c0c; cursor: pointer; width: 100%;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: rgba(0,0,0,.88); padding: 12px 16px; font-size: 16px; font-weight: 800; letter-spacing: .12em; }
.ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: radial-gradient(120% 120% at 20% 0%, #1d1d1d, #0a0a0a);
  color: #3d3d3d; font-weight: 900; font-size: clamp(22px, 4vw, 34px); letter-spacing: .02em;
}
.card-body { padding: 32px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.card-name { font-size: clamp(28px, 4vw, 38px); font-weight: 800; line-height: 1.1; margin: 0 0 10px; }
.card-cat { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0; }
.card-line { height: 1px; background: var(--line); margin: 24px 0; }
.card-desc { font-size: 18px; color: #bdbdbd; margin: 0 0 22px; }
.card-desc b { color: var(--accent); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tags span { border: 1px solid #333; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 10px 16px; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.card-actions .btn { padding: 14px 24px; }

/* branding */
.brand-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.brand-tile { aspect-ratio: 4 / 3; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.brand-tile img { width: 100%; height: 100%; object-fit: cover; }
.brand-tile .ph { font-size: clamp(16px, 3vw, 24px); }

/* processo */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 48px; grid-template-columns: 1fr; }
.num {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #111; border: 1px solid #2a2a2a; color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 24px;
}
.steps h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.steps p { color: var(--muted); margin: 0; max-width: 300px; }

/* CTA laranja */
.cta { background: var(--accent); color: #000; padding: 96px 0; }
.cta h2 { font-size: clamp(36px, 7vw, 68px); font-weight: 900; line-height: 1.02; letter-spacing: -.01em; margin: 0 0 20px; }
.cta p { color: rgba(0,0,0,.65); font-size: 18px; margin: 0 0 36px; max-width: 460px; }

/* contacto */
.contact { display: grid; gap: 56px; grid-template-columns: 1fr; }
.contact-links { display: flex; flex-direction: column; gap: 10px; color: var(--muted); }
.contact-links a { color: #fff; transition: color .2s; width: fit-content; }
.contact-links a:hover { color: var(--accent); }
.form { display: grid; gap: 20px; }
.form label { display: grid; gap: 8px; }
.form label span { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid #333; color: #fff;
  font: inherit; font-weight: 400; padding: 10px 0; border-radius: 0; outline: none; transition: border-color .2s;
}
.form select option { background: #111; color: #fff; }
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent); }
.form .btn { justify-content: center; margin-top: 8px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.foot-links { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.foot-links a:hover { color: #fff; }

/* WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 60px; height: 60px; border-radius: 50%;
  background: var(--accent); display: flex; align-items: center; justify-content: center; transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: #000; }

/* galeria */
.lightbox { position: fixed; inset: 0; z-index: 200; background: #000; display: flex; flex-direction: column; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 16px 24px; }
.lb-title { font-weight: 800; font-size: 18px; flex: 1; }
.lb-count { color: var(--muted); font-size: 13px; letter-spacing: .14em; }
.lb-close { width: 44px; height: 44px; font-size: 20px; border: 1px solid #333; }
.lb-close:hover { border-color: var(--accent); color: var(--accent); }
.lb-stage { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 16px 24px; }
.lb-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-empty { max-width: 420px; text-align: center; color: var(--muted); border: 1px dashed #333; padding: 48px 24px; }
.lb-empty b { display: block; color: #fff; font-size: 22px; margin-bottom: 8px; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 20px;
  background: rgba(0,0,0,.7); border: 1px solid #333; z-index: 2;
}
.lb-nav:hover { border-color: var(--accent); color: var(--accent); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* páginas legais */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--header-h) + 56px) 24px 80px; }
.legal h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 800; margin: 32px 0 12px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
.legal p { color: var(--muted); }
.legal a { color: var(--accent); }

/* desktop */
@media (min-width: 760px) {
  .header { padding: 0 40px; }
  .wrap { padding: 0 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .contact { grid-template-columns: 1fr 1fr; gap: 96px; }
  .hero { padding-top: calc(var(--header-h) + 120px); padding-bottom: 120px; }
  .menu { padding: 0 40px; }
}
