/* ==========================================================================
   Madeira & Medida — estilos
   Paleta derivada do logo. Mobile-first.
   ========================================================================== */

:root {
  --paper: #F5F0E9;
  --paper-2: #EDE5D9;
  --sand: #E3D8C8;        /* bege mais escuro para blocos */
  --oak: #C9A27A;
  --oak-light: #D9BD9A;
  --wood: #8B5A34;
  --wood-dark: #744626;
  --walnut: #5B3A24;
  --ink: #2A2826;
  --ink-soft: #55504B;
  --line: rgba(42, 40, 38, .22);

  --f-head: "Manrope", "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4.5vw, 3rem);
  --max: 1240px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* grão de papel, bem leve */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .16 0 0 0 0 .15 0 0 0 0 .14 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--wood-dark); outline-offset: 3px; border-radius: 2px; }
.site-footer :focus-visible, .diff-feature :focus-visible, .lightbox :focus-visible { outline-color: var(--oak-light); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--ink); color: var(--paper); padding: .7rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
h1, h2, h3, .stat-num, .amb-name, .step-n, .pull, .brand-name {
  font-family: var(--f-head);
}
h1 {
  font-size: clamp(2.25rem, 7.2vw, 4.5rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.035em;
}
h1 em, h2 em, .brand-name em { font-style: normal; font-weight: 700; color: var(--wood); }
h2 {
  font-size: clamp(1.75rem, 4.4vw, 2.8rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.03em;
  max-width: 20ch;
}
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 600; letter-spacing: -.015em; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.28rem); color: var(--ink-soft); max-width: 46ch; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wood-dark); margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
.eyebrow span { font-family: var(--f-head); font-weight: 700; letter-spacing: 0; font-size: .95rem; text-transform: none; color: var(--wood); }
.eyebrow span::after { content: ""; display: inline-block; width: 2.2rem; height: 1px; background: var(--wood); vertical-align: middle; margin-left: .7rem; }

/* ---------- Régua (elemento gráfico recorrente) ---------- */
.ruler {
  --tick: rgba(139, 90, 52, .75);
  height: 16px; width: 100%;
  background:
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 10px) left bottom / 100% 6px no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 1px, transparent 1px 50px) left bottom / 100% 12px no-repeat,
    linear-gradient(var(--tick), var(--tick)) left bottom / 100% 1px no-repeat;
}
.ruler-light { --tick: rgba(217, 189, 154, .55); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; min-height: 48px;
  font-weight: 600; font-size: .98rem; text-decoration: none; letter-spacing: .01em;
  border: 1.5px solid transparent; border-radius: 2px;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-wa { background: var(--wood-dark); color: var(--paper); }
.btn-wa:hover { background: var(--ink); }
.btn-primary { background: var(--ink); color: var(--paper); width: 100%; }
.btn-primary:hover { background: var(--wood-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; text-decoration: none;
  padding: .5rem 0; border-bottom: 1.5px solid var(--ink); min-height: 44px;
}
.link-arrow::after { content: "\2192"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(42, 40, 38, .35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark { position: relative; display: block; width: 52px; height: 46px; overflow: hidden; flex: none; }
.brand-mark img {
  position: absolute; width: 86px; max-width: none; height: auto;
  left: -16.6px; top: -8.1px; mix-blend-mode: multiply;
}
.brand-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -.025em; line-height: 1; white-space: nowrap; }

.menu-toggle {
  width: 48px; height: 48px; background: none; border: 1.5px solid var(--ink); border-radius: 2px;
  display: grid; place-items: center;
}
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), background .2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* menu: sem JS aparece como lista simples; com JS, painel */
.nav ul { display: flex; flex-direction: column; }
.nav a { text-decoration: none; }
.nav ul a { display: block; padding: 1rem 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav ul a:hover { color: var(--wood-dark); }
.nav-cta { margin-top: 1.25rem; width: 100%; }

.js .nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  background: var(--paper); padding: .5rem var(--gutter) 1.75rem;
  border-bottom: 1px solid var(--line);
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.js .nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
html:not(.js) .header-inner { flex-wrap: wrap; height: auto; padding-block: .6rem; }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) .site-header { position: static; }

@media (min-width: 62rem) {
  .menu-toggle { display: none; }
  .js .nav, .nav {
    position: static; visibility: visible; opacity: 1; transform: none; padding: 0; border: 0;
    max-height: none; overflow: visible; background: none;
    display: flex; align-items: center; gap: 2rem;
  }
  .nav ul { flex-direction: row; gap: clamp(1rem, 2vw, 1.75rem); }
  .nav a { white-space: nowrap; }
  .nav ul a { padding: .4rem 0; border: 0; font-size: .95rem; position: relative; }
  .nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--wood); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav ul a:hover::after { transform: scaleX(1); }
  .nav-cta { margin: 0; width: auto; padding: .7rem 1.2rem; min-height: 44px; }
  .brand-mark { width: 64px; height: 57px; }
  .brand-mark img { width: 106px; left: -20.5px; top: -10px; }
  .brand-name { font-size: 1.25rem; }
  :root { --header-h: 76px; }
}

/* ---------- Seções ---------- */
main { padding-top: var(--header-h); }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-intro { color: var(--ink-soft); max-width: 44ch; margin-top: 1.25rem; }
.section-head-row { display: grid; gap: 1.25rem; align-items: end; }
.section-head-row .section-intro, .section-head-row .btn { margin-top: 0; }
@media (min-width: 52rem) {
  .section-head-row { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
  .section-head-row .btn { justify-self: end; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: 2.5rem; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }
.hero-facts { display: grid; gap: .5rem; margin-top: 2.75rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .92rem; color: var(--ink-soft); }
.hero-facts span { font-family: var(--f-head); font-weight: 700; color: var(--wood); margin-right: .5rem; }
.hero-art { position: relative; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; background: var(--sand); border: 1px solid var(--line); }
.hero-art figcaption { margin-top: .6rem; font-size: .78rem; color: var(--ink-soft); letter-spacing: .02em; }
@media (min-width: 40rem) { .hero-facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 2.5rem; } }
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: end; }
  .hero-art { margin-bottom: -.5rem; transform: translateY(1.5rem); }
  .hero-art img { box-shadow: 18px 18px 0 -1px var(--sand); }
}

