/* =============================================
   DUE LEONI ESPAÇO — Design System
   Paleta art-deco: preto profundo + dourado champagne
============================================= */

:root {
  /* Cores */
  --black: #0a0a0a;
  --black-soft: #161616;
  --black-pattern: #0d0d0d;
  --gold: #c8a96a;
  --gold-bright: #d4b87a;
  --gold-deep: #a08654;
  --gold-soft: rgba(200, 169, 106, 0.5);
  --white: #ffffff;
  --white-soft: rgba(255, 255, 255, 0.85);
  --white-mute: rgba(255, 255, 255, 0.6);
  --light-bg: #f5f5f0;
  --line-gold: rgba(200, 169, 106, 0.25);

  /* Tipografia */
  --font-display: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  --font-script: 'Pinyon Script', 'Allura', cursive;
  --font-body: 'Raleway', -apple-system, sans-serif;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--white);
  background: var(--black);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ========== ART-DECO PATTERN ========== */
.pattern-bg {
  position: relative;
  background-color: var(--black);
}
.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='%23c8a96a' stroke-width='0.5' opacity='0.15'/><path d='M20 8 L32 20 L20 32 L8 20 Z' fill='none' stroke='%23c8a96a' stroke-width='0.3' opacity='0.1'/></svg>");
  background-repeat: repeat;
  background-size: 40px 40px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}
.pattern-bg > * { position: relative; z-index: 1; }

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
  pointer-events: none;
}
.header > * { pointer-events: auto; }
.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 2.5rem;
  border-bottom: 1px solid var(--line-gold);
}
.header__logo {
  width: 110px;
  height: auto;
  transition: width 0.4s var(--ease);
}
.header.scrolled .header__logo { width: 80px; }

.menu-toggle {
  width: 44px;
  height: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  z-index: 102;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.4s var(--ease);
}
.menu-toggle span:nth-child(2) { width: 70%; align-self: flex-end; }
body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
body.menu-open .menu-toggle span:nth-child(2) {
  width: 100%;
  transform: translateY(-4px) rotate(-45deg);
}

/* ========== SLIDE-IN MENU ========== */
.menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: var(--black);
  z-index: 101;
  transition: right 0.55s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 2rem;
  border-left: 1px solid var(--line-gold);
  overflow-y: auto;
}
.menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><path d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='%23c8a96a' stroke-width='0.5' opacity='0.12'/></svg>");
  pointer-events: none;
}
body.menu-open .menu-overlay { right: 0; }

.menu-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.menu-list a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-left: 0;
  transition: padding 0.4s var(--ease), color 0.3s var(--ease);
}
.menu-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.menu-list a:hover {
  color: var(--gold);
  padding-left: 2.5rem;
}
.menu-list a:hover::before { width: 2rem; }
.menu-list a.active { color: var(--gold); }
.menu-list a.active::before { width: 2rem; }

.menu-overlay__footer {
  position: relative;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-gold);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--white-mute);
}
.menu-overlay__footer a:hover { color: var(--gold); }

/* ========== HEROS ========== */
.page-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.6) 100%);
}
.page-hero__inner {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem;
  max-width: 1100px;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 2rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.4s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.05;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.4s forwards;
}
.hero-title em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.7s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
  transition: color 0.4s var(--ease);
  z-index: 1;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.btn:hover { color: var(--black); }
.btn:hover::before { transform: translateX(0); }
.btn--solid { background: var(--gold); color: var(--black); }
.btn--solid::before { background: var(--black); }
.btn--solid:hover { color: var(--gold); }

/* ========== SECTIONS ========== */
.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}
.section--light {
  background: var(--light-bg);
  color: var(--black);
}
.section--light h2 { color: var(--black); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
  line-height: 1.1;
}
.section-title em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}
.section--light .section-title { color: var(--black); }

/* ========== ABOUT (Sobre) ========== */
.about-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-bottom: 5rem;
}
.about-block:last-child { margin-bottom: 0; }
.about-block.reverse { direction: rtl; }
.about-block.reverse > * { direction: ltr; }

.about-block__text p {
  margin-bottom: 1.5rem;
  color: var(--white-soft);
  font-size: 1rem;
  font-weight: 300;
}
.about-block__media {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.about-block__media::before {
  content: '';
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  background: rgba(200, 169, 106, 0.15);
  z-index: 0;
}
.about-block__media img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.gallery-grid figure {
  aspect-ratio: 1/1;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--black-soft);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
  filter: brightness(0.9);
}
.gallery-grid figure:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
.gallery-grid figure::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color 0.4s var(--ease);
  pointer-events: none;
}
.gallery-grid figure:hover::after { border-color: var(--gold); }

