/* Spazio Bhio Essenza — Design System */
:root {
  --mauve: #967989;
  --mauve-dark: #7A6370;
  --mauve-light: #B8A0AD;
  --gold: #C4A052;
  --gold-dark: #A8883E;
  --gold-light: #D4B872;
  --greige: #EBE7E2;
  --greige-mid: #D4CFC8;
  --greige-dark: #B5AFA8;
  --charcoal: #3A3238;
  --charcoal-soft: #4E454C;
  --white: #FDFCFB;
  --text: #2E282C;
  --text-muted: #5C5458;
  --scrim: rgba(58, 50, 56, 0.72);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(58, 50, 56, 0.08);
  --shadow-md: 0 8px 24px rgba(58, 50, 56, 0.12);
  --shadow-lg: 0 16px 48px rgba(58, 50, 56, 0.16);
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --font-display: 'Oswald', 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', 'Inter', system-ui, sans-serif;
  --header-h: 72px;
  --mobile-bar-h: 64px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-bar-h);
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

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

a {
  color: var(--mauve-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--gold-dark); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: var(--space-sm); }

p { margin-bottom: var(--space-sm); }

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.section {
  padding-block: var(--space-xl);
}

.section--greige { background: var(--greige); }
.section--mauve { background: var(--mauve); color: var(--white); }
.section--mauve h2, .section--mauve h3 { color: var(--white); }
.section--dark { background: var(--charcoal); color: var(--greige); }
.section--dark h2, .section--dark h3 { color: var(--gold-light); }

.section-intro {
  max-width: 62ch;
  margin-bottom: var(--space-lg);
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section--mauve .section-intro,
.section--dark .section-intro { color: rgba(255,255,255,0.85); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  min-width: 48px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--charcoal);
}

.btn--outline {
  background: transparent;
  color: var(--mauve-dark);
  border-color: var(--mauve);
}

.btn--outline:hover {
  background: var(--mauve);
  color: var(--white);
}

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}

.btn--whatsapp:hover {
  background: #1DA851;
  border-color: #1DA851;
  color: var(--white);
}

.btn--sm { padding: 0.5rem 1rem; font-size: 0.8rem; min-height: 44px; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  border-bottom: 2px solid var(--gold);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1140px, 92vw);
  margin-inline: auto;
  gap: var(--space-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--greige);
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--greige);
}

.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.desktop-nav {
  display: none;
}

.desktop-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.desktop-nav a {
  display: block;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--greige-mid);
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(196, 160, 82, 0.12);
}

.header-ctas {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .desktop-nav { display: block; }
  .header-ctas { display: flex; }
  .menu-toggle { display: none; }
}

/* Mobile Nav — full-height opaque overlay, sibling of header */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100dvh;
  z-index: 200;
  background: var(--charcoal);
  padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-lg);
  overflow-y: auto;
  display: none;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--greige);
  border-bottom: 1px solid var(--charcoal-soft);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  color: var(--gold);
  background: rgba(196, 160, 82, 0.1);
}

.mobile-nav-ctas {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(58, 50, 56, 0.55) 0%,
    var(--scrim) 50%,
    rgba(58, 50, 56, 0.85) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-md);
  max-width: 800px;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-promise {
  font-size: 1.15rem;
  color: var(--greige);
  margin-bottom: var(--space-md);
  max-width: 52ch;
  margin-inline: auto;
}

.hero .btn-group { justify-content: center; }

/* Page Hero (inner pages) */
.page-hero {
  background: var(--charcoal);
  color: var(--greige);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 { color: var(--white); margin-bottom: var(--space-sm); }
.page-hero p { color: var(--greige-mid); max-width: 60ch; margin-inline: auto; }

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: var(--space-md);
  color: var(--gold);
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }

