/* =====================================================
   REI DOS PISOS MS — Landing Page
   Paleta derivada do logo: preto + dourado
   ===================================================== */

:root {
  --gold: #f2b01e;
  --gold-light: #ffd65c;
  --gold-deep: #c8901a;
  --black: #0a0a0a;
  --black-soft: #141210;
  --black-card: #1c1917;
  --cream: #f6f1e7;
  --text: #efe9dd;
  --text-dim: #b6afa0;
  --text-muted: #9a9184;
  --line: rgba(242, 176, 30, 0.18);
  --wa: #25d366;
  --wa-dark: #1ebe5a;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 800px; }

h1, h2, h3, h4 { font-family: 'Inter Tight', system-ui, sans-serif; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }

/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-family: 'Inter Tight', sans-serif;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space: nowrap;
  text-align: center;
}
.btn-whatsapp {
  background: var(--wa);
  color: #04310f;
  padding: 14px 26px;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); }
.btn-lg { padding: 18px 36px; font-size: 1.12rem; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25); }
.wa-icon { display: inline-flex; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
  padding: 12px 0;
}
.site-header.scrolled {
  background: rgba(10, 10, 10, 0.94);
  border-bottom-color: var(--line);
  padding: 6px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand-logo { height: 52px; width: auto; transition: height 0.3s; }
.site-header.scrolled .brand-logo { height: 42px; }
.main-nav { display: flex; gap: 30px; margin-left: auto; margin-right: 24px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  transition: color 0.2s;
}
.main-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--gold);
  transition: width 0.25s var(--ease);
}
.main-nav a:hover { color: var(--gold-light); }
.main-nav a:hover::after { width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(242, 176, 30, 0.14), transparent 60%),
    linear-gradient(180deg, #0c0b09 0%, #0a0a0a 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(242,176,30,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,176,30,0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 60% 30%, black, transparent 70%);
  opacity: 0.6;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.82) 100%),
    radial-gradient(1000px 600px at 30% 30%, rgba(10,10,10,0.15), rgba(10,10,10,0.75) 75%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(242, 176, 30, 0.1);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.crown { color: var(--gold); font-size: 1.05em; }
.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.15rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-title em { color: var(--gold); font-style: italic; }
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--text-dim);
  max-width: 640px;
  margin-bottom: 38px;
}
.hero-sub strong { color: var(--gold-light); }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-cta-note { font-size: 0.9rem; color: var(--text-muted); }
.hero-badges {
  display: flex; gap: 40px; list-style: none; flex-wrap: wrap;
  padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-badges li { font-size: 0.98rem; color: var(--text-dim); }
.hero-badges strong { display: block; font-family: 'Inter Tight', sans-serif; font-weight: 800; font-size: 1.9rem; color: var(--gold); line-height: 1; margin-bottom: 4px; letter-spacing: -0.02em; }

/* ============ TRUST BAR ============ */
.trustbar { background: var(--gold); color: var(--black); padding: 20px 0; }
.trustbar-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.98rem; }
.trust-icon { font-size: 1.3rem; }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; font-weight: 800; }
.section-lead { margin-top: 18px; font-size: 1.1rem; color: var(--text-dim); }
.section-cta { text-align: center; margin-top: 54px; }

