/* =========================================================================
   CONCEITO REAL MARCENARIA — móveis planejados sob medida (SP)
   Tema escuro + dourado (luxo) · Playfair Display + Roboto
   ========================================================================= */
:root {
  --gold: #c5a059;
  --gold-2: #d8b978;
  --gold-dark: #a5824a;
  --dark: #17130f;
  --dark-2: #211c17;
  --card: #26201a;
  --line-dark: rgba(197,160,89,.18);
  --cream: #f6f2ea;
  --cream-2: #ede6d9;
  --ink: #1c1712;
  --text: #4b4239;
  --muted: #8b8073;
  --wa: #25d366;
  --maxw: 1200px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 18px 40px rgba(0,0,0,.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--text); background: var(--dark); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.gold { color: var(--gold); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: .95rem; letter-spacing: .5px;
  text-transform: uppercase; padding: 15px 30px; border-radius: 8px; border: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 19px; height: 19px; fill: currentColor; flex-shrink: 0; }
.btn-gold { background: var(--gold); color: #1a1408; box-shadow: 0 10px 26px rgba(197,160,89,.32); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--gold); border: 1.5px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: #1a1408; }
.btn-lg { padding: 17px 38px; font-size: 1rem; }

/* ---------- Títulos de seção ---------- */
.eyebrow { display: inline-block; font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: 3px; font-size: .78rem; color: var(--gold); margin-bottom: 14px; }
.section-title { font-family: var(--serif); font-weight: 700; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; }
.section-title.light { color: #fff; }
.section-title.dark { color: var(--ink); }
.section-title em { font-style: italic; color: var(--gold); }
.section { padding: 92px 0; }
.center { text-align: center; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 600;
  background: rgba(20,16,12,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.site-header .logo img { height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { color: #e8e1d6; font-size: .92rem; letter-spacing: .3px; transition: color .2s; }
.site-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gold); margin: 5px 0; transition: .3s; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--dark-2); border-bottom: 1px solid var(--line-dark);
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
  }
  .site-header.open .site-nav { max-height: 420px; }
  .site-nav a { width: 100%; padding: 16px 22px; border-bottom: 1px solid var(--line-dark); }
  .site-nav .btn { margin: 16px 22px; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; text-align: center; color: #fff;
  padding: 92px 0 104px; overflow: hidden;
  background: linear-gradient(rgba(15,12,9,.82), rgba(15,12,9,.92)), var(--hero-img, none);
  background-size: cover; background-position: center;
}
.hero::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -120px 120px -60px var(--dark); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero-logo { height: 150px; width: auto; margin: 0 auto 26px; filter: drop-shadow(0 4px 20px rgba(0,0,0,.5)); }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.18; margin-bottom: 20px; }
.hero h1 .g { color: var(--gold); }
.hero p.sub { font-size: clamp(1rem, 2.2vw, 1.2rem); font-weight: 300; color: #e6ddd0; max-width: 60ch; margin: 0 auto 34px; }

/* =========================================================================
   PADRÃO — painéis expansíveis
   ========================================================================= */
.padrao { background: var(--dark-2); }
.padrao .head { text-align: center; margin-bottom: 48px; }
.panels { display: flex; gap: 14px; height: 480px; }
.panel {
  position: relative; flex: 0.6; border-radius: 14px; overflow: hidden; cursor: pointer;
  background-size: cover; background-position: center; box-shadow: var(--shadow);
  transition: flex .6s cubic-bezier(.25,1,.5,1);
}
.panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.12) 100%); transition: background .5s; }
.panel:hover::before { background: linear-gradient(to top, rgba(0,0,0,.94) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.2) 100%); }
.panel-content { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 2; opacity: 0; transform: translateY(18px); transition: opacity .4s ease, transform .4s ease; }
.panel-num { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--gold); letter-spacing: 3px; margin-bottom: 8px; }
.panel h3 { font-family: var(--serif); color: #fff; font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; line-height: 1.2; }
.panel p { color: #ece6dc; font-weight: 300; font-size: .98rem; max-width: 42ch; }
.panel.active { flex: 4.2; cursor: default; }
.panel.active .panel-content { opacity: 1; transform: none; transition-delay: .25s; }
.padrao .cta { text-align: center; margin-top: 44px; }
@media (max-width: 820px) {
  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 92px; transition: height .55s cubic-bezier(.25,1,.5,1); }
  .panel.active { height: 340px; }
  .panel-content { opacity: 0; }
  .panel.active .panel-content { opacity: 1; }
  .panel:not(.active) .panel-content { position: absolute; opacity: 1; bottom: auto; top: 50%; transform: translateY(-50%); }
  .panel:not(.active) .panel-content p { display: none; }
  .panel:not(.active) .panel-num { display: inline; margin: 0 10px 0 0; }
  .panel:not(.active) h3 { display: inline; font-size: 1.15rem; }
}

/* =========================================================================
   SOLUÇÕES — imagem + timeline
   ========================================================================= */
.solucoes { background: var(--cream); color: var(--text); }
.solucoes .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.solucoes-img { border-radius: 14px; overflow: hidden; box-shadow: 0 20px 44px rgba(0,0,0,.18); }
.solucoes-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.solucoes .eyebrow { color: var(--gold-dark); }
.solucoes .section-title { margin-bottom: 30px; }
.feature-list { list-style: none; position: relative; padding-left: 6px; }
.feature-list::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 9px; width: 2px; background: linear-gradient(var(--gold), rgba(197,160,89,.2)); }
.feature-item { position: relative; padding-left: 40px; margin-bottom: 26px; }
.feature-item:last-child { margin-bottom: 0; }
.feature-item::after { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--cream); border: 4px solid var(--gold); box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.feature-title { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.feature-desc { font-size: .96rem; color: var(--muted); }
@media (max-width: 860px) {
  .solucoes .grid { grid-template-columns: 1fr; gap: 36px; }
}

/* =========================================================================
   PORTFÓLIO
   ========================================================================= */
.portfolio { background: var(--dark); }
.portfolio .head { text-align: center; margin-bottom: 50px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.pf-card { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-dark); transition: transform .3s ease, box-shadow .3s ease; }
.pf-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(0,0,0,.45); }
.pf-img { height: 230px; overflow: hidden; }
.pf-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.pf-card:hover .pf-img img { transform: scale(1.08); }
.pf-body { padding: 22px 24px; }
.pf-body h3 { font-family: var(--serif); color: var(--gold); font-size: 1.3rem; font-weight: 700; margin-bottom: 6px; }
.pf-body p { color: #d9d1c4; font-weight: 300; font-size: .92rem; }
.portfolio .cta { text-align: center; margin-top: 50px; }

/* =========================================================================
   PROCESSO
   ========================================================================= */
.processo { background: var(--cream); }
.processo .head { text-align: center; margin-bottom: 50px; }
.proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.proc-card { position: relative; background: #fff; border-radius: 14px; padding: 34px 26px 28px; border-top: 4px solid var(--gold); box-shadow: 0 8px 24px rgba(0,0,0,.06); overflow: hidden; transition: transform .3s ease; }
.proc-card:hover { transform: translateY(-6px); }
.proc-num { position: absolute; top: 6px; right: 18px; font-family: var(--serif); font-weight: 900; font-size: 4rem; color: var(--gold); opacity: .14; line-height: 1; }
.proc-card h3 { font-family: var(--serif); color: var(--ink); font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; position: relative; }
.proc-card p { color: var(--muted); font-size: .94rem; }
.processo .cta { text-align: center; margin-top: 50px; }
@media (max-width: 900px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .proc-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.site-footer { background: #100c09; color: #b8ad9d; padding: 56px 0 34px; text-align: center; border-top: 1px solid var(--line-dark); }
.site-footer .logo img { height: 76px; margin: 0 auto 22px; }
.site-footer p { font-size: .94rem; margin-bottom: 8px; }
.site-footer a { color: var(--gold); font-weight: 500; }
.site-footer .foot-small { font-size: .82rem; color: #6f665b; margin-top: 20px; }

/* =========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 700;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,.5); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 34px; height: 34px; fill: #fff; }
