/* =========================================================
   G&B Móveis e Eletro — estilos
   60% branco · 30% vermelho · 10% amarelo · detalhes em preto
   ========================================================= */
:root {
  --red: #C8102E;
  --red-d: #9E0C24;
  --red-10: rgba(200, 16, 46, .08);
  --red-60: rgba(200, 16, 46, .6);
  --yellow: #FFC72C;
  --yellow-d: #F2B300;
  --ink: #141414;
  --ink-2: #2A2A2A;
  --white: #FFFFFF;
  --cream: #FFF8EA;
  --muted: #555555;
  --line: #ECE4D2;
  --header-h: 84px;
  --radius: 18px;
  --ff-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --ff-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); overflow-x: hidden; }
body {
  margin: 0; font-family: var(--ff-body); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--ff-head); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.valores :focus-visible, .cta-card :focus-visible { outline-color: var(--ink); }

.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--ink); color: var(--white); border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--ff-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: 15px 28px; font-size: 1.0625rem; }
.btn:hover { transform: translateY(-2px); }

.btn-red { background: var(--red); color: var(--white); border-color: var(--red); box-shadow: 0 8px 20px rgba(200, 16, 46, .25); }
.btn-red:hover { background: var(--ink); border-color: var(--ink); color: var(--white); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); }

.btn-outline { background: var(--red-10); color: var(--red); border-color: var(--red-60); }
.btn-outline:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: var(--red); border-color: var(--red); color: var(--white); }

.btn-ghost-ink { background: rgba(20, 20, 20, .06); color: var(--ink); border-color: rgba(20, 20, 20, .7); }
.btn-ghost-ink:hover { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px;
  background: var(--line);
}
.header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; }
.brand img { height: 62px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 8px 12px; font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink);
  border-radius: 8px; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: var(--red); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--red); }
.nav-cta { margin-left: 12px; padding: 10px 18px; }

.burger {
  display: none; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--white); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--header-h) + 64px) 0 88px; overflow: hidden; }
