/* ============ Queijoca Landing Page ============ */
:root {
  --yellow: #CE8900;
  --yellow-deep: #B87A00;
  --gold: #E8A317;
  --cream: #FFF3D6;
  --cream-soft: #FFE9B8;
  --brown: #45210F;
  --brown-2: #5C2F17;
  --purple: #5B2A7E;
  --purple-2: #6E3796;
  --green: #175239;
  --green-2: #1E6B4A;
  --red: #9C2430;
  --red-2: #B32E3C;
  --white: #FFFFFF;
  --shadow: 0 18px 45px rgba(69, 33, 15, .28);
  --radius: 26px;
  --font-head: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  background: var(--yellow);
  color: var(--brown);
  line-height: 1.65;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; }

.container { width: min(1160px, 92%); margin: 0 auto; position: relative; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.22,.9,.32,1), transform .8s cubic-bezier(.22,.9,.32,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .puff-float, .marquee-track { animation: none !important; }
}

/* ---------- Floating 3D puffs ---------- */
.puff-float {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 22px 26px rgba(40, 18, 5, .38));
  animation: bob 7s ease-in-out infinite;
  will-change: transform;
}
.puff-float img { width: 100%; height: auto; }
@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -16px; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(206, 137, 0, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px rgba(69, 33, 15, .22); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 14px 0;
}
.logo-link img { height: 54px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  font-weight: 800; font-size: .95rem; color: var(--cream);
  position: relative; padding: 4px 0; transition: color .25s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 3px; width: 0;
  border-radius: 3px; background: var(--white); transition: width .3s;
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.lang-switch {
  display: flex; gap: 4px; background: rgba(69, 33, 15, .25);
  border-radius: 999px; padding: 4px;
}
.lang-switch button {
  border: 0; background: transparent; color: var(--cream);
  font-family: var(--font-body); font-weight: 800; font-size: .78rem;
  padding: 5px 11px; border-radius: 999px; cursor: pointer; transition: all .25s;
}
.lang-switch button.active { background: var(--white); color: var(--brown); }
.lang-switch button:not(.active):hover { color: var(--white); }

.burger {
  display: none; border: 0; background: transparent; cursor: pointer; padding: 8px;
}
.burger span {
  display: block; width: 26px; height: 3px; border-radius: 3px;
  background: var(--white); margin: 5px 0; transition: all .3s;
}
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 60px 0 0; overflow: visible; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(69, 33, 15, .22); color: var(--cream);
  font-weight: 800; font-size: .85rem;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem);
  color: var(--white);
  text-shadow: 0 4px 0 rgba(69, 33, 15, .18);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--brown); }
.hero p.lead {
  font-size: 1.13rem; color: #FFF8E8; max-width: 33rem; margin-bottom: 32px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.02rem;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--brown); color: var(--cream); box-shadow: 0 12px 28px rgba(69, 33, 15, .35); }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); background: #351806; }
.btn-ghost { background: rgba(255, 255, 255, .18); color: var(--white); border: 2px solid rgba(255, 255, 255, .65); }
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .3); }

.hero-stats { display: flex; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; }
.hero-stats .stat b { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--white); line-height: 1.1; }
.hero-stats .stat span { font-size: .85rem; color: #FFEFC9; font-weight: 700; }

.hero-visual { position: relative; }
.hero-visual > img.hero-photo {
  width: 100%; height: auto;
  border: 10px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-puff-1 { width: clamp(110px, 13vw, 185px); top: -40px; right: -55px; animation-delay: .8s; }
.hero-puff-2 { width: clamp(80px, 9vw, 130px); bottom: 30px; left: -45px; animation-delay: 1.9s; rotate: -24deg; }

/* edge puff peeking from screen side */
.edge-puff { position: absolute; z-index: 6; pointer-events: none; filter: drop-shadow(0 18px 22px rgba(40,18,5,.4)); }
.edge-puff img { width: 100%; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--brown); color: var(--cream);
  overflow: hidden; padding: 15px 0; position: relative; z-index: 8;
}
.marquee-track {
  display: flex; gap: 48px; width: max-content;
  animation: slide 28s linear infinite;
}
.marquee-track span {
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
}
.marquee-track .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); display: inline-block; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Section base ---------- */
section { position: relative; }
.section-pad { padding: 96px 0; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: .88rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 18px;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; }

/* ---------- Story ---------- */
.story { background: var(--yellow); }
.story-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.story .kicker { background: rgba(69, 33, 15, .22); color: var(--cream); }
.story .section-title { color: var(--white); text-shadow: 0 3px 0 rgba(69, 33, 15, .16); }
.story p { color: #FFF6E2; margin-bottom: 16px; font-size: 1.05rem; }
.story-visual { position: relative; }
.story-visual img.main {
  width: 100%; height: auto;
  border: 10px solid var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.story-puff { width: clamp(90px, 10vw, 150px); bottom: -46px; right: -30px; rotate: 18deg; animation-delay: 1.2s; }

.badge-row {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 44px;
}
@media (max-width: 480px) {
  .badge-row { grid-template-columns: 1fr; }
}
.badge-card {
  background: rgba(255, 255, 255, .13);
  border: 1.5px solid rgba(255, 244, 214, .35);
  border-radius: 20px; padding: 20px 14px; text-align: center;
  transition: transform .3s, background .3s;
}
.badge-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .22); }
.badge-card svg { width: 34px; height: 34px; stroke: var(--cream); margin-bottom: 10px; }
.badge-card b { display: block; font-family: var(--font-head); color: var(--white); font-size: .98rem; line-height: 1.25; }

