/* ==========================================================================
   HERVARIA • Configurador de kits
   ========================================================================== */

:root {
  --green-950: #022a1b;
  --green-900: #033b26;
  --green-800: #0b4a31;
  --green-700: #1d5e3e;
  --leaf: #5fa82b;
  --leaf-soft: #e6f2da;
  --kraft: #c49a6c;
  --kraft-200: #e8d8c0;
  --kraft-100: #f3eadb;
  --cream: #fbf8f2;
  --lavender: #e2ddf1;
  --ink: #1b2620;
  --muted: #5d6b62;
  --line: #e4dccd;
  --white: #fff;
  --whats: #25d366;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(3, 59, 38, .25);
  --shadow-lg: 0 24px 60px -20px rgba(3, 59, 38, .35);
  --font-title: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --topbar-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topbar-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.container { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }

.ico { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: .75rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s, background-color .2s, box-shadow .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .option:focus-visible, .flavor:focus-visible, .chip:focus-visible, .stepper__btn:focus-visible, .link-home:focus-visible {
  outline: 3px solid var(--leaf); outline-offset: 3px;
}
.btn--primary { background: var(--leaf); color: var(--white); box-shadow: 0 8px 20px -8px rgba(95, 168, 43, .7); }
.btn--primary:hover { background: #529623; }
.btn--primary:disabled { background: #a9b9a2; box-shadow: none; cursor: not-allowed; transform: none; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--whats { background: var(--whats); color: #053d1d; }
.btn--whats:hover { background: #1fbe5b; }
.btn--sm { padding: .5em 1.1em; font-size: .9rem; }
.btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-home, .link-edit {
  background: none; border: 0; padding: .4em .2em;
  color: var(--green-700); font-weight: 500; font-size: .95rem;
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(29, 94, 62, .35);
}
.link-home:hover, .link-edit:hover { color: var(--leaf); text-decoration-color: currentColor; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: max(1.25rem, (100% - 1160px) / 2);
  transition: background-color .3s, box-shadow .3s;
}
.topbar.is-solid { background: rgba(3, 59, 38, .96); box-shadow: 0 6px 24px -10px rgba(0,0,0,.4); backdrop-filter: blur(8px); }
.topbar__logo img { height: 46px; width: auto; }
.topbar__nav { display: flex; align-items: center; gap: 1.5rem; }
.topbar__nav > a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; opacity: .9; }
.topbar__nav > a:not(.btn):hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-items: center;
  color: var(--white);
  overflow: hidden;
  background: var(--green-950);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 30, 19, .96) 0%, rgba(2, 36, 23, .85) 38%, rgba(2, 36, 23, .25) 75%, rgba(2,36,23,.1) 100%),
    url('../img/geradas/hero-chimarrao.jpg') center right / cover no-repeat;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__content { padding-block: calc(var(--topbar-h) + 2rem) 5rem; max-width: 1160px; }
.hero__content > * { max-width: 620px; }
.hero__logo { width: 150px; margin-bottom: 1.5rem; animation: fadeUp .8s .1s both; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 700; animation: fadeUp .8s .2s both; }
.hero h1 em { font-style: italic; color: #b8e08f; }
.hero .eyebrow { color: #b8e08f; animation: fadeUp .8s .15s both; }
.hero__lead { font-size: 1.2rem; font-weight: 300; opacity: .9; animation: fadeUp .8s .3s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; animation: fadeUp .8s .4s both; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px;
  background: var(--white); border-radius: 4px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Como funciona ---------- */
.how { background: var(--green-900); color: rgba(255,255,255,.85); padding-block: 3.5rem; }
.how__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.how__item h3 { color: var(--white); font-size: 1.2rem; margin-bottom: .3em; }
.how__item p { margin: 0; font-size: .97rem; }
.how__num {
  display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: .9rem;
  border-radius: 50%; border: 1.5px solid #b8e08f; color: #b8e08f;
  font-family: var(--font-title); font-weight: 700; font-size: 1.15rem;
}

/* ---------- Seções ---------- */
.section {
  padding-block: clamp(1.75rem, 3.5vh, 3rem) clamp(4.25rem, 7vh, 5.25rem);
  min-height: calc(100svh - var(--topbar-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.section--alt { background: var(--kraft-100); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(1rem, 2.2vh, 1.6rem); }
.section__head .eyebrow { margin-bottom: .3rem; }
.section__head h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); margin-bottom: .25em; }
.section__head p:last-child { color: var(--muted); margin: 0; font-size: .96rem; }
.section__head--left { text-align: left; margin-inline: 0; margin-bottom: 1.1rem; }

.step { scroll-margin-top: var(--topbar-h); }
.step.is-entering .container { animation: fadeUp .5s both; }
.step__nav { text-align: center; margin-top: 1.15rem; }
.step__actions { text-align: center; margin-top: 1.25rem; }

/* ---------- Cards de produtos ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.product {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
  padding: 0;
  color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product.is-selected { border-color: var(--leaf); }
.product__media { height: clamp(165px, 22vh, 215px); overflow: hidden; background: var(--kraft-200); }
.product__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s; }
.product:hover .product__media img { transform: scale(1.05); }
.product__body { padding: 1.1rem 1.3rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product__tag {
  position: absolute; top: .75rem; left: .75rem;
  background: var(--green-900); color: var(--white);
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .3em .8em; border-radius: 999px;
}
.product h3 { font-size: 1.32rem; margin-bottom: .25em; }
.product p { color: var(--muted); font-size: .9rem; margin-bottom: .65rem; line-height: 1.45; }
.product ul { list-style: none; padding: 0; margin: 0 0 .9rem; display: grid; gap: .25rem; font-size: .86rem; }
.product li { display: flex; gap: .45rem; align-items: baseline; }
.product li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); flex-shrink: 0; translate: 0 -2px; }
.product__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-top: .75rem; border-top: 1px dashed var(--line); }
.product__price small { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.product__price strong { font-family: var(--font-title); font-size: 1.4rem; color: var(--green-900); }
.product__cta { color: var(--leaf); font-weight: 600; display: inline-flex; align-items: center; gap: .3em; }
.product__cta::after { content: '→'; transition: transform .2s; }
.product:hover .product__cta::after { transform: translateX(4px); }

/* ---------- Opções (cuia, bomba, formato…) ---------- */
.options { display: grid; gap: 1.25rem; }
.options--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: 920px; margin-inline: auto; }
.options--yesno { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 760px; margin-inline: auto; }

.option {
  position: relative;
  display: flex; flex-direction: row; align-items: stretch;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 0; overflow: hidden;
  text-align: left; color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.option:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d9bd; }
.option.is-selected { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(95, 168, 43, .18), var(--shadow); }
.option__media { width: clamp(145px, 18vw, 195px); height: clamp(190px, 26vh, 245px); flex-shrink: 0; background: var(--kraft-200); overflow: hidden; }
.option__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
[data-group="bomba"] .option__media { width: clamp(140px, 15vw, 168px); height: auto; aspect-ratio: 62 / 100; }
[data-group="bomba"] .option__media img { object-fit: contain; background: #36591c; }
.option__body { padding: 1.15rem 3.2rem 1.15rem 1.25rem; display: flex; flex-direction: column; justify-content: center; gap: .35rem; flex: 1; }
.option__title { font-family: var(--font-title); font-size: 1.22rem; font-weight: 700; color: var(--green-900); }
.option__desc { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.option__price { margin-top: .35rem; font-weight: 600; font-size: 1.05rem; color: var(--green-700); }
.option__check {
  position: absolute; top: .85rem; right: .85rem;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: transparent;
  border: 2px solid var(--line);
  transition: all .25s;
}
.option__check .ico { width: 17px; height: 17px; }
.option.is-selected .option__check { background: var(--leaf); border-color: var(--leaf); color: var(--white); transform: scale(1.08); }

/* opções sim/não sem imagem grande */
.option--compact { flex-direction: row; align-items: center; }
.option--compact .option__media { width: 105px; height: 115px; flex-shrink: 0; align-self: stretch; }
.option--compact .option__media--icon { display: grid; place-items: center; background: var(--kraft-100); color: var(--muted); }
.option--compact .option__media--icon .ico { width: 36px; height: 36px; }
.option--compact .option__body { padding: .9rem 3.2rem .9rem 1.1rem; }

/* ---------- Sabores (estilo rótulo) ---------- */
.flavor-picker { margin-top: 1.25rem; animation: fadeUp .4s both; }
.flavor-picker__title { text-align: center; font-size: 1.2rem; margin-bottom: .85rem; }
.flavors { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }

.flavor {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--green-900);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 0; overflow: hidden;
  text-align: center; color: var(--white);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
button.flavor:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.flavor.is-selected { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(95, 168, 43, .35), var(--shadow); }
.flavor__label {
  background: var(--lavender);
  color: var(--green-900);
  padding: .6rem .65rem .5rem;
  display: flex; flex-direction: column; align-items: center;
}
.flavor__small { font-family: var(--font-title); font-style: italic; font-size: .66rem; color: #5a6a60; }
.flavor__name { font-family: var(--font-body); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: .88rem; margin-top: .1rem; padding-left: .18em; }
.flavor__type { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: #5a6a60; }
.flavor__label::after { content: ''; width: 26px; height: 2px; background: var(--green-900); margin-top: .35rem; }
.flavor__info { padding: .55rem .7rem .65rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; flex: 1; }
.flavor__leaf { width: 20px; height: 20px; color: rgba(255,255,255,.75); }
.flavor__desc { font-family: var(--font-title); font-style: italic; font-size: .78rem; line-height: 1.3; color: rgba(255,255,255,.88); margin: 0; }
.flavor__extra { font-size: .72rem; font-weight: 600; color: #b8e08f; }
.flavor__check {
  position: absolute; top: .55rem; right: .55rem;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--leaf); color: var(--white);
  opacity: 0; transform: scale(.6); transition: all .25s;
}
.flavor__check .ico { width: 15px; height: 15px; }
.flavor.is-selected .flavor__check { opacity: 1; transform: scale(1); }
.flavor__qty {
  position: absolute; top: .55rem; right: .55rem;
  min-width: 30px; height: 30px; padding: 0 .4rem; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--leaf); color: var(--white); font-weight: 700; font-size: .9rem;
  opacity: 0; transform: scale(.6); transition: all .25s;
}
.flavor.is-selected .flavor__qty { opacity: 1; transform: scale(1); }
.flavor .stepper { margin-top: auto; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); }
.flavor .stepper__btn { width: 32px; height: 32px; font-size: 1.15rem; color: var(--white); }
.flavor .stepper__btn:hover:not(:disabled) { background: rgba(255,255,255,.15); }
.flavor .stepper__input { width: 40px; height: 32px; font-size: .95rem; color: var(--white); }

/* ---------- Stepper ---------- */
.stepper {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--white); overflow: hidden;
}
.stepper__btn {
  width: 40px; height: 40px; border: 0; background: transparent;
  font-size: 1.35rem; line-height: 1; color: var(--green-900);
  transition: background-color .2s;
}
.stepper__btn:hover:not(:disabled) { background: var(--leaf-soft); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__input {
  width: 52px; height: 40px; border: 0; background: transparent; text-align: center;
  font: 600 1.05rem var(--font-body); color: var(--green-900);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus { outline: none; }
.stepper--lg .stepper__btn { width: 58px; height: 58px; font-size: 1.7rem; }
.stepper--lg .stepper__input { width: 90px; height: 58px; font-size: 1.5rem; }

/* ---------- Contador (ervas escolhidas) ---------- */
.counter-bar {
  position: sticky; top: calc(var(--topbar-h) + .5rem); z-index: 5;
  max-width: 520px; margin: 0 auto 1rem;
  display: flex; align-items: center; gap: .85rem;
  background: var(--white); border-radius: 999px; padding: .45rem 1rem .45rem .6rem;
  box-shadow: var(--shadow);
}
.counter-bar__dots { display: flex; gap: .35rem; flex-wrap: wrap; }
.counter-bar__dot { width: 22px; height: 22px; border-radius: 50%; border: 2px dashed #c4cdbf; transition: all .25s; }
.counter-bar__dot.is-on { background: var(--leaf); border: 2px solid var(--leaf); }
.counter-bar__text { font-weight: 500; font-size: .9rem; }
.counter-bar__text strong { color: var(--green-900); }
.counter-bar.is-done { background: var(--leaf-soft); }
.counter-bar__progress { flex: 1; height: 8px; border-radius: 99px; background: #e7ece3; overflow: hidden; min-width: 80px; }
.counter-bar__progress span { display: block; height: 100%; background: var(--leaf); border-radius: inherit; transition: width .3s; }

/* ---------- Quantidade de pacotes ---------- */
.qty-card {
  max-width: 620px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--white); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow);
}
.qty-card img { width: 135px; height: 155px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.qty-card__body { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }
.qty-card__hint { margin: 0; font-size: .92rem; color: var(--muted); }
.qty-card__hint strong { color: var(--leaf); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  border: 1.5px solid var(--line); background: var(--cream); border-radius: 999px;
  padding: .25em .9em; font-weight: 500; font-size: .92rem; color: var(--green-900); transition: all .2s;
}
.chip:hover { border-color: var(--leaf); }
.chip.is-active { background: var(--green-900); border-color: var(--green-900); color: var(--white); }

/* ---------- Personalização corporativa ---------- */
.pers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: .9rem;
  max-width: 920px;
  margin: 0 auto 1.1rem;
}
.pers-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.1rem;
  text-align: left;
  color: inherit;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pers-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #c9d9bd; }
.pers-card.is-selected { border-color: var(--leaf); background: #f8fcf4; box-shadow: 0 0 0 3px rgba(95, 168, 43, .16), var(--shadow); }
.pers-card__check {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; margin-top: .1rem;
  display: grid; place-items: center;
  background: var(--white); color: transparent;
  border: 2px solid var(--line);
  transition: all .2s;
}
.pers-card__check .ico { width: 15px; height: 15px; }
.pers-card.is-selected .pers-card__check { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.pers-card__body { display: flex; flex-direction: column; gap: .2rem; }
.pers-card__title { font-family: var(--font-title); font-size: 1.08rem; font-weight: 700; color: var(--green-900); }
.pers-card__desc { font-size: .86rem; color: var(--muted); line-height: 1.38; }
.pers-card__badge {
  align-self: flex-start;
  margin-top: .25rem;
  font-size: .74rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--leaf-soft);
  padding: .15em .65em;
  border-radius: 999px;
}
.pers-extra {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.pers-extra__note {
  margin: .5rem 0 0;
  font-size: .82rem;
  color: var(--muted);
}

/* ---------- Resumo ---------- */
.summary { background: linear-gradient(180deg, var(--kraft-100), var(--cream)); }
.summary__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; align-items: start; }
.summary__card, .summary__form { background: var(--white); border-radius: var(--radius); padding: clamp(1.15rem, 2.2vw, 1.65rem); box-shadow: var(--shadow); }
.summary__card { position: sticky; top: calc(var(--topbar-h) + .75rem); }
.summary__list { list-style: none; margin: 0 0 .85rem; padding: 0; }
.summary__list li { display: flex; justify-content: space-between; gap: .75rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary__list li:last-child { border-bottom: 0; }
.summary__item-name { font-weight: 500; }
.summary__item-sub { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }
.summary__item-price { font-weight: 600; color: var(--green-900); white-space: nowrap; }
.summary__qty { display: flex; flex-direction: column; gap: .55rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.summary__qty-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.summary__qty span { font-weight: 500; font-size: .95rem; }
.chips--sm .chip { font-size: .82rem; padding: .2em .75em; }
.summary__total {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--green-900); color: var(--white);
  border-radius: 12px; padding: .85rem 1.2rem; margin-top: .35rem;
}
.summary__label { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.summary__unit { display: block; font-size: .8rem; opacity: .75; }
.summary__total strong { font-family: var(--font-title); font-size: clamp(1.45rem, 3vw, 1.85rem); }
.summary__note { font-size: .8rem; color: var(--muted); margin: .6rem 0 .15rem; line-height: 1.4; }

.divider { display: flex; align-items: center; gap: .85rem; margin: .85rem 0; color: var(--muted); font-size: .85rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.form { display: grid; gap: .65rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.field { display: grid; gap: .25rem; }
.field span { font-size: .82rem; font-weight: 500; color: var(--green-900); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .55em .8em; background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 60px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--leaf); background: var(--white); box-shadow: 0 0 0 4px rgba(95,168,43,.15); }
.field input:user-invalid { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; font-size: .95rem; min-height: 1.4em; }
.form__status.is-ok { color: var(--green-700); font-weight: 500; }
.form__status.is-err { color: #b03a2e; }

/* ---------- Barra flutuante ---------- */
.floatbar {
  position: fixed; left: 50%; bottom: 1rem; z-index: 40;
  translate: -50% 0;
  width: min(620px, calc(100% - 1.5rem));
  display: flex; align-items: center; gap: .9rem;
  background: rgba(3, 59, 38, .97); color: var(--white);
  border-radius: 999px; padding: .5rem .55rem .5rem .6rem;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,.45);
  animation: floatIn .4s both;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.floatbar__home {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(255,255,255,.1); color: var(--white);
  border: 0; border-radius: 999px; padding: .55rem .9rem; font-size: .88rem; font-weight: 500;
}
.floatbar__home:hover { background: rgba(255,255,255,.2); }
.floatbar__info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.floatbar__name { font-size: .78rem; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.floatbar__total { font-family: var(--font-title); font-size: 1.2rem; }

/* ---------- Rodapé ---------- */
.footer { background: var(--green-950); color: rgba(255,255,255,.75); padding-top: 4rem; padding-bottom: 6rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer__brand img { width: 230px; margin-bottom: 1.25rem; }
.footer__brand p { max-width: 360px; font-size: .95rem; }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #b8e08f; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer__bottom p { margin: 0; }
.footer .link-home { color: #b8e08f; }

/* ---------- Responsivo ---------- */
@media (max-width: 1060px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .flavors { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .summary__grid { grid-template-columns: 1fr; }
  .summary__card { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  :root { --topbar-h: 62px; }
  body { font-size: 1rem; }
  .topbar__logo img { height: 38px; }
  .topbar__nav > a:not(.btn) { display: none; }
  .hero__bg {
    background:
      linear-gradient(180deg, rgba(2,30,19,.6) 0%, rgba(2,30,19,.9) 55%, rgba(2,30,19,.98) 100%),
      url('../img/geradas/hero-chimarrao.jpg') 70% center / cover no-repeat;
  }
  .hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__logo { width: 125px; margin-inline: auto; }
  .hero__actions { justify-content: center; width: 100%; }
  .hero__actions .btn { flex: 1; }
  .products { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .qty-card { flex-direction: column; text-align: center; }
  .qty-card__body { align-items: center; }
  .qty-card img { width: 120px; height: 120px; }
  .option__media { width: 120px; height: 165px; }
  [data-group="bomba"] .option__media { width: 112px; height: auto; aspect-ratio: 62 / 100; }
  .option__body { padding: .85rem 2.6rem .85rem .95rem; }
  .option__title { font-size: 1.08rem; }
  .option__desc { font-size: .84rem; }
  .option--compact .option__media { width: 88px; height: 96px; }
  .flavors { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .flavor__name { font-size: .88rem; letter-spacing: .18em; }
  .flavor__desc { font-size: .8rem; }
  .floatbar__home span { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
}

