/* =========================================================
   Jaina Bolos — Confeitaria em Varginha-MG
   styles.css
   ========================================================= */

:root {
  --cream: #f6efe6;
  --ivory: #fcf9f4;
  --sand: #ecdfcf;
  --blush: #efdcd5;
  --rose: #b76e6a;
  --caramel: #a8733f;
  --caramel-light: #d9b48a;
  --choc: #3b2419;
  --choc-2: #4d3226;
  --cocoa: #6f5244;
  --text: #3b2a22;
  --muted: #76625a;
  --line: rgba(59, 36, 25, .12);
  --white: #fff;
  --wa: #1f9d55;

  --ff-title: "Cormorant Garamond", "Times New Roman", serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(59, 36, 25, .06);
  --shadow: 0 14px 40px -12px rgba(59, 36, 25, .22);
  --shadow-lg: 0 30px 70px -20px rgba(59, 36, 25, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 130px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: clamp(15.5px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; color: var(--choc); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--caramel); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--choc); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }
.icon--lg { width: 26px; height: 26px; }
.icon--xl { width: 34px; height: 34px; }

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--caramel); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--caramel-light); }

.section-title {
  font-family: var(--ff-title); font-weight: 500;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 22px; text-wrap: balance;
}
.section-title em, .hero__title em { font-style: italic; color: var(--caramel); }
.section-title--light { color: var(--ivory); }
.section-title--light em { color: var(--caramel-light); }
.section-sub { color: var(--muted); max-width: 560px; }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head--center .section-sub { margin-inline: auto; }
.section-head--split { display: flex; align-items: end; justify-content: space-between; gap: 24px 60px; flex-wrap: wrap; }
.section-head--split .section-title { margin-bottom: 0; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--choc); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn--primary:hover { --bg: var(--choc-2); }
.btn--ghost { --bg: transparent; --fg: var(--choc); border-color: rgba(59, 36, 25, .28); }
.btn--ghost:hover { --bg: var(--choc); --fg: var(--ivory); border-color: var(--choc); }
.btn--light { --bg: var(--ivory); --fg: var(--choc); }
.btn--light:hover { --bg: #fff; }
.btn--lg { min-height: 56px; padding: 14px 30px; font-size: 1rem; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: .88rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--caramel); border-bottom: 1px solid transparent; padding: 6px 0; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 14px; border-color: currentColor; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
}
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(252, 249, 244, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); opacity: 0; transition: opacity .4s; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; z-index: 120; }
.brand__logo { width: 118px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 28px; }
.nav__list a { position: relative; font-size: .92rem; font-weight: 500; color: var(--choc); padding: 8px 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--caramel); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; border-radius: 50%; position: relative; z-index: 120; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--choc); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22.5px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px)); padding-bottom: clamp(64px, 8vw, 110px);
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(239, 220, 213, .8), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(236, 223, 207, .9), transparent 70%),
    var(--cream);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(40px, 6vw, 90px); }
.hero__title { font-family: var(--ff-title); font-weight: 500; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.015em; margin-bottom: 24px; text-wrap: balance; }
.hero__lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.hero__facts { display: flex; gap: clamp(20px, 3.5vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); max-width: 540px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--ff-title); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 600; color: var(--choc); line-height: 1.1; }
.hero__facts span { font-size: .8rem; color: var(--muted); line-height: 1.4; }

.hero__media { position: relative; padding: 0 0 44px 44px; }
.hero__arch { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; background: var(--sand); max-width: 500px; margin-left: auto; }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero__float { position: absolute; left: 0; bottom: 0; width: 42%; max-width: 220px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--ivory); box-shadow: var(--shadow); }
.hero__float img { width: 100%; height: 100%; object-fit: cover; }
.hero__seal {
  position: absolute; right: -8px; top: 12%; width: 116px; height: 116px; border-radius: 50%;
  background: var(--choc); color: var(--ivory); display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow); outline: 1px solid rgba(217, 180, 138, .5); outline-offset: -8px;
  animation: floaty 6s ease-in-out infinite;
}
.hero__seal-top, .hero__seal-bottom { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel-light); }
.hero__seal-year { font-family: var(--ff-title); font-size: 2rem; font-weight: 600; line-height: 1; margin: 2px 0; }