.hero-dots {
  position: absolute; top: var(--header-h); right: 0; width: 46%; height: 100%; z-index: -1;
  background-image: radial-gradient(var(--yellow) 2px, transparent 2.5px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000 20%, transparent 75%); mask-image: linear-gradient(200deg, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-weight: 600; font-size: .9rem; margin-bottom: 22px;
}
.eyebrow svg { width: 18px; height: 18px; color: var(--yellow); }

.hero h1 { font-size: clamp(2.7rem, 6vw, 5.1rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.hero h1 span { display: block; color: var(--red); position: relative; width: fit-content; isolation: isolate; }
.hero h1 span::after {
  content: ""; position: absolute; left: 2%; right: -2%; bottom: .04em; height: .2em; z-index: -1;
  background: var(--yellow); border-radius: 4px; transform: skewX(-12deg) scaleX(0); transform-origin: left;
  animation: marker 1s .5s var(--ease) forwards;
}
@keyframes marker { to { transform: skewX(-12deg) scaleX(1); } }

.hero h2 {
  margin-top: 24px; max-width: 34ch; font-family: var(--ff-body); font-weight: 500; letter-spacing: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-tags li {
  padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white);
  font-weight: 600; font-size: .9rem; color: var(--ink-2);
}
.hero-tags li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 8px; vertical-align: middle; position: relative; top: -1px; }

.hero-visual { position: relative; padding: 0 22px 30px 0; }
.house { position: relative; aspect-ratio: 1 / 1.02; max-width: 560px; margin-left: auto; }
.house-frame, .house-shadow {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
}
.house-shadow { background: var(--yellow); transform: translate(20px, 20px); }
.house-frame { background: var(--red); padding: 12px; z-index: 1; }
.house-frame img {
  width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%;
  clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
  animation: houseIn 1.2s var(--ease) both;
}
@keyframes houseIn { from { transform: scale(1.12); } to { transform: none; } }
.house-chimney { position: absolute; left: 72%; top: 5%; width: 9%; height: 16%; background: var(--ink); border-radius: 3px 3px 0 0; }

.sticker {
  position: absolute; left: -26px; bottom: 6px; z-index: 2; width: 150px; height: 150px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); display: grid; place-items: center;
}
.sticker > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.sticker text { font-family: var(--ff-body); font-weight: 700; font-size: 17px; letter-spacing: .1em; fill: var(--ink); }
.sticker-core { width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: var(--white); display: grid; place-items: center; }
.sticker-core svg { width: 28px; height: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-hours {
  position: absolute; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 14px; background: var(--ink); color: var(--white); box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.hero-hours > svg { width: 30px; height: 30px; color: var(--yellow); }
.hero-hours strong { display: block; font-size: .95rem; }
.hero-hours span { display: block; font-size: .88rem; color: rgba(255, 255, 255, .78); }

/* ---------- faixa ---------- */
.ribbon { background: var(--red); color: var(--white); overflow: hidden; border-block: 4px solid var(--ink); }
.ribbon-track { display: flex; align-items: center; width: max-content; padding: 16px 0; animation: ribbon 36s linear infinite; }
.ribbon span { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.3rem, 2.4vw, 1.9rem); letter-spacing: -.01em; }
.ribbon-track > * { margin-right: 34px; }
.ribbon i { width: 16px; flex-shrink: 0; height: 16px; background: var(--yellow); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { padding: 104px 0; position: relative; }
.sec-head { max-width: 680px; margin-bottom: 52px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: var(--red); margin-bottom: 12px;
}
.kicker::before { content: ""; width: 26px; height: 4px; border-radius: 2px; background: var(--yellow); box-shadow: 8px 0 0 -0px transparent; }
.kicker-light { color: var(--yellow); }
.sec-head h2, .missao h2, .contato-info h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.sec-head > p:last-child { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

/* ---------- produtos ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.cat {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.cat::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.cat:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); border-color: transparent; }
.cat:hover::after { transform: scaleX(1); }
.cat-img { aspect-ratio: 4 / 3.3; overflow: hidden; background: var(--cream); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.07); }
.cat-body { position: relative; padding: 38px 22px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.cat-ico {
  position: absolute; top: -28px; left: 22px; width: 56px; height: 56px; border-radius: 14px;
  background: var(--yellow); color: var(--ink); display: grid; place-items: center; border: 4px solid var(--white);
  transition: background-color .3s, color .3s;
}
.cat-ico svg { width: 26px; height: 26px; }
.cat:hover .cat-ico { background: var(--red); color: var(--white); }
.cat h3 { font-size: 1.6rem; font-weight: 800; }
.cat-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-weight: 700; color: var(--red); text-decoration: none; padding: 4px 0;
}
.cat-link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.cat-link:hover { color: var(--ink); }
.cat-link:hover svg { transform: translateX(4px); }

/* ---------- história ---------- */
.historia { background: var(--cream); overflow: hidden; }
.historia::before {
  content: ""; position: absolute; right: -80px; top: 60px; width: 340px; height: 340px; opacity: .5;
  background: var(--yellow); clip-path: polygon(50% 0, 100% 40%, 100% 100%, 0 100%, 0 40%); filter: blur(0); opacity: .14;
}
.road { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.road::before, .road::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 66px; height: 4px; border-radius: 2px;
}
.road::before { background: repeating-linear-gradient(90deg, var(--ink) 0 14px, transparent 14px 26px); opacity: .25; }
.road::after { background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.road.drawn::after { transform: scaleX(1); }

.stop { position: relative; z-index: 1; }
.stop-pic {
  width: 132px; height: 132px; border-radius: 50%; background: var(--white); color: var(--red);
  display: grid; place-items: center; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--line), 0 14px 30px rgba(0, 0, 0, .08);
  transition: transform .4s var(--ease), background-color .4s, color .4s;
}
.stop-pic svg { width: 82px; height: 62px; }
.stop:last-child .stop-pic { background: var(--red); color: var(--white); box-shadow: 0 0 0 4px var(--yellow), 0 14px 30px rgba(200, 16, 46, .25); }
.stop:hover .stop-pic { transform: translateY(-6px) rotate(-3deg); }
.stop-num {
  display: block; margin: 26px 0 6px; font-family: var(--ff-head); font-weight: 800; font-size: 3rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--red);
}
.stop h3 { font-size: 1.55rem; font-weight: 800; margin-bottom: 10px; }
.stop p { color: var(--muted); max-width: 34ch; }

/* ---------- valores ---------- */
.valores { background: var(--red); color: var(--white); overflow: hidden; }
.valores::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 2px, transparent 2.5px); background-size: 24px 24px;
}
.valores-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.missao blockquote {
  position: relative; margin: 28px 0 0; padding: 4px 0 4px 32px;
  font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.7; color: rgba(255, 255, 255, .95);
}
.vals { background: var(--white); color: var(--ink); border-radius: 24px; padding: 38px; box-shadow: 14px 14px 0 var(--ink); }
.vals h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 22px; }
.vals ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.vals li {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; font-weight: 600; line-height: 1.3;
  transition: background-color .25s;
}
.vals li:hover { background: var(--cream); }
.vals li svg {
  width: 42px; height: 42px; padding: 9px; border-radius: 11px; background: var(--yellow); color: var(--ink);
  transition: background-color .25s, color .25s, transform .3s var(--ease);
}
.vals li:hover svg { background: var(--red); color: var(--white); transform: rotate(-6deg); }

