/* ============================================================
   FineCraft Soluções Residenciais — folha de estilo do site
   Direção visual: madeira, grafite, bege, precisão, modernidade.
   ============================================================ */

:root {
  --wood: #8b5e3c;
  --wood-light: #c98d5c;
  --wood-dark: #5e3d24;
  --accent: #d9a441;
  --graphite: #2b2b2b;
  --graphite-2: #3a3a3a;
  --ink: #222018;
  --beige: #f5f1ea;
  --beige-2: #ece5d8;
  --white: #ffffff;
  --gray: #6b6b6b;
  --line: #e5e0d5;
  --success: #1a7f37;
  --error: #b42318;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(43, 35, 25, .09);
  --shadow-lg: 0 16px 48px rgba(43, 35, 25, .16);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wood); }
h1, h2, h3 { line-height: 1.2; color: var(--graphite); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 820px; }
.center { text-align: center; }

/* Acessibilidade */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--graphite);
  color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-block; padding: .65rem 1.4rem; border-radius: 10px;
  font-weight: 600; font-size: .95rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .85rem 1.9rem; font-size: 1.05rem; }
.btn-primary { background: var(--wood); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--wood-dark); }
.btn-outline { border-color: var(--wood); color: var(--wood); background: transparent; }
.btn-outline:hover { background: var(--wood); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-ghost { color: var(--graphite); background: var(--beige-2); }
.btn-ghost:hover { background: var(--line); }
.btn-light { background: #fff; color: var(--graphite); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb857; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { font-size: 1.25rem; color: var(--graphite); line-height: 1.05; }
.brand-text strong { color: var(--wood); }
.brand-text small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { text-decoration: none; color: var(--graphite-2); font-weight: 500; font-size: .95rem; padding: .45rem .7rem; border-radius: 8px; }
.main-nav a:hover { background: var(--beige); }
.main-nav a.active { color: var(--wood); font-weight: 700; }
.nav-cta { margin-left: .5rem; }
.menu-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--graphite); margin: 5px 0; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.4rem;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { padding: .8rem .6rem; font-size: 1.05rem; }
  .nav-cta { margin: .6rem 0 0; }
  body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { background: var(--beige); border-bottom: 1px solid var(--line); font-size: .85rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: .55rem 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: .35rem; color: var(--gray); }
.breadcrumbs a { color: var(--gray); text-decoration: none; }
.breadcrumbs a:hover { color: var(--wood); }
.breadcrumbs span { color: var(--graphite); }

/* ---------- Alertas ---------- */
.alert { padding: .9rem 1.2rem; border-radius: 10px; margin: 1rem 0; font-weight: 500; }
.alert-success { background: #e7f6ec; border: 1px solid #b7e2c4; color: var(--success); }
.alert-error { background: #fdecea; border: 1px solid #f5b5b1; color: var(--error); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(160deg, var(--beige) 0%, var(--beige-2) 100%); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; align-items: center; padding: 4.5rem 1.25rem; }
.hero-kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .75rem; font-weight: 700; color: var(--wood); margin: 0 0 .8rem; }
.hero h1 { margin: 0 0 1rem; }
.hero-sub { font-size: 1.15rem; color: var(--graphite-2); margin: 0 0 1.6rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--gray); }
.hero-badges li::before { content: "✓ "; color: var(--wood); font-weight: 700; }
.hero-art { display: flex; justify-content: center; }
.wood-panel {
  width: min(320px, 80%); aspect-ratio: 3/4; border-radius: 18px; padding: 1.2rem;
  background: linear-gradient(200deg, var(--wood-dark), var(--wood));
  display: flex; flex-direction: column; gap: .8rem; justify-content: center;
  box-shadow: var(--shadow-lg); transform: rotate(3deg);
}
.wood-slat { height: 12%; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,.22), rgba(255,255,255,.08) 40%, rgba(0,0,0,.12)); }
.hero-media {
  width: 100%; max-width: 460px; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-lg); transform: rotate(2deg); background: var(--wood-dark);
}
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Faixa "A FineCraft" com foto */
.about-strip { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.4rem; align-items: center; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about-copy h2 { margin-top: 0; }
.about-copy p { color: var(--graphite-2); margin-bottom: 1.4rem; }
@media (max-width: 780px) { .about-strip { grid-template-columns: 1fr; } }

.split-photo { width: calc(100% + 4rem); margin: -2rem -2rem 1.2rem; max-width: none; aspect-ratio: 16/7; object-fit: cover; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 1.25rem; }
  .hero-art { display: none; }
}