@keyframes heroZoom { to { transform: scale(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Sobre ---------- */
.about { background: var(--ivory); }
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; padding-right: 18%; padding-bottom: 12%; }
.about__img-main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.about__img-main img, .about__img-small img { width: 100%; height: 100%; object-fit: cover; }
.about__img-small { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid var(--ivory); box-shadow: var(--shadow); }
.about__text > p:not(.eyebrow) { color: var(--muted); max-width: 540px; }
.checklist { display: grid; gap: 12px; margin: 30px 0; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 500; color: var(--choc); }
.checklist .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blush); color: var(--rose); }

/* ---------- Qualidade ---------- */
.quality { background: var(--choc); color: rgba(252, 249, 244, .78); overflow: hidden; }
.quality::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 90% 0%, rgba(168, 115, 63, .25), transparent 70%), radial-gradient(600px 500px at 0% 100%, rgba(183, 110, 106, .12), transparent 70%); pointer-events: none; }
.quality .container { position: relative; }
.quality__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 70px; align-items: end; margin-bottom: clamp(44px, 6vw, 70px); }
.quality__head .section-title { margin-bottom: 0; }
.quality__intro { font-size: 1.02rem; }
.quality__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.quality__feature { margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 100%; }
.quality__feature img { width: 100%; height: 100%; object-fit: cover; }
.quality__cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 24px); }
.qcard {
  background: rgba(252, 249, 244, .05); border: 1px solid rgba(252, 249, 244, .1); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), background-color .4s, border-color .4s;
}
.qcard:hover { transform: translateY(-6px); background: rgba(252, 249, 244, .09); border-color: rgba(217, 180, 138, .35); }
.qcard__img { aspect-ratio: 16 / 9; overflow: hidden; }
.qcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.qcard:hover .qcard__img img { transform: scale(1.06); }
.qcard__body { padding: 22px 22px 26px; }
.qcard__body .icon { color: var(--caramel-light); margin-bottom: 12px; }
.qcard h3 { color: var(--ivory); font-family: var(--ff-title); font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin-bottom: 8px; }
.qcard p { font-size: .92rem; line-height: 1.6; }

/* ---------- Produtos ---------- */
.products { background: var(--cream); }
.products__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.2vw, 28px); }
.pcard { background: var(--ivory); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard__img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-family: var(--ff-title); font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin-bottom: 6px; }
.pcard p { font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 18px; }
.pcard__btn {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(59, 36, 25, .2); font-size: .84rem; font-weight: 600; color: var(--choc);
  transition: background-color .3s, color .3s, border-color .3s;
}
.pcard__btn .icon { color: var(--wa); transition: color .3s; }
.pcard__btn:hover { background: var(--choc); color: var(--ivory); border-color: var(--choc); }
.pcard__btn:hover .icon { color: var(--ivory); }

/* ---------- Galeria ---------- */
.gallery { background: var(--ivory); }
.masonry { columns: 4 240px; column-gap: clamp(12px, 1.6vw, 20px); }
.masonry__item {
  display: block; width: 100%; padding: 0; border: 0; background: var(--sand); margin: 0 0 clamp(12px, 1.6vw, 20px);
  border-radius: var(--radius); overflow: hidden; break-inside: avoid; position: relative; cursor: zoom-in;
}
.masonry__item img { width: 100%; height: auto; transition: transform .9s var(--ease), filter .5s; }
.masonry__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(59, 36, 25, .35), transparent 50%); opacity: 0; transition: opacity .4s; }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__item:hover::after { opacity: 1; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100dvh; margin: 0; overflow: hidden; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(28, 17, 12, .9); backdrop-filter: blur(6px); }
.lightbox__figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(92vw, 900px); }
.lightbox__img { max-height: 82dvh; width: auto; max-width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: lbIn .4s var(--ease); }
.lightbox__caption { color: rgba(252, 249, 244, .85); font-size: .92rem; text-align: center; padding-inline: 16px; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background-color .3s; z-index: 2; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }
.lightbox__next .icon { transform: rotate(180deg); }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } }

