/* facaseu.site: landing pública. Sem dependências externas (CSP: style-src/font-src 'self'). */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src:
    url('/assets/bricolage-grotesque.ad33cbc6.woff2') format('woff2-variations'),
    url('/assets/bricolage-grotesque.ad33cbc6.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src:
    url('/assets/instrument-sans.fa41c43a.woff2') format('woff2-variations'),
    url('/assets/instrument-sans.fa41c43a.woff2') format('woff2');
}

:root {
  /* Mesma marca do painel: tinta (navy), letreiro (amarelo), papel. */
  --ink: #14213d;
  --ink-soft: #2a3a5e;
  --muted: #4f5a70;
  --paper: #eef1f4;
  --surface: #ffffff;
  --line: #d6dce4;
  --sign: #ffd23f;
  --sign-deep: #f2bd00;
  --focus: #2f6fed;
  --live: #17734a;

  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --gutter: 16px;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
b {
  font-weight: 700;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1.0625rem/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--sign {
  background: var(--sign);
  color: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.btn--sign:hover {
  background: #ffdc66;
}
.btn--sign:active {
  box-shadow: 0 2px 0 var(--ink);
  transform: translateY(2px);
}
.btn--ghost {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--surface);
}
.btn--ink {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 0 rgba(20, 33, 61, 0.35);
}
.btn--ink:hover {
  background: var(--ink-soft);
}
.btn--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.95rem;
  box-shadow: 0 3px 0 var(--ink);
}

/* ---------- Topo ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(238, 241, 244, 0.92);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .topbar {
    background: rgba(238, 241, 244, 0.78);
    backdrop-filter: blur(10px);
  }
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.25rem/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand__mark {
  width: 32px;
  height: 32px;
  flex: none;
}
.brand__tld {
  color: var(--muted);
  font-weight: 600;
}
.topnav {
  display: none;
  gap: 28px;
  margin-left: 24px;
}
.topnav a,
.link-quiet {
  text-decoration: none;
  font-weight: 500;
  color: var(--ink);
}
.topnav a:hover,
.link-quiet:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.topbar__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (min-width: 900px) {
  .topnav {
    display: flex;
  }
}
/* Celular: compacta o topo em vez de esconder o ".site", que é parte da marca. */
@media (max-width: 430px) {
  .topbar__inner {
    gap: 10px;
  }
  .topbar .brand {
    gap: 7px;
    font-size: 1.05rem;
  }
  .topbar .brand__mark {
    width: 26px;
    height: 26px;
  }
  .topbar__actions {
    gap: 10px;
  }
  .topbar__actions .btn--small {
    padding: 0 12px;
    font-size: 0.9rem;
  }
}
@media (max-width: 359px) {
  .topbar .brand__mark {
    display: none;
  }
}

/* ---------- Placa (endereço do site, inspirada na placa de rua) ---------- */
.plate {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 5px;
  padding: 3px 10px;
  box-shadow:
    inset 0 0 0 1.5px var(--ink),
    inset 0 0 0 3px #fff;
  font: 600 0.78rem/1.4 var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.plate b {
  color: var(--sign);
}
.plate--big {
  font-size: clamp(0.95rem, 2.6vw, 1.35rem);
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 3px var(--ink),
    inset 0 0 0 5px #fff;
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 64px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: 44px;
  align-items: center;
}
.hero__title span {
  display: block;
}
.hero__title {
  font-size: clamp(2.6rem, 11vw, 4.75rem);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-variation-settings: 'opsz' 96;
}
.hero__lead {
  margin-top: 22px;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--ink-soft);
  max-width: 34em;
}
.hero__ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}
.hero__note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}
@media (max-width: 480px) {
  .hero__ctas .btn {
    width: 100%;
  }
}
@media (min-width: 980px) {
  .hero {
    padding: 72px 0 96px;
  }
  .hero__grid {
    grid-template-columns: 1.02fr 1fr;
    gap: 56px;
  }
}

/* Demo: conversa que vira site */
.demo {
  margin: 0;
  position: relative;
}
.demo__chat {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
@media (min-width: 600px) {
  .demo__chat {
    padding-right: 8%;
  }
}
.bubble {
  max-width: min(34ch, 88%);
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.bubble--me {
  justify-self: start;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: 0 3px 0 var(--ink);
}
.bubble--ai {
  justify-self: end;
  background: var(--sign);
  border: 1.5px solid var(--ink);
  border-bottom-right-radius: 4px;
  box-shadow: 0 3px 0 var(--ink);
}
.bubble--short {
  max-width: 26ch;
}

.browser {
  position: relative;
  z-index: 1;
  margin-left: 6%;
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 10px 12px 0 var(--ink);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}
.dots {
  display: inline-flex;
  gap: 5px;
  flex: none;
}
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  border: 1.5px solid var(--ink);
}
.live {
  margin-left: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--live);
}
.live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.22);
}

