:root {
  --black: #050505;
  --ink: #0d0f10;
  --card: #121517;
  --line: rgba(213, 222, 231, .2);
  --silver: #d5dee7;
  --white: #f2f3f2;
  --muted: #969c9e;
  --turquoise: #11d8cf;
  --green: #79f20d;
  --blue: #145eff;
  --display: "Barlow Condensed", sans-serif;
  --sans: "Inter", sans-serif;
  --mono: "DM Mono", monospace;
  --page-gutter: clamp(1.25rem, 5vw, 6.75rem);
  --header-height: 164px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font: 16px var(--sans);
}

a,
button {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .84;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

h1 em,
h2 em {
  color: var(--turquoise);
  font-style: normal;
}

.noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.section-pad {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}

/* Estrutura compartilhada entre a Home e o agendamento. */
.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--header-height);
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid rgba(213, 222, 231, .12);
  background: rgba(5, 5, 5, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  align-self: flex-start;
  z-index: 6;
  display: block;
  width: 220px;
  height: var(--header-height);
  padding: 15px 25px;
}

.brand img {
  display: block;
  width: 100%;
  max-height: 130px;
  object-fit: contain;
}

.header-actions {
  display: contents;
}

.desktop-nav {
  position: absolute;
  top: 81.5px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  margin: 0;
  transform: translate(-50%, -50%);
}

.desktop-nav a {
  color: var(--silver);
  font: 600 26px var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease, text-shadow .25s ease;
}

.desktop-nav a:hover {
  color: var(--turquoise);
  text-shadow: 0 0 14px rgba(17, 216, 207, .35);
}