/* ---------- Momentos ---------- */
.moments { background: var(--cream); }
.moments__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.moments__media { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; max-width: 460px; }
.moments__media img { width: 100%; height: 100%; object-fit: cover; }
.moments__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.moments__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--ivory); border-radius: var(--radius-sm); border: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.moments__list li:hover { border-color: var(--caramel-light); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.moments__list .icon { width: 26px; height: 26px; color: var(--caramel); margin-top: 2px; }
.moments__list span { display: flex; flex-direction: column; font-size: .84rem; color: var(--muted); line-height: 1.45; }
.moments__list strong { font-size: .96rem; color: var(--choc); font-weight: 600; margin-bottom: 2px; }

/* ---------- Encomendas ---------- */
.custom { background: linear-gradient(180deg, var(--ivory), var(--blush) 140%); }
.custom__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.custom__intro > p:not(.eyebrow) { color: var(--muted); max-width: 520px; }
.custom__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 32px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.custom__facts li { background: var(--ivory); padding: 20px; display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); line-height: 1.45; }
.custom__num { font-family: var(--ff-title); font-size: 2rem; font-weight: 600; color: var(--choc); line-height: 1.1; margin-bottom: 4px; }
.custom__quote { margin: 0 0 26px; padding-left: 20px; border-left: 2px solid var(--caramel); font-family: var(--ff-title); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.3; color: var(--choc); }
.custom__note { margin-top: 18px; font-size: .88rem; color: var(--muted); }