/* ---------- Seções ---------- */
.section { padding: 4rem 0; }
.section-alt { background: var(--beige); }
.section-dark { background: var(--graphite); color: #e8e4dc; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 46rem; margin: 0 auto 2.4rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head p { color: var(--gray); }
.section-dark .section-head p { color: #cfc9be; }

.page-hero { background: linear-gradient(160deg, var(--beige), var(--beige-2)); padding: 3rem 0 2.6rem; }
.page-hero h1 { margin: 0 0 .5rem; }
.page-hero p { color: var(--graphite-2); max-width: 44rem; margin: 0; }
.meta-line { font-size: .9rem; color: var(--gray) !important; }

/* ---------- Cards ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; margin-bottom: 2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin: .4rem 0 .5rem; font-size: 1.1rem; }
.card p { margin: 0 0 1rem; font-size: .92rem; color: var(--gray); flex: 1; }
.card-tag {
  align-self: flex-start; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em;
  background: var(--beige-2); color: var(--wood-dark); font-weight: 700;
  padding: .25rem .6rem; border-radius: 999px;
}
.card-link { color: var(--wood); font-weight: 600; font-size: .9rem; }

/* ---------- Diferenciais ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.feature { background: var(--beige); border-radius: var(--radius); padding: 1.5rem; border-left: 4px solid var(--wood); }
.feature h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.feature p { margin: 0; font-size: .92rem; color: var(--graphite-2); }

/* ---------- Split (wood/steel frame) ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.split-card { background: var(--graphite-2); border-radius: var(--radius); padding: 2rem; }
.split-card ul { padding-left: 1.2rem; color: #cfc9be; font-size: .93rem; }
.split-card li { margin-bottom: .35rem; }
.split-card p { color: #e0dbd1; }
@media (max-width: 780px) { .split-grid { grid-template-columns: 1fr; } }

/* ---------- Portfólio / blog / galeria ---------- */
.portfolio-grid, .blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin-bottom: 2rem; }
.portfolio-card, .blog-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.portfolio-card:hover, .blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.portfolio-card img, .blog-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.portfolio-placeholder { width: 100%; aspect-ratio: 4/3; background: repeating-linear-gradient(45deg, var(--beige-2), var(--beige-2) 14px, var(--beige) 14px, var(--beige) 28px); }
.portfolio-info { padding: 1rem 1.2rem; }
.portfolio-info h3 { margin: 0 0 .2rem; font-size: 1.02rem; }
.portfolio-info p { margin: 0; font-size: .85rem; color: var(--gray); }
.blog-card a { text-decoration: none; color: inherit; display: block; }
.blog-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.blog-card-body h2 { font-size: 1.08rem; margin: .5rem 0; }
.blog-card-body p { font-size: .9rem; color: var(--gray); margin: 0 0 .6rem; }
.blog-card-body time { font-size: .8rem; color: var(--gray); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; transition: transform .2s ease; }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-item figcaption { font-size: .82rem; color: var(--gray); padding-top: .35rem; }
.gallery-item figcaption span { color: #9a9a9a; }

/* ---------- Passos ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.steps-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.2rem; }
.steps-grid li > span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; background: var(--wood); color: #fff; font-weight: 700; border-radius: 50%; }
.steps-grid h3 { margin: .7rem 0 .35rem; font-size: 1rem; }
.steps-grid p { margin: 0; font-size: .88rem; color: var(--gray); }

/* ---------- Cidades ---------- */
.cities-cloud { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; justify-content: center; }
.cities-cloud a {
  display: inline-block; padding: .5rem 1.1rem; background: var(--beige); border: 1px solid var(--line);
  border-radius: 999px; text-decoration: none; color: var(--graphite-2); font-weight: 500; font-size: .92rem;
}
.cities-cloud a:hover { background: var(--wood); border-color: var(--wood); color: #fff; }
.note-inline { color: var(--gray); font-size: .92rem; margin-top: 1.6rem; }

/* ---------- Depoimentos ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.testimonial { background: #fff; margin: 0; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); box-shadow: var(--shadow); }
.testimonial blockquote { margin: 0 0 1rem; font-style: italic; color: var(--graphite-2); }
.testimonial figcaption strong { display: block; }
.testimonial figcaption span { font-size: .82rem; color: var(--gray); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0; }
.section .faq-item { background: var(--beige); }
.section-alt .faq-item, .container.narrow .faq-item { background: #fff; }
.faq-item summary { padding: 1rem 1.2rem; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 2.4rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--wood); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--graphite-2); font-size: .95rem; }

/* ---------- Listas de serviços ---------- */
.services-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .5rem .9rem; list-style: none; margin: 0; padding: 0; }
.services-list a {
  display: block; padding: .65rem .9rem; border-radius: 8px; text-decoration: none;
  color: var(--graphite-2); background: #fff; border: 1px solid var(--line); font-size: .93rem;
}
.section-alt .services-list a { background: #fff; }
.section:not(.section-alt) .services-list a { background: var(--beige); }
.services-list a:hover { border-color: var(--wood); color: var(--wood); }

/* ---------- Conteúdo/prosa ---------- */
.prose { font-size: 1.02rem; color: var(--ink); }
.prose a { color: var(--wood); }
.article-cover img { border-radius: var(--radius); margin-bottom: 1.6rem; width: 100%; }

/* Corpo do artigo (HTML gerado por IA ou manual) */
.article-body h2 { margin: 2rem 0 .8rem; font-size: 1.5rem; }
.article-body h3 { margin: 1.5rem 0 .6rem; font-size: 1.2rem; }
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
.article-body li { margin-bottom: .4rem; }
.article-body blockquote { margin: 1.4rem 0; padding: .8rem 1.2rem; border-left: 4px solid var(--wood); background: var(--beige); border-radius: 0 8px 8px 0; font-style: italic; }
.article-body a { color: var(--wood); text-decoration: underline; }
.article-figure { margin: 1.6rem 0; }
.article-figure img { width: 100%; border-radius: var(--radius); }
.article-figure figcaption { font-size: .82rem; color: var(--gray); text-align: center; margin-top: .5rem; }

.blog-search { display: flex; gap: .6rem; margin-bottom: 1.6rem; max-width: 520px; }
.blog-search input { flex: 1; padding: .6rem .9rem; border: 1.5px solid #d5cfc2; border-radius: 8px; font-size: .95rem; font-family: inherit; }

.ai-tag { color: var(--wood-dark); font-weight: 600; }
.article-share { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 2rem 0 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .9rem; }
.article-share span { color: var(--gray); font-weight: 600; }
.article-share a { display: inline-block; padding: .35rem .9rem; background: var(--beige); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--graphite-2); }
.article-share a:hover { background: var(--wood); border-color: var(--wood); color: #fff; }
.image-credits { font-size: .78rem; color: var(--gray); margin-top: 1rem; }
.image-credits a { color: var(--gray); }
.notice-box {
  margin: 1.6rem 0; background: #fdf6e8; border: 1px solid #ecd9ac; border-left: 4px solid var(--accent);
  border-radius: 10px; padding: 1rem 1.2rem; font-size: .95rem;
}
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .9rem; margin: 1.8rem 0; }
.media-grid.large { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.media-grid figure { margin: 0; }
.media-grid img { border-radius: 10px; width: 100%; object-fit: cover; }

.inline-cta { margin: 2.5rem 0 0; text-align: center; background: var(--beige); border-radius: var(--radius); padding: 2rem 1.5rem; }
.inline-cta h2 { margin-top: 0; }
.inline-cta p { color: var(--gray); }

/* ---------- Filtros/pílulas ---------- */
.filter-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.8rem; }
.filter-pills a { padding: .45rem 1rem; border-radius: 999px; text-decoration: none; font-size: .88rem; color: var(--graphite-2); background: var(--beige); border: 1px solid var(--line); }
.filter-pills a.active, .filter-pills a:hover { background: var(--wood); color: #fff; border-color: var(--wood); }

/* ---------- Formulários ---------- */
.form-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: start; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-section-title { font-size: 1.05rem; border-bottom: 1px solid var(--line); padding-bottom: .5rem; margin: 1.6rem 0 1rem; }
.form-card .form-section-title:first-of-type { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .65rem .8rem; border: 1.5px solid #d5cfc2; border-radius: 8px;
  font-size: .95rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--wood); outline: 2px solid rgba(139, 94, 60, .18); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.checkbox-field label { display: flex; gap: .55rem; font-weight: 400; font-size: .88rem; align-items: flex-start; }
.checkbox-field input { width: auto; margin-top: .2rem; }
.lgpd-note { font-size: .8rem; color: var(--gray); margin-top: 1rem; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.field-error { color: var(--error); font-size: .8rem; margin-top: .25rem; }

.contact-aside { background: var(--beige); border-radius: var(--radius); padding: 1.8rem; }
.contact-aside h2 { margin-top: 0; font-size: 1.15rem; }
.contact-aside ul { list-style: none; margin: 0; padding: 0; }
.contact-aside li { margin-bottom: .7rem; font-size: .93rem; }

/* ---------- Confirmação / erro ---------- */
.confirm-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 3rem 2rem; box-shadow: var(--shadow); }
.confirm-icon { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: #e7f6ec; color: var(--success); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.protocol { font-size: 1.15rem; background: var(--beige); display: inline-block; padding: .5rem 1.3rem; border-radius: 8px; }
.confirm-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.error-card .error-code { font-size: 4rem; font-weight: 800; color: var(--wood-light); margin: 0; line-height: 1; }
.empty-state { text-align: center; color: var(--gray); padding: 3rem 1rem; background: var(--beige); border-radius: var(--radius); }

/* ---------- Paginação ---------- */
.pagination { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.pagination a, .pagination .current { padding: .45rem .9rem; border-radius: 8px; text-decoration: none; font-size: .9rem; border: 1px solid var(--line); color: var(--graphite-2); }
.pagination a:hover { border-color: var(--wood); color: var(--wood); }
.pagination .current { background: var(--wood); border-color: var(--wood); color: #fff; }

/* ---------- Faixa CTA ---------- */
.cta-band { background: linear-gradient(120deg, var(--wood-dark), var(--wood)); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding: 2.6rem 1.25rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: #f0e7db; }
.cta-band-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--graphite); color: #cfc9be; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 1.25rem 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-size: 1.3rem; color: #fff; margin: 0 0 .6rem; }
.footer-brand strong { color: var(--wood-light); }
.footer-brand span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: #9d968a; }
.footer-desc { font-size: .88rem; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #cfc9be; text-decoration: none; }
.site-footer a:hover { color: var(--wood-light); }
.footer-bottom { border-top: 1px solid #3f3f3f; padding: 1.2rem 1.25rem; font-size: .8rem; color: #9d968a; }
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Visualizador 3D (projeto do cliente) ---------- */
.viewer-shell { position: relative; background: var(--graphite); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.viewer-shell model-viewer { width: 100%; height: min(70vh, 640px); background: #35322d; --poster-color: #35322d; }
.viewer-hint { position: absolute; left: 50%; bottom: .9rem; transform: translateX(-50%); background: rgba(0, 0, 0, .55); color: #fff; padding: .4rem 1rem; border-radius: 999px; font-size: .8rem; pointer-events: none; white-space: nowrap; }
.viewer-controls { position: absolute; top: .8rem; right: .8rem; display: flex; gap: .5rem; }
.viewer-controls button { background: rgba(0, 0, 0, .55); border: 0; color: #fff; padding: .5rem .9rem; border-radius: 8px; cursor: pointer; font-size: .85rem; }
.viewer-controls button:hover { background: rgba(0, 0, 0, .75); }
.viewer-progress { position: absolute; top: 0; left: 0; height: 3px; background: var(--accent); width: 0; transition: width .2s ease; }
.viewer-error { padding: 3rem 1.5rem; color: #fff; text-align: center; }

.project-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.project-file { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .9rem 1rem; text-decoration: none; color: inherit; }
.project-file:hover { border-color: var(--wood); }
.project-file .ext { flex: none; width: 44px; height: 44px; border-radius: 8px; background: var(--beige-2); color: var(--wood-dark); font-weight: 700; font-size: .75rem; display: flex; align-items: center; justify-content: center; text-transform: uppercase; }
.project-file .fname { font-size: .88rem; word-break: break-word; }
.project-file .fsize { font-size: .75rem; color: var(--gray); }
