:root {
  --primary: #991f2b;
  --wine: #65131d;
  --gold: #f5c842;
  --leaf: #7fb83b;
  --sky: #78c7df;
}

* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  border-radius: 999px;
  background: var(--gold);
  transition: transform .3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.whatsapp-unit-row {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  max-width: 100%;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  padding: 5px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
}

.whatsapp-unit-row::before {
  content: "WhatsApp";
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.whatsapp-unit-row-hero::before {
  content: "Pedir pelo WhatsApp";
}

.whatsapp-unit-row-contact::before {
  content: "Escolha a unidade";
}

.whatsapp-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--wine);
  padding: 10px 14px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}

.whatsapp-pill:hover {
  transform: translateY(-1px);
  background: var(--leaf);
  color: white;
}

.whatsapp-pill svg {
  display: none;
}

.whatsapp-pill span {
  display: grid;
  gap: 2px;
  text-align: center;
}

.whatsapp-pill strong,
.whatsapp-pill small {
  display: block;
}

.whatsapp-pill strong {
  font-size: 13px;
}

.whatsapp-pill small {
  font-size: 11px;
  font-weight: 800;
  opacity: .82;
}

.whatsapp-unit-row-header .whatsapp-pill {
  min-width: 78px;
  padding: 9px 12px;
}

.whatsapp-unit-row-header .whatsapp-pill small {
  display: none;
}

.whatsapp-unit-row-mobile {
  width: 100%;
}

.whatsapp-unit-row-hero .whatsapp-pill {
  min-width: 154px;
  padding: 13px 18px;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  height: 2px;
  width: 22px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

#menuButton.is-open .hamburger {
  transform: rotate(45deg);
}

#menuButton.is-open .hamburger::before {
  transform: translateY(7px) rotate(90deg);
}

#menuButton.is-open .hamburger::after {
  opacity: 0;
}

#mobileMenu.is-open {
  pointer-events: auto;
  transform: translateY(0);
  opacity: 1;
}

.header-hidden {
  transform: translateY(-130%);
}

#siteHeader.is-scrolled .header-shell {
  border-color: rgba(153, 31, 43, .12);
  background: rgba(255, 255, 255, .9);
}

#siteHeader.is-scrolled .brand-text span,
#siteHeader.is-scrolled .nav-link {
  color: var(--wine);
  text-shadow: none;
}

#siteHeader.is-scrolled #menuButton {
  border-color: rgba(153, 31, 43, .18);
  background: rgba(153, 31, 43, .08);
  color: var(--wine);
}

#siteHeader.is-scrolled .whatsapp-unit-row {
  border-color: rgba(153, 31, 43, .16);
  background: rgba(153, 31, 43, .06);
}

#siteHeader.is-scrolled .whatsapp-unit-row::before {
  color: var(--wine);
}

.hero {
  isolation: isolate;
}

.glass-panel {
  border: 1px solid rgba(255, 255, 255, .28);
  background: linear-gradient(135deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .09));
  box-shadow: 0 24px 90px rgba(0, 0, 0, .18);
  backdrop-filter: blur(22px);
}

.section-pad {
  padding: clamp(76px, 9vw, 128px) 0;
}

.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  background: rgba(153, 31, 43, .1);
  color: var(--primary);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title {
  margin-top: 16px;
  max-width: 820px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
  font-weight: 900;
  color: var(--wine);
}

.timeline-item {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(153, 31, 43, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .76);
  padding: 22px;
  box-shadow: 0 16px 50px rgba(153, 31, 43, .08);
  backdrop-filter: blur(12px);
}

.timeline-item span {
  width: max-content;
  border-radius: 999px;
  background: var(--gold);
  color: #4a1217;
  padding: 6px 12px;
  font-weight: 900;
}

.timeline-item p {
  color: #52525b;
  font-size: 17px;
  line-height: 1.65;
}

.service-card {
  min-height: 310px;
  border: 1px solid rgba(153, 31, 43, .12);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(255, 247, 236, .9));
  padding: 34px 28px;
  text-align: center;
  box-shadow: 0 22px 70px rgba(101, 19, 29, .1);
  transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 90px rgba(153, 31, 43, .18);
}

.service-card h3 {
  font-size: 24px;
  font-weight: 900;
  color: var(--wine);
}

.service-card p {
  margin-top: 14px;
  color: #52525b;
  font-size: 16px;
  line-height: 1.7;
}

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

.gallery-item {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: #111;
  cursor: pointer;
  box-shadow: 0 20px 70px rgba(23, 23, 23, .14);
}

.gallery-item img {
  height: 100%;
  min-height: 260px;
  width: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.03);
}

.gallery-item::after {
  content: "Ampliar";
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--wine);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.info-row {
  display: grid;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  padding-bottom: 14px;
}

.info-row span {
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.info-row strong {
  color: white;
  font-size: 16px;
  line-height: 1.45;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

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

.reveal-delay {
  transition-delay: .12s;
}

.reveal-delay-more {
  transition-delay: .22s;
}

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

  .gallery-item:first-child {
    grid-row: span 2;
    min-height: 538px;
  }

  .gallery-item:first-child img {
    min-height: 538px;
  }
}

@media (max-width: 640px) {
  .whatsapp-unit-row {
    width: 100%;
    flex-wrap: wrap;
    border-radius: 24px;
  }

  .whatsapp-unit-row::before {
    width: 100%;
    min-height: 34px;
    color: var(--wine);
    background: rgba(255, 255, 255, .78);
  }

  .whatsapp-unit-row .whatsapp-pill {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 8px;
  }

  .whatsapp-unit-row .whatsapp-pill small {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
