:root {
  --gold: #c9a25e;
  --gold-dark: #b8923f;
  /* accessible gold for text on white/cream backgrounds (meets WCAG AA 4.5:1) */
  --gold-a11y: #8f6a24;
  --ink: #1f1d1a;
  --gray: #6b6660;
  --cream: #faf8f4;
  --line: #e9e3d8;
  --bar: #f4f0e8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

header.main {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 100;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}

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

.logo-mark {
  width: 60px;
  height: 60px;
  background: var(--ink);
  border-radius: 50%;
}

.logo-text .l1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--ink);
  line-height: 1.1;
}

.logo-text .l1 b {
  color: var(--gold-a11y);
  font-weight: 600;
}

.logo-text .l2 {
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gray);
  margin-top: 2px;
}

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

.call-btn {
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-a11y);
  white-space: nowrap;
}

nav.primary {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  width: 75%;
  max-width: 300px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 100px 30px 30px;
  gap: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  z-index: 1000; /* Acima do header e de tudo */
}

nav.primary.open {
  transform: translateX(0);
}

nav.primary a {
  font-size: 16px;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #3a362f;
  width: 100%;
  display: block;
}

nav.primary a.active {
  color: var(--gold-a11y) !important;
  border-left: 3px solid var(--gold-dark);
  padding-left: 8px;
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -5px);
}

.hero {
  position: relative;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.95) 40%,
      rgba(255, 255, 255, 0.7) 100%
    ),
    url("../image/hero-mobile.jpg") center/cover no-repeat;
  padding: 60px 0;
  text-align: center;
}

@media (min-width: 700px) {
  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.95) 40%,
        rgba(255, 255, 255, 0.7) 100%
      ),
      url("../image/hero-opt.jpg") center/cover no-repeat;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: var(--gold-a11y);
}

.hero p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 28px;
  font-weight: 300;
  color: #2c2c2c;
  max-width: 480px;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(
    135deg,
    #b89742 0%,
    #d4af37 40%,
    #fff3cc 50%,
    #d4af37 60%,
    #aa822c 100%
  );
  background-size: 200% auto;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition:
    background-position 0.4s ease,
    transform 0.2s,
    box-shadow 0.2s;
}

.hero-cta:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.trust-strip .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
}

.trust-item:last-child {
  border-bottom: none;
}

.trust-item .icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.trust-item .t {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-transform: uppercase;
}

.trust-item .s {
  font-size: 12px;
  color: var(--gray);
  margin-top: 3px;
  line-height: 1.4;
}

.services {
  background: #fff;
}

.services .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-a11y);
  text-align: center;
  margin-bottom: 8px;
}

.services h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  text-align: center;
  margin-bottom: 45px;
  color: #1a1a1a;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}

.service-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.service-card:hover .service-photo img {
  transform: scale(1.05);
}

.service-icon {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: #1a1a1a;
  color: var(--gold);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: #1a1a1a;
  transform: scale(1.05);
}

.service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-body h3 {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #1a1a1a;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.service-body p {
  color: var(--gray);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}

.nav-cards {
  background: var(--cream);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.nav-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition:
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s ease;
}

.nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: center/cover no-repeat;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

.card-countertops::before {
  background: url("../image/countertops/custom_coun-opt.jpg") center/cover no-repeat;
}
.card-cabinets::before {
  background: url("../image/cabinets/cabinets-opt.jpg") center/cover no-repeat;
}

.nav-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.nav-card:hover::before {
  transform: scale(1.06);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 19, 17, 0.95) 0%,
    rgba(20, 19, 17, 0.3) 50%,
    rgba(20, 19, 17, 0.1) 100%
  );
  z-index: 1;
  transition: opacity 0.3s ease;
}

.nav-card:hover .card-overlay {
  opacity: 0.9;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
}

.nav-card h2 {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  transition: transform 0.3s ease;
}

.nav-card:hover .btn-card {
  transform: translateX(4px);
}

.faq-section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.faq-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  font-size: 24px;
  margin-bottom: 32px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 12px;
  padding: 14px 16px;
}

details[open] {
  background: #fff;
}

summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  outline: none;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gold-a11y);
  font-weight: bold;
}

details[open] summary::after {
  content: "−";
}

details p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.reviews-section {
  background: var(--bar);
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

.review-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
  color: #f5c518;
}

.reviews-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
  font-size: 24px;
  margin-bottom: 32px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.review-item {
  background: #fff;
  padding: 24px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.review-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 12px;
}

.review-author {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.05em;
}

footer.simple {
  background: var(--bar);
  text-align: center;
  padding: 24px;
  font-size: 12px;
  color: var(--gray);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   MEDIA QUERIES (NÃO FUÇA GAZELA)
   ========================================================================== */

@media (min-width: 600px) {
  .topbar .container {
    flex-direction: row;
    justify-content: space-between;
    height: 34px;
    padding: 0;
  }

  .trust-strip .container {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .trust-item:nth-child(3) {
    border-bottom: none;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .service-photo {
    height: 110px;
  }

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

@media (min-width: 992px) {
  .nav-row {
    padding: 18px 24px;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
  }

  .logo-text .l1 {
    font-size: 22px;
  }

  .logo-text .l2 {
    font-size: 10px;
  }

  .menu-toggle {
    display: none;
  }

  nav.primary {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    height: auto;
    width: auto;
    max-width: none;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 30px;
    transform: none;
    box-shadow: none;
    z-index: auto;
  }

  nav.primary a {
    font-size: 12.5px;
    width: auto;
    display: inline-block;
  }

  nav.primary a.active {
    border-left: none;
    border-bottom: 2px solid var(--gold-dark);
    padding-left: 0;
    padding-bottom: 6px;
  }

  .call-btn {
    padding: 11px 20px;
    font-size: 13px;
    gap: 8px;
  }

  .hero {
    background:
      linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.96) 35%,
        rgba(255, 255, 255, 0.6) 55%,
        rgba(20, 18, 15, 0) 75%
      ),
      url("../image/hero-opt.jpg") center/cover no-repeat;
    padding: 120px 0;
    text-align: left;
  }

  .hero h1 {
    font-size: 44px;
    max-width: 600px;
  }

  .hero p {
    font-size: 18px;
    margin: 0 0 35px 0;
    max-width: 550px;
  }

  .trust-strip .container {
    grid-template-columns: repeat(4, 1fr);
  }
  .trust-item {
    border-bottom: none !important;
    border-left: 1px solid var(--line);
  }
  .trust-item:first-child {
    border-left: none;
  }

  .service-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .nav-cards .section-title {
    font-size: 32px;
  }
  .nav-card {
    height: 400px;
  }
  .nav-card h2 {
    font-size: 26px;
  }
  .nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }
  .nav-card:hover .btn-card {
    color: #fff;
  }

  .reviews-section h2 {
    font-size: 28px;
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .map-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .address-info h3 {
    font-size: 26px;
  }
  .map-container {
    height: 350px;
  }
}

.section-padding {
  padding: 60px 0;
}

.section-title {
  font-family: Georgia, serif;
  font-size: 28px;
  text-align: center;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px auto;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.6;
}

.materials-grid,
.styles-grid,
.styles-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.material-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.1);
}

.material-card .img-container {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.material-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.material-card:hover img {
  transform: scale(1.05);
}

.material-card .card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.material-card h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #1a1a1a;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.material-card p {
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}
