:root {
  --bg: #f7f2ec;
  --surface: #fffaf4;
  --sand: #efe6da;
  --rose: #d7b4b1;
  --champagne: #d8c1a3;
  --ink: #2d2a29;
  --muted: #6b625c;
  --line: rgba(45, 42, 41, 0.12);
  --shadow: 0 18px 50px rgba(45, 42, 41, 0.12);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fdf7f2, var(--bg));
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: calc(var(--radius) - 8px);
}

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

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  z-index: 10;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(247, 242, 236, 0.85);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-family: "Playfair Display", serif;
}

.logo-mark {
  font-size: 1.4rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.logo-sub {
  font-size: 0.75rem;
  font-family: "Lato", sans-serif;
  color: var(--muted);
  letter-spacing: 0.2rem;
  text-transform: uppercase;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  border-radius: 0;
}

.nav {
  display: none;
  gap: 1.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a {
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 0;
  height: 2px;
  background: var(--rose);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after {
  width: 100%;
}

.section {
  padding: 4.5rem 0;
}

.hero {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9);
  backdrop-filter: blur(8px);
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.5rem;
  max-width: 640px;
}

.hero-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  margin: 0;
  color: #3C1C19;
}

h1 {
  font-size: clamp(2.3rem, 3vw, 3.4rem);
}

h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn i {
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.6);
}

.btn-link {
  color: var(--ink);
  font-weight: 600;
}

.section-header {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1.6rem;
}

.features .card {
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.6rem;
}

.features i {
  font-size: 1.6rem;
  color: #F4E5E2;
}

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

.split {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}

.split-text p {
  margin-top: 1.2rem;
  color: var(--muted);
}

#qualidade .split-media img {
  max-width: 85%;
  margin: 0 auto;
}

.story {
  background: var(--surface);
}

.gallery {
  background: linear-gradient(180deg, #f6f0ea, #fbf7f2);
}

.masonry {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.masonry-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(45, 42, 41, 0.18);
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.cta {
  padding-bottom: 6rem;
}

.cta-box {
  background: var(--ink);
  color: #fff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius);
  display: grid;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
}

.cta-box .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.cta-box h2 {
  color: #fff;
  margin-top: 0.5rem;
}

.cta-box p {
  margin: 0.8rem 0 0 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--ink);
  min-width: 200px;
}

.cta-box .btn-primary:hover,
.cta-box .btn-primary:focus {
  background: var(--surface);
}

.site-footer {
  padding: 3.5rem 0 2rem;
  background: #f3ece4;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2.5rem;
  margin-bottom: 1.6rem;
  grid-template-columns: 1fr;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.2rem 0 0.1rem 0;
  font-weight: 600;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}

.footer-grid h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-grid p {
  margin: 0.3rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--ink);
}

.site-footer .logo {
  display: block;
  width: fit-content;
}

.site-footer .logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(45, 42, 41, 0.06);
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.social-links i {
  font-size: 1.3rem;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.footer-links a {
  display: inline-block;
  padding: 0.2rem 0;
  transition: color 0.2s ease;
}

.btn-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-footer:hover,
.footer-grid .btn-footer:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.whatsapp-popup {
  position: absolute;
  bottom: calc(100% + 10px);
  right: 0;
  background: #fff;
  color: var(--ink);
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
  pointer-events: none;
}

.whatsapp-popup::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: rotate(45deg);
}

.whatsapp-popup.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.footer-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-note a {
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-note a:hover {
  color: #c0941e;
}

.whatsapp-float {
  position: fixed;
  right: 1.6rem;
  bottom: 1.6rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  z-index: 20;
  transition: transform 0.2s ease;
}

.whatsapp-float i {
  font-size: 1.5rem;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  transform: translateY(-3px);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

  .features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .cta-box {
    grid-template-columns: 1.5fr 1fr;
    text-align: left;
    padding: 3.5rem;
    gap: 3rem;
  }

  .cta-box .btn-primary {
    justify-self: center;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
  }

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

  .hero {
    padding: 8.5rem 0 6rem;
  }
}

@media (min-width: 500px) and (max-width: 799px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 799px) {
  .btn-ghost {
    display: none;
  }

  .logo-img {
    height: 38px;
  }

  .cta-box .btn-primary {
    width: 100%;
  }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: scaleIn 0.3s ease;
}

.modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.modal-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.modal-close:hover {
  opacity: 0.7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.carousel-track-container {
  overflow: hidden;
  position: relative;
  padding: 10px 0; 
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  padding: 0;
  margin: 0;
  list-style: none;
}

.carousel-slide {
  min-width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial {
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0 1rem;
  margin: 0;
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.testimonial p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 1.5rem 0;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-style: normal;
  color: var(--muted);
}

.testimonial::before {
  content: "“";
  display: block;
  font-family: serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--champagne);
  opacity: 0.5;
  margin-bottom: 0.5rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 1px solid transparent; 
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 1.5rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line);
}

.carousel-btn.prev {
  left: -3.5rem;
}

.carousel-btn.next {
  right: -3.5rem;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-indicator {
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--sand);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-indicator.current-slide {
  background: var(--rose);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .carousel-btn {
    display: none;
  }
  .carousel {
    padding: 0;
  }
  .testimonial p {
    font-size: 1.25rem;
  }
  .testimonial::before {
    font-size: 4rem;
  }
}
