/* Leal Hortifruti
   Tema escuro em verde profundo, texto off-white, verde-limão do logo como detalhe.
   Títulos em serifa (Fraunces), textos e controles em sem serifa (Manrope).
   Cantos levemente arredondados, bordas discretas, fotos reais, efeitos discretos que somem com "reduzir movimento". */
:root {
  --bg: #0F2E1A;
  --bg-alt: #12341E;
  --surface: #163B24;
  --ink: #F2F1EA;
  --ink-2: #D2DCCE;
  --muted: #A9BBA8;
  --line: rgba(242, 241, 234, .12);
  --line-2: rgba(242, 241, 234, .26);
  --green: #A9CF45;
  --green-700: #BEDD6C;
  --green-900: #0B2416;
  --green-tint: rgba(169, 207, 69, .14);
  --lime: #A9CF45;
  --red: #C2342B;
  --cream: #F2F1EA;
  --cream-muted: #BFCDBB;
  --wa: #25D366;
  --wa-ink: #0B2A17;
  --error: #FF9A8F;
  color-scheme: dark;

  --serif: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 18px 40px -22px rgba(0, 0, 0, .65);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.section--deep :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -64px; z-index: 200; padding: 10px 16px; border-radius: var(--r-sm); background: var(--cream); color: var(--green-900); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--green); }
.eyebrow::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--lime); }
.eyebrow--light { color: var(--lime); }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.75rem); line-height: 1.12; letter-spacing: -.015em; font-variation-settings: "opsz" 96; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 46ch; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 600 .98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .3s, transform .3s var(--ease);
  position: relative; overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--primary { background: var(--cream); color: var(--green-900); }
.btn--primary:hover { background: var(--lime); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--secondary:hover { border-color: var(--green); color: var(--green); }
.btn--light { background: var(--cream); color: var(--green-900); }
.btn--light:hover { background: #fff; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #3BDB78; }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(244, 242, 234, .32); }
.btn--ghost-light:hover { border-color: var(--cream); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, box-shadow .4s; }
.site-header.is-scrolled, .site-header.is-solid { border-color: var(--line); }
.site-header.is-scrolled { background: rgba(15, 46, 26, .82); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); box-shadow: 0 10px 28px -20px rgba(0, 0, 0, .7); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.header__brand { flex: none; display: block; padding: 6px 0; }
.header__brand img { width: 124px; }
.header__nav { display: flex; gap: 4px; margin-left: auto; }
.header__nav a { position: relative; padding: 8px 12px; font-size: .96rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: var(--r-sm); transition: color .25s; }
.header__nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.header__nav a:hover::after, .header__nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header__nav a:hover, .header__nav a[aria-current="page"] { color: var(--cream); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.menu-toggle__bar { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease); }
.menu-toggle__bar:nth-child(1) { top: 16px; }
.menu-toggle__bar:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
@media (max-width: 920px) {
  .menu-toggle { display: inline-block; }
  .header__nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0; display: none; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(0, 0, 0, .6);
  }
  .header__nav.is-open { display: flex; }
  .header__nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .header__nav a:last-child { border-bottom: 0; }
  .header__actions { margin-left: auto; }
}
@media (max-width: 400px) {
  .header__inner { gap: 12px; }
  .header__brand img { width: 100px; }
  .header__actions .btn--sm { padding: 0 12px; font-size: .86rem; }
}

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--green-900); color: var(--cream); }
.section--deep .section-title { color: #fff; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px 48px; }
.section-head--split > div { display: grid; gap: 14px; max-width: 640px; }
.section-cta { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }
@media (max-width: 760px) { .section-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; } .section-head--split > .btn { justify-self: start; } }