/* ============ PRODUTOS ============ */
.produtos { background: linear-gradient(180deg, #0a0a0a, #0f0d0b); }
.produto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.produto-card {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.produto-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.produto-thumb {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.produto-thumb::after {
  content: '♛';
  position: absolute; top: 14px; right: 16px;
  color: var(--gold); font-size: 1.2rem; opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
/* fotos reais dos produtos */
.thumb-porcelanato { background-image: url('assets/prod-porcelanato.jpg'); }
.thumb-piso { background-image: url('assets/prod-piso.jpg'); }
.thumb-revestimentos { background-image: url('assets/amb-cozinha.jpg'); }
.thumb-semigres { background-image: url('assets/amb-sala.jpg'); }
.thumb-vinilico { background-image: url('assets/prod-vinilico.jpg'); }
.thumb-laminado { background-image: url('assets/prod-laminado.jpg'); }
.thumb-argamassa { background-image: url('assets/prod-argamassa.jpg'); }
.thumb-rejunte { background-image: url('assets/prod-rejunte.jpg'); }
.produto-card h3 { font-size: 1.4rem; color: var(--gold-light); padding: 22px 22px 8px; }
.produto-card p { padding: 0 22px; color: var(--text-dim); font-size: 0.98rem; flex: 1; }
.link-cta {
  display: inline-block;
  padding: 18px 22px 22px;
  color: var(--gold);
  font-weight: 600; font-size: 0.95rem;
  transition: gap 0.2s, color 0.2s;
}
.link-cta:hover { color: var(--gold-light); }

/* card secundário (vinílico & laminado) — horizontal e mais discreto */
.produto-sec {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 24px;
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.produto-sec:hover { border-color: var(--gold); box-shadow: 0 16px 32px rgba(0,0,0,0.45); }
.produto-sec-thumb {
  flex: 0 0 34%;
  min-height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.produto-sec-thumb::after {
  content: '♛';
  position: absolute; top: 12px; right: 14px;
  color: var(--gold); font-size: 1.1rem; opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.produto-sec-body { padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.produto-sec-body h3 { font-size: 1.25rem; color: var(--gold-light); margin-bottom: 8px; }
.produto-sec-body p { color: var(--text-dim); font-size: 0.98rem; margin-bottom: 6px; }
.produto-sec-body .link-cta { padding: 6px 0 0; }

.produtos-extra {
  margin-top: 22px;
  text-align: center;
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.6;
}
.produtos-extra strong { color: var(--text); font-weight: 600; }

@media (max-width: 640px) {
  .produto-sec { flex-direction: column; }
  .produto-sec-thumb { flex-basis: auto; height: 170px; }
}

/* ============ DIFERENCIAIS ============ */
.dif-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dif-card {
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.dif-card:hover { transform: translateY(-5px); background: var(--black-card); }
.dif-num { font-family: 'Inter Tight', sans-serif; font-size: 2.4rem; color: var(--gold); font-weight: 800; display: block; margin-bottom: 14px; letter-spacing: -0.02em; }
.dif-card h3 { font-size: 1.28rem; color: #fff; margin-bottom: 10px; }
.dif-card p { color: var(--text-dim); font-size: 0.96rem; }

/* ============ COMO FUNCIONA ============ */
.como-funciona { background: linear-gradient(180deg, #0f0d0b, #0a0a0a); }
.passos { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.passo {
  flex: 1; min-width: 240px; max-width: 320px;
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  text-align: center;
}
.passo-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold); color: var(--black);
  font-family: 'Inter Tight', sans-serif; font-size: 1.6rem; font-weight: 800;
  margin-bottom: 18px;
}
.passo h3 { font-size: 1.3rem; color: var(--gold-light); margin-bottom: 10px; }
.passo p { color: var(--text-dim); font-size: 0.96rem; }
.passo-seta { display: flex; align-items: center; color: var(--gold); font-size: 1.8rem; font-weight: 700; }

/* ============ AMBIENTES ============ */
.galeria {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 275px);
  gap: 16px;
}
.galeria-item {
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s var(--ease);
}
.galeria-item:hover { transform: scale(1.02); }
.galeria-item span {
  position: relative; z-index: 2;
  padding: 16px 18px; font-weight: 600; color: #fff;
  font-size: 1.05rem;
}
.galeria-item::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7));
}
/* Bento: Sala (col 1) e Comercial (col 4) são tiles altos p/ fotos retrato;
   Cozinha (topo, landscape) larga; Externa e Quarto quadrados embaixo. */
.g1 { grid-column: 1 / 2; grid-row: 1 / 3; background-image: url('assets/amb-sala.jpg'); }
.g2 { grid-column: 2 / 4; grid-row: 1 / 2; background-image: url('assets/amb-cozinha.jpg'); }
.g3 { grid-column: 2 / 3; grid-row: 2 / 3; background-image: url('assets/amb-externa.jpg'); }
.g4 { grid-column: 3 / 4; grid-row: 2 / 3; background-image: url('assets/amb-quarto.jpg'); }
.g5 { grid-column: 4 / 5; grid-row: 1 / 3; background-image: url('assets/amb-comercial.jpg'); background-position: center; }
.galeria-note, .footer-credit { text-align: center; }
.galeria-note { margin-top: 20px; font-size: 0.86rem; color: var(--text-muted); }

/* ============ DEPOIMENTOS ============ */
.depoimentos { background: linear-gradient(180deg, #0a0a0a, #0f0d0b); }
.depo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.depo-card {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.estrelas { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 14px; }
.depo-card p { color: var(--text); font-size: 1rem; font-style: italic; margin-bottom: 18px; }
.depo-card cite { color: var(--gold-light); font-weight: 600; font-style: normal; font-size: 0.92rem; }

/* ============ CTA FAIXA ============ */
.cta-faixa {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(242,176,30,0.2), transparent 60%),
    linear-gradient(135deg, #14110c, #0a0a0a);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px 0;
  text-align: center;
}
.cta-faixa-inner { max-width: 700px; margin: 0 auto; }
.crown-lg { font-size: 3rem; color: var(--gold); margin-bottom: 10px; }
.cta-faixa h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: #fff; margin-bottom: 16px; }
.cta-faixa p { color: var(--text-dim); font-size: 1.15rem; margin-bottom: 34px; }

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--black-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 24px;
  transition: border-color 0.25s;
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 18px 0; font-weight: 600; font-size: 1.06rem; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; transition: transform 0.25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--text-dim); }

/* ============ LOCALIZAÇÃO ============ */
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.loc-info .section-eyebrow { margin-bottom: 10px; }
.loc-info .section-title { text-align: left; margin-bottom: 28px; }
.loc-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.loc-list li { display: flex; gap: 14px; }
.loc-ico { font-size: 1.4rem; }
.loc-list strong { color: var(--gold-light); display: block; margin-bottom: 2px; }
.loc-list p { color: var(--text-dim); font-size: 0.98rem; }
.loc-list a { color: var(--gold); font-weight: 600; }
.loc-map { height: 100%; min-height: 380px; }
.map-placeholder, .loc-map iframe {
  width: 100%; height: 100%; min-height: 380px;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.map-placeholder {
  background: var(--black-card);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; color: var(--text-muted); text-align: center;
}
.map-placeholder span { font-size: 3rem; }

/* ============ FOOTER ============ */
.site-footer { background: #060606; border-top: 1px solid var(--line); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 46px; }
.footer-logo { height: 64px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-muted); font-size: 0.95rem; max-width: 380px; }
.footer-col h4 { font-family: 'Inter Tight', sans-serif; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col li { color: var(--text-dim); font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 22px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--text-muted); font-size: 0.86rem; }
.footer-credit a { color: var(--gold); }

/* ============ BOTÃO FLUTUANTE ============ */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s var(--ease);
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 8px 26px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 8px 26px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 26px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVO ============ */
@media (max-width: 960px) {
  .produto-grid { grid-template-columns: repeat(2, 1fr); }
  .dif-grid { grid-template-columns: repeat(2, 1fr); }
  .depo-grid { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 230px; }
  .g1, .g2, .g3, .g4, .g5 { grid-column: auto; grid-row: auto; }
  .g1 { grid-column: span 2; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .passo-seta { display: none; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .btn-sm { padding: 9px 14px; font-size: 0.82rem; }
  .brand-logo { height: 42px; }
  .section { padding: 68px 0; }
  .produto-grid { grid-template-columns: 1fr; }
  .dif-grid { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .g1, .g2, .g3, .g4, .g5 { grid-column: span 1; grid-row: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-badges { gap: 26px; }
  .trustbar-inner { gap: 14px; justify-content: flex-start; }
  .trust-item { font-size: 0.9rem; }
  .hero-cta { gap: 12px; }
  .whatsapp-float { width: 56px; height: 56px; bottom: 18px; right: 18px; }
}
