/* =========================
   Granifel Marmoraria
   CSS puro, leve e responsivo
========================= */

:root {
  --black: #14110f;
  --black-2: #211c18;
  --gold: #b78a3d;
  --gold-2: #d7b36a;
  --white: #ffffff;
  --off: #f6f2eb;
  --muted: #6f6860;
  --line: rgba(183, 138, 61, 0.22);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--off);
  color: var(--black);
  line-height: 1.55;
}

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

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

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(20, 17, 15, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-content {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 154px;
  height: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--white);
  font-size: 0.95rem;
}

.nav-menu a {
  opacity: 0.9;
  transition: 0.2s ease;
}

.nav-menu a:hover {
  color: var(--gold-2);
  opacity: 1;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-2) !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-2);
  margin: 5px auto;
}

/* Hero */
.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 0 70px;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, 0.92) 0%, rgba(20, 17, 15, 0.72) 45%, rgba(20, 17, 15, 0.28) 100%),
    radial-gradient(circle at 20% 40%, rgba(183, 138, 61, 0.35), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 760px;
  margin-left: 0;
  width: min(92%, var(--container));
}

.eyebrow {
  display: inline-flex;
  color: var(--gold-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow.dark {
  color: var(--gold);
  border-color: rgba(183, 138, 61, 0.28);
}

h1, h2, h3 {
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  margin-top: 22px;
  max-width: 820px;
}

.hero p {
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  max-width: 670px;
  color: rgba(255, 255, 255, 0.86);
  margin: 22px 0 30px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 12px 30px rgba(183, 138, 61, 0.22);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.section-soft {
  background: #fffaf1;
}

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

.section-heading h2,
.two-columns h2,
.proof-box h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-top: 16px;
}

.section-heading p,
.two-columns p,
.proof-box p,
.final-cta p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark .section-heading p,
.section-dark .faq-item p {
  color: rgba(255, 255, 255, 0.72);
}

/* Cards */
.benefits-grid,
.services-grid {
  display: grid;
  gap: 22px;
}

.benefits-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid rgba(20, 17, 15, 0.08);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 12px 36px rgba(20, 17, 15, 0.06);
}

.card h3,
.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.card p,
.service-card p {
  color: var(--muted);
  margin: 0;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--black-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.92;
}

.service-card div {
  padding: 24px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.72);
}

/* Pedras */
.two-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.stone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stone-list span {
  background: var(--white);
  border: 1px solid rgba(183, 138, 61, 0.25);
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--black-2);
  font-weight: 700;
}

/* Galeria */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(20, 17, 15, 0.12);
}

/* Prova */
.proof-box {
  background: var(--white);
  border: 1px solid rgba(183, 138, 61, 0.25);
  border-radius: 30px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 880px;
}

.faq-item {
  background: var(--black-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 22px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--gold-2);
}

.faq-item p {
  margin-bottom: 0;
}

/* CTA final */
.final-cta {
  padding: 90px 0;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(183, 138, 61, 0.18), transparent 48%),
    var(--black);
  color: var(--white);
}

.final-cta p {
  color: rgba(255, 255, 255, 0.76);
  max-width: 620px;
  margin: 16px auto 26px;
}

/* Footer */
.footer {
  background: #0c0a09;
  color: var(--white);
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 38px;
}

.footer img {
  width: 150px;
  height: auto;
}

.footer h3 {
  color: var(--gold-2);
  margin-bottom: 12px;
  font-size: 1rem;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.72);
}

.footer a {
  display: block;
  margin-bottom: 8px;
}

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

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  background: #24d366;
  color: #06240f;
  font-weight: 900;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

/* Animação leve */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsivo */
@media (max-width: 920px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 82px;
    left: 4%;
    right: 4%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(20, 17, 15, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
  }

  .nav-menu.active {
    display: flex;
  }

  .benefits-grid,
  .services-grid,
  .gallery,
  .two-columns,
  .proof-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .proof-box {
    text-align: left;
  }

  .gallery img,
  .service-card img {
    height: 240px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding-top: 120px;
    min-height: 92vh;
  }

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

  .whatsapp-float {
    left: 14px;
    right: 14px;
    text-align: center;
  }

  .card,
  .proof-box {
    padding: 24px;
  }
}

/* Ajustes para páginas de serviço e cards clicáveis */
.service-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 179, 106, 0.65);
}

.service-hero {
  min-height: 72vh;
}

.clean-list {
  margin: 18px 0 24px;
  padding-left: 20px;
  color: var(--muted);
}

.clean-list li {
  margin-bottom: 10px;
}