/* ---------- Números ---------- */
.stats { background: var(--ink); color: var(--paper); padding-block: clamp(3rem, 7vw, 5rem); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
.stat { border-top: 1px solid rgba(245, 240, 233, .3); padding-top: 1rem; }
.stat-num { font-size: clamp(2.75rem, 10vw, 4.9rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; }
.stat-num sup { font-size: .5em; font-weight: 500; color: var(--oak-light); vertical-align: top; margin-left: .05em; position: relative; top: .1em; }
.stat-pre { font-size: .42em; font-weight: 500; color: var(--oak-light); letter-spacing: -.02em; margin-right: .1em; }
.stat-word { font-size: clamp(1.75rem, 6vw, 2.8rem); letter-spacing: -.04em; font-weight: 600; padding-top: .35em; padding-bottom: .15em; color: var(--oak-light); }
.stat-label { margin-top: .8rem; font-size: .95rem; color: rgba(245, 240, 233, .8); max-width: 24ch; }
@media (min-width: 52rem) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .stat:nth-child(2) { margin-top: 2rem; }
  .stat:nth-child(4) { margin-top: 1rem; }
}

/* ---------- Ambientes ---------- */
.amb-grid { display: grid; gap: 2rem; }
.amb-list { border-top: 1.5px solid var(--ink); }
.amb-list a {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: .15rem 1rem;
  padding: 1.3rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding-left .35s var(--ease), background .35s;
}
.amb-n { font-family: var(--f-head); font-weight: 700; font-size: .9rem; color: var(--wood); grid-row: span 2; padding-top: .35rem; }
.amb-name { font-size: clamp(1.35rem, 3.6vw, 1.85rem); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.amb-desc { color: var(--ink-soft); font-size: .98rem; max-width: 48ch; }
.amb-list a:hover { padding-left: .8rem; background: var(--paper-2); }
.amb-list a:hover .amb-name { color: var(--wood-dark); }
@media (min-width: 62rem) {
  .amb-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .amb-grid .section-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .amb-list a { grid-template-columns: 3rem 1.1fr 1.2fr; align-items: baseline; gap: 1rem; padding: 1.6rem 0; }
  .amb-n { grid-row: auto; padding: 0; }
}

/* ---------- Portfólio ---------- */
.portfolio { background: var(--paper-2); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip {
  background: transparent; border: 1.5px solid var(--ink); border-radius: 100px;
  padding: .5rem 1.05rem; min-height: 44px; font-size: .92rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--sand); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.gallery { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery .gallery-fallback { padding: 2rem 0; color: var(--ink-soft); aspect-ratio: auto; grid-column: 1 / -1; }
.gallery li { min-width: 0; aspect-ratio: 4 / 5; }
.tile { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; overflow: hidden; text-align: left; background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img, .tile:hover .ph { transform: scale(1.03); }
.tile .ph { transition: transform .7s var(--ease); }
.tile .ph-note { display: none; }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .85rem;
  background: linear-gradient(to top, rgba(42, 40, 38, .78), rgba(42, 40, 38, 0));
  color: var(--paper); display: flex; justify-content: space-between; align-items: end; gap: 1rem;
}
.tile-cap strong { font-family: var(--f-head); font-weight: 600; font-size: 1rem; line-height: 1.25; letter-spacing: -.015em; }
.tile-cap span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; white-space: nowrap; }
.gallery li.enter { animation: rise .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (min-width: 38rem) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 80rem) {
  .gallery { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .tile-cap { flex-direction: column; align-items: flex-start; gap: .25rem; padding: 2rem .8rem .75rem; }
  .tile-cap strong { font-size: .95rem; }
}

/* Placeholder estilizado (bloco de madeira com rótulo) */
.ph {
  position: relative; width: 100%; height: 100%; min-height: 200px;
  background-color: var(--tone, var(--oak));
  background-image:
    repeating-linear-gradient(91deg, rgba(0,0,0,.05) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(88deg, rgba(255,255,255,.06) 0 2px, transparent 2px 23px);
  color: var(--ph-ink, var(--ink));
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.1rem;
}
.ph::after { content: ""; position: absolute; inset: 10px; border: 1px solid currentColor; opacity: .3; pointer-events: none; }
.ph-label { font-family: var(--f-head); font-weight: 600; font-size: 1.15rem; position: relative; z-index: 1; }
.ph-note { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; position: relative; z-index: 1; }
.ph.is-dark { --ph-ink: var(--paper); }
.ph-walnut { --tone: var(--walnut); --ph-ink: var(--paper); }

/* ---------- Processo ---------- */
.process-grid { display: grid; gap: 2.5rem; }
.timeline { --progress: 0; position: relative; padding-left: 3.4rem; }
.timeline::before, .timeline::after {
  content: ""; position: absolute; left: 1.05rem; top: 0; width: 12px;
}
.timeline::before { /* régua vertical */
  bottom: 0;
  background:
    repeating-linear-gradient(180deg, rgba(139,90,52,.7) 0 1px, transparent 1px 10px) left top / 6px 100% no-repeat,
    repeating-linear-gradient(180deg, rgba(139,90,52,.7) 0 1px, transparent 1px 50px) left top / 12px 100% no-repeat,
    linear-gradient(rgba(139,90,52,.7), rgba(139,90,52,.7)) left top / 1px 100% no-repeat;
}
.timeline::after { /* preenchimento conforme a rolagem */
  height: calc(var(--progress) * 100%); background: var(--wood-dark); width: 3px; left: 1.05rem; max-height: 100%;
}
.step { position: relative; display: block; padding-bottom: 2.4rem; }
.step:last-child { padding-bottom: 0; }
.step-n {
  position: absolute; left: -3.4rem; top: -.15rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  background: var(--paper); border: 1.5px solid var(--wood-dark); color: var(--wood-dark); font-weight: 700; font-size: 1.05rem; border-radius: 50%;
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--ink-soft); max-width: 52ch; }
@media (min-width: 62rem) {
  .process-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .process-head { position: sticky; top: calc(var(--header-h) + 2rem); }
  .step { padding-bottom: 3.2rem; display: grid; grid-template-columns: 1fr; }
  .step h3 { font-size: 1.45rem; }
}

/* ---------- Diferenciais ---------- */
.diffs { background: var(--sand); }
.diffs-grid { display: grid; gap: 2rem; }
.diff-feature { background: var(--ink); color: var(--paper); padding: clamp(1.75rem, 5vw, 3rem); position: relative; }
.diff-feature::after { content: ""; position: absolute; left: clamp(1.75rem, 5vw, 3rem); right: clamp(1.75rem, 5vw, 3rem); bottom: 1.2rem; height: 8px;
  background: repeating-linear-gradient(90deg, rgba(217,189,154,.6) 0 1px, transparent 1px 10px); }
.diff-tag { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-light); margin-bottom: 1.2rem; }
.diff-feature h3 { font-size: clamp(1.65rem, 4vw, 2.35rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.12; margin-bottom: 1.1rem; max-width: 14ch; }
.diff-feature p:last-child { color: rgba(245, 240, 233, .85); max-width: 40ch; padding-bottom: 1.2rem; }
.diff-list { border-top: 1.5px solid var(--ink); }
.diff { padding: 1.5rem 0; border-bottom: 1px solid rgba(42, 40, 38, .3); display: grid; gap: .4rem; }
.diff h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 700; letter-spacing: -.025em; color: var(--wood-dark); }
.diff p { color: var(--ink-soft); max-width: 46ch; }
@media (min-width: 52rem) {
  .diff { grid-template-columns: 1fr 1.4fr; gap: 2rem; align-items: baseline; }
}
@media (min-width: 62rem) {
  .diffs-grid { grid-template-columns: repeat(12, 1fr); column-gap: 2rem; row-gap: 2.5rem; }
  .diffs .section-head { grid-column: 1 / 9; margin-bottom: 0; }
  .diff-feature { grid-column: 1 / 7; grid-row: 2 / 3; padding-bottom: 4rem; }
  .diff-list { grid-column: 7 / 13; grid-row: 2 / 3; align-self: end; }
  .diff { grid-template-columns: 1fr; gap: .3rem; }
}

/* ---------- Sobre ---------- */
.about-grid { display: grid; gap: 3rem; }
.about-art { position: relative; }
.about-art img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--sand); }
.about-badge {
  position: absolute; right: -.25rem; bottom: -1.75rem; max-width: 13rem;
  background: var(--paper); padding: 1rem 1.2rem; border: 1.5px solid var(--ink);
}
.about-badge strong { display: block; font-family: var(--f-head); font-weight: 700; letter-spacing: -.04em; font-size: 2.9rem; line-height: 1; color: var(--wood-dark); }
.about-badge span { font-size: .85rem; line-height: 1.35; display: block; margin-top: .35rem; color: var(--ink-soft); }
.about-copy h2 { margin-bottom: 1.5rem; }
.about-copy p { max-width: 54ch; margin-bottom: 1.15rem; color: var(--ink-soft); }
.pull { font-size: clamp(1.3rem, 3.2vw, 1.8rem); letter-spacing: -.025em; line-height: 1.25; font-weight: 600; color: var(--wood-dark); border-left: 3px solid var(--wood); padding: .2rem 0 .2rem 1.25rem; margin: 2rem 0; max-width: 24ch; }
@media (min-width: 62rem) {
  .about-grid { grid-template-columns: 5fr 6fr; gap: 6rem; align-items: center; }
  .about-art { margin-right: 1rem; }
}

/* ---------- Depoimentos ---------- */
.testimonials { background: var(--paper-2); }
.slider-viewport { overflow: hidden; touch-action: pan-y; }
.slider-track { display: flex; transition: transform .6s var(--ease); }
.slide { flex: 0 0 100%; min-width: 0; padding-right: 1px; }
.quote { padding: clamp(.5rem, 2vw, 1.5rem) 0; display: grid; gap: 1.75rem; max-width: 62rem; }
.quote-mark { font-family: var(--f-head); font-size: 6rem; line-height: .6; color: var(--wood); height: 2.6rem; }
.quote-text { font-family: var(--f-head); font-size: clamp(1.25rem, 3.2vw, 2rem); line-height: 1.3; font-weight: 500; letter-spacing: -.02em; }
.quote-by { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; align-items: center; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .95rem; }
.quote-by strong { font-weight: 600; }
.quote-by span { color: var(--ink-soft); }
.badge-model { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .25rem .6rem; }
.slider-controls { display: flex; align-items: center; gap: 1.25rem; margin-top: 2.25rem; }
.icon-btn { width: 48px; height: 48px; background: transparent; border: 1.5px solid var(--ink); border-radius: 2px; font-size: 1.2rem; transition: background .2s, color .2s; }
.icon-btn:hover { background: var(--ink); color: var(--paper); }
.dots { display: flex; gap: .25rem; }
.dot { width: 44px; height: 44px; background: none; border: 0; position: relative; }
.dot::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 3px; background: var(--line); transition: background .2s; }
.dot[aria-current="true"]::before { background: var(--wood-dark); height: 4px; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; gap: 3rem; }
address { font-style: normal; margin: 2rem 0; }
.addr-label { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wood-dark); margin-top: 1.4rem; }
address p:not(.addr-label) { font-size: 1.12rem; margin-top: .3rem; }
.tel { font-family: var(--f-head); font-size: 1.75rem; font-weight: 700; text-decoration: none; letter-spacing: -.03em; }
.tel:hover { color: var(--wood-dark); }

