/* Layout: cabeçalho grafite fixo, hero creme com título em 3 linhas (última em laranja), faixa de plataformas, 3 colunas com filete laranja, cards, FAQ, blog em faixa creme, contato com campos sublinhados. Visual único (grafite + creme + laranja), igual ao da referência. */
:root {
  --ink: #1A1A1A;
  --panel: #232323;
  --line: #3A3A3A;
  --cream: #F5F0EB;
  --paper: #FFFFFF;
  --text: #F2EDE8;
  --text-soft: #D3CDC6;
  --muted: #9A958F;
  --muted-on-cream: #5E5954;
  --orange: #F55F38;
  --orange-text: #F55F38;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font-mono); font-size: 14px; line-height: 1.75;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange-text); outline-offset: 3px; }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid #2B2B2B; }
.eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-text); margin-bottom: 10px; }
.h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.005em; }
.lede { color: var(--text-soft); max-width: 60ch; margin-top: 18px; }
.hl { color: var(--orange-text); text-decoration: none; }
a.hl:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 16px 30px; border: 0; border-radius: 2px; background: var(--orange); color: #fff;
  transition: background .15s ease;
}
.btn:hover { background: #FF724D; }
.btn--block { width: 100%; }
.btn--pill { border-radius: 999px; }

/* Cabeçalho */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--ink); border-bottom: 1px solid #2B2B2B; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.logo-img { height: 22px; width: auto; max-width: 100%; display: block; }
.footer .logo-img { height: 26px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; padding: 10px 12px; color: var(--text-soft); }
.nav a:hover { color: var(--orange-text); }
.menu-btn { display: none; width: 44px; height: 44px; background: transparent; border: 0; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: ""; }
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid #2B2B2B; flex-direction: column; align-items: stretch; gap: 0; padding: 6px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); }
  .nav[hidden] { display: none !important; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #2B2B2B; }
}

/* Hero creme */
.hero { background: var(--cream); color: var(--ink); padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(2.5rem, 8vw, 6.4rem); line-height: 1.02; letter-spacing: -0.015em; max-width: 14ch; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--orange); }
.hero p.sub { margin-top: 28px; max-width: 54ch; color: var(--muted-on-cream); font-size: 0.92rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  font-family: var(--font-display); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; padding: 9px 14px; border: 1px solid #CFC7BE; background: #FBF8F5; color: var(--ink);
}
.tag:hover { border-color: var(--orange); color: var(--orange); }
.hero .btn { margin-top: 30px; }

/* Faixa de plataformas */
.strip { overflow: hidden; border-bottom: 1px solid #2B2B2B; padding-block: 22px; }
.strip-track { display: flex; width: max-content; animation: slide 50s linear infinite; }
.strip-set { display: flex; }
.strip-set span { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: #6E6A66; padding-inline: 34px; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Três colunas */
.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.col { border-top: 3px solid var(--orange); padding-top: 22px; display: grid; gap: 14px; align-content: start; min-width: 0; font-size: 0.78rem; line-height: 1.85; color: var(--text-soft); }
.col h2 { font-size: 0.82rem; letter-spacing: 0.12em; color: var(--text); }
.col b { display: block; color: var(--orange-text); font-weight: 700; }
.col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.col li::before { content: "›"; color: var(--orange-text); margin-right: 8px; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); padding: 28px 24px 26px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0; transition: border-color .15s ease;
}
.card:hover { border-color: var(--orange); }
.card .kicker { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-text); }
.card h3 { font-size: 1.2rem; line-height: 1.15; }
.card p { font-size: 0.78rem; color: var(--muted); line-height: 1.8; }
.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.76rem; color: var(--text-soft); }
.card li::before { content: "›"; color: var(--orange-text); margin-right: 8px; }
.card .more { margin-top: auto; padding-top: 10px; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-text); text-decoration: none; }
.card .more:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1060px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .cards--4 { grid-template-columns: minmax(0, 1fr); } }
.note { margin-top: 36px; font-size: 0.74rem; color: var(--muted); }

