:root {
    --bg: #0b0b0c;
    --bg-2: #141416;
    --bg-3: #1c1c1f;
    --ink: #f4f1ea;
    --muted: #9b978f;
    --line: rgba(244, 241, 234, .1);
    --accent: #ff6a2b;
    --sans: "Inter Tight", system-ui, -apple-system, sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --wrap: 1320px;
    --gut: clamp(16px, 4vw, 48px);
    --r: 22px;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; background: var(--bg); }
  body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  img, video { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; color: inherit; }
  [data-lang="en"] [lang="pt"], [data-lang="pt"] [lang="en"] { display: none !important; }
  .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
  em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

  /* nav */
  nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(calc(100% - 24px), 980px);
        display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 20px;
        background: rgba(20, 20, 22, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
        border: 1px solid var(--line); border-radius: 99px; }
  .brand { font-weight: 700; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
  .brand span { color: var(--accent); }
  .links { display: flex; gap: 4px; font-size: 14px; font-weight: 500; }
  .links a { padding: 8px 14px; border-radius: 99px; color: var(--muted); transition: .2s; }
  .links a:hover { color: var(--ink); background: rgba(255,255,255,.06); }
  .right { display: flex; align-items: center; gap: 8px; }
  .lang { display: flex; background: rgba(255,255,255,.06); border-radius: 99px; padding: 3px; }
  .lang button { border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 12px; padding: 6px 10px; border-radius: 99px; cursor: pointer; }
  .lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
  .cta-sm { background: var(--accent); color: #111; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 99px; white-space: nowrap; }
  @media (max-width: 860px) { .links { display: none; } }
  @media (max-width: 420px) { .cta-sm { display: none; } }

  /* hero */
  .hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; display: flex; align-items: flex-end; }
  .hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero::after { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,11,12,.35) 0%, rgba(11,11,12,.15) 35%, rgba(11,11,12,.75) 70%, var(--bg) 100%); }
  .hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 7vh, 80px); }
  .kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
            padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(11,11,12,.5); backdrop-filter: blur(8px); }
  .kicker i { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
  h1 { font-size: clamp(48px, 9.2vw, 148px); line-height: .92; font-weight: 800; letter-spacing: -.045em; margin: 22px 0 26px; max-width: 12ch; }
  h1 em.s { color: var(--accent); font-size: 1.04em; }
  .hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
  .hero p { max-width: 30em; font-size: clamp(16px, 1.5vw, 19px); color: #d6d2ca; }
  .btns { display: flex; gap: 10px; flex-wrap: wrap; }
  .btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 99px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); transition: .2s; }
  .btn:hover { background: rgba(255,255,255,.12); }
  .btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .btn.primary:hover { background: #fff; }

  /* marquee */
  .marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
  .track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; font-size: clamp(22px, 3vw, 38px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
  .track span { display: inline-flex; align-items: center; gap: 48px; }
  .track span::after { content: "✦"; color: var(--accent); font-size: .6em; }
  @keyframes slide { to { transform: translateX(-50%); } }
  @media (prefers-reduced-motion: reduce) { .track { animation: none; } }

  /* sections */
  section { padding: clamp(72px, 10vw, 140px) 0; }
  .head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
  .label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
  h2 { font-size: clamp(38px, 5.6vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -.04em; max-width: 14ch; }
  .head p { color: var(--muted); max-width: 26em; }

  /* reels */
  .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
  .chip { border: 1px solid var(--line); background: none; border-radius: 99px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: .2s; }
  .chip:hover { color: var(--ink); }
  .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .reels { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
  .reel[hidden] { display: none; }
  .frame { position: relative; aspect-ratio: 9/16; border-radius: var(--r); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .reel:hover .frame { transform: translateY(-4px); }
  .frame img, .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .frame video { opacity: 0; transition: opacity .3s; }
  .reel.playing .frame video { opacity: 1; }
  .play { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 7px 11px; border-radius: 99px; background: rgba(11,11,12,.6); backdrop-filter: blur(8px); transition: opacity .3s; }
  .reel.playing .play { opacity: 0; }
  .meta { padding: 12px 4px 0; }
  .meta b { display: block; font-size: 15px; font-weight: 600; }
  .meta span { font-size: 13px; color: var(--muted); }
  @media (max-width: 560px) { .reels { grid-template-columns: 1fr 1fr; gap: 10px; } .meta b { font-size: 14px; } }

  /* services bento */
  .bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); gap: 14px; }
  .tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
  .tile > img, .tile > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .4s, transform .6s; }
  .tile:hover > img, .tile:hover > video { opacity: .7; transform: scale(1.03); }
  .tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 20%, rgba(11,11,12,.92) 85%); }
  .tile > div { position: relative; z-index: 2; }
  .tile .n { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent); }
  .tile h3 { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 10px; }
  .tile p { color: #cfcac1; font-size: 15px; max-width: 30em; }
  .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
  .tags span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid var(--line); }
  .t1 { grid-column: span 7; grid-row: span 2; }
  .t2 { grid-column: span 5; }
  .t3 { grid-column: span 5; }
  .t4 { grid-column: span 6; }
  .t5 { grid-column: span 6; background: var(--accent); color: #111; border: 0; }
  .t5::before { display: none; }
  .t5 p { color: #2a1a10; }
  .t5 .tags span { background: rgba(0,0,0,.1); border-color: rgba(0,0,0,.12); }
  @media (max-width: 900px) { .bento { grid-template-columns: 1fr; } .bento .tile { grid-column: auto; grid-row: auto; } .t1 { min-height: 460px; } }

  /* design work */
  .work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
  .card { border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
  .card img { width: 100%; height: 100%; object-fit: cover; }
  .cap { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 18px 4px 34px; grid-column: 1 / -1; border-bottom: 1px solid var(--line); margin-bottom: 26px; flex-wrap: wrap; }
  .cap h3 { font-size: clamp(26px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; }
  .cap p { color: var(--muted); max-width: 40em; font-size: 15px; }
  .cream { background: #efe9df; display: grid; place-items: center; padding: 28px; }
  .cream img { width: 78%; height: auto; object-fit: contain; }
  .c-8 { grid-column: span 8; } .c-4 { grid-column: span 4; } .c-6 { grid-column: span 6; } .c-3 { grid-column: span 3; } .c-12 { grid-column: span 12; }
  .carousel { grid-column: 1 / -1; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 22%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
  .carousel img { scroll-snap-align: start; border-radius: 16px; border: 1px solid var(--line); }
  @media (max-width: 900px) {
    .work-grid > .c-8, .work-grid > .c-4, .work-grid > .c-6 { grid-column: span 12; }
    .work-grid > .c-3 { grid-column: span 6; }
    .carousel { grid-auto-columns: 72%; }
  }

  /* process */
  .steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; min-height: 200px; display: flex; flex-direction: column; justify-content: space-between; }
  .step .n { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--accent); line-height: 1; }
  .step h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
  .step p { font-size: 14px; color: var(--muted); }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
  .fact { border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; font-size: 15px; color: var(--muted); }
  .fact b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
  @media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .facts { grid-template-columns: 1fr; } }
  @media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { min-height: 0; gap: 18px; } }

  /* about */
  .about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
  .about img { border-radius: var(--r); filter: grayscale(1) contrast(1.05); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
  .about p { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); margin-top: 18px; max-width: 32em; }
  .about p strong { color: var(--ink); font-weight: 600; }
  @media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about img { max-width: 380px; } }

  /* contact */
  .contact { text-align: center; padding-bottom: 60px; }
  .contact h2 { margin: 0 auto 22px; max-width: 13ch; font-size: clamp(48px, 9vw, 140px); }
  .contact h2 em.s { color: var(--accent); }
  .contact p { color: var(--muted); max-width: 32em; margin: 0 auto 34px; }
  .mail { display: inline-block; font-size: clamp(22px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.03em; border-bottom: 2px solid var(--accent); padding-bottom: 4px; transition: .2s; word-break: break-all; }
  .mail:hover { color: var(--accent); }
  footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 13px; }
  footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

  /* reveal */
  .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
  .rv.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* parede de imagens em movimento (abertura das páginas de marca e principal) */
.hero.wall-hero { background: var(--bg); }
.wall { position: absolute; inset: -40px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding: 0 14px; transform: rotate(-4deg) scale(1.12); opacity: .7; }
.wall .col { display: flex; flex-direction: column; gap: 14px; animation: up 70s linear infinite; }
.wall .col:nth-child(even) { animation-name: down; animation-duration: 85s; }
.wall .item { border-radius: 16px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); flex: none; }
.wall .item img, .wall .item video { width: 100%; height: auto; display: block; }
.wall .item.cream { background: #efe9df; padding: 22% 14%; }
.wall .item video { aspect-ratio: 9/16; object-fit: cover; }
@keyframes up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes down { from { transform: translateY(-50%); } to { transform: translateY(0); } }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(3, 1fr); } .wall .col:nth-child(n+4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .wall .col { animation: none; } }
.hero.wall-hero::after { background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.35) 30%, rgba(11,11,12,.85) 68%, var(--bg) 100%); }