/* ---------- depoimentos ---------- */
.depos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 26px; align-items: stretch; }
.depo {
  position: relative; margin: 0; display: flex; flex-direction: column; gap: 26px;
  padding: 40px 34px 30px; border-radius: var(--radius); background: var(--cream); border-top: 6px solid var(--red);
}
.depo-quote { width: 46px; height: 46px; color: var(--yellow); }
.depo blockquote { margin: 0; font-size: 1.12rem; line-height: 1.7; color: var(--ink-2); }
.depo blockquote p + p { margin-top: 12px; }
.depo figcaption {
  margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 20px; border-top: 1.5px dashed var(--line);
}
.depo-who { display: flex; flex-direction: column; font-size: .95rem; color: var(--muted); }
.depo-who strong { color: var(--ink); font-size: 1.05rem; }
.depo-btn {
  font: 700 .95rem var(--ff-body); padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: var(--red-10); color: var(--red); border: 2px solid var(--red-60); transition: background-color .25s, color .25s, border-color .25s;
}
.depo-btn:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.print-modal { border: 0; padding: 0; border-radius: 18px; background: var(--ink); max-width: min(440px, 92vw); max-height: 92vh; overflow: visible; }
.print-modal::backdrop { background: rgba(10, 10, 10, .75); }
.print-modal img { width: 100%; height: auto; max-height: 90vh; object-fit: contain; border-radius: 18px; }
.print-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); display: grid; place-items: center;
}
.print-close svg { width: 20px; height: 20px; }

/* ---------- contato ---------- */
.contato { padding-bottom: 120px; }
.contato-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.info-list { display: grid; gap: 22px; margin-top: 36px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-ico {
  width: 50px; height: 50px; border-radius: 14px; background: var(--red-10); color: var(--red);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-ico svg { width: 24px; height: 24px; }
.info-list h3 { font-family: var(--ff-body); font-size: .9rem; font-weight: 700; letter-spacing: 0; color: var(--muted); margin-bottom: 2px; }
.info-list p { font-size: 1.08rem; font-weight: 600; line-height: 1.5; }
.info-list a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.info-list a:hover { color: var(--red); }

.cta-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  padding: 92px 36px 40px; margin-top: 60px; background: var(--yellow); border-radius: 0 0 26px 26px;
}
.cta-roof {
  position: absolute; left: 0; right: 0; bottom: 100%; height: 60px; background: var(--ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.cta-card img {
  position: absolute; top: -48px; left: 50%; transform: translateX(-50%); width: 150px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25));
}
.cta-title { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 1.95rem); line-height: 1.15; letter-spacing: -.02em; }
.cta-card > p:not(.cta-title) { color: var(--ink-2); max-width: 36ch; margin-bottom: 8px; }
.cta-card .btn { width: 100%; max-width: 340px; }

