/* =========================================================
   Madeireira Cuiabá — estilos
   Paleta tirada do Instagram @cuiaba.acabamentos
   ========================================================= */
:root {
  --green: #72b743;        /* verde do logo */
  --green-600: #5e9c33;
  --green-900: #0a2614;    /* verde-escuro dos posts */
  --green-800: #0f3a1f;
  --green-700: #154d29;
  --gold: #f5b81c;         /* amarelo/ouro das artes */
  --ink: #111;
  --text: #24332a;
  --muted: #5d6b62;
  --paper: #f6f4ee;
  --white: #fff;
  --wa: #25d366;

  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(10, 38, 20, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--text); background: var(--paper); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip:focus { left: 8px; }

.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green-600); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.3rem); line-height: 1.18; text-transform: uppercase; color: var(--green-900); letter-spacing: .01em; margin-bottom: 1.4rem; }
.title--light { color: var(--white); }
.hl { color: var(--green); }
.title--light .hl, .hero .hl { color: var(--gold); }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; will-change: transform; }
.btn svg { width: 1.35em; height: 1.35em; }
.btn:hover { transform: translateY(-3px); }
.btn--wa { background: var(--wa); color: #06331a; box-shadow: 0 10px 30px -10px rgba(37, 211, 102, .7); }
.btn--wa:hover { box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .9); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--outline { color: var(--green-800); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--sm { padding: .65rem 1.15rem; font-size: .92rem; }
.btn--lg { padding: 1.2rem 2.2rem; font-size: 1.25rem; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 0; transition: background .4s, padding .4s, box-shadow .4s; }
/* fundo num pseudo-elemento: backdrop-filter no próprio header prenderia o menu mobile (position: fixed) */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 38, 20, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 10px 30px -15px rgba(0,0,0,.5); opacity: 0; transition: opacity .4s; }
.header.is-scrolled { padding: 8px 0; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { display: flex; align-items: center; gap: 1.5rem; }
.header__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--white); }
.header__logo img { width: 60px; height: auto; transition: width .4s; }
.is-scrolled .header__logo img { width: 50px; }
.header__name { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; opacity: .9; }
.nav { margin-left: auto; display: flex; gap: 1.6rem; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--white); margin: 5px 0; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); overflow: hidden; padding: 120px 0 90px; background: var(--green-900); }
.hero__bg { position: absolute; inset: -10% 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 80% 20%, rgba(114,183,67,.25), transparent 55%),
  linear-gradient(100deg, rgba(10,38,20,.96) 0%, rgba(10,38,20,.82) 45%, rgba(10,38,20,.35) 100%); }
.hero__content { position: relative; max-width: 1200px; }
.hero__title { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.8rem, 6.8vw, 5.8rem); line-height: 1.08; letter-spacing: .01em; margin-bottom: 1.8rem; }
.hero__title .line { display: block; overflow: hidden; padding: .06em 0 .04em; margin-top: -.06em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; }
.hero__title .line:nth-child(1) > span { animation-delay: .15s; }
.hero__title .line:nth-child(2) > span { animation-delay: .25s; }
.hero__title .line:nth-child(3) > span { animation-delay: .35s; }
.hero__title .line:nth-child(4) > span { animation-delay: .45s; }
@keyframes lineUp { to { transform: none; } }
.hero__lead { max-width: 580px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.88); }
.hero__lead strong { color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 2.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__badges li { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .92rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__badges svg { width: 1.2em; height: 1.2em; color: var(--green); }
.stars { color: var(--gold); letter-spacing: .1em; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--green); color: var(--green-900); overflow: hidden; padding: .9rem 0; position: relative; z-index: 2; border-block: 3px solid var(--gold); }
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.2; letter-spacing: .02em; white-space: nowrap; }
.marquee__track span, .marquee__track i { display: block; padding-right: 1.6rem; }
/* losango desenhado em CSS para alinhar no centro da linha, sem depender do glifo da fonte */
.marquee__track i { font-size: 0; }
.marquee__track i::before { content: ""; display: block; width: 10px; height: 10px; background: var(--white); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__head .eyebrow { justify-content: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__head--left .eyebrow { justify-content: flex-start; }
.section__head--light { max-width: 900px; }
.section__head--light .eyebrow { color: var(--gold); }
.section__sub { color: var(--muted); font-size: 1.1rem; }

/* ---------- Sobre ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { position: relative; aspect-ratio: 4/5; }
.about__img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img--a { inset: 0 22% 14% 0; width: 78%; height: 86%; }
.about__img--b { right: 0; bottom: 0; width: 52%; height: 56%; border: 8px solid var(--paper); }
.about__seal { position: absolute; left: -14px; bottom: 6%; width: 132px; height: 132px; border-radius: 50%; background: var(--gold); color: var(--green-900); display: grid; place-content: center; text-align: center; line-height: 1; box-shadow: var(--shadow); animation: spinSlow 18s linear infinite paused; }
.about__seal strong { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.about__seal span { font-family: var(--display); font-size: 1.5rem; line-height: 1.2; text-transform: uppercase; margin: .25rem 0; }
.about__seal em { font-style: normal; font-weight: 700; font-size: 1rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(10,38,20,.12); }
.stat strong { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); color: var(--green-600); line-height: 1.15; margin-bottom: .3rem; }
.stat > span { font-size: .92rem; color: var(--muted); }

/* ---------- Diferenciais ---------- */
.perks { background: var(--green-900); padding: clamp(60px, 8vw, 100px) 0; position: relative; overflow: hidden; }
.perks::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(114,183,67,.22), transparent 65%); }
.perks__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.perk { padding: 2rem 1.6rem; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.78); transition: transform .4s var(--ease), background .4s, border-color .4s; }
.perk:hover { transform: translateY(-6px); background: rgba(114,183,67,.1); border-color: rgba(114,183,67,.4); }
.perk svg { width: 46px; height: 46px; color: var(--gold); margin-bottom: 1.2rem; }
.perk h3 { color: var(--white); font-size: 1.25rem; margin-bottom: .6rem; }
.perk p { margin: 0; font-size: .98rem; }

