/* =====================================================================
   Miguel Oliveira Art — Design System
   Estética: ateliê contemporâneo. Papel off-white, tinta grafite,
   acentos terrosos/carvão. Deixe o desenho respirar.
   ===================================================================== */

/* ---------------------------------------------------------------------
   0. Tokens
   --------------------------------------------------------------------- */
:root {
  /* Paper & ink */
  --paper:        #f7f3ec;   /* fundo principal — papel */
  --paper-2:      #efe9df;   /* seções alternadas */
  --paper-3:      #e7e0d3;   /* cartões / superfícies */
  --card:         #fbf9f4;   /* superfície clara elevada */
  --ink:          #1c1a17;   /* texto principal — grafite */
  --ink-2:        #47423a;   /* texto secundário */
  --ink-3:        #7a7267;   /* texto terciário / legendas */
  --line:         #d8cfbf;   /* linhas finas */
  --line-strong:  #b9ad98;

  /* Acentos discretos */
  --terra:        #9c4a2e;   /* terracota / sanguínea */
  --terra-deep:   #7d3921;
  --charcoal:     #2b2926;   /* carvão para superfícies escuras */
  --charcoal-2:   #34312d;
  --gold:         #a8894f;   /* dourado sóbrio, feiras/expo */
  --sage:         #4f5a4a;   /* verde acinzentado raro */

  /* Estado */
  --ok:           #4f6b3f;
  --sold:         #8a3d2c;

  /* Tipografia */
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Escala fluida */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.96rem + 0.20vw, 1.12rem);
  --step-1:  clamp(1.20rem, 1.10rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.55rem, 1.35rem + 1.0vw, 2.10rem);
  --step-3:  clamp(2.00rem, 1.65rem + 1.8vw, 3.10rem);
  --step-4:  clamp(2.60rem, 2.00rem + 3.0vw, 4.60rem);
  --step-5:  clamp(3.20rem, 2.30rem + 4.6vw, 6.40rem);

  /* Layout */
  --wrap:      1220px;
  --wrap-wide: 1420px;
  --wrap-text: 720px;
  --radius:    3px;
  --radius-lg: 6px;

  /* Espaço */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2.5rem;
  --sp-5: 4rem;
  --sp-6: 6rem;
  --sp-7: 9rem;

  --shadow-sm: 0 1px 2px rgba(28,26,23,.06), 0 2px 6px rgba(28,26,23,.05);
  --shadow-md: 0 6px 22px rgba(28,26,23,.10);
  --shadow-lg: 0 24px 60px rgba(28,26,23,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------------------------------------------------------------------
   1. Reset base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* textura sutil de papel */
  background-image:
    radial-gradient(rgba(120,110,92,.025) 1px, transparent 1px);
  background-size: 3px 3px;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--terra); color: #fff; }

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   2. Tipografia
   --------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { max-width: 68ch; }
p + p { margin-top: 1em; }

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--step-5);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.serif  { font-family: var(--font-display); }
.italic { font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--terra);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
}
.muted { color: var(--ink-3); }
.small { font-size: var(--step--1); }

/* ---------------------------------------------------------------------
   3. Layout utilitários
   --------------------------------------------------------------------- */