/* ---------- imagens de fundo das seções: parallax (fundo fixo, efeito janela) ---------- */
.has-bg { position: relative; isolation: isolate; clip-path: inset(0); }
.sec-bg {
  position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100lvh; z-index: -1;
  background-size: cover; background-position: center; background-repeat: no-repeat; pointer-events: none;
}
.sec-bg::after { content: ""; position: absolute; inset: 0; }
.sec-bg--produtos { background-image: url("../img/bg-produtos.webp"); }
.sec-bg--produtos::after { background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 100%); }
.sec-bg--historia { background-image: url("../img/bg-historia.webp"); background-position: center 30%; }
.sec-bg--historia::after { background: linear-gradient(100deg, rgba(255, 248, 234, .97) 0%, rgba(255, 248, 234, .9) 50%, rgba(255, 248, 234, .8) 100%); }
.sec-bg--valores { background-image: url("../img/bg-valores.webp"); }
.sec-bg--valores::after { background: linear-gradient(120deg, rgba(200, 16, 46, .95) 0%, rgba(176, 12, 38, .88) 60%, rgba(20, 20, 20, .82) 100%); }
.sec-bg--depoimentos { background-image: url("../img/bg-depoimentos.webp"); }
.sec-bg--depoimentos::after { background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .88) 100%); }
.sec-bg--contato { background-image: url("../img/bg-contato.webp"); }
.sec-bg--contato::after { background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .92) 50%, rgba(255, 255, 255, .8) 100%); }
.depo { box-shadow: 0 14px 34px rgba(0, 0, 0, .07); }
@media (max-width: 1000px) {
  .sec-bg--contato::after { background: linear-gradient(180deg, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .9) 100%); }
}

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 64px 0 28px; border-top: 6px solid var(--red); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 18px; max-width: 420px; }
.footer-brand img { width: 96px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { text-decoration: none; font-weight: 600; padding: 4px 0; }
.footer-nav a:hover { color: var(--yellow); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .5); color: var(--white);
  transition: background-color .25s, color .25s, border-color .25s;
}
.footer-social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.footer-social svg { width: 21px; height: 21px; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .14); font-size: .9rem; color: rgba(255, 255, 255, .7);
}

/* ---------- WhatsApp flutuante (fixo, sem animação) ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1FA855; color: var(--white);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: background-color .2s;
}
.wa-float:hover { background: #178A45; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1023px) {
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
}

@media (max-width: 1000px) {
  :root { --header-h: 74px; }
  .brand img { height: 54px; }
  .burger { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 24px 22px; background: var(--white); border-bottom: 4px solid var(--red);
    box-shadow: 0 16px 30px rgba(0, 0, 0, .1); visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { visibility: visible; opacity: 1; transform: none; }
  .nav a:not(.btn) { padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin: 14px 0 0; }

  .hero { padding-top: calc(var(--header-h) + 44px); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-text { text-align: left; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-dots { width: 100%; top: 50%; }

  .valores-grid, .contato-grid { grid-template-columns: minmax(0, 1fr); }
  .depos { grid-template-columns: minmax(0, 1fr); }
  .cta-card { max-width: 560px; width: 100%; margin-inline: auto; }
}

@media (max-width: 760px) {
  .section { padding: 80px 0; }
  .road { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-left: 0; }
  .road::before, .road::after { left: 64px; right: auto; top: 66px; bottom: 60px; width: 4px; height: auto; }
  .road::before { background: repeating-linear-gradient(180deg, var(--ink) 0 14px, transparent 14px 26px); }
  .road::after { transform: scaleY(0); transform-origin: top; }
  .road.drawn::after { transform: scaleY(1); }
  .stop { display: grid; grid-template-columns: 132px minmax(0, 1fr); column-gap: 22px; }
  .stop-pic { grid-row: 1 / span 3; }
  .stop-num { margin-top: 6px; font-size: 2.4rem; }
  .vals { padding: 28px 22px; box-shadow: 10px 10px 0 var(--ink); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  body { font-size: 1rem; }
  .hero { padding-bottom: 64px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-visual { padding: 0 14px 64px 0; }
  .house-shadow { transform: translate(12px, 12px); }
  .house-frame { padding: 8px; }
  .sticker { width: 112px; height: 112px; left: -8px; bottom: 34px; }
  .sticker text { font-size: 19px; }
  .sticker-core { width: 44px; height: 44px; }
  .sticker-core svg { width: 22px; height: 22px; }
  .hero-hours { padding: 12px 14px; }
  .hero-hours strong { font-size: .88rem; }
  .hero-hours span { font-size: .82rem; }
  .cats { grid-template-columns: minmax(0, 1fr); }
  .vals ul { grid-template-columns: minmax(0, 1fr); }
  .stop { grid-template-columns: 92px minmax(0, 1fr); column-gap: 18px; }
  .stop-pic { width: 92px; height: 92px; }
  .stop-pic svg { width: 58px; height: 44px; }
  .road::before, .road::after { left: 44px; top: 46px; }
  .stop h3 { font-size: 1.35rem; }
  .depo { padding: 32px 22px 24px; }
  .cta-card { padding: 84px 22px 32px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

@media (max-width: 360px) {
  .hero h1 { font-size: 2.45rem; }
  .eyebrow { font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .ribbon-track { animation: none; }
}

/* =========================================================
   EFEITOS
   ========================================================= */

