/* Maison Lis Confeitaria — modelo conceitual Norte Web */
:root {
  --cream: #FBF5EE; --cream2: #F5EADF; --blush: #F2D4CF; --rose: #C46E72; --cocoa: #3B2420; --cocoa2: #5A3A33; --pist: #A7B58A; --mute: #8A716A; --line: rgba(59,36,32,.12);
  --serif: "Playfair Display", Georgia, serif; --sans: "Outfit", system-ui, sans-serif; --script: "Pinyon Script", cursive; --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--cocoa); font: 400 16.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.8rem); line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--rose); }
.script { font-family: var(--script); font-weight: 400; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); margin-bottom: 18px; }
.eyebrow::before { content: "✿"; font-size: .9rem; letter-spacing: 0; }
.head { margin-bottom: 56px; }
.head--c { text-align: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 30px; border-radius: 999px; background: var(--cocoa); color: var(--cream); font-weight: 500; font-size: .95rem; border: 1px solid var(--cocoa); cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.btn:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--cocoa); border-color: rgba(59,36,32,.25); }
.btn--line:hover { color: var(--cream); }

/* Abertura */
.intro { position: fixed; inset: 0; z-index: 100; background: var(--blush); display: grid; place-content: center; justify-items: center; animation: introOut .9s var(--ease) 1.7s forwards; }
.intro .script { font-size: 5rem; line-height: 1.2; clip-path: inset(0 100% 0 0); animation: write 1.3s var(--ease) .2s forwards; }
.intro small { font-size: .76rem; letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: fadeIn .6s 1s forwards; }
@keyframes write { to { clip-path: inset(0 0 0 0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* Header */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s; }
.header.is-solid { box-shadow: 0 1px 0 var(--line); }
/* Fundo e desfoque numa camada própria: backdrop-filter no .header prenderia o menu mobile (fixed) na altura do cabeçalho */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251,245,238,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transition: opacity .4s; pointer-events: none; }
.header.is-solid::before { opacity: 1; }
.burger, .mnav { display: none; }
.burger { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); cursor: pointer; padding: 0; }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--cocoa); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 92px; }
.logo { text-align: center; line-height: 1; }
.logo .script { display: block; font-size: 2.4rem; }
.logo small { font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.nav { display: flex; align-items: center; gap: 30px; font-size: .92rem; }
.nav--r { justify-content: flex-end; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--rose); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.bag { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--cream); cursor: pointer; display: grid; place-items: center; }
.bag svg { width: 20px; fill: none; stroke: var(--cocoa); stroke-width: 1.5; }
.bag b { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--rose); color: #fff; font-size: .7rem; display: grid; place-items: center; }
.bag.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.2) rotate(-8deg); } }

