/* =====================================================================
   Edson Loureiro – Móveis Projetados · Boa Vista, RR
   Paleta: nogueira / mel / papel. Tipografia: Bricolage Grotesque,
   Figtree, IBM Plex Mono.
   ===================================================================== */

:root {
  /* Tema claro (padrão) */
  --paper:      #F6F4F0;
  --paper-2:    #ECE7DF;
  --paper-3:    #E2DBD0;
  --ink:        #1C1613;
  --walnut:     #3D2A1E;
  --walnut-2:   #2A1D15;
  --honey:      #C98A3C;
  --honey-deep: #A86B22;
  --honey-soft: #F1DDBF;
  --text:       #241C17;
  --muted:      #6B5E54;
  --line:       #D9CFC2;
  --wa:         #1EBE5D;
  --wa-deep:    #158F45;
  --on-dark:    #F3EDE4;
  --on-dark-muted: #C2B4A5;

  --font-display: "Bricolage Grotesque", "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius: 6px;
  --container: 1180px;
  --shadow: 0 18px 40px -20px rgba(28, 22, 19, .45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:      #17120F;
    --paper-2:    #1F1813;
    --paper-3:    #2A211B;
    --ink:        #0F0C0A;
    --walnut:     #221811;
    --walnut-2:   #1A120D;
    --honey:      #D9974A;
    --honey-deep: #E5AE6A;
    --honey-soft: #3A2A18;
    --text:       #F1EAE1;
    --muted:      #B4A69A;
    --line:       #3A2E26;
    --on-dark:    #F3EDE4;
    --on-dark-muted: #C2B4A5;
    --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
  }
}
:root[data-theme="dark"] {
  --paper:      #17120F;
  --paper-2:    #1F1813;
  --paper-3:    #2A211B;
  --ink:        #0F0C0A;
  --walnut:     #221811;
  --walnut-2:   #1A120D;
  --honey:      #D9974A;
  --honey-deep: #E5AE6A;
  --honey-soft: #3A2A18;
  --text:       #F1EAE1;
  --muted:      #B4A69A;
  --line:       #3A2E26;
  --on-dark:    #F3EDE4;
  --on-dark-muted: #C2B4A5;
  --shadow: 0 18px 40px -20px rgba(0, 0, 0, .7);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--honey-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }

.mono { font-family: var(--font-mono); font-size: .85em; font-variant-numeric: tabular-nums; }

.container { width: min(var(--container), 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--honey); color: var(--ink); padding: .5rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: .9rem;
}
.section-dark .eyebrow, .hero .eyebrow { color: var(--honey); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: .8rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-deep); }
.btn-primary { background: var(--honey); color: var(--ink); }
.btn-primary:hover { background: var(--honey-deep); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--on-dark); border-color: rgba(243, 237, 228, .35); }
.btn-ghost:hover { border-color: var(--honey); color: var(--honey); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-dark);
  border-bottom: 1px solid rgba(243, 237, 228, .08);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; margin-right: auto; }
.brand-mark { width: 40px; height: 40px; flex: none; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.brand-tag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--on-dark-muted); text-transform: uppercase; white-space: nowrap; }

