:root {
  --coffee-950: #24140d;
  --coffee-800: #563929;
  --coffee-700: #72513b;
  --coffee-500: #b68557;
  --coffee-200: #eadac8;
  --sand-100: #f8f2eb;
  --sand-50: #fdfaf7;
  --olive-500: #6b7b43;
  --gold-500: #d6a85c;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(36, 20, 13, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top, rgba(214, 168, 92, 0.16), transparent 32%),
    linear-gradient(180deg, #fffaf4 0%, #f7efe5 100%);
  color: var(--coffee-950);
}

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

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

.site-wrapper {
  min-height: 100vh;
}

.navbar {
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(114, 81, 59, 0.12);
}

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

.nav-link {
  color: var(--coffee-800);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--coffee-950);
}

.btn-brand,
.btn-outline-brand,
.section-shell,
.hero-copy,
.hero-media,
.form-control,
.form-select,
.form-check,
.table-wrap,
.site-footer,
.location-bar,
.surface-panel {
  animation: fadeUp 0.75s ease both;
}

.btn-brand {
  background: linear-gradient(135deg, var(--coffee-800), var(--coffee-500));
  color: var(--white);
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  box-shadow: 0 14px 24px rgba(114, 81, 59, 0.2);
}

.btn-brand:hover,
.btn-brand:focus {
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-brand {
  border: 1px solid rgba(114, 81, 59, 0.22);
  color: var(--coffee-800);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.9rem 1.4rem;
  background: rgba(255, 255, 255, 0.7);
}

.section-shell {
  padding: 1.25rem 0;
}

.bg.hero {
  width: 100%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6.5rem 0 3.5rem;
  background-color: #6d4b34;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.bg.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(36, 20, 13, 0.9), rgba(86, 57, 41, 0.8));
  z-index: 0;
}

.bg.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -90px -10%;
  height: 180px;
  background: linear-gradient(180deg, rgba(247, 239, 229, 0), rgba(247, 239, 229, 0.96));
  z-index: 0;
}

.hero-copy,
.hero-media,
.card,
.surface-panel,
.location-bar,
.table-wrap {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold-500);
}

.hero-copy h1,
.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.03;
  margin: 0.9rem 0 1rem;
}

.hero-copy p,
.section-lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-meta span {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
}

.hero-media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

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

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.surface-panel h2,
.surface-panel h3 {
  color: var(--coffee-950);
}

.section-heading p,
.surface-panel p,
.surface-panel li,
.card p,
.site-footer p,
.site-footer li,
.table,
.location-bar p {
  color: var(--coffee-800);
}

.surface-panel {
  background: rgba(255, 255, 255, 0.8);
  padding: 1.35rem;
}

.card {
  height: 100%;
  border: 1px solid rgba(114, 81, 59, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.card.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
  will-change: opacity, transform;
}

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

.card-body {
  padding: 1.4rem;
}

.card-title {
  color: var(--coffee-950);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  background-color: #eadac8;
  isolation: isolate;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(36, 20, 13, 0.9) 0%, rgba(86, 57, 41, 0.72) 52%, rgba(86, 57, 41, 0.24) 100%);
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--service-card-image);
  background-size: cover;
  background-position: center;
  opacity: 0.8;
  z-index: -1;
}

.service-card .card-body {
  position: relative;
  z-index: 1;
}

.service-card .card-title,
.service-card p {
  color: var(--white);
}

.service-card .btn-outline-brand {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--coffee-950);
}

.service-card .btn-outline-brand:hover,
.service-card .btn-outline-brand:focus {
  background: var(--white);
  color: var(--coffee-950);
}

