/* ============================================================
   PISOS ELITE — STYLE PRINCIPAL
   Versão 2.0
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ============================================================
   1. RESET, VARIÁVEIS E BASE
   ============================================================ */

:root {
  --gold: #d4af37;
  --gold-light: #e6c362;
  --gold-dark: #b38b1b;
  --graphite: #0f1115;
  --ink: #171a1f;
  --soft: #f5f6f8;
  --white: #ffffff;
  --mid: #6d7179;
  --line: #eaecef;
  --zap: #25d366;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.18);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --fs-hero: clamp(2rem, 6vw, 3.25rem);
  --fs-h2: clamp(1.55rem, 4vw, 2rem);
  --fs-h3: clamp(1.1rem, 3vw, 1.4rem);
  --fs-body: clamp(0.95rem, 2.6vw, 1rem);
  --fs-cta: clamp(1rem, 3vw, 1.125rem);
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin-top: 0;
}

img,
video {
  max-width: 100%;
}

img {
  display: block;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

section {
  scroll-margin-top: 78px;
}

.hero,
.servicos,
.secao-galeria {
  overscroll-behavior: contain;
}

:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.65);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   2. ELEMENTOS REUTILIZÁVEIS
   ============================================================ */

.botao-cta {
  display: inline-block;
  padding: 14px 28px;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  color: #111111;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 62%, #fff5cc 100%);
  font-size: var(--fs-cta);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.botao-cta:hover,
.botao-cta:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 72%, #fff1a8 100%);
  box-shadow: 0 14px 40px rgba(212, 175, 55, 0.42);
}

