/* MARGE Indústria de Plásticos
   Paleta tirada dos materiais de identidade visual (grafismo e logo). */

@font-face { font-family: "Caros Soft"; src: url("../fonts/CarosSoftLight.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Caros Soft"; src: url("../fonts/CarosSoft.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caros Soft"; src: url("../fonts/CarosSoftMedium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Caros Soft"; src: url("../fonts/CarosSoftBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Caros Soft"; src: url("../fonts/CarosSoftExtraBold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --verde-escuro: #006229;
  --verde-noite: #033d1c;
  --verde-fundo: #022a14;
  --verde: #00b43e;
  --verde-medio: #2aa153;
  --verde-claro: #77c269;
  --verde-nevoa: #eef7ef;
  --cinza: #95a197;
  --cinza-texto: #4d5a51;
  --tinta: #13241a;
  --branco: #ffffff;
  --borda: #dfe8e1;
  --raio: 18px;
  --sombra: 0 1px 2px rgba(3, 61, 28, .06), 0 8px 24px rgba(3, 61, 28, .08);
  --sombra-forte: 0 2px 4px rgba(3, 61, 28, .08), 0 24px 48px rgba(3, 61, 28, .16);
  --largura: 1180px;
  --mola: cubic-bezier(.22, 1.2, .36, 1);
  --suave: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Caros Soft", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 17px; line-height: 1.6; color: var(--tinta); background: var(--branco);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--verde-escuro); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 20px; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--verde-escuro); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.pular:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; }

/* ---------- botões ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--mola), box-shadow .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-verde { background: var(--verde); color: #fff; box-shadow: 0 6px 18px rgba(0, 180, 62, .32); }
.btn-verde:hover { background: #00a238; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 180, 62, .4); }
.btn-contorno { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-contorno:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }
.btn-escuro { background: var(--verde-escuro); color: #fff; }
.btn-escuro:hover { background: var(--verde-noite); transform: translateY(-2px); }
/* brilho que atravessa o botão de tempos em tempos */
.btn-brilho::after {
  content: ""; position: absolute; z-index: -1; top: -20%; bottom: -20%; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); animation: brilho 4.5s ease-in-out infinite;
}
@keyframes brilho { 0%, 62% { left: -60%; } 82%, 100% { left: 130%; } }

/* ---------- cabeçalho ---------- */
.topo {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.topo.rolou { border-color: var(--borda); box-shadow: 0 6px 20px rgba(3, 61, 28, .06); }
.topo .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; transition: height .3s var(--suave); }
.topo.rolou .container { height: 64px; }
.marca { display: flex; flex-direction: column; text-decoration: none; }
.marca img { height: 34px; width: auto; transition: height .3s var(--suave); }
.topo.rolou .marca img { height: 30px; }
.marca span { font-size: 9.5px; letter-spacing: .26em; color: var(--cinza); text-transform: uppercase; margin-top: 3px; padding-left: 49px; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { text-decoration: none; color: var(--tinta); font-weight: 500; font-size: 15.5px; position: relative; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--suave); }
.menu a:not(.btn):hover::after, .menu a.ativo::after { transform: scaleX(1); }
.menu .btn { padding: 10px 18px; font-size: 15px; color: #fff; }
.abre-menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--verde-escuro); }
.abre-menu svg { width: 28px; height: 28px; }
.abre-menu path { transition: transform .3s var(--suave), opacity .2s; transform-origin: center; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--verde-fundo); color: #fff; overflow: hidden; isolation: isolate; }
.mosaico-vivo {
  position: absolute; z-index: -3; top: 0; bottom: 0; right: 0; width: 58%;
  display: grid; grid-template-columns: repeat(var(--cols, 7), 1fr); grid-auto-rows: 1fr;
}
.peca { position: relative; overflow: hidden; background: var(--c1); opacity: 0; transform: scale(.6); animation: peca-entra .7s var(--mola) forwards; animation-delay: calc(var(--i) * 18ms); }
.peca::after {
  content: ""; position: absolute; inset: 0; background: var(--c2);
  transition: transform .9s var(--suave); transform: rotate(var(--rot, 0deg));
}
.peca[data-f="meia"]::after { inset: 0; clip-path: circle(50% at 50% 0); }
.peca[data-f="quarto"]::after { clip-path: circle(100% at 0 0); }
.peca[data-f="bola"]::after { clip-path: circle(50% at 50% 50%); }
.peca[data-f="pilula"]::after { clip-path: inset(0 0 0 50% round 0 999px 999px 0); }
@keyframes peca-entra { to { opacity: 1; transform: none; } }
.hero-veu {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--verde-fundo) 0%, var(--verde-fundo) 38%, rgba(2, 42, 20, .82) 50%, rgba(2, 42, 20, .15) 72%, rgba(2, 42, 20, .35) 100%),
    radial-gradient(700px 420px at 12% 10%, rgba(0, 180, 62, .25), transparent 60%);
}
.hero-grade { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: min(680px, calc(100vh - 76px)); padding-top: 64px; padding-bottom: 88px; }
.selo { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--verde-claro); font-weight: 600; margin-bottom: 20px; }
.selo::before { content: ""; width: 28px; height: 2px; background: var(--verde); }
.selo i { font-style: normal; opacity: .6; }
.hero h1 { font-size: clamp(38px, 4.7vw, 60px); margin-bottom: 22px; max-width: 13em; }
.hero h1 em { font-style: normal; color: var(--verde-claro); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em; border-radius: 99px;
  background: var(--verde); opacity: .55; z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: sublinha .9s var(--suave) 1.4s forwards;
}
@keyframes sublinha { to { transform: scaleX(1); } }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 32em; margin-bottom: 32px; font-weight: 300; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 14px; }

