/* =========================================================
   Hortifruti JF — estilos
   ========================================================= */
:root {
  --blue: #2b5197;
  --blue-dark: #1b3670;
  --blue-deep: #142a57;
  --orange: #f7972f;
  --orange-dark: #e07f14;
  --green: #4fb54c;
  --green-dark: #3a9636;
  --lime: #c0d640;
  --cream: #fbf7ee;
  --ink: #18223d;
  --muted: #5b6478;
  --line: #e7e2d6;
  --white: #fff;
  --radius: 20px;
  --shadow: 0 10px 30px -12px rgba(20, 42, 87, .25);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; color: var(--blue); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section__title { max-width: 18ch; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: lowercase;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.kicker--light { color: var(--lime); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  padding: 13px 22px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .chip:focus-visible, .mini:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.btn--lg { padding: 17px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(247, 151, 47, .8); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--green { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(79, 181, 76, .8); }
.btn--green:hover { background: var(--green-dark); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.link-arrow { font-weight: 600; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.link-arrow:hover { color: var(--green-dark); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 6px 20px -12px rgba(20,42,87,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.header__logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .93rem; color: var(--ink);
  position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--orange); transition: width .25s;
}
.nav a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: 10px 18px; }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--blue); margin: 5px 0; border-radius: 2px; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Placeholders de foto ---------- */
.ph {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    radial-gradient(circle at 25% 20%, rgba(192,214,64,.55), transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(247,151,47,.45), transparent 55%),
    linear-gradient(135deg, #3d9b4a, #2b5197);
  min-height: 160px;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font: 600 .78rem/1.2 var(--font-body); color: #fff;
  background: rgba(0,0,0,.25); padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background: linear-gradient(180deg, #fff 0%, var(--cream) 100%);
}
.hero__leaf { position: absolute; right: -80px; top: -60px; width: 360px; color: var(--lime); opacity: .18; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .88rem; font-weight: 500; color: var(--muted);
  box-shadow: var(--shadow);
}
.badge b { color: var(--blue); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(79,181,76,.2); }
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 900; color: var(--blue);
  margin: 22px 0 18px; letter-spacing: -.03em; isolation: isolate;
}
.hero h1 em { font-style: normal; color: var(--orange); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .16em;
  background: var(--lime); opacity: .55; z-index: -1; border-radius: 4px;
}
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 52ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 28px; }

.hero__mosaic {
  display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr;
  gap: 14px; height: clamp(360px, 42vw, 520px); position: relative;
}
.hero__mosaic .ph { min-height: 0; box-shadow: var(--shadow); }
.ph--tall { grid-row: span 2; }
.hero__mosaic .ph--tall::after { left: auto; right: 14px; }
.hero__float {
  position: absolute; left: -24px; bottom: 32px;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  border-left: 5px solid var(--orange);
}
.hero__float strong { font-family: var(--font-head); color: var(--green-dark); font-size: 1.1rem; }
.hero__float span { font-size: .85rem; color: var(--muted); }

/* ---------- Números ---------- */
.stats { background: var(--blue); color: #fff; padding: 34px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 3px solid var(--lime); }
.stat:nth-child(2) { border-color: var(--orange); }
.stat:nth-child(3) { border-color: var(--green); }
.stat:nth-child(4) { border-color: #fff; }
.stat strong { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 900; line-height: 1.1; }
.stat strong small { color: var(--orange); font-size: .8em; }
.stat span { font-size: .9rem; opacity: .85; }

/* ---------- Catálogo ---------- */
.catalog { background: #fff; }
.catalog__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.catalog p { color: var(--muted); font-size: 1.08rem; max-width: 50ch; margin-bottom: 28px; }
.receipt {
  background: #fff; border: 2px dashed var(--line); border-radius: 18px;
  padding: 28px; font-family: "Courier New", monospace;
  box-shadow: var(--shadow); transform: rotate(1.5deg);
  position: relative;
}
.receipt::before, .receipt::after {
  content: ""; position: absolute; left: 50%; width: 120px; height: 14px; translate: -50% 0;
  background: var(--lime); opacity: .6; border-radius: 3px;
}
.receipt::before { top: -8px; rotate: -3deg; }
.receipt::after { display: none; }
.receipt__head { text-align: center; padding-bottom: 14px; border-bottom: 2px dashed var(--line); }
.receipt__head span { display: block; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.receipt__head small { color: var(--muted); }
.receipt__list { list-style: none; padding: 0; margin: 10px 0; }
.receipt__list li {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px dotted var(--line);
}
.receipt__list b { color: var(--orange); }
.receipt__list i {
  font-style: normal; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: var(--green); font-size: .85rem;
}
.receipt__foot { display: flex; justify-content: space-between; padding-top: 12px; font-weight: 700; }
.receipt__foot strong { color: var(--green-dark); font-size: 1.2rem; }

/* ---------- Cards ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__big {
  display: block; font-family: var(--font-head); font-weight: 900; font-size: 2.8rem;
  color: var(--orange); line-height: 1; margin-bottom: 18px;
}
.card h3 { color: var(--blue); }
.card p { color: var(--muted); margin: 0; }

/* ---------- História ---------- */
.story { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-top: 36px; }
.story__text p { font-size: 1.08rem; color: var(--muted); }
.video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video iframe { width: 100%; height: 100%; border: 0; }
.video__ph {
  width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; gap: 6px; padding: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(247,151,47,.5), transparent 50%),
    linear-gradient(135deg, var(--blue-deep), var(--blue));
}
.video__play {
  width: 74px; height: 74px; border-radius: 50%; background: var(--orange);
  display: grid; place-items: center; font-size: 1.6rem; padding-left: 5px; margin-bottom: 10px;
  box-shadow: 0 0 0 12px rgba(247,151,47,.25);
}
.video__ph--yt {
  border: 0; cursor: pointer; font: inherit;
  background:
    linear-gradient(180deg, rgba(20,42,87,.15), rgba(20,42,87,.75)),
    var(--thumb) center / cover no-repeat,
    linear-gradient(135deg, var(--blue-deep), var(--blue));
}
.video__ph--yt { position: relative; }
.video__logo {
  position: absolute; top: 16px; left: 16px;
  height: 52px; width: auto; padding: 9px 14px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
@media (max-width: 600px) {
  .video__logo { top: 8px; left: 8px; height: 30px; padding: 5px 8px; border-radius: 8px; }
  .video__ph--yt .video__play { width: 56px; height: 56px; font-size: 1.2rem; margin-bottom: 6px; box-shadow: 0 0 0 8px rgba(247,151,47,.25); }
  .video__ph--yt small { display: none; }
}
.video__ph--yt .video__play { transition: transform .2s ease, box-shadow .2s ease; }
.video__ph--yt:hover .video__play,
.video__ph--yt:focus-visible .video__play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(247,151,47,.3); }
.video__ph--yt:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; }
.video__ph strong { font-family: var(--font-head); font-size: 1.3rem; }
.video__ph small { opacity: .8; }

.timeline {
  list-style: none; padding: 0; margin: 64px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative;
}
.timeline::before {
  content: ""; position: absolute; left: 0; right: 0; top: 150px; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--lime), var(--green), var(--blue));
  border-radius: 3px;
}
.timeline li { position: relative; }
.ph--sm { height: 130px; min-height: 0; margin-bottom: 34px; }
.timeline li::before {
  content: ""; position: absolute; top: 143px; left: 18px; width: 17px; height: 17px;
  border-radius: 50%; background: #fff; border: 4px solid var(--orange); z-index: 1;
}
.timeline__year { font-family: var(--font-head); font-weight: 800; color: var(--blue); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.timeline p { color: var(--muted); font-size: .95rem; }

/* ---------- Família ---------- */
.founders {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: #fff; border-radius: 28px; padding: clamp(20px, 3vw, 36px); margin-top: 36px;
  box-shadow: var(--shadow);
}
.ph--founders { aspect-ratio: 4 / 3; }
.founders h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--blue); font-weight: 800; margin-top: 14px; }
.founders p { color: var(--muted); font-size: 1.05rem; }
.founders blockquote {
  margin: 20px 0 0; padding: 14px 20px; border-left: 4px solid var(--orange);
  background: var(--cream); border-radius: 0 12px 12px 0;
  font-family: var(--font-head); font-weight: 600; color: var(--blue); font-style: italic;
}
.tag {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.tag--orange { background: rgba(247,151,47,.15); color: var(--orange-dark); }
.tag--blue { background: rgba(43,81,151,.12); color: var(--blue); }
.tag--green { background: rgba(79,181,76,.15); color: var(--green-dark); }
.person { background: #fff; border-radius: var(--radius); padding: 28px; text-align: center; border: 1px solid var(--line); }
.ph--avatar { width: 130px; height: 130px; min-height: 0; border-radius: 50%; margin: 0 auto 18px; border: 5px solid var(--cream); box-shadow: var(--shadow); }
.ph--avatar::after { display: none; }
.person h3 { margin-top: 12px; color: var(--blue); }
.person p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Unidades ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font: 600 .9rem var(--font-body); border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.chip span { display: inline-block; min-width: 22px; padding: 1px 6px; margin-left: 4px; border-radius: 999px; background: var(--cream); font-size: .8rem; }
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip.is-active span { background: var(--orange); color: #fff; }
.search {
  display: flex; align-items: center; gap: 10px; margin: 26px 0 30px;
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px;
  color: var(--muted); max-width: 520px;
}
.search:focus-within { border-color: var(--blue); }
.search input { border: 0; background: none; outline: none; font: inherit; padding: 14px 0; width: 100%; color: var(--ink); }
.units { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.units__empty { text-align: center; color: var(--muted); padding: 30px 0; }
.unit {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.unit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.unit__photo { position: relative; aspect-ratio: 16 / 10; }
.unit__photo img, .unit__photo .ph { width: 100%; height: 100%; object-fit: cover; border-radius: 0; min-height: 0; }
.unit__tag {
  position: absolute; top: 12px; left: 12px; background: var(--green); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em;
}
.unit__tag--blue { background: var(--orange); }
.unit__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.unit h3 { color: var(--blue); margin-bottom: 12px; }
.unit__info { display: flex; gap: 8px; align-items: flex-start; color: var(--muted); font-size: .92rem; margin: 0 0 6px; }
.unit__info svg { flex: none; margin-top: 3px; color: var(--orange); }
.unit__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 16px; }
.mini {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .8rem; font-weight: 600; text-decoration: none; padding: 10px 6px; border-radius: 10px;
  background: var(--cream); color: var(--ink); transition: .2s; white-space: nowrap;
}
.mini:hover { background: var(--line); }
.mini--green { background: var(--green); color: #fff; }
.mini--green:hover { background: var(--green-dark); }
.mini--blue { background: var(--blue); color: #fff; }
.mini--blue:hover { background: var(--blue-dark); }

/* ---------- Atacado ---------- */
.wholesale { background: linear-gradient(135deg, var(--blue-deep), var(--blue)); color: #fff; overflow: hidden; }
.wholesale h2 { color: #fff; max-width: 18ch; }
.wholesale p { opacity: .88; font-size: 1.05rem; max-width: 52ch; }
.wholesale__leaf { position: absolute; left: -90px; bottom: -90px; width: 340px; color: var(--green); opacity: .15; }
.wholesale__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.segments { list-style: none; padding: 0; margin: 26px 0 32px; display: flex; flex-wrap: wrap; gap: 10px; }
.segments li {
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; padding: 7px 15px;
  font-size: .9rem; font-weight: 600;
}
.segments li::before { content: "✓ "; color: var(--lime); }
.wholesale__steps { display: grid; gap: 14px; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px; padding: 20px 22px; backdrop-filter: blur(6px);
}
.step b { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--orange); line-height: 1; }
.step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.step p { margin: 0; font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 30px; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); padding: 0 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 30px 20px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; color: var(--blue);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--orange); font-size: 1.3rem; transition: .25s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--orange); color: #fff; }
.faq p { color: var(--muted); padding-bottom: 20px; margin: 0; }
.faq a { color: var(--blue); font-weight: 600; }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact > div > p { color: var(--muted); font-size: 1.05rem; }
.contact__links { display: grid; gap: 12px; margin-top: 26px; }
.contact__item {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); transition: .2s;
}
.contact__item:hover { border-color: var(--blue); transform: translateX(4px); }
.contact__item b { display: block; color: var(--blue); }
.contact__item small { color: var(--muted); }
.ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
.ic--green { background: var(--green); }
.ic--orange { background: var(--orange); }
.ic--blue { background: var(--blue); }
.form { background: var(--cream); border-radius: 24px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.form h3 { color: var(--blue); font-size: 1.35rem; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,81,151,.12); }
.form .is-invalid { border-color: #d64545; }
.form__note { color: var(--muted); text-align: center; }

/* ---------- CTA final ---------- */
.final {
  background:
    radial-gradient(circle at 85% 20%, rgba(192,214,64,.35), transparent 40%),
    linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff; padding: clamp(64px, 8vw, 100px) 0; text-align: center;
}
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final img { width: 64px; margin-bottom: 18px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.2)); }
.final h2 { color: #fff; max-width: 20ch; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 18px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-deep); color: rgba(255,255,255,.75); padding: 60px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer__logo { height: auto; width: 210px; margin-bottom: 16px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { display: block; text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--orange); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 28px; font-size: .85rem;
}

/* ---------- Flutuantes ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px -6px rgba(0,0,0,.35);
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366;
  animation: pulse 2.2s infinite; z-index: -1;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.mobilebar { display: none; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.receipt.reveal.is-in { transform: rotate(1.5deg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .fab-wa::before { animation: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .units { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 76px 0 0 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 40px;
    transform: translateX(100%); transition: transform .3s; overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 22px; padding: 16px; }

  .hero__grid, .catalog__grid, .story, .founders, .wholesale__grid, .contact { grid-template-columns: 1fr; }
  .hero__mosaic { height: 340px; }
  .hero__float { left: 12px; bottom: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .cards3 { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before, .timeline li::before { display: none; }
  .ph--sm { margin-bottom: 14px; }
  .receipt { transform: none; }
  .receipt.reveal.is-in { transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }

  /* barra fixa do catálogo no celular */
  .mobilebar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
    box-shadow: 0 -6px 20px -10px rgba(20,42,87,.35);
  }
  .mobilebar .btn { padding: 14px; }
  .fab-wa { bottom: 86px; right: 16px; width: 54px; height: 54px; }
  body { padding-bottom: 76px; }
}

@media (max-width: 600px) {
  .header__inner { height: 68px; }
  .header__logo img { height: 36px; }
  .nav { inset: 68px 0 0 0; }
  .hero__ctas .btn { width: 100%; }
  .hero h1 em { white-space: normal; }
  .hero__mosaic { height: 300px; gap: 10px; }
  .units { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .stat strong { font-size: 1.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .final__ctas .btn { width: 100%; }
}

/* =========================================================
   Localizador de unidades (lista + mapa)
   ========================================================= */
.section__sub { color: var(--muted); margin: 0 0 .6em; }
.section__sub b { color: var(--orange); font-family: var(--font-head); }
.locator {
  display: grid; grid-template-columns: minmax(340px, 440px) 1fr; gap: 0;
  margin-top: 28px; border: 1px solid var(--line); border-radius: 26px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow); height: 720px;
}
.locator__side { display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--cream); }
.locator__tools { display: flex; gap: 10px; padding: 18px 18px 0; }
.locator__near { padding: 11px 16px; font-size: .9rem; flex: none; }
.locator__search { margin: 0; flex: 1; background: #fff; max-width: none; padding: 0 12px; }
.locator__search input { padding: 11px 0; }
.locator .filters { padding: 12px 18px 0; }
.locator .chip { padding: 7px 13px; font-size: .85rem; }
.locator__status { margin: 8px 18px 0; font-size: .88rem; font-weight: 600; color: var(--green-dark); min-height: 0; }
.locator__status:empty { display: none; }
.locator .units {
  display: flex; flex-direction: column; gap: 12px; overflow-y: auto; padding: 14px 18px 18px; flex: 1; min-height: 0;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.locator .units__empty { padding: 20px; }

/* card compacto (foto à esquerda) */
.locator .unit { flex-direction: row; cursor: pointer; flex: none; border-width: 2px; }
.locator .unit:hover { transform: none; border-color: rgba(43,81,151,.35); }
.locator .unit.is-active { border-color: var(--orange); box-shadow: 0 8px 24px -12px rgba(247,151,47,.7); }
.locator .unit:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.locator .unit__photo { width: 112px; flex: none; aspect-ratio: auto; }
.locator .unit__photo .ph::after { font-size: .62rem; left: 6px; bottom: 6px; padding: 4px 7px; }
.locator .unit__tag { top: 8px; left: 8px; font-size: .62rem; padding: 3px 8px; }
.unit__dist {
  position: absolute; right: 6px; left: 6px; bottom: 30px; text-align: center;
  background: #fff; color: var(--blue); font: 800 .7rem var(--font-head); padding: 4px 6px; border-radius: 999px;
}
.unit__dist--top { background: var(--orange); color: #fff; }
.locator .unit__body { padding: 12px 14px 14px; min-width: 0; }
.locator .unit h3 { font-size: 1rem; margin-bottom: 6px; }
.locator .unit__info { font-size: .82rem; margin-bottom: 4px; }
.locator .unit__info small { color: #8a92a3; }
.locator .unit__actions { padding-top: 10px; gap: 6px; }
.locator .mini { font-size: .74rem; padding: 8px 4px; gap: 4px; }

.locator__map { position: relative; min-height: 0; }
#map { width: 100%; height: 100%; background: #e9efe6; z-index: 1; }
.locator__map-error {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px;
  color: var(--muted); font-weight: 600; background: var(--cream); z-index: 2; margin: 0;
}
.locator__map-error[hidden] { display: none; }

/* pinos */
.pin-wrap { background: none; border: 0; }
.pin {
  width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #fff; border: 4px solid var(--pin, var(--green));
  display: grid; place-items: center; box-shadow: 0 6px 14px -4px rgba(20,42,87,.5);
  transition: transform .2s, background .2s;
}
.pin img { width: 22px; height: 22px; transform: rotate(45deg); }
.pin.is-on { background: var(--orange); border-color: var(--orange); transform: rotate(-45deg) scale(1.18); }
.pin.is-on img { filter: brightness(0) invert(1); }

/* popup */
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 12px 30px -10px rgba(20,42,87,.45); }
.leaflet-popup-content { margin: 12px 14px; font-family: var(--font-body); }
.pop { display: flex; flex-direction: column; gap: 3px; min-width: 190px; }
.pop strong { font-family: var(--font-head); color: var(--blue); font-size: .98rem; }
.pop span { color: var(--muted); font-size: .8rem; }
.pop__acts { display: flex; gap: 6px; margin-top: 8px; }
.pop__acts a {
  flex: 1; text-align: center; text-decoration: none; font-weight: 700; font-size: .78rem;
  padding: 7px 8px; border-radius: 8px; background: var(--blue); color: #fff !important;
}
.pop__acts a + a { background: var(--green); }
.leaflet-container a.leaflet-popup-close-button { display: none; }

@media (max-width: 900px) {
  .locator { grid-template-columns: 1fr; height: auto; }
  .locator__map { order: -1; height: 340px; }
  .locator__side { border-right: 0; border-top: 1px solid var(--line); }
  .locator .units { max-height: 620px; }
}
@media (max-width: 600px) {
  .locator { border-radius: 20px; margin-inline: -4px; }
  .locator__tools { flex-direction: column; padding: 14px 14px 0; }
  .locator__near { width: 100%; }
  .locator .filters { padding: 10px 14px 0; }
  .locator .units { padding: 12px 14px 14px; }
  .locator .unit__photo { width: 92px; }
  .locator__map { height: 300px; }
}

/* ===== Frutas flutuando ===== */
.frutas {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  transform: translate3d(calc(var(--mx, 0) * -18px), calc(var(--my, 0) * -14px), 0);
  transition: transform .4s ease-out;
}
.fruta {
  position: absolute; left: var(--x); top: var(--y);
  font-size: var(--t); line-height: 1; opacity: 0;
  filter: blur(var(--b)) drop-shadow(0 8px 10px rgba(0, 0, 0, .12));
  animation: fruta-entra .8s cubic-bezier(.2, .9, .3, 1.3) var(--e) forwards,
             fruta-flutua var(--d) ease-in-out var(--a) infinite alternate;
  will-change: transform;
}
@keyframes fruta-entra { from { opacity: 0; scale: .3; } to { opacity: var(--o); scale: 1; } }
@keyframes fruta-flutua {
  from { transform: translate3d(0, 0, 0) rotate(var(--r0)); }
  to { transform: translate3d(var(--dx), var(--dy), 0) rotate(var(--r1)); }
}
.hero__grid, .cat-hero__box > * { position: relative; z-index: 1; }
.cat-hero__box > .frutas { position: absolute; z-index: 0; }
@media (max-width: 900px) { .fruta:nth-child(n+8) { display: none; } }
@media (max-width: 600px) { .fruta:nth-child(n+6) { display: none; } .fruta { --t: 20px !important; } }
@media (prefers-reduced-motion: reduce) {
  .fruta { animation: none; opacity: var(--o); }
  .frutas { transform: none; transition: none; }
}

/* Fruta voando até o carrinho (catálogo) */
.fruta-voo {
  position: fixed; z-index: 9999; left: 0; top: 0; pointer-events: none;
  font-size: 30px; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25));
}

/* Fundadores: duas fotos lado a lado */
.founders__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.founders__foto { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--cream); }
.founders__foto:nth-child(2) { transform: translateY(22px); }
.founders__foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s ease; }
.founders__foto:hover img { transform: scale(1.04); }
.founders__foto figcaption {
  position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px;
  font: 700 .82rem/1.2 var(--font-head); color: #fff; background: rgba(20,42,87,.55); backdrop-filter: blur(6px);
}
@media (max-width: 600px) { .founders__foto:nth-child(2) { transform: none; } }
@media (prefers-reduced-motion: reduce) { .founders__foto img { transition: none; } }

/* Sócios: foto no círculo */
.ph--foto { background: var(--cream); }
.ph--foto img { transition: transform .5s ease; }
.person:hover .ph--foto img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .ph--foto img { transition: none; } }

/* ===== Ajustes de conteúdo (nov/2026) ===== */
.catalog__sub { font-family: var(--font-head); font-weight: 800; color: var(--green-dark); font-size: 1.15rem; margin: -4px 0 10px; }
.catalog__fecho { font-weight: 700; color: var(--blue); }

/* História */
.historia__titulo em { display: block; font-style: italic; color: var(--orange); }
.historia__folha { display: inline-block; width: .9em; height: .9em; vertical-align: -.1em; margin-left: .2em; color: var(--green); }
.video__ph--limpo { background: var(--thumb) center / cover no-repeat, #0f1a33; justify-content: flex-end; padding-bottom: 18px; }
.video__ph--limpo .video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); margin: 0; box-shadow: 0 0 0 10px rgba(247,151,47,.28), 0 10px 30px rgba(0,0,0,.35); }
.video__ph--limpo:hover .video__play, .video__ph--limpo:focus-visible .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__selo { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.video__selo b { font-family: var(--font-head); font-size: 1.15rem; color: #fff; }
.video__selo span { background: var(--orange); color: #fff; font-size: .82rem; font-weight: 700; padding: 6px 14px; border-radius: 999px; text-shadow: none; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.story__text { display: grid; gap: 18px; }
.story__item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; padding-left: 0; }
.story__item p { margin: 0; padding-left: 14px; border-left: 2px solid var(--line); }
.story__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: var(--green-dark); background: rgba(79,181,76,.12); }
.story__ic svg { width: 30px; height: 30px; }
.story__ic--laranja { color: var(--orange-dark); background: rgba(247,151,47,.14); }
.story__selo { margin: 6px 0 0; display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(90deg, var(--green-dark), var(--green)); color: #fff !important; font-weight: 700; font-style: italic; padding: 14px 20px; border-radius: 999px; box-shadow: 0 10px 24px -12px rgba(58,150,54,.8); }

/* Sócios */
.socio { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.socio__topo { display: flex; align-items: center; gap: 16px; }
.socio .ph--avatar { width: 112px; height: 112px; margin: 0; flex: none; border-width: 4px; }
.socio__foto--laranja { box-shadow: 0 0 0 3px var(--orange), var(--shadow); }
.socio__foto--verde { box-shadow: 0 0 0 3px var(--green), var(--shadow); }
.socio__id { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.socio h3 { margin: 0; font-size: 1.45rem; color: var(--green-dark); position: relative; padding-bottom: 8px; }
.socio h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--orange); }
.socio__cargo { font-weight: 700; color: var(--green-dark); font-size: .9rem; }
.socio__area { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; padding: 7px 12px; border-radius: 999px; color: #fff; font: 700 .82rem/1.2 var(--font-head); }
.socio__area svg { width: 18px; height: 18px; flex: none; }
.socio__area--laranja { background: var(--orange); }
.socio__area--verde { background: var(--green-dark); }
.socio > p { color: var(--muted); }
.form__dica { margin: -4px 0 6px; font-size: .88rem; color: var(--muted); background: var(--cream); border-left: 3px solid var(--orange); padding: 8px 12px; border-radius: 8px; }
@media (max-width: 600px) {
  .socio .ph--avatar { width: 88px; height: 88px; }
  .story__selo { border-radius: 16px; }
}
