:root {
  --choco: #1a0f0a;
  --choco-mid: #2d1b12;
  --choco-light: #4a3024;
  --cream: #e8dcc8;
  --cream-dim: #b8a896;
  --gold: #c9a45c;
  --gold-light: #e4c88a;
  --red: #8b2e2e;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Outfit", system-ui, sans-serif;
  --header: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--cream);
  background: var(--choco);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
  color: inherit;
}

/* Progress */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.08s linear;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: -40%;
  z-index: 9990;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(2) infinite;
}

@keyframes grain {
  50% { transform: translate(1%, -1%); }
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-content: center;
  gap: 1.5rem;
  background: var(--choco);
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

body:not(.is-loading) .loader {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: clamp(100px, 22vw, 160px);
  height: auto;
  border-radius: 50%;
  animation: loaderPulse 1.2s var(--ease) infinite;
  box-shadow: 0 0 60px rgba(201, 164, 92, 0.25);
}

@keyframes loaderPulse {
  50% { transform: scale(1.04); opacity: 0.85; }
}

.loader-bar {
  width: 120px;
  height: 2px;
  margin: 0 auto;
  background: var(--choco-light);
  overflow: hidden;
  border-radius: 2px;
}

.loader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  animation: loaderSlide 1s var(--ease) infinite;
}

@keyframes loaderSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* Cursor */
.cursor-wrap {
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--cream);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--cream);
}

body.cursor-hover .cursor-ring {
  width: 56px;
  height: 56px;
}

@media (pointer: coarse) {
  .cursor-wrap { display: none; }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(26, 15, 10, 0.88);
  backdrop-filter: blur(14px);
  border-color: rgba(232, 220, 200, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--choco-light);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-8deg) scale(1.05);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: none;
}

@media (min-width: 520px) {
  .brand-name { display: block; }
}

.nav {
  display: none;
  gap: 1.75rem;
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  color: var(--cream-dim);
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav a:hover {
  color: var(--cream);
}

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

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

.header-cta {
  display: none;
}

@media (min-width: 900px) {
  .header-cta { display: inline-flex; margin-left: 1rem; }
}

.menu-btn {
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(232, 220, 200, 0.15);
  border-radius: 50%;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  width: 18px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s;
}

@media (min-width: 900px) {
  .menu-btn { display: none; }
}

.nav-mobile {
  position: fixed;
  inset: var(--header) 0 0 0;
  z-index: 99;
  background: var(--choco);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
}

.nav-mobile[hidden] { display: none; }

.nav-mobile a {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(232, 220, 200, 0.1);
}

@media (min-width: 900px) {
  .nav-mobile { display: none !important; }
}

/* Marquee */
.marquee {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  overflow: hidden;
  padding: 0.65rem 0;
  background: var(--choco-mid);
  border-top: 1px solid rgba(232, 220, 200, 0.06);
  opacity: 0.7;
  pointer-events: none;
}

@media (min-width: 900px) {
  .marquee { display: none; }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--cream-dim);
  gap: 3rem;
}

.marquee-track span {
  white-space: nowrap;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--choco);
  box-shadow: 0 4px 24px rgba(201, 164, 92, 0.35);
}

.btn-gold:hover {
  box-shadow: 0 8px 32px rgba(201, 164, 92, 0.5);
  transform: translateY(-2px);
}

.btn-line {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(232, 220, 200, 0.25);
}

.btn-line:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-xl {
  padding: 1rem 1.75rem;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header) + 2rem) 1.25rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 70vmin;
  height: 70vmin;
  background: radial-gradient(circle, rgba(201, 164, 92, 0.15), transparent 65%);
  pointer-events: none;
}

.hero-layout {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
}

.hero-title .line {
  display: block;
  font-size: clamp(2.75rem, 10vw, 4.5rem);
}

.hero-title .line--gold {
  font-style: italic;
  color: var(--gold-light);
  font-size: clamp(3rem, 11vw, 5rem);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--cream-dim);
  max-width: 28rem;
  margin: 0 0 2rem;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-visual {
  justify-self: center;
  width: min(100%, 420px);
  perspective: 1000px;
}