/* ---------- Produtos ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 1rem; }
.card { position: relative; overflow: hidden; border-radius: var(--radius); color: var(--white); text-decoration: none; isolation: isolate; box-shadow: var(--shadow); }
.card--xl { grid-column: span 2; grid-row: span 2; }
.card--tall { grid-row: span 2; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(10,38,20,.92) 100%); transition: background .5s; }
.card:hover img { transform: scale(1.08); }
.card:hover::before { background: linear-gradient(180deg, rgba(10,38,20,.15) 0%, rgba(10,38,20,.95) 100%); }
.card__body { position: absolute; inset: auto 0 0; padding: 1.4rem; }
.card__tag { display: inline-block; line-height: 1.3; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-900); background: var(--green); padding: .25rem .6rem; border-radius: 6px; margin-bottom: .6rem; }
.card h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; line-height: 1.15; letter-spacing: .01em; margin-bottom: .5rem; }
.card--xl h3 { font-size: clamp(2.1rem, 3.6vw, 3rem); }
.card p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s; }
.card:hover p, .card--xl p, .card:focus-visible p { max-height: 120px; opacity: 1; }

/* ---------- Madeiras ---------- */
.wood { position: relative; color: rgba(255,255,255,.86); padding: clamp(80px, 12vw, 150px) 0; overflow: hidden; background: var(--green-900); }
.wood__bg { position: absolute; inset: -15% 0; }
.wood__bg img { width: 100%; height: 100%; object-fit: cover; }
.wood__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,38,20,.97) 0%, rgba(10,38,20,.88) 50%, rgba(10,38,20,.6) 100%); }
.wood__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.wood .eyebrow { color: var(--gold); }
.checklist { margin: 1.6rem 0 2.2rem; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .8rem; align-items: center; font-weight: 500; color: var(--white); }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230a2614' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.wood__stack { position: relative; height: 560px; }
.wood__fig { position: absolute; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.wood__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wood__fig:hover img { transform: scale(1.06); }
.wood__fig figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--gold); color: var(--green-900); font-weight: 700; font-size: .82rem; padding: .3rem .7rem; border-radius: 6px; }
.wood__fig--1 { top: 0; left: 0; width: 58%; height: 62%; }
.wood__fig--2 { top: 12%; right: 0; width: 38%; height: 58%; }
.wood__fig--3 { bottom: 0; left: 26%; width: 46%; height: 40%; border: 6px solid var(--green-900); }
.wood__fig--3 img { object-position: center 85%; }
.wood__fig--2 figcaption { top: 12px; bottom: auto; }

/* ---------- Catálogos ---------- */
.catalogs { background: var(--white); }
.catalogs__grid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 1rem; }
.catalogs__grid > .cat { grid-column: span 4; }
.catalogs__grid > .cat--feature { grid-column: span 5; min-height: 150px; justify-content: flex-end; }
.cat { position: relative; display: flex; flex-direction: column; gap: .15rem; padding: 1.3rem 1.2rem 1.2rem; border-radius: 14px; border: 1px solid rgba(10,38,20,.12); background: var(--paper); text-decoration: none; color: var(--green-900); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, color .35s; }
.cat::before { content: ""; position: absolute; inset: 0; background: var(--green-900); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; }
.cat > * { position: relative; z-index: 1; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--white); border-color: var(--green-900); }
.cat:hover::before { transform: none; }
.cat__type { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-600); }
.cat:hover .cat__type { color: var(--gold); }
.cat strong { font-family: var(--display); font-weight: 400; font-size: 1.45rem; text-transform: uppercase; line-height: 1.2; letter-spacing: .01em; margin: .25rem 0 .1rem; }
.cat em { font-style: normal; font-size: .9rem; opacity: .75; }
.cat__go { position: absolute; right: 1rem; top: 1rem; font-size: 1.2rem; transition: transform .35s var(--ease); }
.cat:hover .cat__go { transform: translateX(4px); }
.cat--feature { background: var(--green-900); color: var(--white); border-color: var(--green-900); }
.cat--feature .cat__type { color: var(--gold); }
.cat--feature::before { background: var(--green-600); }

