/* ==========================================================
   Maderesk – Madeiras & Materiais de Construção
   ========================================================== */

:root {
  /* paleta da logo Maderesk (#25A480) */
  --brand: #25a480;
  --brand-600: #1b8a6a;
  --brand-light: #7ee3c0;
  --green-900: #0b3d2f;
  --green-800: #0f5a44;
  --green-700: #16765a;
  --green-100: #e2f4ed;
  --wood-700: #1b8a6a;
  --wood-500: #1b8a6a;
  --wood-300: #9edcc5;
  --wood-100: #d6f1e6;
  --amber: #25a480;
  --amber-600: #1b8a6a;
  --star: #f5b400;
  --cream: #f1f8f5;
  --ink: #16231e;
  --muted: #56665f;
  --line: #dce8e3;
  --white: #fff;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(19, 38, 27, .06), 0 6px 20px rgba(19, 38, 27, .08);
  --shadow-lg: 0 20px 50px rgba(19, 38, 27, .18);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: .2px; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

svg use { pointer-events: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--brand); color: #fff; box-shadow: 0 6px 16px rgba(37, 164, 128, .35); }
.btn--accent:hover { background: var(--amber-600); }
.btn--ghost { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--dark { background: var(--green-800); color: #fff; }
.btn--dark:hover { background: var(--green-700); }
.btn--block { width: 100%; }

.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; }
.icon-btn svg { width: 24px; height: 24px; }
.icon-btn:hover { background: var(--green-100); }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--brand-light); margin-bottom: 14px;
}
.eyebrow--dark { color: var(--wood-500); }

/* ---------- Topbar ---------- */
.topbar { background: var(--green-900); color: #d5ece3; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar__msg, .topbar__links a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 16px; height: 16px; color: var(--brand-light); }
.topbar__links { display: flex; gap: 22px; }
.topbar__links a:hover { color: #fff; }
@media (max-width: 720px) {
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.header__menu { display: none; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--brand); color: #fff; border-radius: 10px; padding: 9px 16px 8px; line-height: 1;
  font-family: "Saira", var(--font); font-stretch: 125%;
}
.logo__badge strong { font-weight: 800; font-size: 25px; letter-spacing: .5px; }
.logo__badge small { font-weight: 700; font-size: 8.6px; letter-spacing: 1.6px; margin-top: 5px; white-space: nowrap; }
.logo--light .logo__badge { box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

.search { flex: 1; display: flex; max-width: 560px; margin: 0 auto; position: relative; }
.search input {
  width: 100%; height: 48px; border: 2px solid var(--line); background: var(--cream);
  border-radius: 999px; padding: 0 56px 0 20px; font-size: 15px; outline: none;
  transition: border-color .2s, background .2s;
}
.search input:focus { border-color: var(--green-700); background: #fff; }
.search button {
  position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--green-800); color: #fff; display: grid; place-items: center;
}
.search button svg { width: 18px; height: 18px; }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__contact { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green-800); font-size: 15px; }
.header__contact svg { width: 22px; height: 22px; color: var(--wood-500); }
.header__contact small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); }
.quote-btn {
  position: relative; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px;
  border-radius: 999px; background: var(--green-800); color: #fff; font-weight: 600; font-size: 14px;
}
.quote-btn svg { width: 20px; height: 20px; }
.quote-btn:hover { background: var(--green-700); }
.quote-btn__count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff;
  color: var(--green-800); font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.quote-btn.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.08); } }

/* nav */
.nav { border-top: 1px solid var(--line); background: #fff; }
.nav__inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav__inner::-webkit-scrollbar { display: none; }
.nav a {
  white-space: nowrap; padding: 14px 14px; font-size: 14px; font-weight: 600; color: var(--ink);
  border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--green-700); border-color: var(--amber); }
.nav__all { display: inline-flex; align-items: center; gap: 8px; color: var(--green-800) !important; }
.nav__all svg { width: 18px; height: 18px; }
.nav__hl { margin-left: auto; color: var(--wood-500) !important; }