.quote-form { background: var(--paper-2); border: 1px solid var(--line); padding: clamp(1.4rem, 4vw, 2.4rem); border-top: 4px solid var(--wood-dark); }
.quote-form h3 { font-size: 1.5rem; }
.form-hint { color: var(--ink-soft); font-size: .93rem; margin: .4rem 0 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid #8c857d; border-radius: 2px; padding: .8rem .9rem; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--wood-dark); outline-offset: 1px; border-color: var(--wood-dark); }
.field [aria-invalid="true"] { border-color: #A3361F; }
.form-error { color: #A3361F; font-size: .92rem; font-weight: 500; min-height: 1.4em; margin-bottom: .6rem; }
.map { margin-top: clamp(3rem, 7vw, 5rem); border: 1px solid var(--line); background: var(--sand); }
.map iframe { display: block; width: 100%; height: clamp(280px, 50vw, 420px); border: 0; filter: sepia(.25) saturate(.85); }
@media (min-width: 62rem) { .contact-grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: rgba(245, 240, 233, .88); padding-top: 0; }
.site-footer .ruler { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { background: var(--paper); padding: .5rem; width: 190px; }
.footer-logo img { width: 100%; height: auto; mix-blend-mode: multiply; }
.footer-h { font-family: var(--f-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--oak-light); margin-bottom: .9rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer li { margin-bottom: .35rem; }
.footer-grid p { margin-bottom: .6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.4rem 5rem; border-top: 1px solid rgba(245, 240, 233, .2); font-size: .85rem; color: rgba(245, 240, 233, .7); }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; } .footer-bottom { padding-bottom: 1.6rem; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 52px; height: 52px; display: grid; place-items: center;
  background: var(--wood-dark); color: var(--paper); border-radius: 50%;
  box-shadow: 0 6px 18px -6px rgba(42, 40, 38, .6);
  transition: transform .25s var(--ease), background .2s;
}
.wa-float:hover { background: var(--ink); transform: translateY(-2px); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(28, 26, 24, .94); display: grid; place-items: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lb-inner { position: relative; width: min(1100px, 100%); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; }
.lb-stage { grid-column: 2; min-width: 0; touch-action: pan-y; }
.lb-stage .ph, .lb-stage img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 72vh; object-fit: contain; background: transparent; }
.lb-stage img { aspect-ratio: auto; max-height: 76vh; }
.lb-stage .ph { background: var(--sand); }
.lb-stage .ph { height: auto; }
.lb-caption { grid-column: 1 / -1; color: var(--paper); text-align: center; font-size: .95rem; margin-top: .75rem; }
.lb-caption strong { font-family: var(--f-head); font-size: 1.25rem; display: block; font-weight: 600; }
.lb-caption small { color: var(--oak-light); letter-spacing: .1em; font-size: .78rem; text-transform: uppercase; }
.lb-close { position: absolute; top: -3.25rem; right: 0; width: 48px; height: 48px; background: none; border: 1.5px solid var(--paper); color: var(--paper); font-size: 1.8rem; line-height: 1; border-radius: 2px; }
.lb-nav { width: 48px; height: 48px; background: none; border: 1.5px solid var(--paper); color: var(--paper); font-size: 1.3rem; border-radius: 2px; }
.lb-close:hover, .lb-nav:hover { background: var(--paper); color: var(--ink); }
@media (max-width: 40rem) {
  .lb-inner { grid-template-columns: 1fr 1fr; }
  .lb-stage { grid-column: 1 / -1; grid-row: 1; }
  .lb-prev { grid-row: 2; justify-self: start; margin-top: .75rem; }
  .lb-next { grid-row: 2; grid-column: 2; justify-self: end; margin-top: .75rem; }
  .lb-caption { grid-row: 3; }
  .lb-close { top: -3.5rem; }
}
body.lb-open { overflow: hidden; }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