/* barra de progresso de leitura no header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; z-index: 1; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 65%, var(--yellow) 92%, var(--ink) 100%);
}

/* brilho atravessando os botões */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before {
  content: ""; position: absolute; inset: 0; 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 .75s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }

/* hero: entrada em sequência */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes popIn { 0% { opacity: 0; transform: scale(.4) rotate(-40deg); } 70% { opacity: 1; transform: scale(1.06) rotate(4deg); } 100% { opacity: 1; transform: none; } }
@keyframes slideL { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(110%); } to { transform: none; } }
@keyframes tagIn { from { opacity: 0; transform: translateY(10px) scale(.9); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: fadeUp .8s var(--ease) both; }
.hero-text > :nth-child(1) { animation-delay: .05s; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .3s; }
.hero-text > :nth-child(4) { animation-delay: .45s; }
.hero-text > .hero-tags { animation: none; }
.hero-tags li { animation: tagIn .5s var(--ease) both; }
.hero-tags li:nth-child(1) { animation-delay: .65s; }
.hero-tags li:nth-child(2) { animation-delay: .75s; }
.hero-tags li:nth-child(3) { animation-delay: .85s; }
.hero-tags li:nth-child(4) { animation-delay: .95s; }
.hero-tags li { transition: border-color .25s, transform .25s var(--ease); }
.hero-tags li:hover { border-color: var(--red); transform: translateY(-2px); }
.house-shadow { animation: fadeUp .9s .35s var(--ease) both; }
.house-chimney { animation: rise .7s .9s var(--ease) both; }
.sticker { animation: popIn .9s 1s var(--ease) both; }
.hero-hours { animation: slideL .8s 1.15s var(--ease) both; }

/* títulos: traço amarelo do kicker cresce */
.kicker::before { transition: width .6s var(--ease) .25s; }
.reveal:not(.visible) .kicker::before { width: 0; }

/* faixa pausa ao passar o mouse */
.ribbon:hover .ribbon-track { animation-play-state: paused; }

/* produtos: cortina vermelha revela a foto */
.cat-img { position: relative; }
.cat-img::after {
  content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: right;
  transition: transform .8s var(--ease) calc(var(--d, 0s) + .2s);
}
.cat.visible .cat-img::after { transform: scaleX(0); }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(6deg) scale(1.08); } }
.cat:hover .cat-ico svg { animation: wiggle .6s var(--ease); }

