:root {
  --white: #ffffff;
  --off-white: #f7f4ee;
  --sand: #d7c5a3;
  --stone: #8c867b;
  --graphite: #202326;
  --muted: #667078;
  --blue: #2f86b7;
  --blue-dark: #235f7e;
  --green: #496b54;
  --shadow: 0 18px 45px rgba(30, 35, 38, 0.12);
  --radius: 8px;
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: var(--white);
  box-shadow: 0 10px 30px rgba(22, 28, 32, 0.12);
}

.navbar {
  width: 100%;
  min-height: 82px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand img {
  width: 138px;
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #3c4348;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta,
.btn {
  border: 0;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta,
.btn-primary {
  background: var(--blue-dark);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(35, 95, 126, 0.24);
}

.btn-secondary {
  background: var(--white);
  color: var(--blue-dark);
  border: 1px solid rgba(35, 95, 126, 0.18);
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(35, 95, 126, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(32, 35, 38, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--graphite);
}

.section {
  padding: 96px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 690px;
  margin-bottom: 22px;
  font-size: clamp(2.5rem, 5vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 750px;
  padding: 118px 0 86px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(247,244,238,0.98), rgba(247,244,238,0.86) 48%, rgba(32,35,38,0.28)), url("../assets/images/basalto-natural-preco.jpg") center right / cover;
}

.hero::before,
.applications::before,
.delivery::before,
.quote::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: linear-gradient(90deg, rgba(255,255,255,0.72), rgba(255,255,255,0.25), rgba(18,25,30,0.18));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
  align-items: center;
  gap: 60px;
  z-index: 1;
}

.hero-copy p {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding: 9px 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: #334047;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(32, 35, 38, 0.08);
}

.trust-list li::before {
  content: "✓ ";
  color: var(--green);
}

.hero-panel {
  position: relative;
}

.hero-panel img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card span {
  margin-top: 4px;
  color: var(--muted);
}

.product-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card,
.feature-card,
.step-card,
.confidence-card {
  border: 1px solid rgba(32, 35, 38, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(32, 35, 38, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover,
.feature-card:hover,
.step-card:hover,
.confidence-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 238px;
  object-fit: cover;
}

.product-card div {
  padding: 22px;
}

.card-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--blue-dark);
  font-weight: 800;
}

.applications {
  position: relative;
  background: url("../assets/images/pedra-fria-piscina-sp.jpeg") center / cover;
  color: var(--white);
}

.applications::before {
  background: rgba(14, 24, 29, 0.66);
}

.applications .container,
.delivery .container,
.quote .container {
  position: relative;
  z-index: 1;
}

.section-heading.light p,
.section-heading.light .eyebrow,
.section-heading.light h2 {
  color: var(--white);
}

.application-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mini-card {
  min-height: 88px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.feature-card {
  padding: 26px;
}

.feature-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 12px 24px rgba(47, 134, 183, 0.18);
}

.feature-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps {
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.step-card {
  padding: 24px;
}

.step-card strong {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: var(--white);
}

.delivery {
  position: relative;
  padding: 92px 0;
  background: url("../assets/images/pedrisco-naturais.jpeg") center / cover;
  color: var(--white);
}

.delivery::before,
.quote::before {
  background: rgba(18, 27, 32, 0.68);
}

.delivery-content {
  max-width: 840px;
}

.delivery h2,
.delivery .eyebrow,
.delivery p {
  color: var(--white);
}

.states-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 28px;
}

.states-list span {
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-weight: 700;
}

.confidence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.confidence-card {
  padding: 26px;
}

.confidence-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.quote {
  position: relative;
  background: url("../assets/images/piso-granito.jpeg") center / cover;
  color: var(--white);
}

.quote-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  align-items: center;
  gap: 54px;
}

.quote-copy h2,
.quote-copy p,
.quote-copy .eyebrow {
  color: var(--white);
}

.lead-form {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: #30373c;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 14px;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(32, 35, 38, 0.14);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--graphite);
  background: #fbfbfa;
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 134, 183, 0.12);
}

.form-feedback {
  min-height: 22px;
  margin-bottom: 14px;
  color: #b84b3a;
  font-weight: 700;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 44px;
}

.faq-question {
  width: 100%;
  padding: 20px;
  border: 1px solid rgba(32, 35, 38, 0.1);
  border-radius: var(--radius);
  margin-bottom: 10px;
  background: var(--white);
  color: var(--graphite);
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 14px;
}

.faq-question.is-open + .faq-answer {
  display: block;
}

.footer {
  background: #1f2426;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-logo {
  width: 142px;
  margin-bottom: 18px;
  background: var(--white);
}

.footer p,
.footer a,
.footer span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
}

.footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer a {
  margin-bottom: 9px;
}

.footer-bottom {
  padding: 18px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: auto;
  min-width: 62px;
  height: 62px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #20b765, #168c4d);
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 32px rgba(31, 174, 98, 0.32);
  animation: pulse 2.4s infinite;
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.floating-whatsapp span {
  white-space: nowrap;
  font-size: 0.92rem;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 96px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--graphite);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(31, 174, 98, 0.42);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(31, 174, 98, 0);
  }
}

@media (max-width: 1020px) {
  .navbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 0 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.is-open {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 22px;
    background: var(--white);
    box-shadow: 0 18px 30px rgba(22, 28, 32, 0.12);
  }

  .nav-links.is-open a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(32, 35, 38, 0.08);
  }

  .hero-grid,
  .quote-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 84px;
  }

  .product-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .application-grid,
  .confidence-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 28px, 1180px);
  }

  .section {
    padding: 70px 0;
  }

  .brand img {
    width: 118px;
  }

  .hero {
    min-height: auto;
    padding: 70px 0;
    background-position: center;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-panel img {
    height: 390px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .floating-whatsapp {
    width: 62px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-whatsapp span {
    display: none;
  }

  .product-grid,
  .features-grid,
  .application-grid,
  .steps-grid,
  .confidence-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 22px;
  }

  .states-list span,
  .trust-list li {
    width: 100%;
  }
}
