/* ============================================================
   Maria Elegance Buffet — estilo elegante e sofisticado
   Paleta: vinho profundo + dourado + creme + grafite
   ============================================================ */

:root {
  --wine: #4a1526;
  --wine-2: #5d1f33;
  --gold: #c9a15a;
  --gold-light: #e3c98f;
  --cream: #faf6f0;
  --cream-2: #f3ece1;
  --ink: #241a1e;
  --gray: #6f6168;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;
  --shadow: 0 20px 50px rgba(36, 26, 30, 0.12);
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3, h4, .logo__text { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--gold); }

/* ---------- Utilitários ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.eyebrow--light { color: var(--gold-light); }

.section { padding: 6.5rem 0; }
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--ink); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head p { color: var(--gray); margin-top: 1rem; }
.section-head--light .section-title { color: var(--white); }

.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--outline { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--wine); }
.btn--dark { background: var(--wine); color: var(--white); }
.btn--dark:hover { background: var(--wine-2); transform: translateY(-2px); }
.btn--outline-dark { border-color: var(--wine); color: var(--wine); }
.btn--outline-dark:hover { background: var(--wine); color: var(--white); }
.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1eb855; transform: translateY(-2px); }
.btn--block { width: 100%; text-align: center; }

.link-arrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 500;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color 0.3s;
}
.link-arrow:hover { color: var(--gold); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--wine);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0.55rem 0;
}
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar__right a:hover { color: var(--gold-light); }
.topbar__sep { margin: 0 0.6rem; opacity: 0.5; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(74,21,38,0.08);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(36,26,30,0.08); }

.header__inner { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; gap: 1rem; }

.logo { display: flex; align-items: center; }
.logo__text { font-size: 1.7rem; color: var(--wine); line-height: 1; display: flex; flex-direction: column; }
.logo__text em { color: var(--gold); font-weight: 500; }
.logo__text small {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.45em;
  color: var(--gray);
  margin-top: 2px;
}
.logo--light .logo__text { color: var(--white); }
.logo--light .logo__text small { color: rgba(255,255,255,0.6); }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav__link {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta { padding: 0.65rem 1.4rem; }

.hamburger { display: none; background: none; border: none; width: 34px; height: 26px; position: relative; }
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--wine); margin: 6px 0;
  transition: 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.4s ease, transform 6s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(36,10,19,0.88) 0%, rgba(74,21,38,0.55) 55%, rgba(36,10,19,0.35) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 6rem 0 5rem; }

.hero__slides-text { position: relative; min-height: 320px; }
.hero__text {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center;
}
.hero__text.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }

.hero__text h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.2rem; }
.hero__text p { max-width: 520px; font-size: 1.05rem; color: rgba(255,255,255,0.85); margin-bottom: 2.2rem; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__dots {
  position: absolute;
  right: 3rem; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 12px;
  z-index: 3;
}
.hero__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  transition: 0.3s;
}
.hero__dot.is-active { background: var(--gold); border-color: var(--gold); }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.hero__scroll i {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.6; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ---------- Sobre ---------- */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
  align-items: center;
}
.about__media { position: relative; padding-bottom: 4rem; }
.about__img-main {
  width: 78%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__img-main img { width: 100%; height: 480px; object-fit: cover; }
.about__img-small {
  position: absolute;
  right: 0; bottom: 0;
  width: 46%;
  border: 8px solid var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about__img-small img { width: 100%; height: 260px; object-fit: cover; }
.about__badge {
  position: absolute;
  top: -1.4rem; left: -1.4rem;
  background: var(--wine);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.about__badge strong { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-light); line-height: 1; }
.about__badge span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }

.about__content p { color: var(--gray); margin-bottom: 1.1rem; }
.about__list { list-style: none; margin: 1.6rem 0 2.2rem; }
.about__list li {
  padding: 0.55rem 0 0.55rem 2rem;
  position: relative;
  color: var(--ink);
  font-weight: 400;
  border-bottom: 1px dashed rgba(74,21,38,0.15);
}
.about__list li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--gold);
}
.about__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.about__phone strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--wine); }
.about__phone span { font-size: 0.78rem; color: var(--gray); letter-spacing: 0.05em; }
.about__phone:hover strong { color: var(--gold); }