/* Portfólio */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 12px; margin-top: 40px; }
.work { display: flex; flex-direction: column; justify-content: space-between; gap: 30px; min-height: 120px; padding: 18px; background: var(--panel); border: 1px solid var(--line); text-decoration: none; min-width: 0; transition: border-color .15s ease; }
.work:hover { border-color: var(--orange); }
.work b { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; line-height: 1.2; text-transform: uppercase; overflow-wrap: anywhere; }
.work span { font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.work:hover span { color: var(--orange-text); }

.work-grid { grid-auto-flow: dense; }
.work--img { position: relative; overflow: hidden; min-height: 190px; isolation: isolate; }
.work--img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05) brightness(0.62); transition: filter .35s ease, transform .5s ease; }
.work--img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26,26,26,.78) 0%, rgba(26,26,26,0) 38%, rgba(26,26,26,0) 62%, rgba(26,26,26,.82) 100%); transition: opacity .35s ease; }
.work--img b { font-size: 0.9rem; color: #fff; }
.work--img span { color: #E6E1DB; }
.work--ph { background: linear-gradient(135deg, #4A4A4A 0%, #2A2A2A 100%); }
.work--img:hover img, .work--img:focus-visible img { filter: none; transform: scale(1.04); }
.work--img:hover::after, .work--img:focus-visible::after { opacity: .7; }
.work--img:hover span { color: #fff; }
@media (prefers-reduced-motion: reduce) { .work--img img { transition: filter .01s; } .work--img:hover img { transform: none; } }

/* FAQ */
.faq-list { max-width: 820px; margin-top: 34px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-family: var(--font-display); font-weight: 800; font-size: 0.82rem; letter-spacing: 0.02em; text-transform: uppercase; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-mono); font-weight: 400; font-size: 1.2rem; color: var(--orange-text); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 36px 22px 0; color: var(--text-soft); font-size: 0.8rem; line-height: 1.85; max-width: 68ch; }

/* Blog creme */
.blog { background: var(--cream); color: var(--ink); border-top: 0; }
.blog .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.blog .eyebrow { color: var(--orange); }
.blog .all { font-family: var(--font-display); font-weight: 800; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); text-decoration: none; }
.blog .all:hover { text-decoration: underline; text-underline-offset: 3px; }
.blog .card { background: var(--paper); border: 1px solid #E6DFD7; }
.blog .card:hover { border-color: var(--orange); }
.blog .card .kicker { color: var(--orange); }
.blog .card h3 { color: var(--ink); }
.blog .card p { color: var(--muted-on-cream); }
.blog .card .more { color: var(--orange); }

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); }
.contact h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.04; letter-spacing: -0.005em; margin: 0 0 20px; }
.direct { margin-top: 28px; border: 1px solid var(--line); padding: 18px 20px; display: grid; gap: 6px; font-size: 0.78rem; max-width: 420px; }
.direct .label { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
label small { text-transform: none; letter-spacing: 0; }
input, select, textarea {
  font: inherit; font-size: 0.82rem; color: var(--text); background: transparent; width: 100%; min-width: 0;
  border: 0; border-bottom: 1px solid #4A4A4A; border-radius: 0; padding: 10px 0;
}
select option { background: var(--panel); color: var(--text); }
input::placeholder, textarea::placeholder { color: #6E6A66; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 0; border-bottom-color: var(--orange-text); }
input[type="date"] { color-scheme: dark; }
.form-note { grid-column: 1 / -1; font-size: 0.78rem; color: var(--orange-text); min-height: 1.4em; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { form { grid-template-columns: minmax(0, 1fr); } }

.btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { background: transparent; border-color: var(--orange-text); color: var(--orange-text); }
.mail-result { grid-column: 1 / -1; border: 1px solid var(--line); background: var(--panel); padding: 22px; display: grid; gap: 14px; min-width: 0; }
.mail-result[hidden] { display: none; }
.mail-title { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange-text); }
.mail-result p { font-size: 0.8rem; color: var(--text-soft); }
.mail-result strong { color: var(--text); overflow-wrap: anywhere; }
.mail-result textarea { min-height: 170px; border: 1px solid #4A4A4A; padding: 12px; font-size: 0.78rem; line-height: 1.6; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mail-copied { min-height: 1.2em; font-size: 0.74rem; color: var(--orange-text); }

/* Rodapé */
.footer { border-top: 1px solid #2B2B2B; padding-block: 40px; }
.footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.footer .addr { text-align: right; font-size: 0.7rem; line-height: 1.8; color: var(--muted); min-width: 0; }
.footer .socials { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; }
.footer .socials a { color: var(--text-soft); text-decoration: none; }
.footer .socials a:hover { color: var(--orange-text); }
@media (max-width: 800px) {
  .footer .wrap { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .footer .addr { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  .strip-track { animation: none; }
  .strip { overflow-x: auto; }
  html { scroll-behavior: auto; }
}
/* Página de projeto */
.crumbs { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-on-cream); margin-bottom: 28px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.hero .label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.hero h1 { max-width: 16ch; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 24px 32px; margin: 44px 0 0; padding: 24px 0 0; border-top: 1px solid #CFC7BE; }
.meta div { min-width: 0; }
.meta dt { font-size: 0.62rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.meta dd { margin: 0; font-size: 0.82rem; line-height: 1.6; color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.stat { border-top: 3px solid var(--orange); padding-top: 20px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.stat b { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.02; color: var(--orange-text); overflow-wrap: anywhere; }
.stat span { color: var(--text-soft); font-size: 0.82rem; }
@media (max-width: 900px) { .stats { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); }
.split .body { display: grid; gap: 18px; color: var(--text-soft); font-size: 0.88rem; line-height: 1.9; }
.split .body p:first-child { color: var(--text); font-size: 1rem; }
.targets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.targets li { border: 1px solid var(--line); padding: 8px 14px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }
.figure { margin: clamp(36px, 5vw, 64px) 0 0; }
.figure img { display: block; width: 100%; max-width: 100%; height: auto; max-height: 640px; object-fit: cover; border: 1px solid var(--line); }
.figure figcaption { margin-top: 12px; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cta .wrap { display: grid; gap: 22px; justify-items: start; }
.cta .h2 { max-width: 20ch; }
.cta p.lede { color: var(--muted-on-cream); margin-top: 0; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--ghost { background: transparent; border: 1px solid var(--ink); color: var(--ink); }
.cta .btn--ghost:hover { border-color: var(--orange); color: var(--orange); background: transparent; }
.cta .phone { font-size: 0.78rem; color: var(--muted-on-cream); }

.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stats--4 { grid-template-columns: minmax(0, 1fr); } }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .cards--2 { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp flutuante */
.wa-float { position: fixed; z-index: 40; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.4); transition: transform .15s ease, box-shadow .15s ease; }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 8px 22px rgba(0,0,0,.5); }
.wa-float:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }

img { max-width: 100%; }
[hidden] { display: none !important; }