@media (max-width: 1080px) { .header__contact { display: none; } }
@media (max-width: 860px) {
  html { scroll-padding-top: 130px; }
  .header__menu { display: grid; }
  .header__inner { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-top: 10px; padding-bottom: 12px; }
  .logo { margin-right: auto; }
  .logo__badge { padding: 7px 12px 6px; }
  .logo__badge strong { font-size: 21px; }
  .logo__badge small { font-size: 7.2px; letter-spacing: 1.3px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { height: 44px; }
  .search button { width: 34px; height: 34px; }
  .quote-btn { height: 42px; padding: 0 14px; }
  .nav { position: fixed; inset: 0 30% 0 0; max-width: 320px; transform: translateX(-100%); transition: transform .3s ease, visibility .3s; visibility: hidden; z-index: 70; border: 0; padding-top: 16px; overflow-y: auto; }
  .nav.is-open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
  .nav__inner { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { border-bottom: 1px solid var(--line); border-left: 3px solid transparent; padding: 15px 8px; }
  .nav a:hover { border-bottom-color: var(--line); border-left-color: var(--amber); }
  .nav__hl { margin-left: 0; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(19,38,27,.45); z-index: 60; }
}
@media (max-width: 480px) {
  .quote-btn__label { display: none; }
  .header__inner { padding-left: 10px; padding-right: 16px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--green-900); }
.hero__track { display: grid; }
.slide {
  grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
  color: #fff; min-height: 540px; display: flex; align-items: center;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.slide::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,61,47,.96) 0%, rgba(11,61,47,.88) 32%, rgba(11,61,47,.35) 58%, rgba(11,61,47,0) 75%);
}
.slide__inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 80px; }
.slide__text { max-width: 560px; }
.slide.is-active .slide__text > * { animation: rise .7s ease both; }
.slide.is-active .slide__text > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide__text > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide__text > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.slide h1, .slide h2 { font-size: clamp(38px, 5.4vw, 66px); font-weight: 800; text-transform: uppercase; text-shadow: 0 2px 18px rgba(0,0,0,.18); }
.slide h1 em, .slide h2 em { font-style: normal; color: var(--brand-light); display: block; }
.slide p { margin-top: 18px; font-size: 17px; max-width: 500px; color: rgba(255,255,255,.88); }
.slide__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.9); color: var(--green-800); display: grid; place-items: center; box-shadow: var(--shadow);
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev { left: 16px; } .hero__arrow--prev svg { transform: rotate(180deg); }
.hero__arrow--next { right: 16px; }
@media (max-width: 1360px) { .hero__arrow { display: none !important; } }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.5); transition: width .3s, background .3s; }
.hero__dots button.is-active { width: 28px; background: #fff; }

@media (max-width: 860px) {
  .slide { min-height: 0; flex-direction: column; align-items: stretch; background: var(--green-900); }
  .slide__img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; object-position: var(--pos-m, center); }
  .slide::before { top: 0; bottom: auto; height: auto; aspect-ratio: 16 / 10; background: linear-gradient(180deg, rgba(11,61,47,0) 55%, rgba(11,61,47,1) 100%); }
  .slide__inner { margin-top: -28px; padding-top: 0; padding-bottom: 60px; }
  .slide p { font-size: 15.5px; }
}