/* ---------- Primeira tela ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero__copy { display: grid; gap: 24px; justify-items: start; }
.hero__since { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.hero__since::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(169, 207, 69, .22); }
.hero__since-num { font-weight: 700; color: var(--green); }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.35rem, 1.5rem + 3.2vw, 4.1rem); line-height: 1.04; letter-spacing: -.022em; font-variation-settings: "opsz" 144; color: var(--ink); }
.hero__lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--ink-2); max-width: 40ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__clients { font-size: .94rem; color: var(--muted); padding-top: 20px; border-top: 1px solid var(--line); width: 100%; max-width: 520px; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.hero__media figcaption { margin-top: 12px; font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__media img { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) { .hero__ctas { display: grid; width: 100%; } }

/* ---------- Linhas de produtos ---------- */
.lines { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.line__link { display: grid; gap: 8px; text-decoration: none; color: inherit; height: 100%; align-content: start; border-radius: var(--r); }
.line__img { display: block; overflow: hidden; border-radius: var(--r); background: var(--bg-alt); margin-bottom: 8px; }
.line__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .7s var(--ease); }
.line__link:hover .line__img img { transform: scale(1.03); }
.line__name { font-family: var(--serif); font-size: 1.32rem; line-height: 1.2; }
.line__text { font-size: .94rem; color: var(--muted); line-height: 1.55; }
.line__more { font-size: .92rem; font-weight: 600; color: var(--green); margin-top: 2px; }
.line__link:hover .line__more { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1080px) { .lines { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .lines .line:last-child { grid-column: 1 / -1; }
  .lines .line:last-child .line__img img { aspect-ratio: 16 / 9; }
  .line__name { font-size: 1.18rem; }
  .line__text { font-size: .9rem; }
}

/* ---------- Diferenciais ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.split__copy { display: grid; gap: 16px; }
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 20px; }
.point { padding-top: 18px; border-top: 1px solid var(--line-2); }
.point dt { font-family: var(--serif); font-size: 1.24rem; line-height: 1.25; margin-bottom: 8px; }
.point dd { color: var(--muted); font-size: .98rem; line-height: 1.6; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split__media img { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .points { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- Como comprar ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.step { position: relative; display: grid; gap: 10px; align-content: start; padding-top: 4px; }
.step::before { content: ""; position: absolute; top: 24px; left: 60px; right: -12px; height: 1px; background: rgba(244, 242, 234, .2); }
.step:last-child::before { display: none; }
.step__num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--lime); color: var(--lime); font: 500 1.2rem var(--serif); margin-bottom: 8px; }
.step h3 { font: 600 1.08rem/1.35 var(--sans); color: #fff; }
.step p { color: var(--cream-muted); font-size: .96rem; line-height: 1.6; max-width: 30ch; }
@media (max-width: 900px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
  .step__num { grid-row: span 2; margin: 0; }
  .step::before { top: 52px; bottom: 4px; left: 24px; right: auto; width: 1px; height: auto; }
}

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.about__copy { display: grid; gap: 18px; }
.about__copy > p { color: var(--ink-2); max-width: 54ch; }
.about__copy > .about__lead { font-size: 1.14rem; color: var(--ink); }
.about__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 12px; border-top: 1px solid var(--line-2); }
.about__facts > div { padding: 16px 16px 0 0; }
.about__facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.about__facts dt { font: 400 1.6rem/1.1 var(--serif); color: var(--green); }
.about__facts dd { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.about__sign { font-family: var(--serif); font-style: italic; color: var(--green); font-size: 1.1rem; }
.about__photos { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-rows: auto auto; gap: 16px; }
.about__photo img { width: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
.about__photo--main { grid-row: span 2; }
.about__photo--main img { aspect-ratio: 3 / 4; height: 100%; }
.about__photo:not(.about__photo--main) img { aspect-ratio: 4 / 3; }
.about__photo:nth-child(3) img { object-position: 68% 40%; }
.about__photo figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); }
@media (max-width: 900px) { .about { grid-template-columns: minmax(0, 1fr); } .about__photos { order: -1; } }
@media (max-width: 480px) { .about__facts dt { font-size: 1.3rem; } .about__facts > div + div { padding-left: 12px; } }

/* ---------- Informações comerciais ---------- */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.info__item { padding: 22px 0; border-top: 1px solid var(--line-2); }
.info__item dt { font-size: .9rem; font-weight: 600; color: var(--green); margin-bottom: 6px; }
.info__item dd { font-size: 1.05rem; color: var(--ink); line-height: 1.5; max-width: 34ch; }
@media (max-width: 860px) { .info { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .info { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contato ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.contact__intro { display: grid; gap: 18px; justify-items: start; }
.contact__lead { color: var(--cream-muted); font-size: 1.08rem; max-width: 44ch; }
.people { display: grid; gap: 0; }
.person { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(244, 242, 234, .14); }
.person:last-child { border-bottom: 1px solid rgba(244, 242, 234, .14); }
.person__initial { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(244, 242, 234, .08); color: var(--lime); font: 500 1.2rem var(--serif); }
.person__initial svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.person__body { display: grid; min-width: 0; }
.person__name { font-weight: 600; color: #fff; }
.person__phone { color: var(--cream-muted); text-decoration: none; font-size: .96rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.person__phone:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .person { grid-template-columns: 40px minmax(0, 1fr); } .person .btn { grid-column: 2; justify-self: start; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--green-900); color: var(--cream-muted); border-top: 1px solid rgba(244, 242, 234, .12); padding-block: 56px 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr); gap: 40px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand img { width: 150px; }
.footer__brand p { max-width: 36ch; }
.footer__h { font: 600 .9rem var(--sans); color: #fff; margin: 0 0 12px; }
.footer__list { display: grid; gap: 8px; }
.footer__list a { color: var(--cream-muted); text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(244, 242, 234, .12); font-size: .88rem; }
.footer__bottom a { color: inherit; }
.site-footer--slim { padding-block: 0 24px; }
.site-footer--slim .footer__bottom { margin-top: 0; border-top: 0; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- Revelação suave ---------- */

/* ======================================================
   Catálogo e cotação
   ====================================================== */
.catalog { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 8vw, 96px); }
.catalog__head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.catalog__head .section-sub { max-width: 60ch; }
.catalog__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }

.tools { display: grid; gap: 14px; }
.search { display: flex; align-items: center; gap: 10px; max-width: 420px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }
.search svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { flex: 1; min-width: 0; border: 0; background: none; color: var(--ink); font: 400 1rem var(--sans); outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink-2); font: 500 .92rem var(--sans); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.chip span { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.is-on { background: var(--lime); border-color: var(--lime); color: var(--green-900); }
.chip.is-on span { color: rgba(11, 36, 22, .7); }
.result-count { margin: 18px 0 14px; font-size: .9rem; color: var(--muted); }
.empty-search { margin-top: 8px; padding: 18px; border-radius: var(--r); background: var(--bg-alt); color: var(--ink-2); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; }
.product { display: grid; grid-template-rows: auto 1fr auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.product:hover { box-shadow: var(--shadow); }
.product.is-in-list { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.product__img { background: var(--bg-alt); }
.product__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product__body { padding: 12px 14px 10px; }
.product__cat { font-size: .8rem; font-weight: 600; color: var(--green); }
.product__name { font: 400 1.18rem/1.25 var(--serif); margin-top: 2px; }
.product__action { padding: 0 14px 14px; }
.qty { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 6px; }
.qty__btn { height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 500 1.2rem/1 var(--sans); cursor: pointer; }
.qty__btn:hover { border-color: var(--green); color: var(--green); }
.qty__input, .qitem input { width: 100%; min-width: 0; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 500 1rem var(--sans); text-align: center; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button, .qitem input::-webkit-outer-spin-button, .qitem input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus, .qitem input:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-tint); }

/* Painel da lista */
.quote { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow: auto; overscroll-behavior: contain; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); }
.quote:focus { outline: none; }
.quote__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.quote__title { font: 400 1.35rem/1.2 var(--serif); }
.quote__title:focus { outline: none; }
.quote__count { font: 500 .88rem var(--sans); color: var(--muted); margin-left: 6px; }
.quote__close { display: none; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.quote__body { padding: 8px 20px 20px; }
.quote__empty { padding: 16px 0 8px; color: var(--muted); font-size: .95rem; }
.quote__items { display: grid; }
.qitem { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qitem__name { font-weight: 600; margin-bottom: 8px; }
.qitem__fields { display: grid; grid-template-columns: 76px minmax(0, 1fr) 40px; gap: 8px; align-items: end; }
.qitem__field { display: grid; gap: 4px; font-size: .78rem; color: var(--muted); }
.qitem__field--unit input { text-align: left; padding: 0 10px; }
.qitem__remove { height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.qitem__remove:hover { border-color: var(--error); color: var(--error); }
.quote__clear { margin-top: 10px; font-size: .88rem; color: var(--muted); }
.quote__form { display: grid; gap: 18px; margin-top: 22px; }
.field-group { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; }
.field-group legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: .98rem; }
.field { display: grid; gap: 6px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.req, .opt { font-weight: 400; font-size: .8rem; color: var(--muted); margin-left: 4px; }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 400 1rem var(--sans); }
.field textarea { resize: vertical; min-height: 72px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.contact-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.contact-opt { position: relative; cursor: pointer; }
.contact-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.contact-opt span { display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); transition: border-color .2s, background-color .2s; }
.contact-opt strong { font-weight: 600; }
.contact-opt small { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.contact-opt:hover span { border-color: var(--green); }
.contact-opt input:checked + span { border-color: var(--green); background: var(--green-tint); box-shadow: 0 0 0 1px var(--green); }
.contact-opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.form-error { padding: 10px 12px; border-radius: var(--r-sm); background: rgba(255, 154, 143, .12); color: var(--error); font-size: .92rem; font-weight: 500; }
.quote__note { font-size: .84rem; color: var(--muted); text-align: center; }

/* Barra da lista (celular e tablet) */
.list-bar { display: none; }
@media (max-width: 1024px) {
  .catalog__layout { grid-template-columns: minmax(0, 1fr); }
  .quote { display: none; position: fixed; inset: 0; z-index: 80; top: 0; max-height: none; border: 0; border-radius: 0; box-shadow: none; background: var(--bg); }
  .quote__head { background: var(--bg); }
  .quote__body { max-width: 640px; margin-inline: auto; padding-bottom: 32px; }
  .quote__close { display: inline-block; }
  body.quote-open { overflow: hidden; }
  body.quote-open .quote { display: block; }
  .list-bar:not([hidden]) { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -12px 30px -22px rgba(0, 0, 0, .6); padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); }
  .list-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .list-bar__info { font-size: .95rem; color: var(--ink-2); }
  .list-bar__info strong { font: 500 1.3rem var(--serif); color: var(--green); margin-right: 4px; }
  body.has-list .catalog { padding-bottom: 120px; }
  body.has-list .site-footer--slim { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 560px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product__body { padding: 10px 12px 8px; }
  .product__name { font-size: 1.05rem; }
  .product__action { padding: 0 10px 10px; }
  .product__action .btn--sm { padding: 0 8px; font-size: .86rem; }
  .qty { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 4px; }
  .qty__btn { height: 40px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .search { max-width: none; }
}

/* Resumo antes do WhatsApp */
.summary { width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--r); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); border: 1px solid var(--line); }
.summary::backdrop { background: rgba(5, 16, 10, .72); }
.summary__inner { display: grid; gap: 16px; padding: 22px; }
.summary__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary__head h2 { font: 400 1.5rem/1.2 var(--serif); }
.summary__head h2:focus { outline: none; }
.summary .quote__close { display: inline-block; }
.summary__to { font-size: .95rem; color: var(--ink-2); }
.summary__msg { margin: 0; max-height: 46vh; overflow: auto; padding: 14px 16px; border-radius: var(--r-sm); background: var(--bg-alt); border: 1px solid var(--line); font: 400 .93rem/1.6 var(--sans); white-space: pre-wrap; word-break: break-word; }
.summary__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
@media (max-width: 480px) { .summary__actions { display: grid; justify-content: stretch; } .summary__actions .btn { width: 100%; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ======================================================
   Efeitos discretos (todos desligados com "reduzir movimento")
   ====================================================== */
/* linha de progresso de leitura */
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: 2px; pointer-events: none; background: linear-gradient(90deg, #6FA836, var(--lime)); transform: scaleX(0); transform-origin: 0 50%; }
/* grão sutil, como papel fotográfico */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (max-width: 920px) { .header__nav a::after { display: none; } }

/* botões: brilho que passa e seta que anda */
.btn::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .32) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .7); }
.btn:active { transform: translateY(0); }
.btn__arrow { display: inline-block; transition: transform .3s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--secondary::after, .btn--ghost-light::after { background: linear-gradient(110deg, transparent 30%, rgba(169, 207, 69, .16) 50%, transparent 70%); }

/* primeira tela: entrada em cascata, zoom lento na foto */
@keyframes fade-in { from { opacity: 0; } }
.hero__media { will-change: transform; }

@keyframes slow-zoom { from { transform: scale(1.1); } to { transform: scale(1.01); } }

/* revelação com leve zoom nas fotos */

/* cartões que sobem com zoom suave na foto */
.line__img { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.line__link:hover .line__img { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .8); }
.line__link:hover .line__img img { transform: scale(1.05); }
.split__media, .about__photo { overflow: hidden; border-radius: var(--r); }
.split__media img, .about__photo img { transition: transform 1.2s var(--ease); }
.split__media:hover img, .about__photo:hover img { transform: scale(1.04); }
.about__photo figcaption { padding-bottom: 2px; }
.product { transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.product:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(0, 0, 0, .85); }
.product__img { overflow: hidden; }
.product__img img { transition: transform 1s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.point { transition: border-color .2s; }
.point:hover { border-color: var(--lime); }

/* faixa de fotos em movimento lento */
.strip { padding-block: clamp(64px, 8vw, 104px); overflow: hidden; border-top: 1px solid var(--line); }
.strip__head { display: grid; gap: 14px; margin-bottom: 32px; }
.strip__viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip__track { display: flex; width: max-content; animation: run-left 80s linear infinite; }
.strip__viewport:hover .strip__track { animation-play-state: paused; }
.strip__set { display: flex; gap: 16px; padding-right: 16px; flex: none; }
.strip__set li { flex: none; width: clamp(200px, 22vw, 300px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.strip__set img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.strip__set li:hover img { transform: scale(1.06); }
@keyframes run-left { to { transform: translateX(-50%); } }
@media (max-width: 560px) { .strip__set li { width: 160px; } .strip__set { gap: 10px; padding-right: 10px; } }

@media (prefers-reduced-motion: reduce) {
  [data-parallax] { transform: none !important; }
  .strip__track { animation: none; }
  .strip__viewport { overflow-x: auto; }
}

/* ======================================================
   Primeira tela com vídeo dos cítricos
   ====================================================== */

/* ======================================================
   Entradas laterais: lentas, fluidas, uma vez só
   ====================================================== */
:root { --enter-ease: cubic-bezier(.22, 1, .36, 1); --enter-dur: 1.4s; --slide: 50px; }
@media (max-width: 760px) { :root { --slide: 24px; } }
main, main > section, .site-footer { overflow-x: clip; }

/* primeira tela: textos pela esquerda, imagem pela direita */
.hero .rise { animation: enter-left var(--enter-dur) var(--enter-ease) both; }
.hero__since.rise { animation-delay: 0s; }
.hero__title.rise { animation-delay: .15s; }
.hero__lead.rise { animation-delay: .3s; }
.hero__ctas.rise { animation-delay: .45s; }

@keyframes enter-left { from { opacity: 0; transform: translateX(calc(-1 * var(--slide))); } to { opacity: 1; transform: none; } }
@keyframes enter-right { from { opacity: 0; transform: translateX(var(--slide)); } to { opacity: 1; transform: none; } }

/* demais seções: blocos entram pelas laterais ao aparecer na tela */
.js [data-reveal] { transition: opacity var(--enter-dur) var(--enter-ease), transform var(--enter-dur) var(--enter-ease); }
.js [data-reveal="right"] { transition-delay: .15s; }
.js [data-reveal].is-waiting { opacity: 0; }
.js [data-reveal="left"].is-waiting { transform: translateX(calc(-1 * var(--slide))); }
.js [data-reveal="right"].is-waiting { transform: translateX(var(--slide)); }

/* "Reduzir movimento" (comum em PCs com animações do Windows desligadas ou acesso remoto):
   mantém o vídeo e os fades suaves, remove deslizamentos, parallax e zooms. */
@keyframes fade-only { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hero .rise { animation-name: fade-only; animation-duration: .9s; }
  .js [data-reveal].is-waiting { transform: none; }
  .js [data-reveal] { transition: opacity .9s var(--enter-ease); }
  .btn:hover, .product:hover, .line__link:hover .line__img { transform: none; }
  .line__link:hover .line__img img, .product:hover .product__img img, .split__media:hover img, .about__photo:hover img, .strip__set li:hover img { transform: none; }
}
/* borda esquerda da imagem sempre suave, inclusive durante a entrada */

/* Cabeçalho transparente sobre a primeira tela: o vídeo passa por trás e o vapor sobe sem corte */
body.home .site-header:not(.is-scrolled) { background: transparent; border-color: transparent; box-shadow: none; }

body.home .site-header:not(.is-scrolled) .header__nav a { color: #F2F1EA; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
@media (max-width: 760px) {
  
  body.home .site-header:not(.is-scrolled) .header__nav a { text-shadow: none; }
  body.home .site-header .header__nav.is-open { background: var(--bg); }
}

/* ======================================================
   Acabamento no celular
   ====================================================== */
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 920px) {
  .header__nav.is-open { animation: menu-in .25s var(--enter-ease) both; }
  .header__nav a { min-height: 48px; display: flex; align-items: center; }
}
@media (max-width: 760px) {
  /* primeira tela: imagem de ponta a ponta, fundindo com o fundo */
  
  
  
  
  .hero__title { font-size: clamp(2.1rem, 1.4rem + 3.6vw, 2.6rem); line-height: 1.06; }
  .hero__lead { font-size: 1.04rem; }
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn { min-height: 52px; }

  /* ritmo das seções */
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 28px; }
  .section-title { font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.1rem); }
  .section-sub { font-size: 1rem; }

  /* linhas de produtos */
  .line__text { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .line__img { margin-bottom: 4px; }

  /* sobre: foto principal grande, duas menores lado a lado */
  .about__photos { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 12px; }
  .about__photo--main { grid-column: 1 / -1; grid-row: auto; }
  .about__photo--main img { aspect-ratio: 4 / 3; height: auto; }
  .about__photo figcaption { font-size: .8rem; }
  .about__facts dd { font-size: .82rem; }

  /* contato: nome à esquerda, botão à direita */
  .person { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 16px 0; }
  .person__initial { display: none; }
  .person .btn { grid-column: auto; justify-self: end; }

  /* rodapé mais compacto */
  .site-footer { padding-block: 44px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer__brand, .footer__grid > div:nth-child(2), .footer__grid > div:nth-child(3) { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(3) .footer__list { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .footer__list a { overflow-wrap: anywhere; }
  .footer__brand img { width: 130px; }
  .footer__list a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer__list { gap: 0; }
  .footer__bottom { flex-direction: column; gap: 4px; margin-top: 24px; }

  /* áreas de toque confortáveis */
  .btn--sm { min-height: 44px; }
  .chip { min-height: 44px; }
  .qty__btn, .qty__input, .qitem input, .qitem__remove, .quote__close { height: 44px; }
  .quote__close { width: 44px; }
  .contact-opt span { min-height: 52px; }
}
@media (max-width: 340px) {
  .person { grid-template-columns: minmax(0, 1fr); }
  .person .btn { justify-self: start; }
  .lines { gap: 24px 12px; }
}
@media (max-width: 760px) {
  .person__phone { display: inline-flex; align-items: center; min-height: 44px; }
  .search input { height: 46px; }
  .footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Celular: frutas desfocadas atrás do título (apenas no celular) */

/* Celular: frutas desfocadas um pouco maiores e primeira tela um pouco mais alta */

/* Contato: contatos à esquerda, "Como trabalhamos" à direita */
.contact__grid { align-items: start; }
.contact__intro .people { margin-top: 12px; width: 100%; }
.terms { display: grid; gap: 18px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: rgba(242, 241, 234, .04); border: 1px solid var(--line); }
.terms__title { font: 400 1.45rem/1.2 var(--serif); color: #fff; }
.terms__list { display: grid; }
.terms__list > div { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.terms__list > div:last-child { border-bottom: 1px solid var(--line); }
.terms__list dt { font-size: .84rem; font-weight: 600; color: var(--lime); }
.terms__list dd { color: var(--ink); font-size: 1rem; line-height: 1.5; }
.terms .btn { margin-top: 4px; }

/* Catálogo: quantidade com −/+, unidade por opções, aviso ao adicionar */
.qitem__fields { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 44px; align-items: end; }
.qitem__qty { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 4px; }
.qitem__step { height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface); color: var(--ink); font: 500 1.15rem/1 var(--sans); cursor: pointer; transition: border-color .2s, color .2s; }
.qitem__step:hover { border-color: var(--lime); color: var(--lime); }
.qitem select { width: 100%; height: 40px; padding: 0 30px 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23A9BBA8' stroke-width='1.6'/></svg>") no-repeat right 10px center; color: var(--ink); font: 500 .95rem var(--sans); appearance: none; -webkit-appearance: none; }
.qitem select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px var(--green-tint); }
.qitem__remove { height: 40px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95; margin: 0; padding: 12px 18px; border-radius: var(--r-sm);
  background: var(--cream); color: var(--green-900); font-weight: 600; font-size: .95rem; box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .7);
  opacity: 0; transform: translate(-50%, 8px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast:empty { display: none; }
@media (max-width: 1024px) { body.has-list .toast { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 760px) { .qitem__step, .qitem select, .qitem__remove { height: 44px; } .qitem__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; } }
@media (max-width: 380px) { .qitem__fields { grid-template-columns: minmax(0, 1fr) 44px; } .qitem__field--unit { grid-column: 1 / 2; grid-row: 2; } }

/* ======================================================
   Tipografia refinada da primeira tela
   ====================================================== */
/* reserva com a mesma largura da Fraunces: o título não "pula" enquanto a fonte carrega */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 101.4%; }

/* contraste discreto atrás do texto, com as cores do próprio site */

/* ======================================================
   Primeira tela: laranja caindo (vídeo protagonista)
   ====================================================== */

/* cena integrada ao verde: à esquerda (texto), no topo (menu) e embaixo (próxima seção) */

/* "LEAL" em grande escala, numa área livre (embaixo à esquerda), sem passar atrás da fruta */

@keyframes word-in { from { opacity: 0; transform: translateY(.08em); } to { opacity: 1; transform: none; } }

/* controles discretos: pausar/continuar e ver de novo */

/* celular: texto em cima, cena completa embaixo, sem nada sobre a trajetória da laranja */

/* desktop: cena em painel cinematográfico 16:9 encostado à direita, com bordas que se fundem ao verde */


/* ======================================================
   Primeira tela: abertura cinematográfica com a laranja
   ====================================================== */
.hero--orange { position: relative; isolation: isolate; overflow: hidden; padding: 0; background: var(--bg); color: #FBFAF4; min-height: clamp(640px, 100svh, 1000px); }
body.home .hero--orange { margin-top: calc(-1 * var(--header-h)); }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__stage { position: absolute; inset: 0; background: #1d2a12; }
.hero__video, .hero__end { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero__end { opacity: 0; transition: opacity .6s var(--enter-ease); }
.hero--orange.is-static .hero__end { opacity: 1; }
/* gradientes discretos: topo (menu), canto inferior esquerdo (texto), base (continuidade com a página) */
.hero__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 60% at 0% 100%, rgba(15, 46, 26, .92) 0%, rgba(15, 46, 26, .55) 45%, rgba(15, 46, 26, 0) 75%),
    radial-gradient(45% 45% at 100% 100%, rgba(15, 46, 26, .55), rgba(15, 46, 26, 0) 70%),
    linear-gradient(180deg, rgba(15, 46, 26, .5) 0%, rgba(15, 46, 26, 0) 16%, rgba(15, 46, 26, 0) 82%, rgba(15, 46, 26, .9) 100%);
}

/* "LEAL" em serifa fina, dividida dos dois lados do caminho da laranja */
.hero__word {
  position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 3vh); z-index: 1; margin: 0; pointer-events: none; user-select: none;
  display: flex; justify-content: space-between; padding-inline: 4vw;
  font: 300 clamp(6rem, 1rem + 13vw, 17rem)/.85 var(--serif); font-variation-settings: "opsz" 144; letter-spacing: -.02em;
  color: rgba(251, 250, 244, .34); text-shadow: 0 2px 30px rgba(5, 20, 11, .25);
}
.hero__word span { display: block; width: 26vw; }
.hero__word span:last-child { text-align: right; }

/* conteúdo: título e botões embaixo à esquerda, cartões embaixo à direita */
.hero__layout {
  position: relative; z-index: 2; min-height: inherit; display: grid; grid-template-columns: minmax(340px, .9fr) minmax(0, 1.65fr); align-items: end; gap: clamp(36px, 6vw, 100px);
  padding: calc(var(--header-h) + 24px) clamp(24px, 4vw, 64px) clamp(28px, 5vh, 56px);
}
.hero--orange .hero__main { display: grid; gap: 24px; max-width: 420px; }
.hero--orange .hero__copy { display: grid; gap: 14px; }
.hero--orange .hero__since { color: #E4ECE0; font-weight: 500; font-size: .9rem; }
.hero--orange .hero__since-num { color: #F6A33A; }
.hero--orange .hero__since::before { background: #F6A33A; box-shadow: 0 0 0 4px rgba(246, 163, 58, .22); }
.hero--orange .hero__title {
  font-family: var(--serif); font-weight: 500; font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 1.1rem + 1.9vw, 3.1rem); line-height: 1.06; letter-spacing: -.015em; color: #FBFAF4;
  text-wrap: balance; text-shadow: 0 1px 2px rgba(5, 20, 11, .35);
}
.hero--orange .hero__lead { font-size: 1rem; line-height: 1.6; color: #E4ECE0; max-width: 34ch; }
.hero--orange .hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero--orange .hero__ctas .btn { border-radius: 999px; }
.hero--orange .hero__ctas .btn--secondary { background: rgba(251, 250, 244, .1); color: #FBFAF4; border-color: rgba(251, 250, 244, .45); -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero--orange .hero__ctas .btn--secondary:hover { background: rgba(251, 250, 244, .18); border-color: #FBFAF4; color: #FBFAF4; }

.hero__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; }
.hcard {
  position: relative; display: grid; gap: 12px; padding: 64px 18px 22px; min-height: 206px; border-radius: 20px; text-decoration: none;
  border: 1px solid rgba(251, 250, 244, .28); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .6);
  transition: transform .2s var(--ease), background-color .2s, border-color .2s;
}
.hcard--glass { background: rgba(15, 46, 26, .38); color: #FBFAF4; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hcard--glass:hover { background: rgba(15, 46, 26, .55); border-color: rgba(251, 250, 244, .5); }
.hcard--cream { min-height: 230px; background: #F2F1EA; color: #0F2E1A; border-color: #F2F1EA; }
.hcard--cream:hover { background: #FBFAF4; }
.hcard:hover { transform: translateY(-2px); }
.hcard__title { font: 500 1.1rem/1.25 var(--serif); }
.hcard__text { font-size: .88rem; line-height: 1.45; opacity: .85; }
.hcard__go { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid currentColor; opacity: .7; transition: opacity .2s, transform .2s var(--ease); }
.hcard__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hcard:hover .hcard__go { opacity: 1; transform: translate(1px, -1px); }
.hcard--cream .hcard__go { background: #0F2E1A; color: #F2F1EA; border-color: #0F2E1A; opacity: 1; }

/* controles do vídeo */
.hero__controls { position: absolute; z-index: 3; right: clamp(24px, 4vw, 64px); top: calc(var(--header-h) + 16px); display: flex; gap: 10px; }
.hero__ctrl, .hero__replay {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgba(242, 241, 234, .35); background: rgba(11, 36, 22, .45); color: #FBFAF4;
  font: 600 .88rem var(--sans); cursor: pointer; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .2s, border-color .2s;
}
.hero__ctrl { padding: 0; width: 44px; }
.hero__ctrl:hover, .hero__replay:hover { background: rgba(11, 36, 22, .7); border-color: #FBFAF4; }
.hero__ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__ico--play { fill: currentColor; stroke: none; display: none; }
.hero__ctrl[aria-pressed="true"] .hero__ico--pause { display: none; }
.hero__ctrl[aria-pressed="true"] .hero__ico--play { display: block; }

/* abertura: só o vídeo; depois menu, texto, botões e cartões */
html.hero-intro body.home [data-group] { opacity: 0; visibility: hidden; }
html.hero-reveal body.home [data-group] { visibility: hidden; animation: hero-reveal 1.8s cubic-bezier(.16, 1, .3, 1) both; }
html.hero-reveal body.home [data-group="2"] { animation-delay: .25s; }
html.hero-reveal body.home [data-group="3"] { animation-delay: .5s; }
html.hero-reveal body.home [data-group="4"] { animation-delay: .75s; }
@keyframes hero-reveal { from { visibility: visible; opacity: 0; transform: translateY(16px); filter: blur(8px); } to { visibility: visible; opacity: 1; transform: none; filter: none; } }
html.hero-reveal body.home .site-header[data-group] { animation-name: hero-reveal-header; }
@keyframes hero-reveal-header { from { visibility: visible; opacity: 0; transform: translateY(16px); filter: blur(8px); } to { visibility: visible; opacity: 1; transform: none; filter: none; } }
html.hero-reveal body.home .hero__word { animation-name: hero-reveal-word; animation-duration: 2.4s; }
@keyframes hero-reveal-word { from { visibility: visible; opacity: 0; filter: blur(10px); } to { visibility: visible; opacity: 1; filter: none; } }

/* tablet: vídeo em cima, conteúdo embaixo (o título não cabe ao lado da queda) */
@media (max-width: 1100px) {
  .hero--orange { display: flex; flex-direction: column; min-height: 0; }
  .hero__media { position: relative; inset: auto; height: 100svh; min-height: 540px; }
  .hero__stage::after { background: linear-gradient(180deg, rgba(15, 46, 26, .55) 0%, rgba(15, 46, 26, 0) 22%, rgba(15, 46, 26, 0) 78%, var(--bg) 100%); }
  .hero__word { top: calc(var(--header-h) + 1vh); font-size: clamp(4rem, 12vw, 9rem); }
  .hero__layout { grid-template-columns: minmax(0, 1fr); padding: 8px var(--gutter) 48px; gap: 28px; min-height: 0; }
  .hero--orange .hero__main { max-width: 640px; }
  .hero__cards { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__controls { top: auto; bottom: 16px; right: 16px; }
}
/* celular: cena 4:5 com a queda inteira; texto, botões e cartões embaixo, nada sobre a laranja */
@media (max-width: 640px) {
  .hero__media { height: 100svh; min-height: 480px; }
  .hero__word { display: none; }
  .hero--orange .hero__title { font-size: clamp(2rem, 1.5rem + 3vw, 2.4rem); }
  .hero--orange .hero__ctas { display: grid; }
  .hero--orange .hero__ctas .btn { min-height: 50px; }
  .hero__cards { grid-template-columns: minmax(0, 1fr); }
  .hcard, .hcard--cream { min-height: 0; padding: 24px 64px 24px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html.hero-reveal body.home [data-group] { animation: none; visibility: visible; }
}
.hero__layout { pointer-events: none; }
.hero__layout > * { pointer-events: auto; }

/* Hero-only finish: uninterrupted fruit trajectory and consistent image geometry. */
.hero__cards { width: 30vw; justify-self: end; }
.hero__cards .hcard { padding-inline: 14px; }
.hero__cards .hcard__title { font-size: 1rem; }
.hero__cards .hcard__text { font-size: .8rem; }
.hero--orange .hero__end { aspect-ratio: auto; border-radius: 0; box-shadow: none; height: 100%; }
body.home .header__inner { max-width: none; padding-inline: clamp(24px, 4vw, 64px); }
html.hero-intro .hero__stage::after { opacity: 0; }
.hero__stage::after { transition: opacity 1.8s cubic-bezier(.16, 1, .3, 1); }
.hero__word { color: rgba(251, 250, 244, .42); }
@media (min-width: 1101px) and (max-height: 740px) {
  .hero--orange .hero__main { gap: 16px; }
  .hero--orange .hero__title { font-size: clamp(2rem, 2.6vw, 2.8rem); }
  .hero__word { font-size: 12vw; top: calc(var(--header-h) + 1vh); }
}
@media (max-width: 1100px) {
  .hero__layout { padding-top: 32px; }
  .hero__cards { width: 100%; }
  .hero__video, .hero--orange .hero__end { object-fit: cover; object-position: 50% 50%; }
}
@media (max-width: 1100px) {
  .hero__stage { background: #0F2E1A; }
  .hero__stage::before { content: ""; position: absolute; inset: -32px; background: url("../img/hero/laranja-first.webp") center / cover; opacity: .22; filter: blur(32px); }
  .hero__video, .hero--orange .hero__end { top: 50%; bottom: auto; height: min(100%, 125vw); transform: translateY(-50%); object-fit: cover; mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); }
}
@media (max-width: 640px) {
  .hero__cards .hcard { padding-inline: 22px 64px; }
  .hero__cards .hcard__title { font-size: 1.1rem; }
  .hero__cards .hcard__text { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stage::after { transition: none; }
}

/* Mobile uses the same cinematic canvas, serif lettering and three-card row
   as desktop. Reserve room for the fruit instead of splitting off a full-screen video. */
@media (max-width: 1100px) {
  .hero--orange { display: block; min-height: max(760px, 100svh); }
  .hero__media { position: absolute; inset: 0; height: auto; min-height: 0; }
  .hero__layout { min-height: inherit; padding: calc(var(--header-h) + 55vw) var(--gutter) 32px; gap: 24px; }
  .hero--orange .hero__main { max-width: 600px; }
  .hero__stage::after { background: linear-gradient(180deg, rgba(15,46,26,.55), transparent 24%, transparent 42%, rgba(15,46,26,.92) 68%, #0F2E1A); }
  .hero__video, .hero--orange .hero__end { top: var(--header-h); height: 55vw; max-height: 520px; transform: none; object-fit: cover; object-position: center; mask-image: linear-gradient(180deg, transparent, #000 6%, #000 88%, transparent); }
  .hero__word { display: flex; top: calc(var(--header-h) + 12px); font-size: clamp(4.5rem, 14vw, 9rem); padding-inline: var(--gutter); }
  .hero__word span { width: 27vw; }
  .hero__controls { top: calc(var(--header-h) + 24px); bottom: auto; right: var(--gutter); }
  .hero__cards { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero__cards .hcard { min-height: 154px; padding: 48px 16px 18px; }
  .hero__cards .hcard--cream { min-height: 172px; }
  .hero__cards .hcard__title { font-size: 1.05rem; }
  .hero__cards .hcard__text { font-size: .82rem; }
}
@media (max-width: 640px) {
  body.home .header__inner { padding-inline: 20px; gap: 12px; }
  body.home .header__brand img { width: 96px; }
  body.home .header__actions { gap: 8px; }
  body.home .header__actions .btn { min-height: 40px; font-size: .75rem; padding-inline: 12px; }
  body.home .menu-toggle { width: 40px; height: 40px; }
  .hero--orange { min-height: 100svh; }
  .hero__layout { padding: calc(var(--header-h) + 80vw + 12px) 20px 28px; gap: 22px; }
  .hero__video, .hero--orange .hero__end { top: var(--header-h); height: 80vw; max-height: none; }
  .hero__word { top: calc(var(--header-h) + 8px); font-size: 22vw; padding-inline: 20px; }
  .hero__word span { width: 27vw; }
  .hero--orange .hero__main { gap: 18px; max-width: none; }
  .hero--orange .hero__copy { gap: 12px; }
  .hero--orange .hero__since { font-size: .75rem; gap: 8px; }
  .hero--orange .hero__title { font-size: clamp(1.8rem, 7.8vw, 2.45rem); line-height: 1.08; text-wrap: pretty; }
  .hero--orange .hero__lead { font-size: .9rem; line-height: 1.55; max-width: 38ch; }
  .hero--orange .hero__ctas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hero--orange .hero__ctas .btn { padding-inline: 10px; min-height: 48px; font-size: .75rem; white-space: normal; text-align: center; gap: 5px; }
  .hero__cards { gap: 8px; align-items: stretch; padding-top: 12px; }
  .hero__cards li { display: flex; }
  .hero__cards .hcard { width: 100%; min-height: 178px; padding: 40px 10px 14px; border-radius: 14px; gap: 8px; align-content: start; }
  .hero__cards .hcard--cream { min-height: 178px; transform: translateY(-12px); }
  .hero__cards .hcard__title { font-size: .9rem; line-height: 1.2; }
  .hero__cards .hcard__text { font-size: .75rem; line-height: 1.45; opacity: 1; }
  .hero__cards .hcard__go { top: 9px; right: 9px; width: 24px; height: 24px; }
  .hero__cards .hcard__go svg { width: 12px; height: 12px; }
  .hero__stage::after { background: linear-gradient(180deg, rgba(15,46,26,.55), transparent 18%, transparent 32%, rgba(15,46,26,.7) 46%, #0F2E1A 66%); }
}
@media (max-width: 359px) {
  body.home .header__inner { padding-inline: 16px; gap: 8px; }
  body.home .header__brand img { width: 80px; }
  body.home .header__actions .btn { font-size: .7rem; padding-inline: 9px; }
  .hero__layout { padding-inline: 16px; }
  .hero__cards { gap: 6px; }
  .hero__cards .hcard { padding-inline: 8px; }
}

/* One screen opening, with the original fruit movement reframed for portrait. */
body.home .header__brand img { width: 100px; height: auto; opacity: .78; transition: opacity .3s ease; }
body.home .header__brand:hover img, body.home .header__brand:focus-visible img { opacity: 1; }
body.home .header__brand { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .7s ease; }
body.home .site-header.is-logo-visible .header__brand { opacity: 1; visibility: visible; pointer-events: auto; }
body.home .header__actions a[href="#contato"],
.hero--orange .hero__ctas a[href="#contato"] {
  background: transparent; color: #FBFAF4;
  border: 1px solid rgba(251,250,244,.55);
}
body.home .header__actions a[href="#contato"]:hover,
.hero--orange .hero__ctas a[href="#contato"]:hover { background: rgba(251,250,244,.1); }
.hcard__mobile { display: none; }
@media (max-width: 640px) {
  body.home .header__brand img { width: 78px; }
  .hero--orange { min-height: max(760px, 100svh); }
  .hero__layout { padding: max(365px, 49svh) 20px 22px; gap: 16px; }
  .hero__video, .hero--orange .hero__end {
    inset: 0; width: 100%; height: 100%; max-height: none;
    object-fit: cover; object-position: center top; mask-image: none;
  }
  .hero__stage::before { display: none; }
  .hero__stage::after {
    background: linear-gradient(180deg, rgba(15,46,26,.38), transparent 18%, transparent 38%, rgba(15,46,26,.5) 51%, rgba(15,46,26,.88) 67%, rgba(15,46,26,.95));
  }
  .hero__word { top: calc(var(--header-h) + 10px); font-size: 21vw; }
  .hero--orange .hero__main { gap: 14px; }
  .hero--orange .hero__copy { gap: 10px; }
  .hero--orange .hero__title { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero--orange .hero__lead { font-size: .82rem; line-height: 1.5; }
  .hero--orange .hero__ctas .btn { min-height: 46px; }
  .hero__cards { padding-top: 8px; }
  .hero__cards .hcard { min-height: 140px; padding: 34px 10px 12px; gap: 6px; }
  .hero__cards .hcard--cream { min-height: 140px; transform: translateY(-8px); }
  .hero__cards .hcard__title { font-size: .85rem; }
  .hero__cards .hcard__text { font-size: .75rem; line-height: 1.35; }
  .hcard__desktop { display: none; }
  .hcard__mobile { display: inline; }
}
@media (max-width: 359px) {
  .hero__layout { padding-inline: 16px; }
  .hero__cards .hcard { padding-inline: 8px; }
  body.home .header__brand img { width: 70px; }
}
/* This portrait clip lands in the lower part of the frame: keep that area clear. */
@media (max-width: 640px) {
  .hero__layout { align-content: stretch; grid-template-rows: auto minmax(140px, 1fr); padding-top: calc(var(--header-h) + 100px); }
  .hero--orange .hero__main { align-self: start; }
  .hero__cards { align-self: end; }
  .hero__stage::after {
    background: linear-gradient(180deg, rgba(15,46,26,.25), rgba(15,46,26,.32) 14%, rgba(15,46,26,.78) 23%, rgba(15,46,26,.85) 44%, rgba(15,46,26,.12) 52%, rgba(15,46,26,.08) 73%, rgba(15,46,26,.55) 82%, rgba(15,46,26,.8));
  }
}

/* Keep the decoded video in one composited layer throughout playback and hold.
   Fallback images fade over that layer only when playback is unavailable. */
.hero__video { transform: translateZ(0); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.hero__stage { overflow: hidden; }
body.home .site-header:not(.is-logo-visible) { -webkit-backdrop-filter: none; backdrop-filter: none; }