/* ---------- Flavors ---------- */
.flavors-intro { text-align: center; padding: 90px 0 40px; }
.flavors-intro .kicker { background: rgba(69, 33, 15, .22); color: var(--cream); }
.flavors-intro .section-title { color: var(--white); text-shadow: 0 3px 0 rgba(69, 33, 15, .16); }
.flavors-intro p { color: #FFF6E2; max-width: 40rem; margin: 0 auto; font-size: 1.05rem; }

.flavor { color: var(--white); overflow: visible; }
.flavor-traditional { background: linear-gradient(160deg, #52301C, var(--brown)); }
.flavor-parmesan { background: linear-gradient(160deg, var(--purple-2), var(--purple)); }
.flavor-herbs { background: linear-gradient(160deg, var(--green-2), var(--green)); }
.flavor-bacon { background: linear-gradient(160deg, var(--red-2), var(--red)); }

.flavor-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 84px 0;
}
.flavor-grid.flip .flavor-media { order: 2; }
.flavor-media { position: relative; }
.flavor-media img.pack {
  width: min(300px, 72%); margin: 0 auto;
  transition: transform .5s cubic-bezier(.22,.9,.32,1);
}
.flavor-media:hover img.pack { transform: scale(1.035) rotate(-1.2deg); }
.flavor-num {
  position: absolute; top: -34px; left: 6%;
  font-family: var(--font-head); font-weight: 800; font-size: 5rem;
  opacity: .18; color: var(--white); line-height: 1; z-index: 1;
}
.flavor-copy .kicker { background: rgba(255, 255, 255, .16); color: var(--white); }
.flavor-copy h3 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.flavor-copy p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; margin-bottom: 22px; max-width: 30rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .13); border: 1.5px solid rgba(255, 255, 255, .3);
  color: var(--white); font-weight: 800; font-size: .82rem;
  padding: 7px 15px; border-radius: 999px;
}
.chip svg { width: 15px; height: 15px; }
.flavor-puff { width: clamp(85px, 9vw, 140px); }

