﻿/* ==============================
   Textura de fundo
================================ */
.section-grain::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==============================
   Cards de serviços
================================ */
.services-grid {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #d2c6ba;
  box-shadow: var(--shadow-md);
}

.service-image {
  height: 214px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 36px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent);
}

.service-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.wood-1 {
  background: linear-gradient(135deg, #8a5a39, #5c3d2a);
}

.wood-2 {
  background: linear-gradient(135deg, #7a573d, #a0714a);
}

.wood-3 {
  background: linear-gradient(135deg, #6f4d36, #9a6a42);
}

.wood-4 {
  background: linear-gradient(135deg, #845b3a, #b37a4a);
}

.service-body {
  padding: 24px;
}

.service-body h3 {
  font-size: 19px;
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.25;
}

.service-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* ==============================
   Card de experiência
================================ */
.xp-card {
  background: var(--dark);
  border-radius: 8px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.xp-card p {
  color: #888;
  margin: 0;
}

.xp-card strong {
  display: block;
  font-family: "Fraunces", serif;
  color: var(--accent);
  font-size: 80px;
  line-height: 1;
}

.xp-card h3 {
  color: #fff;
  margin: 6px 0;
}

.xp-card small {
  color: #888;
}

.inline-link {
  color: var(--accent);
  font-weight: 800;
  text-underline-offset: 4px;
}

.inline-link:hover {
  text-decoration: underline;
}

/* ==============================
   Processo
================================ */
.process-section {
  background:
    linear-gradient(180deg, #fff 0%, #f7f2ec 100%);
  border-top: 1px solid var(--sep);
  border-bottom: 1px solid var(--sep);
}

.process-grid {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.process-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.process-card span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #191713;
  color: var(--accent);
  font-family: "Fraunces", serif;
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}

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

/* ==============================
   Bloco de qualidade
================================ */
.quality {
  align-items: center;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.q-img {
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.q-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.quality-cards {
  display: grid;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.dark-card {
  background: var(--dark-2);
  border: 1px solid #3a3a34;
  border-radius: 8px;
  padding: 24px;
}

.dark-card h3 {
  color: #fff;
  margin: 0 0 10px;
}

.dark-card p {
  color: #888;
  margin: 0;
}

/* ==============================
   Estatísticas
================================ */
.stats {
  padding-top: 34px;
  border-top: 0;
}

.stats .stats-grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

.stat {
  text-align: center;
  padding: 18px;
  border: 1px solid #33332d;
  border-radius: 8px;
  background: #1d1d19;
}

.stat:last-child {
  border-right: 1px solid #33332d;
}

.counter {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 56px;
  color: var(--accent);
}

.stat span {
  color: #9e9a94;
  font-size: 14px;
}

/* ==============================
   Depoimentos
================================ */
.testimonial-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.testimonial-viewport {
  overflow: hidden;
  padding: 8px 4px 18px;
}

.testimonial-track {
  display: flex;
  gap: 20px;
  touch-action: pan-y;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.t-card {
  min-width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.t-card:hover {
  transform: translateY(-4px);
  border-color: #d2c6ba;
  box-shadow: var(--shadow-md);
}

.review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.review-meta small {
  color: #70757a;
  font-size: 13px;
}

.stars {
  color: #fbbc04;
  margin: 0;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 1px;
}

.quote {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-style: normal;
  font-size: 15px;
  line-height: 1.6;
  color: #3c4043;
  margin: 0;
}

.person {
  display: flex;
  align-items: center;
  gap: 10px;
}

.person span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.person strong {
  display: block;
  color: #202124;
  font-size: 15px;
  line-height: 1.25;
}

.person small {
  display: block;
  color: #70757a;
  font-size: 13px;
  line-height: 1.35;
}

.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: #3c4043;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.nav-btn:hover {
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(60, 64, 67, 0.18);
}

.nav-btn:focus,
.nav-btn:active {
  outline: none;
  color: #3c4043;
  background: #fff;
}

.nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #dadce0;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.dot.active {
  width: 22px;
  background: var(--accent);
}

/* ==============================
   Formulário de contato
================================ */
form {
  display: grid;
  gap: 10px;
}

input,
select,
textarea {
  background: #22221d;
  border: 1px solid #3b3b34;
  color: #fff;
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input::placeholder,
textarea::placeholder {
  color: #9e9a94;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #ff7a3a;
  box-shadow: 0 0 0 3px rgba(255, 77, 0, 0.16);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form-card {
  max-width: 440px;
  margin: 0 auto;
  background: linear-gradient(180deg, #24241f 0%, #1d1d19 100%);
  border: 1px solid #34342e;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.contact-form-card .label {
  margin-bottom: 8px;
}

.contact-form-card .title {
  margin-bottom: 10px;
}

.contact-form-card .text {
  margin-bottom: 14px;
}

.contact-right .btn.full {
  border-radius: 8px;
  padding: 11px 14px;
}

/* ==============================
   Utilitários da seção de contato
================================ */
.sub {
  font-family: "Fraunces", serif;
  margin: 24px 0 8px;
}

.cities-list {
  margin: 0 0 12px;
  padding-left: 0;
  column-count: 2;
  column-gap: 24px;
  list-style: none;
}

.cities-list li {
  break-inside: avoid;
  margin-bottom: 6px;
  position: relative;
  padding-left: 17px;
}

.cities-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

@media (max-width: 767px) {
  .services-grid {
    gap: 16px;
    margin-top: 20px;
  }

  .service-image {
    height: 170px;
  }

  .service-body,
  .dark-card,
  .contact-form-card {
    padding: 20px;
  }

  .xp-card {
    padding: 28px;
  }

  .quality-grid {
    gap: 8px;
  }

  .q-img {
    height: 102px;
  }

  .quality-cards {
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .stats {
    padding-top: 18px;
  }

  .stats .stats-grid {
    margin-top: 12px;
  }

  .testimonial-shell {
    gap: 8px;
    margin-top: 18px;
  }

  .testimonial-viewport {
    padding-bottom: 10px;
  }

  .t-card {
    padding: 18px;
  }

  .sub {
    margin: 16px 0 6px;
  }

  .cities-list {
    margin-bottom: 8px;
    column-gap: 16px;
  }
}

/* ==============================
   Responsividade
================================ */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 420px));
    justify-content: center;
  }

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

  .quality-cards {
    grid-template-columns: 1fr 1fr;
  }

  .stats .stats-grid {
    grid-template-columns: repeat(2, minmax(220px, 320px));
    justify-content: center;
  }

  .contact-form-card {
    padding: 28px;
  }
}

@media (min-width: 1200px) {
  .t-card {
    min-width: calc((100% - 40px) / 3);
  }
}
