/* GS Revestimentos — landing page
   Paleta: preto petróleo + dourado metálico, herdada do logo da marca. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-var.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("fonts/playfair-italic-var.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0c0a08;
  --bg-elevated: #161310;
  --bg-elevated-2: #1e1a15;
  --line: rgba(242, 237, 227, 0.1);
  --line-strong: rgba(242, 237, 227, 0.18);
  --ink: #f3efe6;
  --ink-dim: #b9b0a0;
  --ink-faint: #8b8375;
  --gold: #c9a24a;
  --gold-bright: #e6c877;
  --gold-deep: #8a6a2e;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --nav-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1.1;
  padding-bottom: 0.08em;
  display: inline-block;
}

p {
  margin: 0;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(9, 8, 6, 0.97);
  border-bottom: 1px solid var(--line);
}

@media (min-width: 1024px) {
  .nav {
    background: rgba(12, 10, 8, 0.86);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
  }
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 0.92rem;
  color: var(--ink-dim);
}

.nav-links a {
  transition: color 0.25s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px 22px;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(155deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #17130a;
  box-shadow: 0 10px 30px -12px rgba(201, 162, 74, 0.55);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px rgba(201, 162, 74, 0.7);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .nav-actions .btn-gold {
    display: none;
  }
}

.nav-toggle {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.mobile-panel {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 39;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 28px 24px;
}

.mobile-panel.is-open {
  display: flex;
}

.mobile-panel a {
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.mobile-panel a.btn {
  border-bottom: none;
  padding: 14px 22px;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  justify-content: center;
}

@media (min-width: 1024px) {
  .mobile-panel {
    display: none;
  }
}

/* ---------- Section rhythm ---------- */

section {
  padding-block: 56px;
}

@media (min-width: 1024px) {
  section {
    padding-block: 64px;
  }
}

.section-head {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* ---------- Hero ---------- */

.hero {
  padding-top: 40px;
  padding-bottom: 40px;
}

.hero .container {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1.05fr;
    gap: 5vw;
  }
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  max-width: 18ch;
}

.hero-copy p {
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 1.12rem;
  max-width: 46ch;
  line-height: 1.6;
}

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

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

@media (min-width: 1024px) {
  .hero-media {
    aspect-ratio: 5 / 6;
  }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(201, 162, 74, 0.16), transparent 45%);
  pointer-events: none;
}

.hero-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  padding: 12px 16px;
  background: rgba(12, 10, 8, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--ink);
}

/* ---------- Serviços ---------- */

.services {
  display: grid;
  gap: 40px;
}

@media (min-width: 900px) {
  .services {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
  }
}

.services-intro h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  max-width: 12ch;
}

.services-intro p {
  margin-top: 18px;
  color: var(--ink-dim);
  max-width: 42ch;
  font-size: 1.05rem;
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  gap: 20px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}

.service-item:last-child {
  border-bottom: 1px solid var(--line);
}

.service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line-strong);
  color: var(--gold-bright);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}

.service-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
}

.service-item p {
  margin-top: 6px;
  color: var(--ink-dim);
  font-size: 0.98rem;
  max-width: 46ch;
}

/* ---------- Portfólio bento ---------- */

.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 220px;
  }
  .bento-item.is-large {
    grid-column: span 4;
    grid-row: span 2;
  }
  .bento-item.is-half {
    grid-column: span 2;
    grid-row: span 1;
  }
  .bento-item.is-banner {
    grid-column: span 6;
    grid-row: span 1;
    min-height: 200px;
  }
}

.bento-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  min-height: 260px;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-item:hover img {
  transform: scale(1.04);
}

.bento-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(8, 7, 5, 0.88), transparent);
  font-size: 0.92rem;
  color: var(--ink);
}

.bento-item .caption strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

/* ---------- Antes e depois ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.compare-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.compare-item img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.compare-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.75);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(6px);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink);
  z-index: 1;
}

.compare-tag.is-gold {
  background: linear-gradient(155deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  color: #17130a;
  border-color: transparent;
}

/* ---------- Galeria (masonry) ---------- */

.masonry {
  columns: 1;
  gap: 20px;
}

@media (min-width: 640px) {
  .masonry {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    columns: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.masonry-item img {
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.masonry-item:hover img {
  transform: scale(1.03);
}

.masonry-item figcaption {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--ink-dim);
  background: var(--bg-elevated);
}

figure {
  margin: 0;
}

/* ---------- Depoimento ---------- */

.testimonial {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
}

.testimonial blockquote {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.testimonial .stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
  color: var(--gold);
}

.testimonial .stars svg {
  width: 18px;
  height: 18px;
}

.testimonial cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.testimonial cite strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  position: relative;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--gold-bright);
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 36px 22px 0;
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 62ch;
}

/* ---------- CTA final ---------- */

.cta-band {
  background: var(--bg-elevated);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 74, 0.16), transparent 70%);
  top: -220px;
  right: -160px;
  pointer-events: none;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  position: relative;
}

@media (min-width: 900px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-inner h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  max-width: 14ch;
}

.cta-inner p {
  margin-top: 14px;
  color: var(--ink-dim);
  max-width: 42ch;
  font-size: 1.05rem;
}

/* ---------- Footer ---------- */

footer {
  padding-block: 56px;
  border-top: 1px solid var(--line);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.footer-brand span {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--ink-dim);
  font-size: 0.94rem;
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom a {
  color: var(--ink-faint);
}

.footer-bottom a:hover {
  color: var(--gold-bright);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--ink-faint);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- WhatsApp float button ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--gold-bright), var(--gold) 60%, var(--gold-deep));
  box-shadow: 0 14px 34px -10px rgba(201, 162, 74, 0.6);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 26px;
  height: 26px;
  color: #17130a;
}

@media (min-width: 1024px) {
  .wa-float {
    display: none;
  }
}