/* ---------- Galeria ---------- */
.gallery { background: var(--green-900); padding: clamp(70px, 10vw, 120px) 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: .8rem; }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--green-800); }
.gallery__item--w { grid-column: span 2; }
.gallery__item--t { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.92); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(10,38,20,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='white' stroke-width='2' stroke-linecap='round' d='M11 4a7 7 0 1 0 0 14 7 7 0 0 0 0-14Zm9 16-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center/34px no-repeat; opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.gallery__item:hover::after { opacity: 1; }

/* ---------- Depoimentos ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review { margin: 0; padding: 2rem; border-radius: var(--radius); background: var(--white); box-shadow: 0 10px 40px -25px rgba(10,38,20,.4); position: relative; }
.review::before { content: "“"; position: absolute; right: 22px; top: -10px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--green); opacity: .25; }
.review p { font-size: 1.12rem; font-weight: 500; color: var(--green-900); margin: .8rem 0 1.2rem; }
.review cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* ---------- Lojas ---------- */
.stores { background: var(--white); }
.stores__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.store { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid rgba(10,38,20,.08); }
.store__map { aspect-ratio: 16/9; background: #dfe7da; }
.store__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.store__body { padding: 1.6rem; }
.store h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; line-height: 1.2; letter-spacing: .01em; color: var(--green-900); margin-bottom: 1rem; }
.store p { display: flex; gap: .6rem; align-items: flex-start; }
.store p svg { width: 1.2em; height: 1.2em; margin-top: .25em; color: var(--green-600); }
.store a[href^="tel"] { font-weight: 700; text-decoration: none; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq__list { display: grid; gap: .8rem; }
.faq details { background: var(--white); border-radius: 14px; border: 1px solid rgba(10,38,20,.1); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 3.2rem 1.2rem 1.4rem; font-weight: 700; color: var(--green-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 160px) 0; text-align: center; color: rgba(255,255,255,.9); background: var(--green-900); }
.cta__bg { position: absolute; inset: -15% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10,38,20,.75), rgba(10,38,20,.95)); }
.cta__inner { position: relative; }
.cta .title { font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.15; }
.cta p { font-size: 1.2rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.footer { background: #071b0e; color: rgba(255,255,255,.7); padding: 70px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr; gap: 2rem; }
.footer__logo { width: 140px; height: auto; margin-bottom: 1rem; }
.footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1rem; }
.footer li { margin-bottom: .5rem; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--green); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; font-size: .85rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45); transform: scale(0); transition: transform .4s var(--ease); }
.wa-float.is-visible { transform: scale(1); }
.wa-float svg { width: 34px; height: 34px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 18, 10, .94); display: grid; place-items: center; padding: 24px; animation: fadeIn .3s; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__close { position: absolute; right: 18px; top: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--green-900); font-size: 2rem; line-height: 1; }
@keyframes fadeIn { from { opacity: 0; } }

/* =========================================================
   Animações ao rolar
   ========================================================= */
[data-anim] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
[data-anim="up"] { transform: translateY(40px); }
[data-anim="left"] { transform: translateX(-60px); }
[data-anim="right"] { transform: translateX(60px) rotate(2deg); }
[data-anim="pop"] { transform: scale(.6); }
[data-anim].is-in { opacity: 1; transform: none; }
.about__seal.is-in { animation-play-state: running; }
@keyframes spinSlow { to { rotate: 360deg; } }

/* Sem JS, mostra tudo */
.no-js [data-anim] { opacity: 1; transform: none; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .catalogs__grid { grid-template-columns: repeat(2, 1fr); }
  .catalogs__grid > .cat, .catalogs__grid > .cat--feature { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 1.6rem; background: var(--green-900); transform: translateY(-100%); visibility: hidden; transition: transform .5s var(--ease), visibility 0s .5s; z-index: -2; }
  .nav a { font-family: var(--display); font-size: 2rem; line-height: 1.25; text-transform: uppercase; font-weight: 400; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease); }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .about__grid, .wood__grid, .faq__grid, .stores__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; width: 100%; margin: 0 auto; }
  .about__seal { left: 0; }
  .wood__stack { height: 440px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .section__head--left { text-align: center; margin-inline: auto; }
  .section__head--left .eyebrow { justify-content: center; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header__name { display: none; }
  .hero { padding-top: 100px; }
  .hero__ctas .btn { width: 100%; }
  .hero__badges li { font-size: .82rem; }
  .cards { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .card--xl { grid-column: auto; grid-row: span 1; }
  .card--tall { grid-row: span 1; }
  .card--xl h3 { font-size: 2rem; }
  .card p { max-height: 120px; opacity: 1; }
  .perks__grid { grid-template-columns: 1fr; }
  .catalogs__grid { gap: .6rem; }
  .cat { padding: 1rem .9rem; }
  .cat strong { font-size: 1.2rem; }
  .catalogs__grid > .cat--feature { min-height: 120px; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: .5rem; }
  .stat > span { font-size: .8rem; }
  .wood__stack { height: 360px; }
  .footer__grid { grid-template-columns: 1fr; }
  .about__seal { width: 104px; height: 104px; }
  .about__seal span { font-size: 1.15rem; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: .5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-anim] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