/* ---------- Where to find ---------- */
.where { background: var(--cream); }
.where .kicker { background: rgba(69, 33, 15, .12); color: var(--brown); }
.where .section-title { color: var(--brown); }
.where .sub { color: #6B4A33; max-width: 42rem; margin: 0 auto 46px; font-size: 1.05rem; }
.where-head { text-align: center; }
.market-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.market-card {
  background: var(--white); border-radius: 20px; padding: 24px 22px;
  box-shadow: 0 10px 26px rgba(69, 33, 15, .1);
  display: flex; gap: 14px; align-items: flex-start;
  transition: transform .3s, box-shadow .3s;
}
.market-card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(69, 33, 15, .16); }
.market-card .pin {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 14px;
  background: var(--cream-soft); display: grid; place-items: center;
}
.market-card .pin svg { width: 21px; height: 21px; stroke: var(--yellow-deep); }
.market-card b { font-family: var(--font-head); font-size: 1.02rem; display: block; color: var(--brown); }
.market-card span { font-size: .88rem; color: #7A5A42; }
.where-note {
  margin-top: 34px; text-align: center; color: #6B4A33; font-weight: 700;
}
.where-note a { color: var(--yellow-deep); text-decoration: underline; }

/* ---------- Wholesale ---------- */
.wholesale { background: linear-gradient(150deg, var(--brown-2), var(--brown)); color: var(--cream); overflow: visible; }
.wholesale-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; padding: 90px 0; }
.wholesale .kicker { background: rgba(232, 163, 23, .2); color: var(--gold); }
.wholesale h2 { color: var(--white); font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 16px; }
.wholesale p { color: #F3DFB9; font-size: 1.05rem; margin-bottom: 26px; max-width: 32rem; }
.wholesale .btn-primary { background: var(--gold); color: var(--brown); box-shadow: 0 12px 28px rgba(0, 0, 0, .3); }
.wholesale .btn-primary:hover { background: #F5B62E; }
.wholesale-visual { position: relative; }
.wholesale-visual img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.wholesale-puff { width: clamp(90px, 10vw, 150px); top: -48px; right: -34px; rotate: 14deg; }
.check-list { margin-bottom: 30px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #FFEFC9; margin-bottom: 12px; }
.check-list svg { flex: 0 0 auto; width: 22px; height: 22px; stroke: var(--gold); }

/* ---------- Gallery ---------- */
.gallery { background: var(--yellow); }
.gallery .where-head .kicker { background: rgba(69, 33, 15, .22); color: var(--cream); }
.gallery .section-title { color: var(--white); text-shadow: 0 3px 0 rgba(69, 33, 15, .16); }
.gallery .sub { color: #FFF6E2; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.gallery-grid figure {
  border-radius: 22px; overflow: hidden; position: relative;
  box-shadow: 0 14px 34px rgba(69, 33, 15, .22);
  aspect-ratio: 4 / 4.4;
}
.gallery-grid figure img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.9,.32,1);
}
.gallery-grid figure:hover img { transform: scale(1.07); }
.video-grid {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 18px; margin-top: 18px;
}
.video-card { flex: 0 1 300px; }
.video-card video {
  width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 22px; background: var(--brown);
  box-shadow: 0 14px 34px rgba(69, 33, 15, .22);
  display: block;
}
@media (max-width: 760px) {
  .video-card { flex: 0 1 46%; }
}

.gallery-cta { text-align: center; margin-top: 40px; }
.gallery-cta a { font-weight: 800; color: var(--white); font-size: 1.05rem; display: inline-flex; align-items: center; gap: 10px; }
.gallery-cta a:hover { text-decoration: underline; }
.gallery-cta svg { width: 22px; height: 22px; }

/* ---------- Contact ---------- */
.contact { background: var(--cream); overflow: visible; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; padding: 96px 0; }
.contact .kicker { background: rgba(69, 33, 15, .12); color: var(--brown); }
.contact h2 { color: var(--brown); font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 14px; }
.contact .sub { color: #6B4A33; margin-bottom: 30px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 15px; align-items: center;
  background: var(--white); border-radius: 18px; padding: 17px 20px;
  box-shadow: 0 8px 22px rgba(69, 33, 15, .09);
  transition: transform .3s;
}
.contact-card:hover { transform: translateX(6px); }
.contact-card .ic {
  width: 44px; height: 44px; border-radius: 14px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--cream-soft);
}
.contact-card .ic svg { width: 22px; height: 22px; stroke: var(--yellow-deep); }
.contact-card .ic.wa { background: #DCF5E4; }
.contact-card .ic.wa svg { stroke: #1FA855; }
.contact-card .ic.ig { background: #FBE4EF; }
.contact-card .ic.ig svg { stroke: #C13584; }
.contact-card b { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--brown); }
.contact-card span { font-size: .92rem; color: #7A5A42; font-weight: 700; }

.contact-form {
  background: var(--white); border-radius: var(--radius); padding: 38px;
  box-shadow: 0 22px 55px rgba(69, 33, 15, .14);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: .88rem; margin-bottom: 7px; color: var(--brown); }
.field input, .field select, .field textarea {
  width: 100%; border: 2px solid #EADFC8; border-radius: 14px;
  padding: 13px 16px; font-family: var(--font-body); font-size: .98rem;
  color: var(--brown); background: #FFFDF7; outline: none; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(206, 137, 0, .15);
}
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-status { margin-top: 14px; font-weight: 800; display: none; }
.form-status.ok { display: block; color: #1E7A45; }
.form-status.err { display: block; color: #B3261E; }
.contact-puff { width: clamp(90px, 10vw, 150px); top: -52px; right: 4%; rotate: -15deg; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #E9D3AF; padding: 54px 0 30px; }
.footer-grid {
  display: flex; justify-content: space-between; align-items: center;
  gap: 26px; flex-wrap: wrap; margin-bottom: 34px;
}
.site-footer img.footer-logo { height: 44px; width: auto; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1.5px solid rgba(233, 211, 175, .4);
  display: grid; place-items: center; transition: all .3s;
}
.footer-social a:hover { background: rgba(232, 163, 23, .2); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; stroke: #E9D3AF; }
.footer-bottom {
  border-top: 1px solid rgba(233, 211, 175, .2);
  padding-top: 22px; display: flex; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; font-size: .85rem; font-weight: 700;
}

/* WhatsApp floating button */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  transition: transform .3s;
}
.wa-fab:hover { transform: scale(1.1); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .story-grid, .flavor-grid, .wholesale-grid, .contact-grid { grid-template-columns: 1fr; }
  .flavor-grid { gap: 40px; padding: 66px 0; }
  .flavor-grid.flip .flavor-media { order: 0; }
  .hero-visual { order: -1; max-width: 430px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .wholesale-grid { padding: 70px 0; }
  .contact-grid { padding: 76px 0; }
  .section-pad { padding: 72px 0; }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 99;
    flex-direction: column; gap: 0; background: var(--yellow-deep);
    box-shadow: 0 20px 40px rgba(69, 33, 15, .35);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .main-nav.open { max-height: 380px; }
  .main-nav a { padding: 15px 8%; width: 100%; border-bottom: 1px solid rgba(255,255,255,.12); }
  .main-nav a::after { display: none; }
  .burger { display: block; }
  .hero { padding-top: 34px; }
  .hero-puff-1 { right: -30px; top: -22px; }
  .hero-puff-2 { left: -26px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 26px 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { justify-content: center; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .edge-puff { display: none; }
}
