:root {
  --dark: #1c1f24;
  --dark-2: #2b2e33;
  --dark-3: #474d54;
  --accent: #c9962b;
  --accent-light: #e8c77a;
  --light: #f7f5f2;
  --white: #ffffff;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --text-muted: #6b7178;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(28, 31, 36, 0.12);
  --shadow-lg: 0 24px 60px rgba(28, 31, 36, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--text-muted); }

.section { padding: 88px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }
.section-dark p { color: #c6c9cd; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }

.btn-accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 12px 28px rgba(201, 150, 43, 0.35);
}
.btn-accent:hover { background: var(--accent-light); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn-block { width: 100%; justify-content: center; }

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
  z-index: 500;
  animation: pulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--white); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 400;
  background: rgba(28, 31, 36, 0.0);
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.header.scrolled {
  background: rgba(28, 31, 36, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-logo img { height: 62px; width: auto; transition: height 0.25s ease; }
.header.scrolled .header-logo img { height: 50px; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; fill: var(--accent-light); }
.header .btn { padding: 12px 22px; font-size: 0.92rem; white-space: nowrap; }

/* Navegação */
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-nav a:not(.btn) {
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  opacity: 0.9;
  white-space: nowrap;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.header-nav a:not(.btn):hover { opacity: 1; color: var(--accent-light); }
.header-nav-cta { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  height: min(92vh, 880px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
@media (max-width: 640px) {
  .hero { height: auto; min-height: 640px; }
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(100deg, rgba(15,17,20,0.92) 15%, rgba(15,17,20,0.62) 55%, rgba(15,17,20,0.35) 100%), url("../banner/poli-pisos-hero-polimento-pedra.jpg");
  background-size: cover;
  background-position: center;
}
.hero-content { position: relative; z-index: 2; padding-top: 110px; padding-bottom: 60px; max-width: 640px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: var(--white); margin-bottom: 18px; }
.hero .lead { font-size: 1.15rem; color: #dfe1e4; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 44px; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #e7e9eb; font-weight: 600; }
.hero-badge svg { width: 20px; height: 20px; fill: var(--accent-light); flex-shrink: 0; }

/* Barra de confiança */
.trust-bar { background: var(--dark-2); padding: 26px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item { color: #e7e9eb; font-size: 0.92rem; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.trust-item svg { width: 26px; height: 26px; fill: var(--accent); }

/* Problema/solução */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--dark-3);
}
.split-card.solution { border-top-color: var(--accent); }
.split-card ul { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.split-card li { display: flex; gap: 10px; color: var(--dark-2); font-weight: 500; }
.split-card li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.split-card.problem li svg { fill: #c4453a; }
.split-card.solution li svg { fill: var(--accent); }

/* Serviços */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border: 1px solid #ece8e1;
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; fill: var(--dark); }
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin-bottom: 0; font-size: 0.95rem; }

/* Processo */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.process-step { position: relative; padding-top: 8px; }
.process-num {
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 6px;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-step p { font-size: 0.92rem; margin-bottom: 0; }

/* Galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3.2;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px;
  background: linear-gradient(to top, rgba(15,17,20,0.85), rgba(15,17,20,0));
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Por que escolher */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 22px;
}
.why-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(201, 150, 43, 0.16);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; fill: var(--accent-light); }
.why-item h3 { font-size: 1.02rem; margin-bottom: 6px; color: var(--white); }
.why-item p { font-size: 0.92rem; margin-bottom: 0; }

/* Depoimentos */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 14px; }
.testimonial-stars svg { width: 18px; height: 18px; fill: var(--accent); }
.testimonial-card p { font-style: italic; color: var(--dark-2); margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--dark-2);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: "Poppins", sans-serif;
}
.testimonial-name { font-weight: 700; font-size: 0.92rem; color: var(--dark); }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* Área atendida */
.area-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.area-list li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--dark-2); font-size: 0.95rem; }
.area-list li svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; }
.area-map-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 34px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}
.area-map-card svg { width: 44px; height: 44px; fill: var(--accent); margin-bottom: 16px; }
.area-map-card h3 { color: var(--white); }
.area-map-card p { color: #c6c9cd; }

/* CTA final + formulário */
.cta-final {
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  border-radius: 24px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-final h2 { color: var(--white); }
.cta-final .lead { color: #cfd2d5; }
.cta-final-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; }
.cta-final-list li { display: flex; gap: 10px; color: #dfe1e4; font-size: 0.95rem; }
.cta-final-list li svg { width: 18px; height: 18px; fill: var(--accent-light); flex-shrink: 0; margin-top: 2px; }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  color: var(--dark);
  box-shadow: var(--shadow-lg);
}
.form-card h3 { color: var(--dark); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark-2); margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2ddd4;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--light);
  color: var(--dark);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; text-align: center; }
.form-success {
  display: none;
  background: #e7f8ee;
  border: 1.5px solid #25d366;
  color: #1a7d40;
  border-radius: 10px;
  padding: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}
.form-success.visible { display: block; }

/* Footer */
.footer { background: #14161a; color: #9ca0a6; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo img { height: 36px; margin-bottom: 16px; }
.footer h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent-light); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact div { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer-contact svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsivo */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .area-wrap { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .cta-final { grid-template-columns: 1fr; padding: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }

  .header-phone { display: none; }
  .header-desktop-cta { display: none; }
  .menu-toggle { display: flex; }

  .header-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background: var(--dark);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .header-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .header-nav a:not(.btn) { font-size: 1.4rem; }
  .header-nav-cta { display: inline-flex; margin-top: 6px; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .header-logo img { height: 46px; }
  .hero { min-height: auto; padding-bottom: 20px; }
  .hero-content { padding-top: 130px; padding-bottom: 40px; }
  .hero-badges { gap: 14px 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .area-list { grid-template-columns: 1fr; }
  .cta-final { border-radius: 18px; }
  .form-card { padding: 22px; }
}

/* Banner de cookies — ancorado à esquerda para não sobrepor o WhatsApp flutuante (bottom-right) */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 16px;
  z-index: 400;
  width: min(420px, calc(100vw - 112px));
  background: var(--dark);
  color: var(--light);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: var(--shadow-lg);
  display: none;
  gap: 14px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 0.85rem; color: var(--light); margin: 0; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
}
.cookie-accept { background: var(--accent); color: var(--dark); }
.cookie-accept:hover { background: var(--accent-light); }
.cookie-decline { background: transparent; color: var(--light); border: 1.5px solid rgba(255, 255, 255, 0.3) !important; }
@media (max-width: 420px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 96px; width: auto; padding: 16px; }
}