.hero-frame {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  border: 1px solid rgba(232, 220, 200, 0.12);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(201, 164, 92, 0.1);
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -0.5rem;
  width: clamp(100px, 28vw, 140px);
  height: auto;
  border-radius: 50%;
  border: 3px solid var(--choco);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  animation: badgeFloat 4s ease-in-out infinite;
}

@keyframes badgeFloat {
  50% { transform: translateY(-8px) rotate(3deg); }
}

.scroll-cue {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 1.8s ease infinite;
}

@keyframes scrollPulse {
  50% { opacity: 0.3; transform: scaleY(0.6); }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

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

/* Sections */
.section {
  padding: 5rem 1.25rem;
  position: relative;
}

.section-dark {
  background: var(--choco-mid);
  border-block: 1px solid rgba(232, 220, 200, 0.06);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-num {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-head h2,
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.section-head p {
  color: var(--cream-dim);
  margin: 0;
}

/* Services horizontal scroll */
.services-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0 1.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--choco-mid);
}

.service-card {
  flex: 0 0 min(280px, 85vw);
  scroll-snap-align: start;
  padding: 1.75rem;
  background: var(--choco-mid);
  border: 1px solid rgba(232, 220, 200, 0.1);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.service-card.is-featured {
  flex-basis: min(320px, 90vw);
  background: linear-gradient(145deg, var(--choco-light), var(--choco-mid));
  border-color: rgba(201, 164, 92, 0.4);
}

.service-tag {
  align-self: flex-start;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(201, 164, 92, 0.2);
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 auto;
  font-weight: 600;
}

.service-meta {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.service-price {
  margin: 1rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  font-family: var(--font-display);
}

.service-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
}

/* Sobre */
.sobre-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .sobre-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.sobre-photo {
  position: relative;
  justify-self: center;
  width: min(100%, 400px);
  perspective: 800px;
}

.sobre-photo img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(232, 220, 200, 0.1);
  transition: transform 0.2s ease-out;
}

.sobre-photo-ring {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(201, 164, 92, 0.25);
  border-radius: 28px;
  pointer-events: none;
}

.sobre-copy p {
  color: var(--cream-dim);
  font-size: 1.05rem;
}

.hours-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--choco);
  border-radius: 12px;
  border: 1px solid rgba(232, 220, 200, 0.08);
}

.hours-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.hours-card dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.hours-card dt {
  font-weight: 600;
  font-size: 0.9rem;
}

.hours-card dd {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

/* Book */
.section-book {
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(201, 164, 92, 0.08), transparent),
    var(--choco);
}

.book-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .book-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.book-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.book-steps li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(232, 220, 200, 0.08);
  color: var(--cream-dim);
}

.book-steps strong {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--choco-mid);
  color: var(--gold);
  font-size: 0.85rem;
}

.book-alt {
  font-size: 0.9rem;
  color: var(--cream-dim);
}

.book-alt a {
  color: var(--gold-light);
  text-decoration: underline;
}

.book-panel {
  padding: 2rem;
  background: var(--choco-mid);
  border-radius: 20px;
  border: 1px solid rgba(232, 220, 200, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.input input,
.input select {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(232, 220, 200, 0.12);
  background: var(--choco);
  color: var(--cream);
}

.input input:focus,
.input select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Contact */
.contact-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-card address {
  font-style: normal;
  line-height: 1.8;
  margin: 1rem 0;
  color: var(--cream-dim);
}

.phone-big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.contact-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-box {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(232, 220, 200, 0.1);
  min-height: 280px;
  aspect-ratio: 4 / 3;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.2) contrast(1.05);
}

.social a {
  color: var(--gold-light);
}

/* Footer */
.footer {
  padding: 3rem 1.25rem 6rem;
  text-align: center;
  border-top: 1px solid rgba(232, 220, 200, 0.06);
}

.footer-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  opacity: 0.9;
}

.footer p {
  margin: 0;
  color: var(--cream-dim);
  font-size: 0.9rem;
}

/* Dock */
.dock {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  gap: 0.2rem;
  padding: 0.35rem;
  background: rgba(45, 27, 18, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  border: 1px solid rgba(232, 220, 200, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.dock a {
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
}

.dock-on {
  background: var(--gold);
  color: var(--choco);
}

@media (min-width: 900px) {
  .dock { display: none; }
  .footer { padding-bottom: 3rem; }
  .scroll-cue { bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .grain { display: none; }
}