@media (prefers-reduced-motion: no-preference) {
  .demo__chat .bubble,
  .browser {
    opacity: 0;
    animation: rise 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
  }
  .demo__chat .bubble:nth-child(1) {
    animation-delay: 0.15s;
  }
  .demo__chat .bubble:nth-child(2) {
    animation-delay: 0.75s;
  }
  .demo__chat .bubble:nth-child(3) {
    animation-delay: 1.3s;
  }
  .browser {
    animation-delay: 1.8s;
    animation-duration: 0.7s;
  }
  .live i {
    animation: pulse 2s ease-in-out 2.6s infinite;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 6px rgba(34, 160, 107, 0.08);
  }
}

/* ---------- Mini-sites (mockups em CSS) ---------- */
.mini {
  --m-bg: #fff;
  --m-ink: #222;
  --m-accent: #999;
  background: var(--m-bg);
  color: var(--m-ink);
  padding: 14px 16px 16px;
}
.mini__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}
.mini__logo {
  font: 800 0.82rem/1 var(--display);
  letter-spacing: -0.01em;
}
.mini__links {
  display: inline-flex;
  gap: 6px;
}
.mini__links i {
  width: 22px;
  height: 5px;
  border-radius: 3px;
  background: currentColor;
  opacity: 0.25;
}
.mini__h {
  font: 800 1.05rem/1.08 var(--display);
  letter-spacing: -0.02em;
}
.mini__p {
  font-size: 0.75rem;
  margin-top: 6px;
  opacity: 0.8;
}
.mini__btn {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--m-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.mini__list,
.mini__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.mini__list span,
.mini__slots span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
}

.mini--padaria {
  --m-bg: #fbf3e6;
  --m-ink: #4a2a12;
  --m-accent: #b45a1d;
  padding: 18px 20px 20px;
}
.mini--padaria .mini__hero {
  display: grid;
  grid-template-columns: 1fr 38%;
  gap: 12px;
  align-items: center;
}
.mini--padaria .mini__h {
  font-size: clamp(1.25rem, 3.6vw, 1.7rem);
}
.mini__art {
  width: 100%;
  height: auto;
}
.mini__row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1.5px dashed rgba(74, 42, 18, 0.3);
  font-size: 0.72rem;
  font-weight: 600;
}

/* ---------- Seções ---------- */
.section {
  padding: 72px 0;
}
@media (min-width: 980px) {
  .section {
    padding: 104px 0;
  }
}
.section__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variation-settings: 'opsz' 72;
  max-width: 18ch;
}
.section__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 40em;
}

/* Como funciona */
.steps {
  background: var(--surface);
  border-block: 2px solid var(--ink);
}
.steps__list {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 36px;
  counter-reset: none;
}
.step {
  position: relative;
  padding-left: 64px;
}
.step__n {
  position: absolute;
  left: 0;
  top: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--sign);
  border: 2px solid var(--ink);
  font: 800 1.25rem/1 var(--display);
}
.step h3 {
  font-size: 1.4rem;
  font-weight: 700;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 34ch;
}
.step .step__url {
  margin-top: 14px;
  max-width: none;
}
@media (min-width: 980px) {
  .steps__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
  }
  .steps__list::before {
    content: '';
    position: absolute;
    left: 22px;
    right: 12%;
    top: 18px;
    border-top: 2px dashed var(--ink);
    opacity: 0.35;
  }
  .step {
    padding-left: 0;
    padding-top: 68px;
  }
  .step__n {
    top: -4px;
  }
  .step--last .step__url {
    margin-right: -40%;
  }
}

/* Exemplos */
.gallery {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  padding: 12px 12px 22px;
  display: flex;
  flex-direction: column;
}
.card .mini {
  border-radius: 12px;
  border: 1.5px solid rgba(20, 33, 61, 0.15);
  flex: 1;
}
@media (min-width: 640px) {
  .card .mini {
    min-height: 150px;
  }
}
.card h3 {
  margin: 18px 10px 0;
  font-size: 1.3rem;
  font-weight: 700;
}
.card > p {
  margin: 6px 10px 0;
  color: var(--muted);
  font-size: 1rem;
}
@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .card--padaria {
    grid-column: span 2;
  }
}
@media (min-width: 980px) {
  .gallery {
    grid-template-columns: repeat(6, 1fr);
  }
  .card--atelie,
  .card--oficina {
    grid-column: span 3;
  }
  .card--clinica,
  .card--portfolio,
  .card--padaria {
    grid-column: span 2;
  }
  .card--atelie .mini,
  .card--oficina .mini {
    min-height: 210px;
  }
  .card--atelie .mini__h,
  .card--oficina .mini__h {
    font-size: 1.6rem;
    max-width: 14ch;
  }
}