/* ========== SALON BLOCK ========== */
.salon-block {
  margin-bottom: 6rem;
}
.salon-block:last-child { margin-bottom: 0; }
.salon-block__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
  align-items: center;
}
.salon-block__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.salon-block__desc {
  color: var(--white-soft);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.salon-specs {
  display: flex;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line-gold);
  border-bottom: 1px solid var(--line-gold);
  padding: 1.25rem 0;
}
.salon-specs > div {
  flex: 1;
  text-align: center;
  border-right: 1px solid var(--line-gold);
  padding: 0 0.5rem;
}
.salon-specs > div:last-child { border-right: none; }
.salon-specs__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.salon-specs__label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-mute);
  margin-top: 0.5rem;
  display: block;
}

/* ========== EVENTS GRID ========== */
.events-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.event-card {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  cursor: pointer;
}
.event-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
  filter: brightness(0.55);
}
.event-card:hover img { transform: scale(1.06); filter: brightness(0.7); }
.event-card::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: opacity 0.4s var(--ease), inset 0.4s var(--ease);
  pointer-events: none;
}
.event-card:hover::after { opacity: 1; inset: 1.5rem; }
.event-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 2;
}
.event-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.event-card__hint {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  text-align: center;
  padding: clamp(5rem, 10vw, 8rem) 0;
}
.testimonials__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4rem;
}
.testimonials__title em {
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}
.testimonial-slider {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  min-height: 300px;
}
.testimonial {
  display: none;
  animation: fadeIn 0.6s var(--ease);
}
.testimonial.active { display: block; }
.testimonial__avatar {
  width: 75px;
  height: 75px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  padding: 3px;
}
.testimonial__avatar > div {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gold-deep);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--black);
  font-weight: 700;
}
.testimonial__text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--white-soft);
  font-weight: 300;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto 2rem;
}
.testimonial__author {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--white);
  font-weight: 500;
}
.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}
.testimonial-controls button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--gold);
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
}
.testimonial-controls button:hover { border-color: var(--gold); }
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white-mute);
  transition: background 0.3s var(--ease);
}
.testimonial-dots button.active { background: var(--gold); }

/* ========== CONTACT ========== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.contact-info p {
  color: var(--white-soft);
  margin-bottom: 2rem;
  max-width: 50ch;
}
.contact-list {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 1rem;
  align-items: start;
}
.contact-list svg { width: 22px; color: var(--gold); }
.contact-list__label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.contact-list__value {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--white);
}

.form { display: grid; gap: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form__field { position: relative; }
.form__label {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-gold);
  transition: border-color 0.3s var(--ease);
  border-radius: 0;
}
.form select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.form select option { background: var(--black); color: var(--white); }
.form textarea { resize: vertical; min-height: 80px; }
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.form button { justify-self: start; margin-top: 1rem; }

.map {
  width: 100%;
  height: 460px;
  filter: grayscale(60%) contrast(1.05);
  border: none;
  display: block;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line-gold);
  padding: 3rem 0 2rem;
  text-align: center;
}
.footer__logo { width: 90px; margin: 0 auto 1.5rem; opacity: 0.85; }
.footer__divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem auto;
}
.footer__rights {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-mute);
}

/* ========== FLOATING SOCIAL ========== */
.floating-social {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 90;
}
.floating-social a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.floating-social a:hover { transform: scale(1.1); }
.floating-social__ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}
.floating-social__wa {
  background: #25d366;
  color: white;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 880px) {
  .header { padding: 1rem 1.5rem; }
  .header.scrolled { padding: 0.75rem 1.5rem; }
  .header__logo { width: 80px; }

  .menu-overlay { padding: 4rem 2rem 2rem; }
  .menu-list a { font-size: 1.4rem; }

  .about-block,
  .salon-block__intro,
  .events-list,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-block.reverse { direction: ltr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .form__row { grid-template-columns: 1fr; }
  .salon-specs__num { font-size: 1.4rem; }

  .floating-social a { width: 48px; height: 48px; }
}
@media (max-width: 540px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .events-list { gap: 0.75rem; }
  .salon-specs { flex-direction: column; gap: 1rem; border: none; }
  .salon-specs > div { border-right: none; border-bottom: 1px solid var(--line-gold); padding-bottom: 1rem; }
  .salon-specs > div:last-child { border-bottom: none; padding-bottom: 0; }
}