.flavors { background: var(--ivory); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 36px); position: sticky; top: calc(var(--header-h) + 20px); }
.flavors__tabs { display: flex; gap: 6px; padding: 5px; background: var(--cream); border-radius: 999px; overflow-x: auto; scrollbar-width: none; margin-bottom: 26px; }
.flavors__tabs::-webkit-scrollbar { display: none; }
.flavors__tabs button { flex: 1 0 auto; border: 0; background: transparent; padding: 10px 16px; min-height: 42px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--muted); transition: background-color .3s, color .3s, box-shadow .3s; }
.flavors__tabs button[aria-selected="true"] { background: var(--choc); color: var(--ivory); box-shadow: var(--shadow-sm); }
.flavors__tabs button:not([aria-selected="true"]):hover { color: var(--choc); }
.flavors__panel { animation: fadeUp .45s var(--ease); }
.flavors__panel h3 { font-family: var(--ff-title); font-size: 1.8rem; font-weight: 600; margin-bottom: 16px; }
.flavors__label { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--caramel); margin: 22px 0 10px; }
.flavors__desc, .flavors__hint { font-size: .92rem; color: var(--muted); }
.flavors__hint { margin-top: 18px; font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .86rem; color: var(--choc); line-height: 1.4; }
.chips--accent li { background: var(--blush); border-color: rgba(183, 110, 106, .22); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Diferenciais ---------- */
.why { background: var(--cream); }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.wcard { background: var(--ivory); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.wcard::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--caramel), var(--rose)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.wcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.wcard:hover::before { transform: scaleX(1); }
.wcard .icon { color: var(--caramel); margin-bottom: 18px; }
.wcard h3 { font-family: var(--ff-title); font-size: 1.55rem; font-weight: 600; line-height: 1.15; margin-bottom: 8px; }
.wcard p { color: var(--muted); font-size: .94rem; }

/* ---------- Instagram ---------- */
.insta { background: var(--ivory); }
.insta__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.insta__text > p:not(.eyebrow) { color: var(--muted); margin-bottom: 30px; max-width: 440px; }
.insta__feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 1.4vw, 16px); }
.insta__feed a { display: block; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; position: relative; background: var(--sand); }
.insta__feed img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.insta__feed a::after { content: ""; position: absolute; inset: 0; background: rgba(59, 36, 25, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/svg%3E") center / 30px no-repeat; opacity: 0; transition: opacity .35s; }
.insta__feed a:hover img { transform: scale(1.07); }
.insta__feed a:hover::after { opacity: 1; }

/* ---------- Localização ---------- */
.location { background: var(--cream); }
.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.info { background: var(--ivory); border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 42px); box-shadow: var(--shadow-sm); }
.info__status { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--cream); margin-bottom: 24px; }
.info__status:empty { display: none; }
.info__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.info__status.is-open { color: #1d6b3f; background: #e3f1e7; }
.info__status.is-open::before { background: #2e9b5a; box-shadow: 0 0 0 4px rgba(46, 155, 90, .18); }
.info__status.is-closed { color: var(--rose); background: var(--blush); }
.info__status.is-closed::before { background: var(--rose); }
.info__row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info__row:first-of-type { padding-top: 0; }
.info__row > .icon { color: var(--caramel); margin-top: 4px; }
.info__row h3 { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--caramel); margin-bottom: 6px; }
.info__row address, .info__row p { color: var(--text); font-size: .96rem; margin-bottom: 4px; }
.info__row p + p { color: var(--muted); font-size: .88rem; }
.info__row a[href^="tel"] { font-weight: 600; font-size: 1.05rem; }
.hours { max-width: 360px; margin: 0; display: grid; gap: 4px; font-size: .95rem; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 4px 10px; margin-inline: -10px; border-radius: 8px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; color: var(--choc); text-align: right; }
.hours div.is-today { background: var(--cream); }
.info__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.info__actions .btn { flex: 1 1 150px; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--sand); box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: sepia(.15) saturate(.9); }