/* ---------- Serviços ---------- */
.services { background: var(--cream); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(36,26,30,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__img { overflow: hidden; height: 240px; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 1.9rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.service-card__tag {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.service-card__body h3 { font-size: 1.55rem; color: var(--wine); }
.service-card__body p { color: var(--gray); font-size: 0.94rem; flex: 1; }

/* ---------- Contadores ---------- */
.stats { background: linear-gradient(110deg, var(--wine), var(--wine-2)); color: var(--white); padding: 4.5rem 0; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; text-align: center; }
.stat__number { font-family: var(--serif); font-size: 3.4rem; color: var(--gold-light); line-height: 1; }
.stat__suffix { font-family: var(--serif); font-size: 2.4rem; color: var(--gold-light); }
.stat p { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 0.5rem; color: rgba(255,255,255,0.8); }

/* ---------- Gastronomia ---------- */
.gastronomy { background: var(--white); }
.gastronomy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
}
.gastro-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.gastro-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
}
.gastro-item:hover img { transform: scale(1.08); }
.gastro-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,10,19,0.92) 0%, rgba(36,10,19,0.45) 45%, transparent 70%);
  z-index: 1;
}
.gastro-item h3 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}
.gastro-item p {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  line-height: 1.55;
}

.gastronomy__cta {
  margin-top: 3rem;
  text-align: center;
  background: var(--cream-2);
  border: 1px dashed var(--gold);
  border-radius: var(--radius);
  padding: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.gastronomy__cta p { font-family: var(--serif); font-size: 1.4rem; color: var(--wine); }

/* ---------- Galeria ---------- */
.gallery { background: var(--cream); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery__item { overflow: hidden; border-radius: var(--radius); height: 300px; display: block; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.4s; filter: saturate(0.92); }
.gallery__item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.gallery__item:nth-child(2), .gallery__item:nth-child(5) { height: 300px; }
.gallery__more { text-align: center; margin-top: 2.6rem; }

/* ---------- Depoimentos ---------- */
.testimonials { background: linear-gradient(110deg, var(--wine), var(--wine-2)); color: var(--white); }
.testimonials__slider { position: relative; min-height: 210px; max-width: 760px; margin: 0 auto; text-align: center; }
.testimonial {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}
.testimonial.is-active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.testimonial__stars { color: var(--gold-light); letter-spacing: 0.4em; margin-bottom: 1.4rem; }
.testimonial blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
}
.testimonial cite {
  display: block;
  margin-top: 1.4rem;
  font-style: normal;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.testimonials__dots { display: flex; justify-content: center; gap: 10px; margin-top: 2.4rem; }
.testimonials__dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  transition: 0.3s;
}
.testimonials__dots button.is-active { background: var(--gold); border-color: var(--gold); }

/* ---------- Contato ---------- */
.contact { background: var(--white); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: start;
}
.contact__info > p { color: var(--gray); margin: 1rem 0 2rem; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; margin-bottom: 2.2rem; }
.contact__list li { padding-left: 1.4rem; border-left: 2px solid rgba(201,161,90,0.5); }
.contact__list strong { display: block; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine); font-weight: 600; }
.contact__list a, .contact__list span { font-size: 0.95rem; color: var(--gray); }
.contact__list a:hover { color: var(--gold); }

.contact__form-wrap {
  background: var(--cream);
  border: 1px solid rgba(201,161,90,0.35);
  border-radius: var(--radius);
  padding: 2.8rem;
  box-shadow: var(--shadow);
}
.contact__form-wrap h3 { font-size: 1.8rem; color: var(--wine); margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-field label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--wine); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid rgba(74,21,38,0.18);
  background: var(--white);
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 0.3s;
  resize: vertical;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-success { display: none; margin-top: 1rem; color: #1e7d3c; font-size: 0.9rem; text-align: center; }
.form-success.is-visible { display: block; }

/* ---------- Footer ---------- */
.footer { background: #2a0d16; color: rgba(255,255,255,0.75); padding: 5rem 0 0; font-size: 0.92rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}
.footer__brand p { margin: 1.4rem 0; max-width: 320px; }
.footer__social { display: flex; gap: 1.4rem; }
.footer__social a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(201,161,90,0.5);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  transition: 0.3s;
}
.footer__social a:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.footer__col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__col h4 {
  color: var(--gold-light);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.footer__col a:hover { color: var(--gold-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.4rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.6rem; bottom: 1.6rem;
  width: 60px; height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .about__grid, .contact__grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__dots { right: 1.5rem; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--wine);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    transition: right 0.4s ease;
    z-index: 200;
  }
  .nav.is-open { right: 0; }
  .nav__link { color: var(--white); font-size: 0.95rem; }
  .nav__cta { padding: 0.9rem 2rem; }
  .hamburger { display: block; z-index: 300; }
  .hero__dots { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item { height: 220px; }
  .about__img-main img { height: 340px; }
  .contact__form-wrap { padding: 1.8rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
}