/* história: desenhos se traçam e as casas aparecem em sequência */
.stop-pic svg path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease) calc(var(--d, 0s) + .35s); }
.stop.visible .stop-pic svg path { stroke-dashoffset: 0; }
.stop-pic { transform: scale(.7); opacity: 0; transition: transform .6s var(--ease) var(--d, 0s), opacity .5s ease var(--d, 0s), background-color .4s, color .4s; }
.stop.visible .stop-pic { transform: none; opacity: 1; }
.stop.visible:hover .stop-pic { transform: translateY(-6px) rotate(-3deg); }
.stop-num { transition: color .35s; }
.stop:hover .stop-num { color: var(--red); }

/* valores: barra amarela da missão cresce e itens entram em cascata */
.missao blockquote::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: var(--yellow);
  transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease) .3s;
}
.missao.visible blockquote::before { transform: scaleY(1); }
.vals li { opacity: 0; transform: translateX(-14px); transition: opacity .5s ease, transform .5s var(--ease), background-color .25s; }
.vals.visible li { opacity: 1; transform: none; }
.vals.visible li:nth-child(1) { transition-delay: .2s, .2s, 0s; }
.vals.visible li:nth-child(2) { transition-delay: .27s, .27s, 0s; }
.vals.visible li:nth-child(3) { transition-delay: .34s, .34s, 0s; }
.vals.visible li:nth-child(4) { transition-delay: .41s, .41s, 0s; }
.vals.visible li:nth-child(5) { transition-delay: .48s, .48s, 0s; }
.vals.visible li:nth-child(6) { transition-delay: .55s, .55s, 0s; }
.vals.visible li:nth-child(7) { transition-delay: .62s, .62s, 0s; }
.vals.visible li:nth-child(8) { transition-delay: .69s, .69s, 0s; }

/* depoimentos: aspas surgem girando, card levanta no hover */
.depo-quote { transform: scale(0) rotate(-90deg); transition: transform .7s var(--ease) calc(var(--d, 0s) + .3s); }
.depo.visible .depo-quote { transform: none; }
.depo { transition: opacity .7s ease, transform .7s var(--ease), box-shadow .35s; }
.depo.visible:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(0, 0, 0, .12); }

/* contato: ícones em cascata, telhado desce e logo quica */
.info-list li { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s var(--ease); }
.contato-info.visible .info-list li { opacity: 1; transform: none; }
.contato-info.visible .info-list li:nth-child(1) { transition-delay: .2s; }
.contato-info.visible .info-list li:nth-child(2) { transition-delay: .3s; }
.contato-info.visible .info-list li:nth-child(3) { transition-delay: .4s; }
.contato-info.visible .info-list li:nth-child(4) { transition-delay: .5s; }
.contato-info.visible .info-list li:nth-child(5) { transition-delay: .6s; }
.info-ico { transition: background-color .25s, color .25s, transform .3s var(--ease); }
.info-list li:hover .info-ico { background: var(--red); color: var(--white); transform: rotate(-6deg); }
@keyframes bounceIn { 0% { opacity: 0; transform: translateX(-50%) translateY(-40px) scale(.7); } 60% { opacity: 1; transform: translateX(-50%) translateY(6px) scale(1.04); } 100% { opacity: 1; transform: translateX(-50%); } }
.cta-roof { transform: translateY(-24px); opacity: 0; transition: transform .7s var(--ease) calc(var(--d, 0s) + .2s), opacity .5s ease calc(var(--d, 0s) + .2s); }
.cta-card.visible .cta-roof { transform: none; opacity: 1; }
.cta-card img { opacity: 0; }
.cta-card.visible img { animation: bounceIn .9s var(--ease) calc(var(--d, 0s) + .45s) both; }

/* rodapé */
.footer-brand img { transition: transform .4s var(--ease); }
.footer-brand img:hover { transform: rotate(-4deg) scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .cat-img::after, .cta-card img, .stop-pic svg path { animation: none !important; }
  .cat-img::after { display: none; }
  .stop-pic svg path { stroke-dashoffset: 0; }
  .stop-pic, .vals li, .info-list li, .cta-roof, .cta-card img { opacity: 1 !important; }
  .depo-quote { transform: none; }
  .progress { display: none; }
}