.botao-cta.pequeno {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.secao-intro,
.aviso-orcamento,
.faq p,
.seo-local p,
.texto-seo {
  max-width: 760px;
}

.secao-intro {
  margin: 0 auto 30px;
  color: var(--mid);
  line-height: 1.75;
}

.aviso-orcamento {
  margin: 24px auto 0;
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ============================================================
   3. CABEÇALHO E NAVEGAÇÃO
   ============================================================ */

.topo {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #ffffff;
  background: linear-gradient(180deg, #0b0d11 0%, var(--graphite) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
  position: relative;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.titulo-central {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 62%, #ffffff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(1rem, 4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 0 18px rgba(212, 175, 55, 0.15);
  pointer-events: none;
  user-select: none;
}

.hamburguer {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.hamburguer:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}

.hamburguer.ativo {
  transform: rotate(90deg);
}

.menu {
  position: absolute;
  top: 64px;
  right: 12px;
  min-width: 210px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(17, 19, 24, 0.98);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.menu.ativo {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu a {
  padding: 12px 15px;
  color: #e9eaee;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.menu a:first-child {
  border-top: 0;
}

.menu a:hover {
  padding-left: 19px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.menu .whatsapp-link {
  color: #dfffee;
  font-weight: 700;
}

/* ============================================================
   4. HERO
   ============================================================ */

.hero {
  padding: 96px 18px 74px;
  color: #ffffff;
  text-align: center;
  background:
    radial-gradient(1800px 420px at 50% -20%, rgba(212, 175, 55, 0.16), transparent 60%),
    linear-gradient(180deg, #121319 0%, #171a1f 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.hero-content {
  width: min(100%, 960px);
  margin: 0 auto;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0.1px;
}

.hero p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #d1d4db;
  font-size: var(--fs-body);
  line-height: 1.75;
}

/* ============================================================
   5. SERVIÇOS
   ============================================================ */

.servicos {
  padding: 58px 18px;
  background: #ffffff;
  text-align: center;
}

.servicos h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: var(--fs-h2);
  font-weight: 700;
}

.servicos .cards {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.servicos .card {
  width: 100%;
  max-width: 340px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #fafafd 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.servicos .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.09);
}

.servicos .card-media {
  position: relative;
  margin: 0 0 14px;
  overflow: hidden;
  aspect-ratio: 5 / 3;
  background: #f1f3f7;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.servicos .card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.servicos .card:hover .card-media img {
  transform: scale(1.025);
  filter: contrast(1.04);
}

.servicos .card h3 {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 1.2rem;
}

.servicos .card p {
  margin-bottom: 12px;
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.55;
}

.servicos .card p:first-of-type {
  color: var(--ink);
  font-weight: 700;
}

.servicos .card .botao-cta {
  margin-top: auto;
  box-shadow: 0 8px 18px rgba(212, 175, 55, 0.24);
}

/* ============================================================
   6. COMO FUNCIONA
   ============================================================ */

.como-funciona {
  padding: 58px 18px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  text-align: center;
}

.como-funciona h2 {
  margin-bottom: 28px;
  font-size: var(--fs-h2);
}

.fluxo {
  width: min(100%, 1000px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.passo {
  padding: 24px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.passo .ico {
  margin-bottom: 10px;
  font-size: 2rem;
  line-height: 1;
}

.passo h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: var(--fs-h3);
}

.passo p {
  margin-bottom: 0;
  color: var(--mid);
  line-height: 1.7;
}

/* ============================================================
   7. PROVA SOCIAL
   ============================================================ */

.prova-social {
  padding: 58px 18px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.prova-social h2 {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: var(--fs-h2);
}

.depo-grid {
  width: min(100%, 820px);
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.depo {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.depo .texto {
  margin-bottom: 9px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.depo .assinatura {
  margin-bottom: 0;
  color: var(--mid);
  font-size: 0.95rem;
  font-weight: 600;
}

.prova-cta {
  text-align: center;
}

/* ============================================================
   8. ORÇAMENTO
   ============================================================ */

.orcamento {
  padding: 58px 18px;
  background: #ffffff;
  border-top: 1px solid var(--line);
  text-align: center;
}

.orcamento h2 {
  margin-bottom: 14px;
  font-size: var(--fs-h2);
}

.orcamento > p:not(.aviso-orcamento) {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--mid);
}

.orcamento form {
  width: min(100%, 560px);
  margin: 0 auto;
}

.orcamento label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-weight: 600;
}

.orcamento input[type="number"] {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 20px;
  padding: 14px 16px;
  background: #fbfbfe;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.orcamento input[type="number"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.18);
}

.orcamento input[type="number"]::-webkit-outer-spin-button,
.orcamento input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.orcamento input[type="number"] {
  -moz-appearance: textfield;
}

.orcamento .opcoes,
.orcamento .tipo-piso {
  width: min(100%, 560px);
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  text-align: left;
}

.orcamento .opcoes label,
.orcamento .tipo-piso label {
  margin: 0;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.orcamento .opcoes label:hover,
.orcamento .tipo-piso label:hover {
  background: #fffbe6;
  border-color: var(--gold);
}

.orcamento .opcoes label:has(input:checked),
.orcamento .tipo-piso label:has(input:checked) {
  background: linear-gradient(180deg, #ffffff 0%, #fff8e0 100%);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.22);
}

.orcamento input[type="radio"] {
  accent-color: var(--gold);
}

.orcamento button {
  border: 1px solid var(--gold-dark);
}

#resultado {
  width: min(100%, 440px);
  margin: 24px auto 0;
  padding: 20px;
  background: #fafafd;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 600;
}

#resultado:empty {
  display: none;
}

#resultado p {
  margin-bottom: 0;
}

#resultado .botao-cta {
  margin-top: 14px;
}

/* ============================================================
   9. PORTFÓLIO — ESTRUTURA DA SEÇÃO
   ============================================================ */

.secao-galeria {
  padding: 58px 18px;
  background: var(--soft);
  border-top: 1px solid var(--line);
  text-align: center;
}

.galeria-header {
  margin-bottom: 26px;
}

.galeria-header h2 {
  margin-bottom: 10px;
  font-size: var(--fs-h2);
}

.galeria-header p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--mid);
  line-height: 1.7;
}

.texto-seo {
  margin: 42px auto 0;
  padding: 20px 24px;
  color: #333333;
  background: #ffffff;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  text-align: left;
  line-height: 1.75;
}

/* ============================================================
   10. SEO LOCAL E FAQ
   ============================================================ */

.seo-local,
.faq {
  padding: 58px 18px;
  border-top: 1px solid var(--line);
}

.seo-local {
  background: #ffffff;
  text-align: center;
}

.seo-local h2,
.faq h2 {
  margin-bottom: 18px;
  font-size: var(--fs-h2);
}

.seo-local p {
  margin: 0 auto;
  color: var(--mid);
  line-height: 1.8;
}

.faq {
  background: var(--soft);
}

.faq > * {
  width: min(100%, 840px);
  margin-right: auto;
  margin-left: auto;
}

.faq h2 {
  text-align: center;
}

.faq h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.05rem;
}

.faq p {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--mid);
  line-height: 1.75;
}

/* ============================================================
   11. RODAPÉ
   ============================================================ */

.rodape {
  padding: 46px 18px 20px;
  color: #e8eaf0;
  background: linear-gradient(180deg, var(--graphite) 0%, #0b0d11 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  font-size: 0.9rem;
}

.rodape-container {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.rodape-logo img {
  width: 120px;
  height: 120px;
  margin-bottom: 12px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.rodape-logo p {
  max-width: 300px;
  color: #c8cbd2;
  line-height: 1.7;
}

.rodape-links h4,
.rodape-contato h4 {
  position: relative;
  margin-bottom: 18px;
  color: #ffffff;
  font-size: 1rem;
}

.rodape-links h4::after,
.rodape-contato h4::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.rodape-links a,
.rodape-contato a {
  display: block;
  margin: 7px 0;
  color: #c8cbd2;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.15s ease;
}

.rodape-links a:hover,
.rodape-contato a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.rodape-contato p {
  margin-bottom: 10px;
}

.redes-sociais {
  margin-top: 12px;
}

.redes-sociais .social-icon {
  display: inline-flex;
  margin-right: 10px;
  transition: transform 0.2s ease;
}

.redes-sociais .social-icon:hover {
  transform: translateY(-2px) scale(1.04);
}

.redes-sociais .social-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0.92) contrast(1.05);
}

.rodape-direitos {
  width: min(100%, var(--container));
  margin: 26px auto 0;
  padding-top: 15px;
  color: #a8acb3;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  text-align: center;
}

.rodape-direitos p {
  margin-bottom: 0;
}

/* ============================================================
   12. MAPA OCULTO
   ============================================================ */

.mapa-seo {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================================================
   13. BOTÃO FLUTUANTE DO WHATSAPP
   ============================================================ */

.whatsapp-flutuante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zap);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  animation: pulseWhatsapp 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-flutuante:hover {
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42);
}

.whatsapp-flutuante img {
  width: 38px;
  height: 38px;
  filter: brightness(0) invert(1);
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 13px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ============================================================
   14. ELEMENTOS LEGADOS DESATIVADOS
   ============================================================ */

.mensagem-fake,
.like-box,
.like-btn,
.skeleton,
#modal-fullscreen,
.fechar-modal {
  display: none !important;
}

/* ============================================================
   15. MICROANIMAÇÕES
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.servicos .cards,
.fluxo,
.prova-social,
.orcamento,
.secao-galeria,
.rodape-container {
  animation: fadeInUp 0.5s ease both;
}

/* ============================================================
   16. RESPONSIVIDADE
   ============================================================ */

@media (min-width: 700px) {
  .fluxo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .depo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .servicos .card {
    max-width: 46%;
  }
}

@media (min-width: 1024px) {
  .servicos .card {
    max-width: 31.5%;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 78px 18px 60px;
  }

  .menu {
    top: 60px;
    right: 10px;
    min-width: 180px;
  }

  .rodape-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rodape-logo img {
    margin-right: auto;
    margin-left: auto;
  }

  .rodape-logo p {
    margin-right: auto;
    margin-left: auto;
  }

  .rodape-links h4::after,
  .rodape-contato h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .redes-sociais .social-icon {
    margin: 0 6px;
  }

  .texto-seo {
    padding: 18px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .orcamento .opcoes,
  .orcamento .tipo-piso {
    grid-template-columns: 1fr;
  }

  .whatsapp-flutuante {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
  }

  .whatsapp-flutuante img {
    width: 34px;
    height: 34px;
  }
}

/* ============================================================
   17. REDUÇÃO DE MOVIMENTO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .whatsapp-flutuante {
    animation: none;
  }
}

/* ============================================================
   CARDS DE SERVIÇOS CLICÁVEIS
   ============================================================ */

.servicos .card-clicavel {
  cursor: pointer;
}

.servicos .card-clicavel:focus-visible {
  outline: 3px solid rgba(212, 175, 55, 0.65);
  outline-offset: 4px;
}

.servicos .card-clicavel:active {
  transform: translateY(-1px) scale(0.995);
}

/* Botões e links dentro dos cards continuam independentes */
.servicos .card-clicavel a,
.servicos .card-clicavel button {
  position: relative;
  z-index: 2;
}