.nav { display: flex; gap: 1.35rem; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.nav a:hover { color: var(--honey); }
.btn-header { padding: .6rem 1rem; font-size: .92rem; }
.nav-lang { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; border: 1px solid rgba(243, 237, 228, .25); border-radius: 3px; padding: .15rem .45rem; align-self: center; }
.nav-lang:hover { border-color: var(--honey); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: .6rem;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--on-dark); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-lang { align-self: flex-start; margin-top: .8rem; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--ink); border-bottom: 1px solid rgba(243, 237, 228, .1);
    padding: .5rem 1.25rem 1rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid rgba(243, 237, 228, .08); font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .btn-header span { display: none; }
  .btn-header { padding: .6rem; }
  .brand-tag { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--walnut-2); color: var(--on-dark);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  isolation: isolate;
}
.hero-grain { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy .lead { font-size: 1.2rem; line-height: 1.55; color: var(--on-dark-muted); max-width: 60ch; margin-top: 1.25rem; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero h1::after { content: ""; display: block; width: 72px; height: 4px; background: var(--honey); margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.hero-proof {
  list-style: none; padding: 0; margin: 2.4rem 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  border-top: 1px solid rgba(243, 237, 228, .15); padding-top: 1.4rem;
}
.hero-proof li { display: flex; flex-direction: column; gap: .15rem; }
.hero-proof strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--honey); }
.hero-proof span { font-size: .85rem; color: var(--on-dark-muted); }

/* Ficha técnica (credencial SENAI) */
.ficha {
  background: var(--paper); color: var(--text);
  border-radius: var(--radius);
  padding: 1.6rem 1.7rem 1.4rem;
  box-shadow: var(--shadow);
  border-top: 6px solid var(--honey);
  position: relative;
}
.ficha-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.ficha-label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ficha-stamp {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--honey-deep); border: 1.5px solid var(--honey-deep); border-radius: 3px; padding: .2rem .5rem;
  transform: rotate(-3deg);
}
.ficha-name { font-size: 1.75rem; margin-top: 1rem; }
.ficha-role { color: var(--muted); font-size: .95rem; margin-top: .15rem; }
.ficha-list { margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.ficha-list > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem;
  padding: .55rem 0; border-top: 1px dashed var(--line);
}
.ficha-list dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.ficha-list dd { margin: 0; font-size: .95rem; line-height: 1.4; }
.ficha-list small { color: var(--muted); }
.ficha-foot {
  margin-top: 1.1rem; padding-top: .9rem; border-top: 2px solid var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: .85rem; color: var(--muted);
}
.ficha-foot .mono { color: var(--text); font-size: 1rem; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: repeat(2, 1fr); }
  .ficha { max-width: 520px; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-dark a { color: var(--honey); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-intro { margin-top: 1rem; font-size: 1.1rem; color: var(--muted); }
.section-dark .section-intro { color: var(--on-dark-muted); }

/* Serviços */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service {
  background: var(--paper-2); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: .9rem;
  border: 1px solid var(--line);
}
.service-icon { width: 56px; height: 56px; color: var(--honey-deep); }
.service-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service p { color: var(--muted); font-size: .98rem; }
.service-specs { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .3rem; color: var(--text); font-size: .8rem; }
.service-specs li::before { content: "—"; color: var(--honey); margin-right: .5rem; }
.link-arrow { margin-top: auto; font-weight: 600; text-decoration: none; color: var(--honey-deep); }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }
.service-more { background: var(--walnut); color: var(--on-dark); border-color: transparent; }
.service-more h3 { color: var(--honey); }
.service-more .link-arrow { color: var(--honey); }
.more-list { margin: 0; padding-left: 1.1rem; color: var(--on-dark-muted); font-size: .95rem; display: grid; gap: .45rem; }

@media (max-width: 1080px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* Processo */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem;
  counter-reset: step;
}
.steps li { position: relative; padding-top: 1rem; border-top: 3px solid var(--line); display: flex; flex-direction: column; gap: .5rem; }
.steps li::before { content: ""; position: absolute; top: -3px; left: 0; width: 48px; height: 3px; background: var(--honey); }
.step-num { color: var(--honey-deep); font-size: 1.5rem; font-weight: 500; }
.steps h3 { font-size: 1.1rem; }
.steps p { color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; gap: 1.6rem; } }

