/* Taynara Scalparo — sistema visual
   Floresta profunda + ouro envelhecido + pedra. Bodoni Moda (títulos) e Instrument Sans (texto). */

@font-face {
  font-family: 'Bodoni Moda';
  src: url('/fonts/bodoni-moda.woff') format('woff');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('/fonts/instrument-sans.woff') format('woff');
  font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}

:root {
  --ink: #13221c;
  --forest: #1c3128;
  --moss: #33503f;
  --line-dark: rgba(194, 160, 106, 0.28);
  --gold: #c2a06a;
  --gold-soft: #d9c39a;
  --gold-deep: #7c5f2f;
  --stone: #e6e8e3;
  --paper: #f8f8f5;
  --white: #ffffff;
  --text: #1d2420;
  --muted: #55605a;
  --line: #d3d7cf;
  --focus: #c2a06a;

  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.35rem, 1.5rem + 4vw, 4.25rem);

  --gutter: 1.25rem;
  --max: 72rem;
  --radius: 4px;
  --header-h: 4.25rem;
}

@media (min-width: 48rem) {
  :root { --gutter: 2rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

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

/* ---------- Tipografia ---------- */
.display, .h2 { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -0.01em; }
.display { font-size: var(--step-4); line-height: 1.04; font-weight: 500; }
.h2 { font-size: var(--step-3); line-height: 1.1; font-weight: 500; }
.h3 { font-family: var(--sans); font-size: var(--step-1); line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; }
.lede { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 38rem; }
.dark .lede { color: #c3cdc7; }
.small { font-size: var(--step--1); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .8rem 1.35rem;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; letter-spacing: .005em;
  border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { width: 1.15rem; height: 1.15rem; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--forest); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.dark .btn-line { color: var(--gold-soft); border-color: var(--line-dark); }
.btn-line:hover { border-color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.link { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.link:hover { color: var(--ink); }
.dark .link { color: var(--gold-soft); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: .005em; }
.brand-role { font-size: .74rem; color: var(--gold); letter-spacing: .03em; margin-top: .2rem; }
.nav { display: none; }
.nav ul { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav a { text-decoration: none; font-size: .95rem; color: #d7ddd9; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--gold-soft); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line-dark);
  color: var(--paper); font: 600 .9rem var(--sans); padding: .55rem .85rem; border-radius: var(--radius); cursor: pointer;
}
.menu-btn svg { width: 1.1rem; height: 1.1rem; }

.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + 1rem); left: -1.25rem; min-width: 34rem;
  background: var(--paper); color: var(--text); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(19, 34, 28, .5); padding: 1.5rem;
  display: none; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: grid; }
.has-sub::after { content: ''; position: absolute; inset: 100% -1rem auto; height: 1.25rem; }
.sub p { font-size: .78rem; color: var(--gold-deep); font-weight: 600; margin: 0 0 .4rem; }
.sub ul { display: block; }
.sub li { margin: .3rem 0; }
.sub a { color: var(--text); font-size: .95rem; }
.sub a:hover { color: var(--gold-deep); }

@media (min-width: 64rem) {
  .nav, .header-cta { display: flex; }
  .menu-btn { display: none; }
}

/* Menu móvel */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--ink); color: var(--paper);
  overflow-y: auto; padding: 1.5rem var(--gutter) 7rem;
  visibility: hidden; opacity: 0; transform: translateY(-.5rem);
  transition: opacity .2s, transform .2s, visibility 0s .2s;
}
.drawer.open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.drawer h2 { font-size: .8rem; color: var(--gold); font-weight: 600; margin: 1.5rem 0 .5rem; }
.drawer ul { list-style: none; }
.drawer li a { display: block; padding: .6rem 0; text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.drawer .main-links a { font-family: var(--serif); font-size: 1.6rem; border: 0; padding: .3rem 0; }
@media (min-width: 64rem) { .drawer { display: none; } }
body.locked { overflow: hidden; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.section-stone { background: var(--stone); }
.dark { background: var(--ink); color: var(--paper); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head .h2 + p { margin-top: 1rem; color: var(--muted); font-size: var(--step-1); }
.dark .section-head .h2 + p { color: #c9d2cc; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--paper); overflow: hidden; position: relative; }
.hero .wrap { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3.5rem, 2rem + 5vw, 6.5rem); }
.hero .display { max-width: 16ch; }
.hero .lede { margin-top: 1.5rem; }
.hero-meta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: #aab6af; font-size: .92rem; list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 1rem; height: 1rem; color: var(--gold); }
@media (min-width: 64rem) {
  .hero .wrap { grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
  .plan { margin-right: -1rem; }
}

/* Desenho técnico do hero */
.plan { position: relative; color: var(--gold); }
.plan svg { width: 100%; height: auto; overflow: visible; }
.plan .walls { stroke: var(--gold); stroke-width: 2.4; fill: none; }
.plan .thin { stroke: var(--gold); stroke-width: .9; fill: none; opacity: .75; }
.plan .dim { stroke: var(--gold-soft); stroke-width: .8; fill: none; }
.plan .grid { stroke: rgba(194,160,106,.09); stroke-width: .6; }
.plan text { fill: var(--gold-soft); font-family: var(--sans); font-size: 11px; letter-spacing: .02em; }
.plan .room { fill: #8e9b93; font-size: 10px; }
.stamp { fill: var(--ink); stroke: var(--gold); stroke-width: 1; }
.stamp-text { fill: var(--paper) !important; }
.plan .draw { stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); animation: draw 2.2s cubic-bezier(.6,.1,.2,1) forwards; }
.plan .draw.d2 { animation-delay: .6s; animation-duration: 1.4s; }
.plan .fade { opacity: 0; animation: fade .8s ease forwards 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .plan .draw { animation: none; stroke-dashoffset: 0; }
  .plan .fade { animation: none; opacity: 1; }
}

/* ---------- Situações ---------- */
.situations { list-style: none; border-top: 1px solid var(--line); }
.situations a {
  display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.5rem; align-items: center;
  padding: 1.25rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.situations .q { font-family: var(--serif); font-size: var(--step-2); line-height: 1.2; }
.situations .svc { grid-column: 1; font-size: .92rem; color: var(--gold-deep); font-weight: 600; }
.situations .arrow { grid-row: 1 / span 2; grid-column: 2; width: 2.5rem; height: 2.5rem; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.situations .arrow svg { width: 1rem; height: 1rem; }
.situations a:hover .arrow { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.situations a:hover .q { color: var(--forest); }
@media (min-width: 64rem) {
  .situations { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3.5rem; border-top: 0; }
  .situations li:nth-child(-n+2) a { border-top: 1px solid var(--line); }
}

/* ---------- Serviços por grupo ---------- */
.groups { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .groups { grid-template-columns: 1fr 1fr; gap: 3rem 3.5rem; } }
.group { border-top: 2px solid var(--gold); padding-top: 1.25rem; }
.dark .group { border-color: var(--gold); }
.group .h3 { color: var(--gold-soft); font-family: var(--serif); font-size: var(--step-2); font-weight: 500; }
.group > p { color: #b4c0b9; margin: .5rem 0 1rem; font-size: .98rem; }
.group ul { list-style: none; }
.group li a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); text-decoration: none; font-size: 1.05rem;
}
.group li a svg { width: 1rem; height: 1rem; color: var(--gold); flex: none; transition: transform .2s; }
.group li a:hover { color: var(--gold-soft); }
.group li a:hover svg { transform: translateX(3px); }

/* ---------- Passos ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 2rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; } }
@media (min-width: 64rem) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold-deep);
}
.steps li::after { content: ''; position: absolute; top: 1.15rem; left: 2.4rem; right: 0; height: 1px; background: var(--line); }
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) { .about { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }
.portrait { position: relative; aspect-ratio: 4 / 5; background: var(--forest); border-radius: var(--radius); overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .mono {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); color: var(--gold); letter-spacing: -.04em;
}
.portrait figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(19,34,28,.92), rgba(19,34,28,0)); color: var(--paper); font-size: .9rem;
}
.about-text p { font-size: 1.08rem; }
.about-text .h2 { margin-bottom: 1.5rem; }
.creds { list-style: none; margin-top: 2rem; border-top: 1px solid var(--line); }
.creds li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.creds b { font-weight: 600; color: var(--gold-deep); }

/* ---------- Cidades ---------- */
.cities { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.cities li { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; background: var(--white); }
.cities li a { text-decoration: none; }
.cities li.main { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 600; font-size: 1.08rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .35rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.5rem;
  border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq .answer { padding: 0 0 1.4rem; color: var(--muted); max-width: 42rem; }
.faq .answer p { margin: 0; }

/* ---------- CTA ---------- */
.cta { background: var(--forest); color: var(--paper); }
.cta .wrap { display: grid; gap: 1.5rem; padding-block: clamp(3.5rem, 2.5rem + 4vw, 5.5rem); }
.cta .h2 { max-width: 20ch; }
.cta p { color: #c9d2cc; max-width: 36rem; margin: 0; }
@media (min-width: 64rem) { .cta .wrap { grid-template-columns: 1.3fr auto; align-items: end; } .cta .actions { margin: 0; } }

/* ---------- Páginas internas ---------- */
.page-hero { background: var(--ink); color: var(--paper); }
.page-hero .wrap { padding-block: 2rem clamp(3rem, 2rem + 4vw, 5rem); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: #9fada5; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.crumbs li:not(:last-child)::after { content: '/'; margin-left: .4rem; color: var(--moss); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold-soft); }
.page-hero .display { max-width: 18ch; }
.page-hero .lede { margin-top: 1.25rem; }

.split { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.checks { list-style: none; }
.checks li { position: relative; padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid var(--line); }
.checks li::before {
  content: ''; position: absolute; left: .2rem; top: 1.15rem; width: .9rem; height: .5rem;
  border-left: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(-45deg);
}
.checks.dots li::before { width: .45rem; height: .45rem; border: 0; background: var(--gold-deep); border-radius: 50%; transform: none; top: 1.3rem; left: .3rem; }
.split .h3 { margin-bottom: 1rem; font-family: var(--serif); font-size: var(--step-2); font-weight: 500; }

.norm { display: grid; gap: 1rem; border-left: 2px solid var(--gold); padding: .25rem 0 .25rem 1.5rem; max-width: 46rem; }
.norm .h3 { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); }
.norm p { margin: 0; color: var(--muted); }

.prose p { font-size: 1.08rem; max-width: 40rem; }

.related { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 48rem) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { display: block; height: 100%; padding: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.related a:hover { border-color: var(--gold-deep); }
.related b { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: .4rem; }
.related span { color: var(--muted); font-size: .95rem; }

/* ---------- Formulário ---------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .contact { grid-template-columns: 1fr 1.1fr; gap: 5rem; } }
.form { display: grid; gap: 1.1rem; background: var(--white); border: 1px solid var(--line); padding: clamp(1.25rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius); }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1px solid #bfc5bc; border-radius: var(--radius); padding: .75rem .85rem; min-height: 3rem;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold-deep); }
.field .hint { font-size: .85rem; color: var(--muted); }
.form .error { color: #9b2c1f; font-size: .9rem; min-height: 1.2em; margin: 0; }
.contact-list { list-style: none; margin-top: 2rem; border-top: 1px solid var(--line); }
.contact-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; gap: .15rem; }
.contact-list span { font-size: .85rem; color: var(--muted); }
.contact-list a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--gold-deep); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--ink); color: #b4c0b9; padding-block: 4rem 6.5rem; font-size: .95rem; border-top: 1px solid var(--line-dark); }
@media (min-width: 64rem) { .site-footer { padding-bottom: 2.5rem; } }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h2 { font-size: .85rem; color: var(--gold); font-weight: 600; margin-bottom: .9rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin: .4rem 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer .brand-name { color: var(--paper); font-size: 1.6rem; }
.footer-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: #85938b; }

/* Barra fixa de WhatsApp no celular */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  background: rgba(19, 34, 28, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: 1fr auto; gap: .6rem;
}
.mobile-bar .btn { min-height: 2.9rem; }
.mobile-bar .btn-line { color: var(--paper); border-color: var(--line-dark); padding-inline: 1rem; }
@media (min-width: 64rem) { .mobile-bar { display: none; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