.header-cta {
  position: absolute;
  top: 81.5px;
  right: var(--page-gutter);
  padding: 1rem 1.35rem;
  box-shadow: 0 0 18px rgba(17, 216, 207, .16);
  transform: translateY(-50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  padding: 1.1rem 1.45rem;
  background: var(--turquoise);
  color: var(--black);
  font: 500 20px var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease;
}

.button:hover {
  background: var(--green);
  transform: translateY(-2px);
}

.button span,
.text-link span {
  font-size: 1rem;
  line-height: 0;
}

.button-small {
  gap: .8rem;
  padding: .85rem 1rem;
}

.button-large {
  min-height: 58px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(213, 222, 231, .5);
  color: var(--silver);
  font: 16px var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease;
}

.text-link:hover {
  border-color: var(--green);
  color: var(--green);
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.25rem;
  color: var(--turquoise);
  font: 16px var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow-line,
.section-kicker span {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: currentColor;
}

.mobile-menu,
.menu-toggle {
  display: none;
}

.site-footer {
  background: var(--ink);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 16px var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-in .7s ease both;
}

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

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

.reveal-delay-2 {
  animation-delay: .24s;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 850px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .brand {
    width: 112px;
    height: var(--header-height);
    padding: 6px 12px;
  }

  .brand img {
    max-height: 70px;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: .5rem 0 .5rem .5rem;
    background: none;
  }

  .menu-toggle span {
    display: block;
    width: 28px;
    height: 1px;
    background: var(--silver);
    transition: transform .25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 11;
    inset: 0;
    flex-direction: column;
    gap: 1.5rem;
    padding: 7rem 1.25rem 2rem;
    background: var(--black);
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu > a:not(.button) {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    font: 700 4rem var(--display);
    text-transform: uppercase;
  }

  .mobile-menu .button {
    margin-top: auto;
  }
}


/* Global width containment */
html,
body,
main,
.site-footer,
.section-pad {
  width: 100%;
  max-width: 100%;
}

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

@media (max-width: 850px) {
  main > *,
  .site-footer {
    min-width: 0;
  }

  .section-pad {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

/* Mobile header and menu refinements */
@media (max-width: 850px) {
  .site-header {
    justify-content: flex-start;
    gap: .75rem;
  }

  .menu-toggle {
    order: -1;
    flex: 0 0 auto;
  }

  .brand {
    order: 0;
    width: 88px;
    margin-left: -.25rem;
    padding: 6px 8px;
  }

  .header-actions {
    position: absolute !important;
    top: 50% !important;
    right: 1.25rem !important;
    bottom: auto !important;
    left: auto !important;
    display: flex !important;
    align-items: center !important;
    order: 1;
    height: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
  }

  .header-cta {
    position: static !important;
    display: inline-flex;
    align-items: center;
    align-self: center !important;
    gap: .4rem;
    min-height: 48px;
    padding: .7rem .9rem;
    font-size: 14px;
    line-height: 1.1;
    transform: none !important;
  }

  .mobile-menu {
    z-index: 50 !important;
    isolation: isolate;
    gap: 1rem;
    padding: 6rem 1.25rem 1.5rem;
    background: #050505 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu > a:not(.button) {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
    font: 700 clamp(2.6rem, 12vw, 3.5rem)/.9 var(--display);
    text-transform: uppercase;
  }

  .mobile-menu .button {
    margin-top: auto;
  }

  .mobile-menu::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #050505;
    content: "";
  }
}
/* Page-specific header labels and mobile booking-page cleanup */
.header-cta-mobile { display: none; }
@media (max-width: 850px) {
  .header-cta-desktop { display: none; }
  .header-cta-mobile { display: inline; }
  .booking-page .header-actions { display: none !important; }
}


/* Desktop topbar booking button */
@media (min-width: 851px) {
  .header-cta {
    margin-right: 1rem;
    font-size: 22px;
  }
}


/* Highlight desktop topbar CTA */
@media (min-width: 851px) {
  .header-cta {
    min-width: 230px;
    padding: 1rem 1.4rem;
    border: 1px solid var(--green);
    background: var(--green);
    color: var(--black);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .1em;
    box-shadow:
      0 0 0 1px rgba(121, 242, 13, .22),
      0 0 24px rgba(121, 242, 13, .38);
  }

  .header-cta:hover {
    background: var(--turquoise);
    border-color: var(--turquoise);
    box-shadow:
      0 0 0 1px rgba(17, 216, 207, .25),
      0 0 28px rgba(17, 216, 207, .45);
  }
}


/* Desktop CTA keeps the blue brand color with a larger hit area */
@media (min-width: 851px) {
  .header-cta {
    min-width: 230px;
    min-height: 48px;
    padding: 1rem 1.4rem;
    border-color: var(--turquoise);
    background: var(--turquoise);
    color: var(--black);
    box-shadow:
      0 0 0 1px rgba(17, 216, 207, .25),
      0 0 24px rgba(17, 216, 207, .35);
  }

  .header-cta:hover {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow:
      0 0 0 1px rgba(20, 94, 255, .25),
      0 0 28px rgba(20, 94, 255, .45);
  }
}


/* Header CTA has no transition */
.header-cta { transition: none !important; }


/* Static desktop topbar CTA */
@media (min-width: 851px) {
  .header-cta,
  .header-cta:hover,
  .header-cta:focus-visible {
    transform: translateY(-50%);
    transition: none !important;
    background: var(--turquoise);
    border-color: var(--turquoise);
    color: var(--black);
    box-shadow:
      0 0 0 1px rgba(17, 216, 207, .25),
      0 0 24px rgba(17, 216, 207, .35);
  }
}


/* Compact black mobile dropdown without a booking button */
@media (max-width: 850px) {
  .mobile-menu {
    position: fixed;
    z-index: 50 !important;
    top: var(--header-height);
    right: 1rem;
    bottom: auto;
    left: auto;
    width: min(280px, calc(100vw - 2rem));
    max-height: calc(100vh - var(--header-height) - 1rem);
    overflow-y: auto;
    gap: .8rem;
    padding: 1.25rem;
    background: #050505 !important;
    border: 1px solid var(--line);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .45);
  }

  .mobile-menu > a:not(.button) {
    padding-bottom: .75rem;
    font-size: clamp(2rem, 9vw, 2.8rem);
    line-height: .9;
  }

  .mobile-menu > .button {
    display: none !important;
  }
}


/* Mobile category drawer */
@media (max-width: 850px) {
  .mobile-menu {
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(340px, 84vw);
    max-height: 100dvh;
    overflow-y: auto;
    padding: calc(var(--header-height) + 1rem) 1.25rem 2rem;
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 1px solid var(--line);
    box-shadow: -18px 0 40px rgba(0, 0, 0, .5);
  }

  .mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    color: var(--white);
    font: 400 2rem/1 var(--sans);
  }

  .mobile-menu-close:hover {
    color: var(--turquoise);
  }

  .mobile-menu > a:not(.button) {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}


/* Category-style mobile menu inspired by the supplied layout */
@media (max-width: 850px) {
  .mobile-menu {
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    width: min(320px, 84vw);
    padding: 1.1rem 1rem 1.5rem;
    border-top: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    border-left: 0;
    box-shadow: 18px 0 40px rgba(0, 0, 0, .5);
  }

  .mobile-menu-close {
    top: 1rem;
    right: 1rem;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    color: var(--turquoise);
    font-size: 1.7rem;
  }

  .mobile-menu-kicker {
    margin: 0 0 .75rem;
    padding-top: .25rem;
    color: var(--turquoise);
    font: 12px var(--mono);
    letter-spacing: .16em;
    text-transform: uppercase;
  }

  .mobile-menu-search {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 46px;
    padding: 0 .8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--turquoise);
    background: var(--ink);
    color: var(--turquoise);
  }

  .mobile-menu-search > span {
    font-size: 1.35rem;
    line-height: 1;
  }

  .mobile-menu-search input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--white);
    font: 14px var(--mono);
  }

  .mobile-menu-search input::placeholder {
    color: var(--muted);
  }

  .mobile-menu > a:not(.button) {
    display: flex;
    align-items: center;
    min-height: 54px;
    padding: .75rem .25rem;
    border-bottom: 1px solid var(--line);
    color: var(--silver);
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    letter-spacing: .01em;
    line-height: .9;
  }

  .mobile-menu > a:not(.button):hover {
    color: var(--turquoise);
  }
}


/* Keep the mobile category drawer above the full page */
@media (max-width: 850px) {
  .site-header {
    z-index: 50;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-menu {
    z-index: 100 !important;
  }
}


/* Hamburger remains above the drawer and turns into the close icon */
@media (max-width: 850px) {
  .menu-toggle {
    position: relative;
    z-index: 101 !important;
  }
}


@media (max-width: 850px) {
  .mobile-menu {
    padding-top: 5rem;
  }
}


/* Clickable backdrop for the mobile category drawer */
@media (max-width: 850px) {
  .site-header {
    z-index: 100;
  }

  .mobile-menu-backdrop {
    position: fixed;
    z-index: 99;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(5, 5, 5, .28);
  }

  body.mobile-menu-open .mobile-menu-backdrop {
    display: block;
  }
}