/* ---------- Chamada final ---------- */
.final { background: var(--choc); color: rgba(252, 249, 244, .8); padding-block: clamp(64px, 9vw, 110px); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 115, 63, .3), transparent 65%); pointer-events: none; }
.final__inner { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(36px, 6vw, 90px); align-items: center; position: relative; }
.final__img { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; max-width: 360px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.final__img img { width: 100%; height: 100%; object-fit: cover; }
.final__text > p:not(.eyebrow) { font-size: 1.1rem; margin-bottom: 30px; }

/* ---------- Rodapé ---------- */
.footer { background: #2c1a12; color: rgba(252, 249, 244, .68); padding-top: clamp(56px, 7vw, 84px); font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__logo { width: 150px; margin-bottom: 18px; }
.footer__brand p { max-width: 300px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(252, 249, 244, .2); color: var(--ivory); transition: background-color .3s, border-color .3s; }
.footer__social a:hover { background: var(--caramel); border-color: var(--caramel); }
.footer__col h3 { color: var(--ivory); font-family: var(--ff-title); font-size: 1.3rem; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { transition: color .3s; }
.footer__col a:hover { color: var(--caramel-light); }
.footer__bottom { border-top: 1px solid rgba(252, 249, 244, .1); padding-block: 22px calc(22px + env(safe-area-inset-bottom)); font-size: .8rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px 0 18px; border-radius: 999px;
  background: var(--wa); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 12px 30px -8px rgba(31, 157, 85, .55); transition: transform .35s var(--ease), box-shadow .35s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: pulse 2.6s ease-out infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
@keyframes pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }

/* ---------- Animações de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1100px) {
  .nav__list { gap: 20px; }
  .products__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: block; }
  .brand__logo { width: 104px; }
  .nav {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: 36px;
    background: var(--ivory); padding: 80px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 6px; }
  .nav__list a { font-family: var(--ff-title); font-size: 2rem; font-weight: 500; padding: 6px 0; display: block; }
  .nav__cta { min-height: 54px; padding-inline: 30px; font-size: 1rem; }
  body.menu-open { overflow: hidden; }

  .hero__grid, .about__grid, .quality__head, .quality__grid, .moments__grid, .custom__grid, .insta__grid, .location__grid { grid-template-columns: 1fr; }
  .hero__text { text-align: left; }
  .hero__media { max-width: 520px; width: 100%; margin-inline: auto; }
  .about__media { max-width: 520px; margin-inline: auto; width: 100%; }
  .quality__feature { aspect-ratio: 4 / 3; }
  .moments__media { max-width: 520px; width: 100%; margin-inline: auto; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
  .flavors { position: static; }
  .map, .map iframe { min-height: 340px; }
  .final__inner { grid-template-columns: 1fr; text-align: center; }
  .final__img { margin-inline: auto; max-width: 260px; }
  .final .eyebrow { justify-content: center; }
}

@media (max-width: 760px) {
  .why__grid { grid-template-columns: 1fr 1fr; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .moments__list { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
}

@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero__title { font-size: clamp(2.35rem, 10.5vw, 2.9rem); }
  .hero__actions { flex-direction: column; margin-bottom: 36px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 14px; justify-content: space-between; }
  .hero__facts strong { font-size: 1.4rem; }
  .hero__facts span { font-size: .72rem; }
  .hero__media { padding: 0 0 30px 26px; }
  .hero__seal { width: 92px; height: 92px; right: -4px; }
  .hero__seal-year { font-size: 1.55rem; }
  .hero__float { border-width: 4px; }

  .quality__cards { grid-template-columns: 1fr; }
  .qcard { flex-direction: row; }
  .qcard__img { aspect-ratio: auto; width: 34%; flex: none; }
  .qcard__body { padding: 18px; }
  .qcard__body .icon { display: none; }
  .qcard h3 { font-size: 1.25rem; }
  .qcard p { font-size: .86rem; }

  .products__grid { gap: 12px; }
  .pcard__body { padding: 14px 12px 14px; }
  .pcard h3 { font-size: 1.18rem; }
  .pcard p { font-size: .8rem; margin-bottom: 12px; }
  .pcard__btn { font-size: .8rem; gap: 6px; padding: 8px; }
  .pcard__btn .icon { width: 18px; height: 18px; }

  .why__grid { grid-template-columns: 1fr; }
  .wcard { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; padding: 22px; }
  .wcard .icon { grid-row: span 2; margin: 2px 0 0; width: 30px; height: 30px; }
  .wcard h3 { font-size: 1.3rem; margin-bottom: 4px; }

  .custom__facts li { padding: 16px 14px; }
  .custom__num { font-size: 1.6rem; }
  .custom__intro .btn { width: 100%; }
  .flavors { margin-inline: calc(var(--gutter) * -.5); }

  .insta__text .btn { width: 100%; }
  .final__text .btn { width: 100%; }
  .info__row { gap: 14px; }
  .hours div { flex-direction: column; gap: 0; }
  .hours dd { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 60px); }
  .lightbox__next { right: calc(50% - 60px); }
  .lightbox__img { max-height: 70dvh; }

  .wa-float { width: 60px; padding: 0; justify-content: center; }
  .wa-float__label { display: none; }
}

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

/* Evita que conteúdos largos estourem as colunas do grid */
.hero__grid > *, .about__grid > *, .quality__head > *, .quality__grid > *, .moments__grid > *,
.custom__grid > *, .insta__grid > *, .location__grid > *, .final__inner > *, .products__grid > *, .why__grid > * { min-width: 0; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }

/* Botão dos cards: encurta o texto quando o card é estreito */
.pcard { container-type: inline-size; }
.pcard__btn { white-space: nowrap; }
@container (max-width: 250px) { .hide-sm { display: none; } }