/* =========================================================
   VITRINE (botões, seção e página)
   ========================================================= */
.nav-vitrine { margin-left: 12px; padding: 10px 16px; }
.nav-vitrine + .nav-cta { margin-left: 8px; }
.nav-vitrine[aria-current="page"] { background: var(--red); color: var(--white); border-color: var(--red); }

.btn-yellow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-yellow:hover { background: var(--white); color: var(--red); border-color: var(--white); }
.btn-ghost-light { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn-ghost-light:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

.vitrine-sec { padding: 40px 0 104px; background: var(--white); }
.vit-card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center;
  padding: 56px; border-radius: 28px; background: var(--ink); color: var(--white); box-shadow: 14px 14px 0 var(--yellow);
}
.vit-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 2px, transparent 2.5px); background-size: 22px 22px;
}
.vit-card::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: var(--red); opacity: .55; filter: blur(60px); pointer-events: none; }
.vit-text, .vit-art { position: relative; z-index: 1; }
.vit-text h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.vit-text > p:not(.kicker) { margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 46ch; }
.vit-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.vit-art { display: flex; flex-direction: column; align-items: center; gap: 16px; text-decoration: none; color: var(--white); border-radius: 18px; padding: 8px; }
.vit-art > svg { width: 100%; max-width: 360px; height: auto; transition: transform .5s var(--ease); }
.vit-art:hover > svg { transform: translateY(-6px); }
.vit-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--yellow); }
.vit-tag svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.vit-art:hover .vit-tag svg { transform: translateX(5px); }

/* efeitos: toldo desce, fachada se desenha, produtos aparecem */
.vit-awning { transform-origin: 50% 0; transform: scaleY(0); transition: transform .8s var(--ease) .3s; }
.vit-draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease) .6s; }
.vit-items { opacity: 0; transform: translateY(10px); transition: opacity .6s ease 1.5s, transform .6s var(--ease) 1.5s; }
.vit-card.visible .vit-awning { transform: none; }
.vit-card.visible .vit-draw { stroke-dashoffset: 0; }
.vit-card.visible .vit-items { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .nav-vitrine { margin: 14px 0 0; }
  .nav-vitrine + .nav-cta { margin: 10px 0 0; }
  .vit-card { grid-template-columns: minmax(0, 1fr); padding: 44px 32px; }
  .vit-art { order: -1; }
  .vit-art > svg { max-width: 280px; }
}
@media (max-width: 560px) {
  .vitrine-sec { padding: 24px 0 80px; }
  .vit-card { padding: 34px 22px; box-shadow: 8px 8px 0 var(--yellow); border-radius: 22px; }
  .vit-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vit-awning, .vit-items { transform: none; opacity: 1; }
  .vit-draw { stroke-dashoffset: 0; }
}

/* ---------- página vitrine ---------- */
html.page-vitrine { --header-h: 80px; overflow: hidden; height: 100%; scrollbar-width: none; }
html.page-vitrine::-webkit-scrollbar, .page-vitrine body::-webkit-scrollbar { display: none; }
.page-vitrine body { overflow: hidden; height: 100%; padding-top: var(--header-h); scrollbar-width: none; }
.page-vitrine .vitrine-frame { width: 100%; }
.page-vitrine .vitrine-frame iframe { display: block; width: 100%; }
.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; }

/* ---------- hero: imagem de fundo fixa (mesmo efeito janela das seções) ---------- */
.sec-bg--hero { background-image: url("../img/bg-hero.webp"); background-position: center 60%; }
.sec-bg--hero::after { background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 42%, rgba(255, 255, 255, .62) 100%); }
@media (max-width: 1000px) {
  .sec-bg--hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 100%); }
}

/* =========================================================
   AJUSTES DE RESPONSIVIDADE (PC, tablet e celular)
   ========================================================= */
.nowrap { white-space: nowrap; }

/* telas grandes: conteúdo respira mais */
@media (min-width: 1600px) {
  .container { max-width: 1320px; }
  .house { max-width: 600px; }
}