.service-card .icon-chip {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.service-card--colocacao {
  --service-card-image: url('../img/taco-madeira-melo-aplicadora (2).webp');
}

.service-card--raspagem {
  --service-card-image: url('../img/raspagem-taco-madeira (2).webp');
}

.service-card--restauracao {
  --service-card-image: url('../img/tacos-depois-tratados.webp');
}

.service-card--bona {
  --service-card-image: url('../img/taco-madeira-antes-depois.webp');
}

.service-card--traffic {
  --service-card-image: url('../img/impermeabilizacao-tacos-depois (8).webp');
}

.service-card--sinteko {
  --service-card-image: url('../img/taco-madeira-sinteko (2).webp');
}

.service-card--deck {
  --service-card-image: url('../img/deck-madeira-depois-envernizado.webp');
}

.service-card--galeria {
  --service-card-image: url('../img/bg/hero-bg-1.webp');
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.9);
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-buttons--footer {
  width: 100%;
}

.footer-social-row {
  width: 100%;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.social-button:hover,
.social-button:focus {
  transform: translateY(-2px);
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.26);
}

.social-button--light {
  background: rgba(114, 81, 59, 0.08);
  border-color: rgba(114, 81, 59, 0.14);
  color: var(--coffee-950);
}

.social-button--light:hover,
.social-button--light:focus {
  color: var(--coffee-950);
  background: rgba(114, 81, 59, 0.14);
  border-color: rgba(114, 81, 59, 0.22);
}

.social-button__icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-button__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-button__label {
  line-height: 1;
}

.thankyou-modal {
  border: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffaf4 0%, #f7efe5 100%);
  box-shadow: var(--shadow-soft);
}

.thankyou-modal .modal-body {
  padding: 0 1.5rem 1.5rem;
}

.thankyou-modal .btn-brand {
  margin-top: 0.5rem;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(180deg, rgba(36, 20, 13, 0), rgba(36, 20, 13, 0.84));
  color: var(--white);
  font-weight: 600;
}

.sitemap-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li + li {
  margin-top: 0.8rem;
}

.sitemap-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--coffee-800);
  font-weight: 600;
}

.sitemap-list a:hover,
.sitemap-list a:focus {
  color: var(--coffee-950);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.icon-chip,
.meta-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(107, 123, 67, 0.12);
  color: var(--olive-500);
  font-weight: 700;
  font-size: 0.85rem;
}

.media-frame {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.location-bar {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 218, 200, 0.9));
  padding: 1.5rem;
}

.table-wrap {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(114, 81, 59, 0.1);
}

.table {
  margin: 0;
}

.table th,
.table td {
  padding: 1rem;
  vertical-align: middle;
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(114, 81, 59, 0.16);
  background-color: rgba(255, 255, 255, 0.94);
}

textarea.form-control {
  min-height: 160px;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 340px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.site-footer {
  margin-top: 2rem;
  background: #22140d;
  color: rgba(255, 255, 255, 0.86);
}

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom));
  pointer-events: none;
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__panel {
  pointer-events: auto;
  border-radius: var(--radius-lg);
  background: rgba(36, 20, 13, 0.96);
  color: var(--white);
  box-shadow: 0 20px 40px rgba(36, 20, 13, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem;
}

.cookie-banner__panel p,
.cookie-banner__panel a {
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__panel a {
  text-decoration: underline;
  text-underline-offset: 0.15rem;
}

.cookie-banner__actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cookie-btn-deny {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  color: var(--white);
  font-weight: 700;
  min-height: 48px;
}

.cookie-btn-deny:hover,
.cookie-btn-deny:focus {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1070;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #25d366, #128c4a);
  color: var(--white);
  box-shadow: 0 18px 35px rgba(18, 140, 74, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(18, 140, 74, 0.34);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float.is-attention {
  animation: whatsappPulse 1.6s ease-in-out 3;
}

.site-footer a,
.site-footer li,
.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--white);
}

.footer-logo {
  width: 150px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold-500);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsappPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 18px 35px rgba(18, 140, 74, 0.28);
  }

  35% {
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0.18);
  }

  70% {
    transform: scale(0.98);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 18px 35px rgba(18, 140, 74, 0.28);
  }
}

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

  .whatsapp-float,
  .whatsapp-float.is-attention {
    animation: none;
    transition: none;
  }
}

@media (min-width: 768px) {
  .section-shell {
    padding: 2rem 0;
  }

  .hero-copy {
    padding: 2rem;
  }

  .bg.hero {
    padding: 8.5rem 0 5rem;
  }

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

  .cookie-banner__actions {
    grid-template-columns: auto auto;
    justify-content: end;
  }

  .whatsapp-float {
    right: 1.5rem;
    bottom: 1.5rem;
    width: 68px;
    height: 68px;
  }
}