.mini--atelie {
  --m-bg: #fde8ef;
  --m-ink: #6b1d3a;
}
.mini--atelie .mini__h {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
}
.swatches {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.swatches i {
  width: 34px;
  height: 44px;
  border-radius: 4px 4px 14px 14px;
  background: #d9577f;
}
.swatches i:nth-child(2) {
  background: #f0a6bd;
}
.swatches i:nth-child(3) {
  background: #6b1d3a;
}
.swatches i:nth-child(4) {
  background: #f6c76a;
}

.mini--oficina {
  --m-bg: #1d1f24;
  --m-ink: #f2f2f2;
}
.mini--oficina .mini__h {
  text-transform: none;
  color: #ffb020;
}
.mini--oficina .mini__list span {
  background: #2c2f36;
  color: #f2f2f2;
  border-left: 3px solid #ffb020;
  border-radius: 3px;
}

.mini--clinica {
  --m-bg: #e6f5f3;
  --m-ink: #0f4c47;
}
.mini--clinica .mini__slots span {
  background: #fff;
  border: 1px solid #9fd5cf;
  color: #0f4c47;
}

.mini--portfolio {
  --m-bg: #f7f7f5;
  --m-ink: #111;
}
.mini__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  margin-top: 12px;
}
.mini__grid i {
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  background: #2f6fed;
}
.mini__grid i:nth-child(2) {
  background: #ff5a36;
}
.mini__grid i:nth-child(3) {
  background: #111;
}
.mini__grid i:nth-child(4) {
  background: #ffd23f;
}
.mini__grid i:nth-child(5) {
  background: #b9c4d6;
}
.mini__grid i:nth-child(6) {
  background: #19a974;
}

.mini--padaria-sm {
  --m-bg: #fbf3e6;
  --m-ink: #4a2a12;
}
.mini--padaria-sm .mini__list span {
  background: #f1dcc0;
}

/* Recursos */
.features {
  background: var(--surface);
  border-top: 2px solid var(--ink);
}
.features__grid {
  display: grid;
  gap: 40px;
}
.features__list {
  margin: 0;
  display: grid;
  gap: 0;
}
.feature {
  padding: 22px 0;
  border-top: 2px solid var(--ink);
}
.feature:last-child {
  border-bottom: 2px solid var(--ink);
}
.feature dt {
  font: 700 1.35rem/1.15 var(--display);
  letter-spacing: -0.015em;
}
.feature dd {
  margin: 8px 0 0;
  color: var(--muted);
  max-width: 44ch;
}
@media (min-width: 980px) {
  .features__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
    align-items: start;
  }
  .features__title {
    position: sticky;
    top: 110px;
  }
  .features__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
  }
  .feature:nth-last-child(2) {
    border-bottom: 2px solid var(--ink);
  }
}

.mcp {
  margin-top: 72px;
  display: grid;
  gap: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 32px 22px;
}
.mcp h3 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.mcp__copy p {
  margin-top: 14px;
  color: #c9d2e3;
  max-width: 42ch;
}
.mcp__chat {
  display: grid;
  gap: 10px;
  align-content: center;
}
.mcp .bubble--me {
  color: var(--ink);
  border-color: #fff;
  box-shadow: none;
}
.bubble--tool {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px dashed rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 0.9rem;
}
.tool-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sign);
  flex: none;
}
@media (min-width: 900px) {
  .mcp {
    grid-template-columns: 1fr 1fr;
    padding: 48px;
    gap: 48px;
  }
}

/* Dúvidas */
.faq__grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 980px) {
  .faq__grid {
    grid-template-columns: 5fr 7fr;
    gap: 64px;
  }
}
.faq__list {
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 56px 18px 20px;
  position: relative;
  font: 700 1.15rem/1.3 var(--display);
  letter-spacing: -0.01em;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--sign) no-repeat center / 12px 12px;
  border: 1.5px solid var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%2314213d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 20px 20px;
  color: var(--muted);
  max-width: 60ch;
}

/* CTA final */
.closing {
  background: var(--sign);
  border-top: 2px solid var(--ink);
  padding: 80px 0;
}
.closing__inner {
  display: grid;
  justify-items: start;
  gap: 18px;
}
.closing h2 {
  font-size: clamp(2.2rem, 6.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  max-width: 16ch;
  font-variation-settings: 'opsz' 96;
}
.closing p {
  font-size: 1.2rem;
  max-width: 36em;
}
.closing .btn {
  margin-top: 8px;
}

/* Rodapé */
.footer {
  background: var(--ink);
  color: #dfe5ef;
  padding: 48px 0 40px;
}
.footer__inner {
  display: grid;
  gap: 24px;
}
.brand--footer {
  color: #fff;
}
.brand--footer .brand__tld {
  color: #9fb0cc;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.footer__nav a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}
.footer__nav a:hover {
  text-decoration-color: var(--sign);
}
.footer__small {
  color: #9fb0cc;
  font-size: 0.9rem;
}
.footer__small a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}
.footer__small a:hover {
  text-decoration-color: var(--sign);
}
.footer :focus-visible {
  outline-color: var(--sign);
}
@media (min-width: 900px) {
  .footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
  }
  .footer__nav {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