/* tablet (761–1000px): hero e contato continuam em 2 colunas */
@media (min-width: 761px) and (max-width: 1000px) {
  .hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; }
  .hero h1 { font-size: clamp(2.5rem, 5.6vw, 3.4rem); }
  .hero h2 { font-size: 1.05rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn-lg { padding: 13px 20px; font-size: 1rem; }
  .hero-visual { padding: 0 14px 40px 0; }
  .house-shadow { transform: translate(14px, 14px); }
  .house-frame { padding: 9px; }
  .sticker { width: 112px; height: 112px; left: -14px; bottom: 26px; }
  .sticker text { font-size: 19px; }
  .sticker-core { width: 44px; height: 44px; }
  .sticker-core svg { width: 22px; height: 22px; }
  .hero-hours { padding: 10px 14px; }
  .hero-hours strong { font-size: .85rem; }
  .hero-hours span { font-size: .8rem; }
  .hero-hours > svg { width: 24px; height: 24px; }
  .sec-bg--hero::after { background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .9) 45%, rgba(255, 255, 255, .7) 100%); }

  .contato-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; }
  .cta-card { padding: 84px 24px 32px; }
  .cta-card img { width: 128px; top: -42px; }

  .valores-grid { gap: 40px; }
  .vit-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding: 44px 36px; gap: 28px; }
  .vit-art { order: 0; }
  .vit-actions .btn-lg { padding: 13px 20px; font-size: 1rem; }
}

/* tablet retrato e celular grande (561–760px) */
@media (min-width: 561px) and (max-width: 760px) {
  .hero-text { text-align: center; }
  .hero-text .eyebrow { margin-inline: auto; }
  .hero h1 span { margin-inline: auto; }
  .hero h2 { margin-inline: auto; }
  .hero-actions, .hero-tags { justify-content: center; }
  .info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .hero-visual { max-width: 470px; }
}
@media (min-width: 1001px) and (max-width: 1180px) {
  .cats { gap: 16px; }
  .cat h3 { font-size: 1.4rem; }
  .cat-body { padding: 36px 18px 22px; }
  .cat-link { font-size: .95rem; }
}

/* celular: cards de categoria em formato horizontal (mais compactos) */
@media (max-width: 560px) {
  .cats { gap: 14px; }
  .cat { flex-direction: row; align-items: stretch; }
  .cat-img { aspect-ratio: auto; width: 42%; flex-shrink: 0; min-height: 132px; }
  .cat-body { padding: 18px 16px; justify-content: center; gap: 6px; }
  .cat-ico { position: static; width: 42px; height: 42px; border: 0; border-radius: 11px; }
  .cat-ico svg { width: 22px; height: 22px; }
  .cat h3 { font-size: 1.3rem; }
  .cat-link { margin-top: 4px; font-size: .92rem; }
  .cat::after { height: 4px; }
  .sec-head { margin-bottom: 36px; }
  .vals li { padding: 7px 6px; }
  .depo blockquote { font-size: 1.04rem; }
  .info-list li { gap: 14px; }
  .info-ico { width: 44px; height: 44px; border-radius: 12px; }
}

/* celulares pequenos: horário sai de cima do selo e fica abaixo da casa */
@media (max-width: 420px) {
  .hero-visual { padding: 0 12px 0 0; }
  .sticker { width: 100px; height: 100px; left: -6px; bottom: 74px; }
  .sticker text { font-size: 20px; }
  .sticker-core { width: 40px; height: 40px; }
  .sticker-core svg { width: 20px; height: 20px; }
  .house { margin-bottom: 26px; }
  .hero-hours { position: relative; right: auto; bottom: auto; margin: 0 0 0 auto; width: fit-content; max-width: 100%; }
  .footer-brand img { width: 80px; }
}
@media (max-width: 400px) {
  .cat-img { width: 36%; }
  .cat-body { padding: 16px 14px; }
  .cat-link { font-size: .86rem; display: inline; }
  .cat-link svg { display: none; }
}
