:root {
  --bg: #ffffff;
  --surface: #f5f5f5;
  --text: #222222;
  --text-muted: #666666;
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
  --transition: 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfc 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  background-color: #ececec;
}

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border: 2px solid var(--text);
  border-radius: 4px;
  display: inline-block;
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--text);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  gap: 22px;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-1px);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
  transition: var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-dark {
  color: #fff;
  background: var(--text);
}

.btn-light {
  color: var(--text);
  background: #fff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  background: linear-gradient(110deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.25)), url('https://arquitetura.vivadecora.com.br/wp-content/uploads/2020/01/Casa-estilo-americano-cozinha.jpg') center/cover;
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 110px 0 100px;
  max-width: 760px;
}


.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.8;
  margin-bottom: 14px;
}

.hero h1,
.section-heading h2,
.about-content h2,
.contact-card h2,
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-copy,
.section-heading p,
.about-content p,
.contact-card p,
.cta-box p,
.service-card p,
.benefit-card p,
.testimonial p,
.site-footer p,
.site-footer li {
  color: var(--text-muted);
}

.hero-copy {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  max-width: 650px;
  margin-bottom: 24px;
}

.hero-contact {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin: 18px 0 24px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-contact--main {
  padding: 18px 22px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.16);
}

.hero-phone {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.hero-contact-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px 0 24px;
}

.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-badges span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.93);
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--surface);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading h2,
.about-content h2,
.contact-card h2,
.cta-box h2 {
  color: var(--text);
}

.services-grid,
.portfolio-grid,
.benefits-grid {
  display: grid;
  gap: 24px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.benefit-card,
.contact-card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.contact-card {
  width: 100%;
  max-width: none;
  border-radius: 0;
  padding: clamp(36px, 5vw, 72px);
  box-shadow: none;
  border: none;
  background: transparent;
}

.service-card {
  overflow: hidden;
  padding: 0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, #000, #444);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover::after,
.service-card:focus-within::after {
  transform: scaleX(1);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 0, 0, 0.16);
}

.service-card--media img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.service-card-body {
  padding: 22px 24px 26px;
}

.service-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.service-card-body p {
  margin: 0;
  color: var(--text-muted);
}

.icon-box {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--surface);
  margin-bottom: 16px;
}

.icon-box svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.benefit-card strong,
.site-footer h3,
.site-footer h4 {
  margin: 0 0 10px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.portfolio-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
  font-weight: 600;
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  min-height: 170px;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.contact-section {
  padding: 0 0 24px;
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
}

.contact-wrap {
  width: 100%;
  padding: 0;
}

.about-image img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.testimonials-section {
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  min-height: 220px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  padding: 0;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
}

.testimonial-dot.active {
  background: #000;
  transform: scale(1.2);
}

.testimonial {
  display: none;
  padding: 32px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(16px);
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.6s ease;
}

.testimonial-dot:hover {
  background: #111;
  transform: scale(1.1);
}

.testimonial p {
  font-size: 1.08rem;
  margin-bottom: 12px;
  color: var(--text);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  background: var(--surface);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  min-height: 24px;
  margin-top: 12px;
  color: var(--text);
  font-weight: 600;
}

.cta-section {
  padding-top: 0;
}

.cta-box {
  background: linear-gradient(135deg, #000, #222);
  color: #fff;
  border-radius: 32px;
  padding: 48px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.site-footer {
  padding: 70px 0 24px;
  background: #0f0f0f;
  color: #fff;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-map svg {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.68);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
  z-index: 45;
  transition: transform var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  place-items: center;
  z-index: 60;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(900px, 100%);
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 960px) {
  .services-grid,
  .portfolio-grid,
  .benefits-grid,
  .about-wrap,
  .contact-wrap,
  .footer-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    padding-top: 12px;
  }

  .site-nav.open {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 760px) {
  html {
    scroll-behavior: auto;
  }

  body {
    -webkit-font-smoothing: antialiased;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-wrap {
    padding: 12px 0;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-content {
    padding: 74px 0 72px;
    text-align: center;
  }

  .hero-contact {
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid,
  .portfolio-grid,
  .benefits-grid,
  .about-wrap,
  .footer-wrap,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .contact-section {
    padding-bottom: 0;
  }

  .contact-card {
    padding: 28px 18px 36px;
  }

  .cta-box {
    padding: 36px 24px;
  }
  .site-footer {
    text-align: center;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-contact {
    align-items: center;
  }

  .site-footer ul {
    align-items: center;
  }

  .site-footer .quick-links-list,
  .site-footer .social-links-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
    justify-items: center;
  }

  .site-footer .social-links-list {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .social-links-list li:last-child {
    grid-column: 1 / -1;
  }}

@media (max-width: 560px) {
  .container {
    width: min(100% - 20px, 1160px);
  }

  .site-header {
    padding: 2px 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-contact {
    padding: 14px 16px;
  }

  .hero-badges {
    flex-direction: column;
  }

  .section {
    padding: 72px 0;
  }

  .service-card,
  .benefit-card,
  .contact-card,
  .testimonial {
    padding: 20px;
    backdrop-filter: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  }

  .portfolio-card,
  .service-card,
  .testimonial,
  .contact-card,
  .benefit-card,
  .cta-box {
    transform: none !important;
    transition: none !important;
  }

  .portfolio-card img,
  .service-card--media img {
    height: 220px;
  }
}