/* Sobre */
.about-grid { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-photo { margin: 0; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.about-photo figcaption { margin-top: .6rem; color: var(--muted); font-size: .72rem; }
.about-copy { display: flex; flex-direction: column; gap: 1.1rem; }
.about-copy p { max-width: 62ch; }
.about-points { list-style: none; padding: 0; margin: .4rem 0; display: grid; gap: .8rem; }
.about-points li { padding-left: 1.4rem; position: relative; color: var(--muted); }
.about-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--honey); border-radius: 2px; transform: rotate(45deg); }
.about-points strong { color: var(--text); }
.about-copy .btn { align-self: flex-start; margin-top: .5rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; } }

/* Galeria */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery figure { margin: 0; background: var(--walnut-2); border-radius: var(--radius); overflow: hidden; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s ease; }
.gallery figure:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery img, .btn { transition: none; } .gallery figure:hover img { transform: none; } }
.gallery figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; font-size: .92rem; }
.gallery figcaption .mono { color: var(--on-dark-muted); }
.gallery-note { margin-top: 2rem; color: var(--on-dark-muted); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .gallery { grid-template-columns: 1fr; } }

/* Depoimentos */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.testimonial {
  margin: 0; padding: 1.7rem 1.6rem 1.5rem;
  background: var(--paper-2); border-left: 4px solid var(--honey); border-radius: 0 var(--radius) var(--radius) 0;
  display: flex; flex-direction: column; gap: 1.2rem;
}
.testimonial p { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.4; }
.testimonial footer { display: flex; flex-direction: column; gap: .1rem; margin-top: auto; }
.testimonial cite { font-style: normal; font-weight: 600; }
.testimonial footer span { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); letter-spacing: .05em; }
.review-cta { margin-top: 2rem; color: var(--muted); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* Área de atendimento */
.area-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.area-grid p { margin-top: 1rem; color: var(--muted); max-width: 50ch; }
.bairros { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.bairros li {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .85rem; font-size: .9rem;
}
.bairros .bairro-gy { border-color: var(--honey); color: var(--honey-deep); font-weight: 600; }
@media (max-width: 800px) { .area-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2); }
.faq summary {
  cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; font-weight: 600; list-style: none; position: relative;
  font-family: var(--font-display); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); color: var(--honey-deep); font-size: 1.3rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-copy > p { color: var(--on-dark-muted); margin-top: 1rem; max-width: 48ch; }
.contact-list { font-style: normal; margin-top: 2rem; display: grid; gap: .25rem; }
.contact-item {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: .85rem 0; border-top: 1px solid rgba(243, 237, 228, .12);
  color: var(--on-dark); text-decoration: none;
}
a.contact-item:hover .contact-v { color: var(--honey); }
.contact-k { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-v { font-weight: 500; }

.contact-form {
  background: var(--paper); color: var(--text);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 1rem;
}
.form-hint { color: var(--muted); font-size: .92rem; margin-top: -.5rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--paper-2);
  border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 5rem; }
.form-error { color: #B3261E; font-size: .9rem; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.map-embed { margin: clamp(2.5rem, 5vw, 4rem) 0 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(243, 237, 228, .12); background: var(--walnut-2); }
.map-embed iframe { display: block; width: 100%; height: clamp(260px, 40vw, 420px); border: 0; filter: saturate(.85); }
.map-embed figcaption { padding: .8rem 1rem; font-size: .9rem; color: var(--on-dark-muted); display: flex; flex-wrap: wrap; gap: .4rem 1rem; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--walnut-2); color: var(--on-dark-muted); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--on-dark); margin-bottom: .6rem; }
.footer-title { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--honey); margin-bottom: .8rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { color: var(--on-dark-muted); text-decoration: none; }
.footer-links a:hover { color: var(--honey); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(243, 237, 228, .1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem;
}
.footer-bottom a { color: var(--on-dark-muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60;
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600;
  padding: .8rem 1.1rem .8rem .9rem; border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { background: var(--wa-deep); }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }

/* ---------- Páginas internas simples ---------- */
.page { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.page .prose { max-width: 68ch; display: grid; gap: 1rem; }
.page .prose h2 { font-size: 1.5rem; margin-top: 1.5rem; }