/* título palavra por palavra (spans criados pelo site.js) */
.titulo-palavras .pal { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(2deg); animation: palavra .8s var(--mola) forwards; animation-delay: calc(.15s + var(--p) * 70ms); }
@keyframes palavra { to { opacity: 1; transform: none; } }
.entra { opacity: 0; transform: translateY(16px); animation: palavra .8s var(--suave) forwards; animation-delay: calc(.15s + var(--d) * 90ms); }

.hero-cena { position: relative; height: 100%; min-height: 420px; }
.cano { position: absolute; width: 58%; left: 4%; top: 12%; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .35)); animation: flutua 7s ease-in-out infinite; }
@keyframes flutua { 50% { transform: translateY(-14px) rotate(-2deg); } }
.cano-luz { stroke-dasharray: 26 420; stroke-dashoffset: 446; opacity: .55; animation: luz 3.2s ease-in-out infinite; }
@keyframes luz { 0% { stroke-dashoffset: 446; opacity: 0; } 15% { opacity: .55; } 70% { opacity: .55; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.cartao-logo {
  position: absolute; right: 0; bottom: 14%; z-index: 2;
  background: #fff; border-radius: 18px; padding: 22px 28px 18px; box-shadow: 0 30px 60px rgba(0, 20, 8, .45);
  width: min(78%, 360px); animation: cartao 7s ease-in-out infinite 1s;
}
@keyframes cartao { 50% { transform: translateY(8px); } }
.cartao-logo img { width: 100%; height: auto; }
.cartao-logo small { display: block; text-align: right; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--cinza); margin-top: 6px; }
.rolar { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 99px; }
.rolar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: rolar 1.8s ease-in-out infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- faixa rolante ---------- */
.faixa-rolante { background: var(--verde); color: #fff; overflow: hidden; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.faixa-trilho { display: flex; align-items: center; gap: 28px; width: max-content; animation: trilho 38s linear infinite; }
.faixa-rolante:hover .faixa-trilho { animation-play-state: paused; }
.faixa-trilho span { font-size: clamp(18px, 2vw, 24px); font-weight: 700; white-space: nowrap; letter-spacing: -.01em; }
.faixa-trilho b { width: 26px; height: 26px; flex: none; background: url("../img/icone-marge-branco.svg") center / contain no-repeat; opacity: .75; }
@keyframes trilho { to { transform: translateX(-50%); } }

/* ---------- destaques ---------- */
.destaques { background: #fff; border-bottom: 1px solid var(--borda); }
.destaques ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.destaques li { display: flex; gap: 16px; align-items: center; padding: 30px 24px; }
.destaques li + li { border-left: 1px solid var(--borda); }
.destaques .ico { flex: none; width: 54px; height: 54px; border-radius: 16px; background: var(--verde-nevoa); color: var(--verde-escuro); display: grid; place-items: center; transition: transform .4s var(--mola), background-color .3s, color .3s; }
.destaques li:hover .ico { transform: rotate(-8deg) scale(1.08); background: var(--verde); color: #fff; }
.destaques .ico svg { width: 28px; height: 28px; }
.destaques strong { display: block; font-size: 17px; }
.destaques span { color: var(--cinza-texto); font-size: 15px; line-height: 1.4; }

/* ---------- seções ---------- */
.secao { padding: 104px 0; position: relative; }
.secao.nevoa { background: var(--verde-nevoa); }
.cabeca { max-width: 720px; margin-bottom: 52px; }
.cabeca.centro { margin-left: auto; margin-right: auto; text-align: center; }
.rotulo { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--verde-medio); font-weight: 600; margin-bottom: 12px; }
.rotulo::before { content: ""; width: 18px; height: 18px; flex: none; background: url("../img/icone-marge.svg") center / contain no-repeat; }
.titulo-secao { font-size: clamp(30px, 3.8vw, 46px); color: var(--verde-noite); }
.cabeca p { color: var(--cinza-texto); font-size: 18px; }

/* revelar no scroll (com atraso escalonado via --d) */
.revela { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--suave), transform .8s var(--suave); transition-delay: calc(var(--d, 0) * 90ms); }
.revela.in { opacity: 1; transform: none; }

/* sobre */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.sobre-texto p { color: var(--cinza-texto); }
.sobre-texto p strong { color: var(--tinta); }
.lista-check { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.lista-check li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.lista-check li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
  transform: scale(0); transition: transform .5s var(--mola); transition-delay: calc(var(--d, 0) * 90ms + .25s);
}
.lista-check li.in::before { transform: scale(1); }
.sobre-visual { position: relative; border-radius: 28px; overflow: hidden; background: var(--verde-escuro); aspect-ratio: 5 / 4.6; box-shadow: var(--sombra-forte); }
.sobre-visual .faixa { position: absolute; top: -10%; bottom: -10%; left: 0; width: 26%; background: url("../img/grafismo.webp") left center / auto 100% repeat-y; }
.sobre-visual .faixa::after { content: ""; position: absolute; top: 0; bottom: 0; right: -14px; width: 7px; background: var(--verde); }
.sobre-visual .marca-dagua { position: absolute; right: -14%; top: 22%; width: 80%; opacity: .13; }
.sobre-visual .endereco {
  position: absolute; left: 33%; right: 6%; bottom: 8%;
  display: flex; gap: 14px; align-items: center;
  background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--sombra-forte);
}
.sobre-visual .pino { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--verde); color: #fff; display: grid; place-items: center; animation: pino 2.4s ease-in-out infinite; }
.sobre-visual .pino svg { width: 24px; height: 24px; }
@keyframes pino { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-5px); } 60% { transform: translateY(0); } }
.sobre-visual .endereco strong { display: block; color: var(--verde-noite); font-size: 17px; margin-bottom: 2px; }
.sobre-visual .endereco span { color: var(--cinza-texto); font-size: 14.5px; line-height: 1.4; display: block; }
.sobre-visual .tag { position: absolute; left: 33%; right: 6%; top: 10%; color: #fff; font-size: clamp(22px, 2.5vw, 32px); font-weight: 700; line-height: 1.15; }
.sobre-visual .tag em { font-style: normal; color: var(--verde-claro); }

/* produtos */
.produtos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.produto {
  position: relative; background: #fff; border: 1px solid var(--borda); border-radius: 22px;
  padding: 32px; display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: start;
  transition: box-shadow .35s ease, border-color .35s ease, opacity .7s var(--suave), transform .8s var(--suave);
  transform-style: preserve-3d; will-change: transform;
}
.produto.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.produto:hover { box-shadow: var(--sombra-forte); border-color: transparent; }
.produto .arte { width: 132px; height: 132px; border-radius: 22px; background: var(--verde-nevoa); display: grid; place-items: center; overflow: hidden; }
.produto .arte svg { width: 104px; height: 104px; transition: transform .5s var(--mola); }
.produto:hover .arte svg { transform: scale(1.08) rotate(-4deg); }
.produto .balde { animation: balanca 4s ease-in-out infinite; transform-origin: 52px 100px; }
.produto .frasco { animation: balanca 4s ease-in-out infinite .6s; transform-origin: 94px 102px; }
@keyframes balanca { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(3deg); } }
.produto .cano-luz { stroke-dasharray: 14 230; stroke-dashoffset: 244; animation: luz-p 3s ease-in-out infinite; }
@keyframes luz-p { 0% { stroke-dashoffset: 244; opacity: 0; } 15%, 70% { opacity: .7; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.produto-num { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--verde); margin-bottom: 6px; }
.produto h3 { font-size: 22px; color: var(--verde-noite); margin-bottom: 8px; }
.produto p { color: var(--cinza-texto); font-size: 16px; margin-bottom: 14px; }
.produto ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.produto li { font-size: 13.5px; font-weight: 500; color: var(--verde-escuro); background: var(--verde-nevoa); border-radius: 999px; padding: 5px 12px; transition: background-color .2s, color .2s, transform .3s var(--mola); }
.produto li:hover { background: var(--verde); color: #fff; transform: translateY(-2px); }
.nota-produtos { position: relative; overflow: hidden; isolation: isolate; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--verde-noite); color: #fff; border-radius: 22px; padding: 28px 32px; }
.nota-mosaico { position: absolute; z-index: -1; top: 0; bottom: 0; right: 0; width: 34%; background: url("../img/grafismo.webp") center / 420px auto repeat; opacity: .35; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); animation: deriva 30s linear infinite; }
@keyframes deriva { to { background-position: 420px 0; } }
.nota-produtos p { margin: 0; max-width: 40em; color: rgba(255, 255, 255, .86); }
.nota-produtos strong { color: #fff; }

/* para quem */
.publico { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.publico article { position: relative; overflow: hidden; background: #fff; border-radius: 20px; padding: 28px 24px; box-shadow: var(--sombra); border: 1px solid var(--borda); transition: opacity .7s var(--suave), transform .8s var(--suave), box-shadow .3s, border-color .3s; }
.publico article::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--verde); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--suave) .3s; }
.publico article:nth-child(2)::before { background: var(--verde-escuro); }
.publico article:nth-child(3)::before { background: var(--verde-claro); }
.publico article:nth-child(4)::before { background: var(--verde-medio); }
.publico article.in::before { transform: scaleX(1); }
.publico article:hover { transform: translateY(-6px); box-shadow: var(--sombra-forte); border-color: transparent; }
.pub-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--verde-nevoa); display: grid; place-items: center; margin-bottom: 18px; transition: background-color .3s; }
.publico article:hover .pub-ico { background: var(--verde); }
.publico svg { width: 30px; height: 30px; color: var(--verde-escuro); transition: color .3s; }
.publico article:hover svg { color: #fff; }
/* ícone se desenhando ao aparecer */
.desenha svg { stroke-dasharray: 90; stroke-dashoffset: 90; }
.desenha.in svg { animation: desenha 1.4s var(--suave) forwards; animation-delay: calc(var(--d, 0) * 90ms + .2s); }
@keyframes desenha { to { stroke-dashoffset: 0; } }
.publico h3 { font-size: 19px; margin-bottom: 6px; color: var(--verde-noite); }
.publico p { font-size: 15.5px; color: var(--cinza-texto); margin: 0; }

/* passos (linha que se preenche com a rolagem, via --progresso) */
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; --progresso: 0; }
.passos::before, .passos::after { content: ""; position: absolute; top: 31px; left: 16.6%; right: 16.6%; height: 4px; border-radius: 4px; background: #cfe3d4; }
.passos::after { background: var(--verde); transform: scaleX(var(--progresso)); transform-origin: left; transition: transform .2s linear; }
.passos li { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.passo-num {
  display: grid; place-items: center; width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; color: var(--verde-escuro); font-size: 26px; font-weight: 700; border: 4px solid #cfe3d4;
  transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--mola);
}
.passos li.ativo .passo-num { background: var(--verde); color: #fff; border-color: var(--verde); transform: scale(1.08); box-shadow: 0 10px 24px rgba(0, 180, 62, .35); }
.passos h3 { font-size: 20px; margin-bottom: 6px; color: var(--verde-noite); }
.passos p { margin: 0 auto; color: var(--cinza-texto); font-size: 15.5px; max-width: 18em; }

/* contato */
.contato { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.canais { display: grid; gap: 12px; margin-top: 8px; }
.canal { display: flex; gap: 16px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--borda); border-radius: 16px; text-decoration: none; color: var(--tinta); transition: border-color .25s, box-shadow .25s, opacity .7s var(--suave), transform .8s var(--suave); }
a.canal:hover { border-color: var(--verde); box-shadow: var(--sombra); transform: translateX(6px); }
.canal .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--verde-nevoa); color: var(--verde-escuro); transition: background-color .25s, color .25s; }
a.canal:hover .ico { background: var(--verde); color: #fff; }
.canal .ico svg { width: 24px; height: 24px; }
.canal small { display: block; font-size: 13px; color: var(--cinza-texto); }
.canal strong { font-weight: 600; font-size: 16px; word-break: break-word; }
.formulario { position: relative; overflow: hidden; background: #fff; border-radius: 24px; padding: 40px 36px 32px; box-shadow: var(--sombra-forte); }
.form-faixa { position: absolute; top: 0; left: 0; right: 0; height: 10px; background: url("../img/grafismo.webp") center / 600px auto repeat-x; animation: deriva-x 24s linear infinite; }
@keyframes deriva-x { to { background-position: 600px 0; } }
.formulario h3 { font-size: 24px; color: var(--verde-noite); margin-bottom: 4px; }
.formulario > p { color: var(--cinza-texto); font-size: 15.5px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.campos .inteiro { grid-column: 1 / -1; }
.campos label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.campos input, .campos select, .campos textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--tinta);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--borda); background: #fbfdfb;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s;
}
.campos textarea { min-height: 110px; resize: vertical; }
.campos input:focus, .campos select:focus, .campos textarea:focus { outline: none; border-color: var(--verde); background: #fff; box-shadow: 0 0 0 4px rgba(0, 180, 62, .14); }
.campos [aria-invalid="true"] { border-color: #d14b3a; animation: treme .4s; }
@keyframes treme { 25% { transform: translateX(-6px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-3px); } }
.formulario .btn { width: 100%; justify-content: center; margin-top: 18px; }
.formulario .aviso { font-size: 13px; color: var(--cinza-texto); margin: 12px 0 0; text-align: center; }

/* rodapé */
.rodape { background: var(--verde-noite); color: rgba(255, 255, 255, .78); padding: 64px 0 28px; font-size: 15px; position: relative; }
.rodape::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: url("../img/grafismo.webp") center / 600px auto repeat-x; }
.rodape-grade { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rodape img { height: 34px; width: auto; margin-bottom: 18px; }
.rodape h4 { color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.rodape a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.rodape a:hover { color: #fff; text-decoration: underline; }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rodape-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }

/* whatsapp flutuante (desktop) e barra fixa (celular) */
.zap {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  transition: transform .3s var(--mola);
}
.zap:hover { transform: scale(1.1) rotate(-8deg); }
.zap svg { width: 32px; height: 32px; }
.zap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.4s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .7; } to { transform: scale(1.55); opacity: 0; } }
.barra-cta { display: none; }

/* janela da política de privacidade */
.modal {
  width: min(720px, calc(100% - 32px)); max-height: min(86vh, 860px);
  padding: 0; border: 0; border-radius: 22px; overflow: hidden;
  color: var(--tinta); background: #fff; box-shadow: 0 30px 80px rgba(3, 30, 14, .35);
  display: none; flex-direction: column;
}
.modal[open] { display: flex; animation: modal-entra .3s var(--mola); }
.modal::backdrop { background: rgba(3, 30, 14, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
@keyframes modal-entra { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.modal-topo { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 34px 32px 18px; border-bottom: 1px solid var(--borda); }
.modal-topo::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: url("../img/grafismo.webp") center / 600px auto repeat-x; }
.modal-topo .rotulo { margin-bottom: 4px; }
.modal-topo h2 { font-size: clamp(24px, 3vw, 30px); color: var(--verde-noite); margin: 0; }
.modal-fechar { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: var(--verde-nevoa); color: var(--verde-escuro); display: grid; place-items: center; transition: background-color .2s ease, transform .3s var(--mola); }
.modal-fechar:hover { background: #dcefe0; transform: rotate(90deg); }
.modal-fechar svg { width: 20px; height: 20px; }
.modal-corpo { padding: 8px 32px 8px; overflow-y: auto; overscroll-behavior: contain; }
.modal-corpo h3 { font-size: 18px; color: var(--verde-noite); margin: 1.4em 0 .4em; }
.modal-corpo p, .modal-corpo li { color: var(--cinza-texto); font-size: 15.5px; }
.modal-corpo ul { padding-left: 1.2em; margin: 0 0 1em; }
.modal-data { font-size: 14px !important; font-style: italic; }
.modal-rodape { padding: 16px 32px 24px; border-top: 1px solid var(--borda); display: flex; justify-content: flex-end; }

/* páginas internas */
.erro { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 20px; }
.erro .numero { font-size: clamp(90px, 18vw, 180px); font-weight: 700; line-height: 1; color: var(--verde); }

/* ---------- responsivo ---------- */
@media (max-width: 1024px) {
  .hero-grade { grid-template-columns: 1fr; min-height: 0; gap: 8px; padding-bottom: 72px; }
  .mosaico-vivo { width: 100%; top: auto; height: 300px; }
  .hero-veu { background: linear-gradient(180deg, var(--verde-fundo) 0%, var(--verde-fundo) calc(100% - 330px), rgba(2, 42, 20, .55) calc(100% - 230px), rgba(2, 42, 20, .1) 100%); }
  .hero-cena { min-height: 300px; height: 300px; max-width: 560px; width: 100%; margin: 0 auto; }
  .cano { width: 40%; left: 4%; top: 6%; }
  .cartao-logo { bottom: 16%; }
  .rolar { display: none; }
  .sobre, .contato { grid-template-columns: 1fr; gap: 44px; }
  .publico { grid-template-columns: repeat(2, 1fr); }
  .produto { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .abre-menu { display: block; }
  .abre-menu[aria-expanded="true"] path { opacity: 0; }
  .menu {
    position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--borda); box-shadow: 0 16px 30px rgba(3, 61, 28, .1);
    transform: translateY(-120%); transition: transform .4s var(--suave); visibility: hidden;
  }
  .topo:not(.rolou) .menu { inset: 76px 0 auto 0; }
  .menu.aberto { transform: none; visibility: visible; }
  .menu a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--borda); }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 14px; justify-content: center; }
  .produtos { grid-template-columns: 1fr; }
  .rodape-grade { grid-template-columns: 1fr; gap: 28px; }
  .secao { padding: 72px 0; }
  .cabeca { margin-bottom: 36px; }

  /* passos viram linha do tempo vertical */
  .passos { grid-template-columns: 1fr; gap: 26px; }
  .passos::before, .passos::after { top: 33px; bottom: 33px; left: 31px; right: auto; width: 4px; height: auto; }
  .passos::after { transform: scaleY(var(--progresso)); transform-origin: top; }
  .passos li { display: flex; gap: 18px; align-items: center; text-align: left; padding: 0; }
  .passo-num { margin: 0; flex: none; }
  .passos p { margin: 0; max-width: none; }

  /* celular: barra fixa de orçamento no lugar da bolha */
  .zap { display: none; }
  .barra-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--borda); box-shadow: 0 -8px 24px rgba(3, 61, 28, .1);
    transform: translateY(110%); transition: transform .45s var(--suave);
  }
  .barra-cta.mostra { transform: none; }
  .barra-cta .btn { width: 100%; justify-content: center; padding: 13px 20px; }
  .rodape { padding-bottom: 96px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topo .container { height: 64px; }
  .marca img, .topo.rolou .marca img { height: 28px; }
  .marca span { display: none; }

  .hero-grade { padding-top: 36px; padding-bottom: 40px; }
  .selo { font-size: 11px; letter-spacing: .07em; margin-bottom: 14px; }
  .selo::before { width: 18px; }
  .hero h1 { font-size: clamp(30px, 8.8vw, 38px); }
  .hero .lead { font-size: 16.5px; margin-bottom: 24px; }
  .hero-acoes { gap: 10px; }
  .hero-acoes .btn { flex: 1 1 auto; justify-content: center; padding: 13px 18px; }
  .mosaico-vivo { height: 220px; }
  .hero-veu { background: linear-gradient(180deg, var(--verde-fundo) 0%, var(--verde-fundo) calc(100% - 250px), rgba(2, 42, 20, .5) calc(100% - 170px), rgba(2, 42, 20, .05) 100%); }
  .hero-cena { height: 220px; min-height: 220px; }
  .cano { width: 44%; left: 0; top: 4%; }
  .cartao-logo { width: 62%; right: 0; bottom: 10%; padding: 14px 16px 10px; border-radius: 14px; }
  .cartao-logo small { font-size: 8px; letter-spacing: .24em; }

  .faixa-rolante { padding: 12px 0; }
  .faixa-trilho { gap: 20px; animation-duration: 28s; }
  .faixa-trilho b { width: 20px; height: 20px; }

  /* destaques em 3 colunas compactas */
  .destaques li { flex-direction: column; text-align: center; gap: 10px; padding: 22px 6px; }
  .destaques li div span { display: none; }
  .destaques strong { font-size: 13.5px; line-height: 1.25; }
  .destaques .ico { width: 48px; height: 48px; border-radius: 14px; }
  .destaques .ico svg { width: 24px; height: 24px; }

  .secao { padding: 60px 0; }
  .titulo-secao { font-size: clamp(28px, 8vw, 34px); }
  .cabeca p { font-size: 16.5px; }
  .sobre { gap: 32px; }
  .sobre-visual { aspect-ratio: 4 / 3.3; border-radius: 22px; }
  .sobre-visual .faixa { width: 18%; }
  .sobre-visual .tag { left: 26%; font-size: 21px; top: 9%; }
  .sobre-visual .endereco { left: 26%; right: 5%; bottom: 7%; padding: 12px 14px; gap: 10px; }
  .sobre-visual .pino { width: 36px; height: 36px; border-radius: 10px; }
  .sobre-visual .endereco strong { font-size: 15px; }
  .sobre-visual .endereco span { font-size: 12.5px; }

  .produto { grid-template-columns: 76px 1fr; gap: 16px; padding: 20px; border-radius: 18px; }
  .produto .arte { width: 76px; height: 76px; border-radius: 16px; }
  .produto .arte svg { width: 62px; height: 62px; }
  .produto h3 { font-size: 18px; }
  .produto p { font-size: 15px; }
  .produto ul { grid-column: 1 / -1; }
  .produto > div:last-child { display: contents; }
  .produto-num, .produto h3, .produto p { grid-column: 2; }
  .produto-num { align-self: end; margin: 0; }
  .produto h3 { margin: 0; align-self: start; }
  .produto .arte { grid-row: 1 / span 2; }
  .produto p { grid-column: 1 / -1; margin: 4px 0 6px; }
  .nota-produtos { padding: 22px 20px; }
  .nota-produtos .btn { width: 100%; justify-content: center; }
  .nota-mosaico { width: 60%; opacity: .25; }

  .publico { gap: 12px; }
  .publico article { padding: 18px 16px; border-radius: 16px; }
  .pub-ico { width: 46px; height: 46px; margin-bottom: 12px; border-radius: 13px; }
  .publico svg { width: 24px; height: 24px; }
  .publico h3 { font-size: 16px; }
  .publico p { font-size: 13.5px; line-height: 1.45; }

  .passo-num { width: 58px; height: 58px; font-size: 22px; }
  .passos::before, .passos::after { left: 27px; top: 29px; bottom: 29px; }
  .passos h3 { font-size: 17.5px; margin-bottom: 2px; }
  .passos p { font-size: 14.5px; }

  .canal { padding: 13px 14px; gap: 12px; }
  .canal .ico { width: 40px; height: 40px; }
  .canal strong { font-size: 15px; }
  .campos { grid-template-columns: 1fr; }
  .formulario { padding: 32px 20px 24px; border-radius: 20px; }

  .modal { width: 100%; max-width: 100%; max-height: 92vh; margin: auto auto 0; border-radius: 22px 22px 0 0; }
  .modal-topo, .modal-corpo, .modal-rodape { padding-left: 20px; padding-right: 20px; }
  .modal-rodape .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela, .entra, .titulo-palavras .pal, .peca { opacity: 1; transform: none; }
  .lista-check li::before, .publico article::before { transform: none; }
  .desenha svg { stroke-dashoffset: 0; }
  .hero h1 em::after { transform: scaleX(1); }
  .faixa-trilho { flex-wrap: wrap; width: auto; justify-content: center; }
}
