/* ============================================================
   Leyde Bolos — one-page de luxo
   Paleta: creme/champagne · rosé · chocolate · dourado suave
   Acentos da marca: rosa pastel #F8C8DC · tiffany #40C4C4
   ============================================================ */

:root {
  --cream: #FAF5EC;
  --champagne: #F1E5D3;
  --rose: #D9A3B2;
  --rose-soft: #F8C8DC;
  --tiffany: #40C4C4;
  --choc: #3A2318;
  --choc-soft: #5C4030;
  --gold: #B98A3E;
  --gold-light: #D9BC8A;
  --white: #FFFDF9;
  --ink: #33221A;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 12px 40px rgba(58, 35, 24, 0.14);
  --shadow-soft: 0 6px 24px rgba(58, 35, 24, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--choc);
}

p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--choc); }

:focus-visible {
  outline: 3px solid var(--tiffany);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--choc);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-align: center;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #a2762f 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(185, 138, 62, 0.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(185, 138, 62, 0.5);
  color: var(--white);
}

.btn--ghost {
  color: var(--cream);
  border: 1px solid rgba(250, 245, 236, 0.55);
  background: rgba(250, 245, 236, 0.08);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(250, 245, 236, 0.18); color: var(--white); }

.btn--small { padding: 0.65rem 1.4rem; font-size: 0.92rem; }
.btn--big { padding: 1.1rem 2.75rem; font-size: 1.1rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled {
  background: rgba(250, 245, 236, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(58, 35, 24, 0.10);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.35s;
}
.nav__brand span { color: var(--rose-soft); font-style: italic; font-weight: 400; }
.is-scrolled .nav__brand { color: var(--choc); }
.is-scrolled .nav__brand span { color: var(--rose); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: background 0.35s, transform 0.3s, opacity 0.3s;
}
.is-scrolled .nav__toggle span { background: var(--choc); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__menu a:not(.nav__cta) {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  transition: color 0.35s;
}
.is-scrolled .nav__menu a:not(.nav__cta) { color: var(--choc-soft); }
.nav__menu a:not(.nav__cta):hover { color: var(--gold-light); }
.is-scrolled .nav__menu a:not(.nav__cta):hover { color: var(--gold); }

.nav__cta {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold) 0%, #a2762f 100%);
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(185, 138, 62, 0.35);
}
.nav__cta:hover { color: var(--white); transform: translateY(-1px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

/* imagem 640px: blur leve + scale disfarçam a resolução em telas grandes */
.hero__bg {
  position: absolute;
  inset: -24px;
  z-index: -2;
  background: url("../img/ig_02.jpg") center 38% / cover no-repeat;
  filter: blur(6px) saturate(1.08) brightness(0.9);
  transform: scale(1.06);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(58, 35, 24, 0.18) 0%, rgba(38, 21, 13, 0.72) 78%),
    linear-gradient(180deg, rgba(38, 21, 13, 0.62) 0%, rgba(58, 35, 24, 0.35) 45%, rgba(30, 16, 10, 0.85) 100%);
}

.hero__content { padding-block: 7rem 5rem; }

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 600;
  font-style: italic;
  color: var(--cream);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.25rem;
}

.hero__divider {
  color: var(--gold-light);
  letter-spacing: 0.8em;
  font-size: 0.8rem;
  margin: 0.75rem 0 1rem 0.8em; /* compensa o letter-spacing do último ✦ */
}

.hero__slogan {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.4vw, 1.75rem);
  font-style: italic;
  color: var(--rose-soft);
  margin-bottom: 0.35rem;
}

.hero__sub {
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  letter-spacing: 0.06em;
  color: rgba(250, 245, 236, 0.88);
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(250, 245, 236, 0.75);
  font-size: 1.4rem;
  text-decoration: none;
  animation: float-down 2.2s ease-in-out infinite;
}
@keyframes float-down {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section--cream { background: var(--champagne); }

.section__head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.section__title {
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  position: relative;
  padding-bottom: 0.55em;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.sobre .section__title { padding-bottom: 0.4em; }
.sobre .section__title::after { left: 0; transform: none; background: linear-gradient(90deg, var(--gold), transparent); }

.section__lead { font-size: 1.1rem; color: var(--choc-soft); }

/* ---------- Festival ---------- */
.festival__feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.festival__card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.festival__card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(58, 35, 24, 0.2); }
.festival__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.festival__card figcaption {
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--choc-soft);
  text-align: center;
}

.festival__info h3 {
  font-size: 1.6rem;
  color: var(--choc);
}

.festival__details { margin-bottom: 1.25rem; }
.festival__details li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  padding-block: 0.45rem;
  border-bottom: 1px dashed rgba(185, 138, 62, 0.35);
  font-weight: 400;
}
.festival__icon { flex: none; }