/* ---------- Diferenciais ---------- */
.perks { background: var(--cream); border-bottom: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { display: flex; align-items: center; gap: 14px; padding: 22px 16px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { width: 34px; height: 34px; color: var(--wood-500); flex-shrink: 0; }
.perk strong { display: block; font-size: 15px; color: var(--green-800); }
.perk span { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) {
  .perks__grid { grid-template-columns: 1fr 1fr; }
  .perk:nth-child(3) { border-left: 0; }
  .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .perk { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 12px; }
  .perk svg { width: 28px; height: 28px; }
}

/* ---------- Seções ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__head h2, .about h2, .reviews__head h2, .cta h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; text-transform: uppercase; color: var(--green-800); }
.section__sub { color: var(--muted); margin-top: 6px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--wood-500); white-space: nowrap; }
.link-more svg { width: 16px; height: 16px; transition: transform .2s; }
.link-more:hover svg { transform: translateX(3px); }
@media (max-width: 600px) { .section { padding: 52px 0; } }

/* categorias */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  padding: 24px 12px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  font-weight: 600; font-size: 14.5px; color: var(--green-800); background: #fff;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; color: var(--wood-500); transition: background .2s, color .2s; }
.cat__icon svg { width: 40px; height: 40px; }
.cat:hover { border-color: var(--wood-300); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat:hover .cat__icon { background: var(--brand); color: #fff; }
@media (max-width: 1080px) { .cats { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) {
  .cats { gap: 8px; }
  .cat { padding: 14px 6px; font-size: 12.5px; gap: 8px; line-height: 1.3; }
  .cat__icon { width: 58px; height: 58px; }
  .cat__icon svg { width: 32px; height: 32px; }
}

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: thin; }
.chip {
  white-space: nowrap; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: 14px; font-weight: 600; color: var(--muted); transition: all .2s;
}
.chip:hover { border-color: var(--wood-300); color: var(--green-800); }
.chip[aria-selected="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }

/* produtos */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product__media { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--tone, var(--wood-100)); }
.product__media svg { width: 42%; height: auto; color: var(--green-800); opacity: .9; }
.product__media.has-photo { background: #fff; border-bottom: 1px solid var(--line); }
.product__media img { position: absolute; inset: 0; margin: auto; width: 78%; height: 80%; object-fit: contain; transition: transform .3s ease; }
.product__media.is-cheia img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product:hover .product__media img { transform: scale(1.04); }
.product__badge { z-index: 1;
  position: absolute; top: 12px; left: 12px; background: var(--brand); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; padding: 4px 10px; border-radius: 999px;
}
.product__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product__cat { font-size: 12px; font-weight: 600; color: var(--wood-500); text-transform: uppercase; letter-spacing: .5px; }
.product__name { font-family: var(--font); letter-spacing: 0; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.product__desc { font-size: 13.5px; color: var(--muted); }
.product__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product__price { font-size: 13px; color: var(--muted); }
.product__price strong { display: block; color: var(--green-800); font-size: 15px; }
.add-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px;
  background: var(--green-800); color: #fff; font-size: 13.5px; font-weight: 600; transition: background .2s;
}
.add-btn svg { width: 16px; height: 16px; }
.add-btn:hover { background: var(--green-700); }
.add-btn.is-added { background: var(--brand); color: #fff; }
.products__more { margin-top: 28px; text-align: center; }
.products__empty { margin-top: 24px; text-align: center; color: var(--muted); }
.products__empty a { color: var(--wood-500); font-weight: 600; text-decoration: underline; }

@media (max-width: 1080px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .products { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 480px) {
  .product__body { padding: 12px; }
  .product__name { font-size: 14px; }
  .product__desc { display: none; }
  .product__foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
}

/* segmentos */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.segment {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 30px 28px 28px; min-height: 260px;
  display: flex; flex-direction: column; gap: 12px; color: #fff;
}
.segment::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; border-radius: 50%;
  border: 26px solid rgba(255,255,255,.08);
}
.segment--a { background: var(--green-800); }
.segment--b { background: var(--brand-600); }
.segment--c { background: #2d3f39; }
.segment__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.16); color: #fff; }
.segment h3 { font-size: 28px; font-weight: 700; text-transform: uppercase; }
.segment p { color: rgba(255,255,255,.82); font-size: 15px; }
.segment a { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand-light); position: relative; z-index: 1; }
.segment a svg { width: 18px; height: 18px; transition: transform .2s; }
.segment a:hover svg { transform: translateX(4px); }
@media (max-width: 900px) { .segments { grid-template-columns: 1fr; } .segment { min-height: 0; } }

/* avaliações */
.section--dark { background: var(--green-900); color: #fff; }
.section--dark h2 { color: #fff !important; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.reviews__head p { color: rgba(255,255,255,.7); margin-top: 6px; }
.rating { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); padding: 14px 20px; border-radius: var(--radius); }
.rating strong { font-family: var(--display); font-size: 52px; line-height: 1; color: var(--brand-light); }
.rating small { display: block; color: rgba(255,255,255,.7); font-size: 13px; margin-top: 4px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 18px; height: 18px; }
.stars .half { clip-path: inset(0 50% 0 0); }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { margin: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.review blockquote { margin: 0; font-size: 15px; color: rgba(255,255,255,.9); flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--wood-300); color: var(--green-900); display: grid; place-items: center; font-weight: 700; }
@media (max-width: 1000px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reviews { grid-template-columns: 1fr; } }

/* sobre / loja */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.about h2 { margin-bottom: 18px; }
.about__text > p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }
.info { list-style: none; margin: 26px 0 28px; padding: 0; display: grid; gap: 18px; }
.info li { display: flex; gap: 14px; }
.info li > svg { width: 24px; height: 24px; color: var(--wood-500); flex-shrink: 0; margin-top: 2px; }
.info strong { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--green-800); margin-bottom: 2px; }
.info a { font-weight: 600; color: var(--green-800); }
.hours { border-collapse: collapse; font-size: 14.5px; color: var(--muted); }
.hours td { padding: 2px 0; }
.hours td:first-child { padding-right: 24px; }
.status { font-family: var(--font); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status.is-open { background: #d6f1e6; color: #0f5a44; }
.status.is-closed { background: #f6e0dc; color: #9b3324; }
.about__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--cream); box-shadow: var(--shadow); }
.about__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: 32px; } .about__map, .about__map iframe { min-height: 320px; } }

/* cta */
.cta { background: linear-gradient(120deg, #1b8a6a, #25a480 60%, #2fbf95); padding: 56px 0; color: #fff; }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff !important; }
.cta p { color: #fff; opacity: .9; margin-top: 8px; font-size: 17px; }
.cta__form { display: grid; gap: 10px; }
.cta__form input, .cta__form textarea {
  width: 100%; border: 0; border-radius: var(--radius); padding: 14px 16px; background: #fff; font-size: 15px; resize: vertical;
  box-shadow: 0 2px 0 rgba(19,38,27,.08);
}
.cta__form .btn--accent { background: var(--green-900); color: #fff; box-shadow: none; }
.cta__form .btn--accent:hover { background: var(--green-700); }
@media (max-width: 800px) { .cta__inner { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--green-900); color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
.footer h3 { font-family: var(--font); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a:hover { color: var(--brand-light); }
.footer__about { margin-top: 16px; max-width: 300px; }
.footer__contact li { display: flex; gap: 10px; }
.footer__contact svg { width: 18px; height: 18px; color: var(--brand-light); flex-shrink: 0; margin-top: 2px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.55); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp flutuante */
.whats-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whats-float svg { width: 32px; height: 32px; }
.whats-float:hover { transform: scale(1.07); }

/* drawer orçamento */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(19,38,27,.5); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 28px; text-transform: uppercase; color: var(--green-800); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--cream); }
.drawer__foot p { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 48px 12px; }
.drawer__empty svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--wood-300); }
.qitem { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.qitem__icon { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: var(--tone, var(--wood-100)); flex-shrink: 0; }
.qitem__icon.has-photo { background: #fff; border: 1px solid var(--line); }
.qitem__icon img { width: 85%; height: 85%; object-fit: contain; }
.qitem__icon { overflow: hidden; }
.qitem__icon.is-cheia img { width: 100%; height: 100%; object-fit: cover; }
.qitem__icon svg { width: 28px; height: 28px; color: var(--green-800); }
.qitem__name { flex: 1; font-size: 14px; font-weight: 600; line-height: 1.3; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--green-800); }
.qty button svg { width: 14px; height: 14px; }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: 14px; }
.qitem__rm { color: var(--muted); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; }
.qitem__rm:hover { color: #9b3324; background: #f6e0dc; }
.qitem__rm svg { width: 18px; height: 18px; }
body.drawer-open { overflow: hidden; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 100; opacity: 0; pointer-events: none;
  background: var(--green-900); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: opacity .25s, transform .25s; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