/* Trust Bar */
.trust-bar {
  background: var(--mauve);
  color: var(--white);
  padding: var(--space-md) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.trust-item span {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img img { transform: scale(1.04); }

.card-body {
  padding: var(--space-md);
}

.card-body h3 { color: var(--mauve-dark); }

.card-price {
  font-family: var(--font-display);
  color: var(--gold-dark);
  font-size: 1rem;
  margin: var(--space-xs) 0;
}

/* Differentials */
.diff-list {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .diff-list { grid-template-columns: repeat(2, 1fr); }
}

.diff-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
}

.diff-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--greige);
  border-radius: 50%;
  font-size: 1.25rem;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: var(--space-md);
}

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

.testimonial {
  background: var(--white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gold);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  font-size: 0.95rem;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mauve-dark);
}

.rating-banner {
  text-align: center;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--mauve) 0%, var(--mauve-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.rating-banner .score {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--gold-light);
  line-height: 1;
}

.rating-banner .count {
  font-size: 1rem;
  opacity: 0.9;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,50,56,0.5), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover::after { opacity: 1; }

/* Location */
.location-grid {
  display: grid;
  gap: var(--space-lg);
}

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

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0;
}

.hours-table th,
.hours-table td {
  padding: 0.6rem 0;
  text-align: left;
  border-bottom: 1px solid var(--greige-mid);
}

.hours-table th {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  width: 40%;
}

.address-block {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: var(--space-md) 0;
}

.address-block strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--greige-mid);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  min-height: 56px;
  padding: var(--space-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding-bottom: var(--space-md);
  color: var(--text-muted);
}

.faq-item.is-open .faq-answer {
  max-height: 500px;
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--mauve-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.cta-band h2 { color: var(--gold-light); margin-bottom: var(--space-sm); }
.cta-band p { color: var(--greige); margin-bottom: var(--space-md); max-width: 50ch; margin-inline: auto; }
.cta-band .btn-group { justify-content: center; }

/* Footer */
.site-footer {
  background: var(--charcoal);
  color: var(--greige-mid);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand .logo-name { font-size: 1.25rem; }
.footer-brand p { font-size: 0.9rem; margin-top: var(--space-sm); }

.footer-col h3 {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  list-style: none;
}

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: var(--greige-mid);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover { color: var(--gold); }

.footer-map {
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  border-top: 1px solid var(--charcoal-soft);
  padding-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.8rem;
}

.footer-bottom a { color: var(--gold); text-decoration: none; }

/* Sticky Mobile Bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 98;
  display: flex;
  height: var(--mobile-bar-h);
  background: var(--charcoal);
  border-top: 2px solid var(--gold);
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  min-height: 48px;
}

.mobile-bar a:first-child {
  background: #25D366;
}

.mobile-bar a:last-child {
  background: var(--mauve-dark);
}

@media (min-width: 768px) {
  .mobile-bar { display: none; }
}

/* Service detail page */
.service-block {
  display: grid;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--greige-mid);
}

@media (min-width: 768px) {
  .service-block { grid-template-columns: 1fr 1fr; align-items: center; }
  .service-block--reverse .service-block-img { order: 2; }
}

.service-block-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-block-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-features {
  list-style: none;
  margin: var(--space-md) 0;
}

.service-features li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
}

.service-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
}

/* Team */
.team-grid {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.team-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.team-card-body { padding: var(--space-md); }

.team-role {
  font-size: 0.85rem;
  color: var(--mauve);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Privacy */
.legal-content {
  max-width: 72ch;
  margin-inline: auto;
}

.legal-content h2 {
  margin-top: var(--space-lg);
  font-size: 1.25rem;
}

.legal-content ul {
  margin: var(--space-sm) 0 var(--space-sm) 1.5rem;
}

/* Agende page */
.booking-options {
  display: grid;
  gap: var(--space-md);
  max-width: 600px;
  margin: var(--space-lg) auto;
}

.booking-card {
  padding: var(--space-lg);
  background: var(--greige);
  border-radius: var(--radius-md);
  text-align: center;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.booking-card:hover { border-color: var(--gold); }

.booking-card h3 { margin-bottom: var(--space-sm); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .card:hover { transform: none; }
  .gallery-item:hover img { transform: none; }
}