.festival__gallery-title {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
}

.festival__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.festival__gallery li {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.festival__gallery li:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow); }
.festival__gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Sabores ---------- */
.sabores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(185, 138, 62, 0.14);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.card__media {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  font-size: 3rem;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }

.card__media--berries { background: linear-gradient(135deg, #7a1f2b 0%, #b03a48 55%, var(--rose-soft) 130%); }
.card__media--choc    { background: linear-gradient(135deg, var(--choc) 0%, #6b4226 70%, var(--gold-light) 140%); }
.card__media--ninho   { background: linear-gradient(135deg, #e9ddc8 0%, var(--white) 60%, var(--rose-soft) 140%); }

.card__body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.card__body h3 { font-size: 1.25rem; }
.card__body p { color: var(--choc-soft); font-size: 0.97rem; flex: 1; }
.card__body .btn { align-self: flex-start; }

.sabores__note {
  text-align: center;
  margin-top: 2.5rem;
  font-style: italic;
  color: var(--choc-soft);
}

/* ---------- Sobre ---------- */
.sobre__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sobre__photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 440px;
  justify-self: center;
}
.sobre__photo::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(250, 245, 236, 0.55);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}
.sobre__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.sobre__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.5rem;
  margin: 1.5rem 0 2rem;
}
.sobre__stats li { display: flex; flex-direction: column; }
.sobre__stats strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--gold);
}
.sobre__stats span {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--choc-soft);
}

/* ---------- Depoimentos ---------- */
.depoimentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--rose-soft);
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 1;
  color: var(--rose);
  opacity: 0.5;
}
.quote blockquote { margin: 0 0 0.75rem; }
.quote blockquote p { font-style: italic; color: var(--choc-soft); }
.quote footer {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- CTA final ---------- */
.cta-final {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(217, 163, 178, 0.22), transparent 60%),
    linear-gradient(170deg, var(--choc) 0%, #241209 100%);
  text-align: center;
}
.cta-final .section__title { color: var(--cream); }
.cta-final p { color: rgba(250, 245, 236, 0.85); margin-bottom: 2rem; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: #1d0f08;
  color: rgba(250, 245, 236, 0.8);
  padding-block: 3rem 2.25rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.footer__brand span { color: var(--rose-soft); font-style: italic; font-weight: 400; }

.footer__tagline { font-style: italic; color: var(--gold-light); }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.5rem;
  margin: 1.5rem 0;
}
.footer__links a { color: var(--cream); }
.footer__links a:hover { color: var(--gold-light); }

.footer__city {
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, 0.55);
  margin: 0;
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2bb64f 0%, #1e9440 100%);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 26px rgba(30, 148, 64, 0.45);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.whats-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 34px rgba(30, 148, 64, 0.55);
  color: #fff;
}
.whats-float__label {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

/* ---------- Reveal on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (min-width: 760px) {
  .festival__feature { grid-template-columns: 1fr 1fr 1.1fr; }
  .sobre__wrap { grid-template-columns: minmax(300px, 420px) 1fr; gap: 4rem; }
  .sobre__photo { justify-self: start; }
  .whats-float { right: 1.75rem; bottom: 1.75rem; }
}

@media (max-width: 759px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250, 245, 236, 0.98);
    box-shadow: 0 14px 30px rgba(58, 35, 24, 0.18);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }
  .nav__menu.is-open { max-height: 420px; }

  .nav__menu li { border-bottom: 1px solid rgba(185, 138, 62, 0.15); }
  .nav__menu li:last-child { border-bottom: 0; padding: 1rem 1.25rem; }
  .nav__menu a:not(.nav__cta) {
    display: block;
    padding: 1rem 1.25rem;
    color: var(--choc) !important;
  }
  .nav__cta { display: block; text-align: center; }

  .whats-float__label { display: none; }
  .whats-float { padding: 0.95rem; }
}

/* ---------- Bolos Decorados ---------- */
.decorados__gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 1.75rem;
  padding: 0;
}
.decorados__gallery figure {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(185, 138, 62, 0.14);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.decorados__gallery figure:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.decorados__gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}
.decorados__gallery figcaption {
  padding: 0.95rem 1.15rem 1.15rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--choc-soft);
}
.decorados__cta {
  text-align: center;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
}
.decorados__cta p {
  margin-bottom: 1.25rem;
  color: var(--choc-soft);
}