/* Hero */
.hero { padding: 130px 0 90px; overflow: hidden; background: radial-gradient(ellipse 50% 60% at 85% 40%, var(--blush), transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; min-height: min(calc(100vh - 220px), 720px); }
.hero__title { font-size: clamp(3.2rem, 6.4vw, 6.2rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 26px; }
.ln { display: block; overflow: hidden; padding-bottom: .08em; }
.ln > span { display: block; transform: translateY(110%); animation: lnUp 1.2s var(--ease) 1.9s forwards; }
.ln:nth-child(2) > span { animation-delay: 2.05s; }
@keyframes lnUp { to { transform: none; } }
.hero__text p { max-width: 470px; color: var(--mute); margin: 0 0 34px; font-size: 1.06rem; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__mini { display: flex; align-items: center; gap: 16px; margin-top: 46px; font-size: .9rem; color: var(--mute); line-height: 1.4; }
.hero__mini b { color: var(--cocoa); }
.avs { display: flex; }
.avs img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--cream); margin-left: -12px; }
.avs img:first-child { margin-left: 0; }
.up { opacity: 0; transform: translateY(20px); animation: upIn 1s var(--ease) 2.4s forwards; }
@keyframes upIn { to { opacity: 1; transform: none; } }
.hero__art { position: relative; justify-self: center; width: min(470px, 100%); }
.arch { aspect-ratio: 4 / 5.2; border-radius: 999px 999px 30px 30px; overflow: hidden; box-shadow: 0 50px 90px -50px rgba(59,36,32,.6); }
.arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); animation: settle 2.2s var(--ease) 1.8s forwards; }
@keyframes settle { to { transform: scale(1); } }
.ring { position: absolute; top: 30px; right: -50px; width: 130px; height: 130px; border-radius: 50%; background: var(--cocoa); display: grid; place-items: center; color: var(--blush); }
.ring svg { position: absolute; inset: 0; animation: rot 18s linear infinite; }
.ring text { fill: var(--cream); font: 500 13px var(--sans); letter-spacing: .2em; }
.ring span { font-size: 1.8rem; }
@keyframes rot { to { transform: rotate(360deg); } }
.float { position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid var(--cream); box-shadow: 0 20px 40px -20px rgba(59,36,32,.5); animation: bob 5s ease-in-out infinite; }
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--a { width: 150px; height: 150px; left: -80px; bottom: 120px; }
.float--b { width: 110px; height: 110px; right: -40px; bottom: -20px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.sticker { position: absolute; left: -40px; top: 90px; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--cream); box-shadow: 0 20px 40px -20px rgba(59,36,32,.45); font-size: .88rem; }
.sticker i { width: 9px; height: 9px; border-radius: 50%; background: var(--pist); box-shadow: 0 0 0 4px rgba(167,181,138,.3); }