/* abas Vídeo | Design */
.tabs { display: inline-flex; padding: 5px; border: 1px solid var(--line); border-radius: 99px; margin-bottom: 28px; gap: 4px; }
.tab { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 15px; padding: 11px 22px; border-radius: 99px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--accent); color: #111; }
.panel[hidden] { display: none; }

/* faixa "também faço" nas páginas focadas */
.also-strip { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); }
.also-strip h3 { font-size: clamp(30px, 3.6vw, 52px); line-height: 1; font-weight: 800; letter-spacing: -.04em; }
.also-strip p { color: var(--muted); margin: 14px 0 22px; }
.also-strip .mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.also-strip .mini > * { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; }
.also-strip .mini img, .also-strip .mini video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .also-strip { grid-template-columns: 1fr; } .also-strip .mini { grid-template-columns: 1fr 1fr; } }
.also-strip.reels-mini .mini > * { aspect-ratio: 9/16; }

/* WhatsApp como segunda opção de contato */
.wa { margin-top: 26px; display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 16px; }
.wa a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; transition: .2s; }
.wa a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #25d366; }
.wa a:hover { border-color: #25d366; }

/* galeria de fotos */
.photos { columns: 3 280px; column-gap: 14px; }
.photos img { width: 100%; margin-bottom: 14px; border-radius: 16px; border: 1px solid var(--line); break-inside: avoid; }
.t-4 { grid-column: span 4; }
@media (max-width: 900px) { .bento .t-4 { grid-column: auto; } }