.wrap  { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.wrap-wide { max-width: var(--wrap-wide); }
.wrap-text { max-width: var(--wrap-text); }

.section { padding-block: clamp(3.5rem, 8vw, var(--sp-7)); }
.section-sm { padding-block: clamp(2.5rem, 5vw, var(--sp-5)); }
.bg-2 { background: var(--paper-2); }
.bg-3 { background: var(--paper-3); }
.bg-ink { background: var(--charcoal); color: #ece7dd; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #f4efe5; }
.bg-ink .muted { color: #b3aa9b; }

.center { text-align: center; }
.center .eyebrow, .center p { margin-inline: auto; }
.stack > * + * { margin-top: var(--sp-2); }
.stack-lg > * + * { margin-top: var(--sp-3); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: .5rem; }
.section-head p  { margin-top: 1rem; }

.divider { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: clamp(1.2rem, 3vw, 2.2rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.text-first { }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2.2rem; } }

/* ---------------------------------------------------------------------
   4. Botões
   --------------------------------------------------------------------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.7em;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 100px;
  border: 1.5px solid var(--bg);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  cursor: pointer;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 1.15em; height: 1.15em; }

.btn-terra   { --bg: var(--terra); --fg: #fff; border-color: var(--terra); }
.btn-terra:hover { --bg: var(--terra-deep); border-color: var(--terra-deep); }

.btn-ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-light {
  --bg: transparent; --fg: #f4efe5;
  border-color: rgba(244,239,229,.5);
}
.btn-light:hover { background: #f4efe5; color: var(--charcoal); border-color: #f4efe5; }

.btn-wa { --bg: #128C7E; --fg: #fff; border-color: #128C7E; }
.btn-wa:hover { --bg: #0f7a6e; border-color: #0f7a6e; }

.btn-sm { padding: .7em 1.25em; font-size: .78rem; }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: var(--step--1); letter-spacing: .03em;
  color: var(--terra);
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: gap .25s var(--ease), border-color .25s var(--ease);
}
.link-arrow:hover { gap: .85em; border-color: var(--terra); }
.link-arrow::after { content: "→"; }

/* ---------------------------------------------------------------------
   5. Header / navegação
   --------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,243,236,.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(28,26,23,.03), var(--shadow-sm);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}
.brand {
  display: flex; flex-direction: column; line-height: 1; gap: .18rem;
  flex-shrink: 0;
}
.brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
}
.brand .brand-sub {
  font-size: .6rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}

.nav-links {
  display: flex; align-items: center; gap: clamp(.5rem, 1.6vw, 1.4rem);
}
.nav-links a {
  font-size: .84rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink-2);
  padding: .4rem .1rem;
  position: relative;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--terra);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 50%;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 1.6px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after  { position: absolute; top:  7px; left: 0; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh; height: 100dvh;
    flex-direction: column; justify-content: center; align-items: center;
    gap: .4rem;
    background: var(--paper);
    padding: 6rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform .38s var(--ease);
    z-index: 90;
    overflow-y: auto;
  }
  body.nav-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.4rem; font-family: var(--font-display); padding: .5rem; color: var(--ink); }
  .nav-links a::after { display: none; }
  .nav-cta .btn { display: none; }
}

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 8vw, 7rem); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 1.2rem; }
.hero .lead { margin-top: 1.6rem; max-width: 46ch; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
  background: var(--paper-3);
  transform: rotate(1.2deg);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(28,26,23,.08);
  border-radius: var(--radius-lg);
}
.hero-caption {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(251,249,244,.92);
  padding: .5rem .9rem; border-radius: 100px;
  font-size: .72rem; letter-spacing: .04em; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero-stats {
  margin-top: 2.6rem; display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.hero-stats .stat b {
  font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; display: block; line-height: 1;
}
.hero-stats .stat span { font-size: var(--step--1); color: var(--ink-3); letter-spacing: .04em; }

/* ---------------------------------------------------------------------
   7. Cartões de destaque (o que você encontra)
   --------------------------------------------------------------------- */
.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column; gap: .8rem; height: 100%;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature-card .ic {
  width: 46px; height: 46px; color: var(--terra);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.feature-card .ic svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: var(--step-1); }
.feature-card p { font-size: .95rem; color: var(--ink-2); }
.feature-card .link-arrow { margin-top: auto; padding-top: .4rem; }

/* ---------------------------------------------------------------------
   8. Galeria / portfólio
   --------------------------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: .55em 1.1em;
  font-size: .8rem; font-weight: 500; letter-spacing: .02em;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink-2);
  background: transparent;
  transition: all .2s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery {
  columns: 3 260px;
  column-gap: clamp(1rem, 2vw, 1.4rem);
}
.gallery.grid-mode { columns: unset; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 1.4rem; }
.art {
  break-inside: avoid;
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-3);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.art img { width: 100%; display: block; transition: transform .6s var(--ease), filter .4s var(--ease); }
.art:hover { box-shadow: var(--shadow-md); }
.art:hover img { transform: scale(1.04); }
.art-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(24,22,18,.82) 0%, rgba(24,22,18,.15) 45%, transparent 70%);
  opacity: 0; transition: opacity .35s var(--ease);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.1rem; color: #f4efe5;
}
.art:hover .art-overlay, .art:focus-within .art-overlay { opacity: 1; }
.art-overlay h4 { color: #fff; font-size: 1.05rem; }
.art-overlay .meta { font-size: .78rem; color: #d8d0c4; margin-top: .15rem; }
.art .tag-badge { position: absolute; top: .8rem; left: .8rem; }

.tag-badge {
  font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .3em .7em; border-radius: 100px;
  background: var(--card); color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.tag-badge.ok    { background: var(--ok); color: #fff; }
.tag-badge.sold  { background: var(--sold); color: #fff; }
.tag-badge.commission { background: var(--gold); color: #fff; }

/* ---------------------------------------------------------------------
   9. Lightbox / modal de obra
   --------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(20,18,15,.9);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: flex; }
.lightbox-inner {
  background: var(--card);
  border-radius: var(--radius-lg);
  max-width: 1000px; width: 100%;
  max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1.2fr .8fr;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 760px) { .lightbox-inner { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; } }
.lightbox-img { background: var(--charcoal); display: flex; align-items: center; justify-content: center; }
.lightbox-img img { max-height: 90vh; width: 100%; object-fit: contain; }
.lightbox-body { padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; }
.lightbox-body h3 { font-size: var(--step-2); }
.ficha { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.ficha dl { display: grid; grid-template-columns: auto 1fr; gap: .1rem 1.2rem; margin-top: 1rem; }
.ficha dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-3); padding-top: .55rem; }
.ficha dd { font-size: .95rem; color: var(--ink); padding-top: .5rem; border-bottom: 1px solid var(--line); padding-bottom: .55rem; }
.lightbox-body .btn { margin-top: auto; }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.2rem; z-index: 5;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(251,249,244,.15); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: background .2s var(--ease);
  backdrop-filter: blur(4px);
}
.lightbox-close:hover { background: rgba(251,249,244,.3); }

/* ---------------------------------------------------------------------
   10. Processo (passos numerados)
   --------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.2rem; }
.steps.cols { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
.step {
  position: relative; padding: 1.6rem 1.4rem 1.4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-family: var(--font-display); font-size: 1.5rem; color: var(--terra);
  display: block; margin-bottom: .6rem; font-weight: 500;
}
.step h4 { font-size: 1.1rem; margin-bottom: .35rem; }
.step p { font-size: .9rem; color: var(--ink-2); }

.steps-flow { counter-reset: step; display: grid; gap: 0; }
.steps-flow .flow-item {
  display: grid; grid-template-columns: auto 1fr; gap: 1.4rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line);
}
.steps-flow .flow-item:last-child { border-bottom: 0; }
.steps-flow .flow-item .num {
  counter-increment: step;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--terra); color: var(--terra);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.15rem;
}
.steps-flow .flow-item .num::before { content: counter(step); }
.steps-flow .flow-item h4 { font-size: 1.15rem; margin-bottom: .2rem; }
.steps-flow .flow-item p { font-size: .95rem; color: var(--ink-2); }

/* ---------------------------------------------------------------------
   11. Pacotes / preços (aulas, mentorias)
   --------------------------------------------------------------------- */
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card.featured { border-color: var(--terra); border-width: 1.5px; position: relative; }
.price-card.featured::after {
  content: "Mais procurado"; position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%);
  background: var(--terra); color: #fff; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .35em .9em; border-radius: 100px; white-space: nowrap;
}
.price-card .kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.price-card h3 { font-size: var(--step-1); margin: .5rem 0 .3rem; }
.price-card .price { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); margin: .4rem 0; }
.price-card .price small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-3); font-weight: 400; }
.price-card .price .from { font-size: .8rem; color: var(--ink-3); display: block; letter-spacing: .1em; text-transform: uppercase; }
.price-card ul.checks { margin: 1.2rem 0; display: grid; gap: .6rem; }
.price-card ul.checks li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; font-size: .92rem; color: var(--ink-2); align-items: start; }
.price-card ul.checks li::before {
  content: ""; width: 18px; height: 18px; margin-top: .18rem;
  background: var(--terra); border-radius: 50%; flex-shrink: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.price-card .btn { margin-top: auto; }

/* ---------------------------------------------------------------------
   12. Produtos (loja)
   --------------------------------------------------------------------- */
.product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product .thumb { aspect-ratio: 4/3; background: var(--paper-3); overflow: hidden; position: relative; }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .thumb img { transform: scale(1.05); }
.product .thumb .tag-badge { position: absolute; top: .7rem; left: .7rem; }
.product .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product .type { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.product h3 { font-size: 1.12rem; }
.product p { font-size: .88rem; color: var(--ink-2); }
.product .price-row { margin-top: auto; padding-top: .9rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product .price-row .val { font-family: var(--font-display); font-size: 1.3rem; }
.product .price-row .val small { font-family: var(--font-body); font-size: .72rem; color: var(--ink-3); }

/* ---------------------------------------------------------------------
   13. Escada de produtos (tabela visual)
   --------------------------------------------------------------------- */
.ladder { display: grid; gap: .6rem; }
.ladder .rung {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.1rem 1.4rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .25s var(--ease), border-color .25s;
}
.ladder .rung:hover { transform: translateX(6px); border-color: var(--line-strong); }
.ladder .rung .tier { font-family: var(--font-display); font-size: 1.05rem; color: var(--terra); }
.ladder .rung .what h4 { font-size: 1.05rem; }
.ladder .rung .what p { font-size: .86rem; color: var(--ink-3); margin-top: .1rem; }
.ladder .rung .lvl { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
@media (max-width: 640px) { .ladder .rung { grid-template-columns: 1fr; gap: .4rem; } .ladder .rung .lvl { justify-self: start; } }

/* ---------------------------------------------------------------------
   14. FAQ / acordeão
   --------------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.3rem 0; font-family: var(--font-display); font-size: var(--step-1); color: var(--ink);
}
.faq-q .plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--terra); transition: transform .3s var(--ease);
}
.faq-q .plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-q .plus::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item.open .faq-q .plus::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 0 1.4rem; color: var(--ink-2); font-size: .98rem; max-width: 68ch; }

/* ---------------------------------------------------------------------
   15. Formulários
   --------------------------------------------------------------------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.6rem);
}
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); }
.field label .req { color: var(--terra); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8em 1em;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  font-size: .95rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(156,74,46,.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--ink-3); margin-top: .8rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  position: relative;
}
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: .5em 1em; border: 1px solid var(--line-strong);
  border-radius: 100px; font-size: .82rem; color: var(--ink-2); transition: all .2s var(--ease); cursor: pointer;
}
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   16. Depoimentos
   --------------------------------------------------------------------- */
.quote {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem); height: 100%; display: flex; flex-direction: column;
}
.quote .stars { color: var(--gold); letter-spacing: .1em; font-size: .9rem; margin-bottom: .8rem; }
.quote blockquote { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.45; color: var(--ink); font-style: italic; }
.quote .who { margin-top: auto; padding-top: 1.2rem; display: flex; align-items: center; gap: .8rem; }
.quote .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--paper-3); display: grid; place-items: center; font-family: var(--font-display); color: var(--terra); font-size: 1.1rem; overflow: hidden; }
.quote .who b { font-size: .9rem; display: block; }
.quote .who span { font-size: .78rem; color: var(--ink-3); }

/* ---------------------------------------------------------------------
   17. CTA em faixa
   --------------------------------------------------------------------- */
.cta-band {
  background: var(--charcoal);
  color: #ece7dd; border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 4rem);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background: radial-gradient(600px 300px at 85% 20%, var(--terra), transparent 70%);
}
.cta-band h2 { color: #f6f1e7; position: relative; }
.cta-band p { color: #b8ae9e; position: relative; max-width: 52ch; }
.cta-band .hero-actions { position: relative; }

/* ---------------------------------------------------------------------
   18. Sobre / bio
   --------------------------------------------------------------------- */
.bio-portrait { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper-3); }
.timeline { border-left: 2px solid var(--line); padding-left: 1.6rem; display: grid; gap: 1.6rem; }
.timeline .ev { position: relative; }
.timeline .ev::before {
  content: ""; position: absolute; left: calc(-1.6rem - 6px); top: .35rem;
  width: 11px; height: 11px; border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 4px var(--paper);
}
.timeline .ev .yr { font-family: var(--font-display); color: var(--terra); font-size: 1.1rem; }
.timeline .ev h4 { font-size: 1.05rem; margin: .1rem 0 .2rem; }
.timeline .ev p { font-size: .9rem; color: var(--ink-2); }

/* ---------------------------------------------------------------------
   19. Feiras / expo faixa
   --------------------------------------------------------------------- */
.expo-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.expo-band .cell { background: var(--card); padding: 1.4rem; text-align: center; }
.expo-band .cell b { font-family: var(--font-display); font-size: 1.6rem; display: block; color: var(--terra); }
.expo-band .cell span { font-size: .82rem; color: var(--ink-3); }

/* ---------------------------------------------------------------------
   20. Página: cabeçalho interno
   --------------------------------------------------------------------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { max-width: 16ch; }
.page-hero p { margin-top: 1.2rem; font-size: var(--step-1); color: var(--ink-2); }
.breadcrumb { font-size: .78rem; color: var(--ink-3); margin-bottom: 1.4rem; display: flex; gap: .5rem; align-items: center; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb span { opacity: .5; }

/* ---------------------------------------------------------------------
   21. Footer
   --------------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: #cfc6b6; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer a { color: #cfc6b6; transition: color .2s var(--ease); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-name { color: #f6f1e7; font-size: 1.5rem; }
.site-footer .brand-sub { color: #8f8778; }
.footer-about p { color: #a89f8f; font-size: .9rem; margin-top: 1rem; }
.footer-col h5 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #8f8778; margin-bottom: 1rem; font-weight: 700; }
.footer-col ul { display: grid; gap: .6rem; }
.footer-col a { font-size: .92rem; }
.footer-social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15);
  display: grid; place-items: center; transition: all .25s var(--ease);
}
.footer-social a:hover { background: var(--terra); border-color: var(--terra); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .8rem; color: #8f8778; }

/* ---------------------------------------------------------------------
   22. Botão flutuante WhatsApp
   --------------------------------------------------------------------- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem); z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------------------------------------------------------------------
   23. Newsletter / lista de interesse
   --------------------------------------------------------------------- */
.newsletter {
  background: var(--paper-2); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem); text-align: center;
}
.newsletter form { display: flex; gap: .6rem; max-width: 480px; margin: 1.4rem auto 0; }
.newsletter input { flex: 1; padding: .85em 1.1em; border: 1px solid var(--line-strong); border-radius: 100px; background: var(--card); }
.newsletter input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(156,74,46,.12); }
@media (max-width: 480px) { .newsletter form { flex-direction: column; } .newsletter .btn { width: 100%; } }