/* Marquee */
.marquee { background: var(--cocoa); color: var(--cream); padding: 20px 0; overflow: hidden; }
.marquee__in { display: flex; align-items: center; gap: 36px; width: max-content; animation: mq 34s linear infinite; font: italic 400 1.8rem var(--serif); }
.marquee__in i { font-style: normal; color: var(--blush); font-size: 1.2rem; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Vitrine */
.shop { padding: 140px 0; }
.shop .head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.shop .head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: none; cursor: pointer; transition: all .3s; }
.chips button.is-on { background: var(--blush); border-color: var(--blush); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prod { position: relative; background: #fff; border-radius: 26px; padding: 12px; transition: transform .5s var(--ease), box-shadow .5s, opacity .4s; }
.prod:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(59,36,32,.45); }
.prod.is-hidden { display: none; }
.prod__img { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.prod:hover .prod__img img { transform: scale(1.07); }
.prod__tag { position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--cream); font-size: .74rem; font-weight: 500; }
.prod__tag--g { background: var(--pist); color: #fff; }
.prod__b { display: flex; justify-content: space-between; gap: 14px; padding: 18px 10px 10px; }
.prod h3 { font-size: 1.35rem; line-height: 1.2; }
.prod p { margin: 4px 0 0; font-size: .86rem; color: var(--mute); }
.prod__b > b { font: 500 1.2rem var(--serif); white-space: nowrap; color: var(--rose); }
.add { position: absolute; top: 24px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--cocoa); color: var(--cream); font-size: 1.4rem; cursor: pointer; transform: scale(.7); opacity: 0; transition: transform .4s var(--ease), opacity .3s, background .3s; }
.prod:hover .add { transform: none; opacity: 1; }
.add:hover { background: var(--rose); }
.add.is-ok { background: var(--pist); }

/* Monte seu bolo */
.builder { padding: 140px 0; background: var(--cream2); }
.builder__in { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cake-stage { position: relative; display: grid; justify-items: center; align-content: center; min-height: 560px; padding: 40px 0 80px; border-radius: 40px; background: radial-gradient(circle at 50% 60%, #fff 0, var(--blush) 75%); overflow: hidden; }
.cake { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.tier { position: relative; height: 112px; border-radius: 16px 16px 8px 8px; background: var(--sponge); overflow: hidden; box-shadow: inset -18px 0 26px rgba(0,0,0,.08), 0 14px 22px -14px rgba(59,36,32,.45); transition: width .6s var(--ease), background .5s; animation: drop .7s var(--ease) backwards; }
@keyframes drop { from { transform: translateY(-60px); opacity: 0; } }
.tier::before, .tier::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--fill); transition: background .5s, left .5s; }
.tier::before { top: 34px; } .tier::after { top: 70px; }
.cob-chantilly { --top: #FFF8EE; } .cob-ganache { --top: #3B2420; } .cob-buttercream { --top: #F2C6C2; }
.cob-chantilly .tier, .cob-ganache .tier, .cob-buttercream .tier { background: linear-gradient(90deg, var(--top) 0 60%, rgba(0,0,0,.12) 60% 61%, var(--sponge) 61%); }
.cob-chantilly .tier::before, .cob-chantilly .tier::after, .cob-ganache .tier::before, .cob-ganache .tier::after, .cob-buttercream .tier::before, .cob-buttercream .tier::after { left: 61%; }
.tier .drip { position: absolute; left: 0; right: 0; top: 0; height: 30px; opacity: 0; }
.cob-ganache .drip { opacity: 1; background: radial-gradient(ellipse 9px 24px at 13px 0, #2A1916 9px, transparent 10px) 0 0 / 26px 30px repeat-x, linear-gradient(#2A1916, #2A1916) 0 0 / 100% 8px no-repeat; }
.cob-buttercream .drip, .cob-chantilly .drip { opacity: 1; height: 16px; background: radial-gradient(circle at 12px 0, var(--top) 11px, transparent 12px) 0 0 / 24px 16px repeat-x; filter: brightness(.96); }
.cob-naked .tier { box-shadow: inset 0 0 0 5px rgba(255,248,238,.6), inset -18px 0 26px rgba(0,0,0,.08), 0 14px 22px -14px rgba(59,36,32,.45); }
.tier + .tier { margin-top: -2px; }
.cake__top { display: flex; gap: 6px; margin-bottom: -4px; z-index: 2; }
.cake__top i { width: 24px; height: 24px; border-radius: 50%; background: var(--berry, #C2374B); box-shadow: inset -3px -3px 0 rgba(0,0,0,.15); animation: drop .7s var(--ease) .2s backwards; }
.plate { width: 400px; max-width: 92%; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 16px 30px -10px rgba(59,36,32,.35); margin-top: -6px; position: relative; z-index: 0; }
.cake-cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; margin: 0; font: italic 1rem var(--serif); color: var(--cocoa2); }
.builder__ctrl h2 { margin-bottom: 34px; }
.grp { margin-bottom: 22px; }
.grp p { margin: 0 0 10px; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--cream); cursor: pointer; font-size: .92rem; transition: all .3s; }
.opts button small { color: var(--mute); font-size: .78rem; }
.opts button i { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(59,36,32,.15); }
.opts button.is-on { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.opts button.is-on small { color: var(--blush); }
.total { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.total span { display: block; font-size: .8rem; color: var(--mute); }
.total b { font: 500 2.6rem/1 var(--serif); }
.note { font-size: .86rem; color: var(--mute); margin: 16px 0 0; }

/* Chef */
.chef { padding: 150px 0; }
.chef__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.chef__img { position: relative; margin: 0; }
.chef__img img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 30px; width: 100%; }
.chef__img .script { position: absolute; right: -30px; bottom: -40px; font-size: 8rem; line-height: 1; color: var(--rose); }
.chef p { color: var(--mute); margin: 26px 0 30px; }
.sign .script { display: block; font-size: 2.8rem; line-height: 1; }
.sign small { color: var(--mute); }

/* Eventos */
.events { padding: 130px 0; background: var(--cocoa); color: var(--cream); }
.events .eyebrow { color: var(--blush); }
.events h2 em { color: var(--blush); }
.events__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.ev-steps { list-style: none; padding: 0; margin: 40px 0; }
.ev-steps li { display: flex; gap: 24px; padding: 20px 0; border-top: 1px solid rgba(251,245,238,.14); }
.ev-steps b { font: italic 400 2rem/1 var(--serif); color: var(--blush); }
.ev-steps h3 { font-size: 1.4rem; }
.ev-steps p { margin: 2px 0 0; color: rgba(251,245,238,.65); }
.events .btn { background: var(--blush); color: var(--cocoa); border-color: var(--blush); }
.events .btn:hover { background: var(--cream); }
.events__img { position: relative; }
.events__img img:first-child { border-radius: 200px 200px 24px 24px; aspect-ratio: 4 / 5; object-fit: cover; width: 85%; }
.events__img img:last-child { position: absolute; right: 0; bottom: -40px; width: 46%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--cocoa); }

/* Instagram */
.ig { padding: 140px 0 0; }
.ig__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.ig__grid img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: filter .5s, opacity 1s var(--ease), transform 1s var(--ease) !important; }
.ig__grid img:hover { filter: brightness(1.08) saturate(1.1); }

/* Rodapé */
.footer { background: var(--blush); padding: 80px 0 30px; }
.footer__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer__logo { font-size: 3.6rem; line-height: 1; }
.footer p { color: var(--cocoa2); }
.footer ul { list-style: none; padding: 0; margin: 0; min-width: 300px; }
.footer li { display: flex; justify-content: space-between; gap: 30px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.footer li b { font-weight: 500; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; font-size: .84rem; color: var(--cocoa2); flex-wrap: wrap; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 30px; transform: translate(-50%, 120px); padding: 14px 24px; border-radius: 999px; background: var(--cocoa); color: var(--cream); font-size: .92rem; transition: transform .5s var(--ease); box-shadow: 0 20px 40px -16px rgba(59,36,32,.6); }
.toast.is-on { transform: translate(-50%, 0); }

/* Selo Norte Web */
.nw-badge { position: fixed; z-index: 60; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: rgba(7,27,51,.92); color: #F5F0DF; font: 600 .74rem/1 var(--sans); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); transition: transform .3s var(--ease); }
.nw-badge:hover { transform: translateY(-2px); }
.nw-badge svg { width: 20px; height: 20px; }
.nw-badge b { color: #D8AA53; }

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

@media (max-width: 1050px) {
  .hero__in, .builder__in, .chef__in, .events__in { grid-template-columns: 1fr; gap: 70px; }
  .hero__in { min-height: 0; }
  .products { grid-template-columns: 1fr 1fr; }
  .chef__img { max-width: 460px; }
}
@media (max-width: 800px) {
  .wrap { padding: 0 20px; }
  .nav--l, .nav--r a { display: none; }
  .header__in { grid-template-columns: auto 1fr auto; }
  .burger { display: block; }
  .mnav { display: flex; position: fixed; inset: 0; z-index: -1; flex-direction: column; align-items: center; justify-content: center; gap: 26px; background: var(--cream); font: 400 2.1rem var(--serif); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .mnav.is-open { opacity: 1; visibility: visible; }
  .mnav a:nth-child(even) { font-style: italic; color: var(--rose); }
  .logo .script { font-size: 2rem; }
  .hero { padding: 120px 0 80px; }
  .hero__art { width: 78%; }
  .float--a { width: 100px; height: 100px; left: -40px; }
  .float--b { width: 80px; height: 80px; right: -20px; }
  .ring { width: 96px; height: 96px; right: -30px; }
  .ring text { font-size: 15px; }
  .sticker { left: -30px; top: 40px; font-size: .78rem; }
  .shop, .builder, .chef, .events { padding: 90px 0; }
  .ig { padding-top: 90px; }
  .shop .head { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .add { transform: none; opacity: 1; }
  .cake-stage { min-height: 440px; }
  .ig__grid { grid-template-columns: repeat(3, 1fr); }
  .chef__img .script { font-size: 5.5rem; right: 0; }
  .nw-badge { left: 12px; bottom: 12px; font-size: .68rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