/* ---------------------------------------------------------------------
   24. Instagram faixa
   --------------------------------------------------------------------- */
.ig-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
@media (max-width: 800px) { .ig-strip { grid-template-columns: repeat(3, 1fr); } }
.ig-strip a { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); position: relative; background: var(--paper-3); }
.ig-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s; }
.ig-strip a::after { content: ""; position: absolute; inset: 0; background: rgba(28,26,23,.35); opacity: 0; transition: opacity .3s; }
.ig-strip a:hover img { transform: scale(1.08); }
.ig-strip a:hover::after { opacity: 1; }

/* ---------------------------------------------------------------------
   25. Reveal on scroll
   --------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal].d1 { transition-delay: .08s; }
[data-reveal].d2 { transition-delay: .16s; }
[data-reveal].d3 { transition-delay: .24s; }

/* ---------------------------------------------------------------------
   26. Toast
   --------------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(120%);
  background: var(--ink); color: var(--paper); padding: .9rem 1.4rem; border-radius: 100px;
  box-shadow: var(--shadow-lg); z-index: 300; font-size: .9rem; transition: transform .4s var(--ease); max-width: 90vw;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------------------------------------------------------------------
   27. Misc
   --------------------------------------------------------------------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { font-size: .78rem; padding: .35em .9em; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--ink-2); }
.note-box { background: var(--paper-2); border-left: 3px solid var(--terra); padding: 1.2rem 1.4rem; border-radius: var(--radius); font-size: .92rem; color: var(--ink-2); }
.hr-fade { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------------------------------------------------------------------
   28. Proteção das obras (dissuasor de cópia)
   As imagens de obras não podem ser arrastadas/selecionadas facilmente;
   o menu de longo-toque no iOS é desativado. A proteção forte é a marca
   d'água embutida no arquivo + baixa resolução (ver assets/img/README).
   --------------------------------------------------------------------- */
.art img,
.hero-figure img,
.product .thumb img,
.bio-portrait img,
.lightbox-img img,
.ig-strip img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none; /* clique/menu passam ao contêiner; bloqueia arrastar e "salvar imagem" */
}

/* ---------------------------------------------------------------------
   29. Tabela de valores
   --------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--card);
}
.price-table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 460px; }
.price-table th, .price-table td { padding: .8rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { font-family: var(--font-body); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; background: var(--paper-2); }
.price-table thead th.val, .price-table td.val { text-align: right; white-space: nowrap; }
.price-table td.val { font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-table tbody tr:last-child td, .price-table tbody tr:last-child th { border-bottom: 0; }
.price-table tbody tr:hover { background: var(--paper-2); }
