/* Meu Confinamento — página de pré-lançamento. Paleta oficial; sem dependências externas. */
:root {
  --verde: #075522; --verde-2: #0C6A2C; --verde-escuro: #054219; --verde-comp: #3E8B24;
  --laranja: #F59A08; --marrom: #75431D;
  --branco: #FFFFFF; --fundo: #F5F7F5; --texto: #26332B; --muted: #55625A; --borda: #E1E8E2;
  --raio: 14px; --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--texto); line-height: 1.6;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.pular { position: absolute; left: 8px; top: -60px; background: #fff; color: var(--verde); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.pular:focus { top: 8px; }

/* Topo */
.topo { background: #fff; border-bottom: 1px solid var(--borda); position: relative; z-index: 5; }
.topo-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding-top: 8px; padding-bottom: 8px; }
.topo-marca { flex: none; }
.topo-marca img { height: 46px; width: auto; max-width: none; }
.selo { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--verde); background: #E7F1E8; border: 1px solid #CFE3D2; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.selo i { width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); animation: pulsa 2.4s ease-in-out infinite; }
@keyframes pulsa { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }

/* Hero */
.hero { position: relative; color: #fff; background: var(--verde); isolation: isolate; overflow: hidden; }
.hero-fundo { position: absolute; inset: 0; z-index: -1; }
.paisagem { position: absolute; inset: 0; width: 100%; height: 100%; }
.graf rect { transform-box: fill-box; transform-origin: bottom; animation: sobe 1.2s cubic-bezier(.2,.7,.2,1) both; }
.graf rect:nth-child(2) { animation-delay: .12s; } .graf rect:nth-child(3) { animation-delay: .24s; } .graf rect:nth-child(4) { animation-delay: .36s; }
@keyframes sobe { from { transform: scaleY(.05); } to { transform: scaleY(1); } }
.arco { stroke-dasharray: 900; animation: traca 1.8s .4s ease-out both; }
@keyframes traca { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
.hero-veu { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,66,25,.92) 0%, rgba(5,66,25,.55) 55%, rgba(5,66,25,.1) 100%); }
.hero-in { padding-top: 64px; padding-bottom: 150px; }
.hero-texto { max-width: 680px; }
.eyebrow { margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #CFE8D0; }
.eyebrow--laranja { color: var(--laranja); }
h1 { margin: 0 0 18px; font-size: clamp(2.1rem, 7.2vw, 3.7rem); line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
.sub { margin: 0 0 26px; font-size: clamp(1.02rem, 2.6vw, 1.2rem); color: #E8F2E9; max-width: 56ch; }
.aviso { display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 12px 16px; font-weight: 600; font-size: .98rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-left: 4px solid var(--laranja); border-radius: 10px; backdrop-filter: blur(4px); }
.barras { display: inline-flex; align-items: flex-end; gap: 3px; height: 20px; flex: none; }
.barras i { width: 5px; border-radius: 2px; background: #8FD16A; }
.barras i:nth-child(1) { height: 7px; } .barras i:nth-child(2) { height: 11px; } .barras i:nth-child(3) { height: 15px; } .barras i:nth-child(4) { height: 20px; background: var(--laranja); }
@media (prefers-reduced-motion: no-preference) { .barras i { animation: cresce 2.8s ease-in-out infinite; transform-origin: bottom; } .barras i:nth-child(2) { animation-delay: .15s; } .barras i:nth-child(3) { animation-delay: .3s; } .barras i:nth-child(4) { animation-delay: .45s; } }
@keyframes cresce { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.7); } }

/* Apresentação */
.apresentacao { padding: 72px 0 64px; margin-top: -90px; position: relative; }
.apresentacao::before { content: ""; position: absolute; inset: 90px 0 0; background: var(--fundo); z-index: -1; }
.cabeca { max-width: 720px; margin: 0 auto 36px; text-align: center; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio);
  padding: 28px 22px; box-shadow: 0 10px 30px rgba(7,85,34,.1); }
h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 4.8vw, 2.3rem); line-height: 1.15; letter-spacing: -.015em; color: var(--verde); font-weight: 800; }
.cabeca p { margin: 0; color: var(--muted); font-size: 1.04rem; }
.blocos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bloco { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px 22px; position: relative; overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.bloco::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--laranja); transition: width .35s ease; }
.bloco:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(7,85,34,.12); border-color: #CFE3D2; }
.bloco:hover::after { width: 100%; }
.ico { width: 46px; height: 46px; margin-bottom: 14px; fill: none; stroke: var(--verde-comp); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.bloco h3 { margin: 0 0 8px; font-size: 1.15rem; color: var(--verde); }
.bloco p { margin: 0; color: var(--muted); }
.nota { margin: 26px auto 0; max-width: 640px; text-align: center; font-size: .86rem; color: var(--muted); }

/* Pré-lançamento */
.prelancamento { position: relative; background: var(--verde); color: #fff; overflow: hidden; padding: 72px 0; }
.pre-arco { position: absolute; width: 620px; height: 620px; right: -220px; top: -330px; border-radius: 50%; border: 36px solid rgba(245,154,8,.9); border-left-color: transparent; border-bottom-color: transparent; transform: rotate(18deg); opacity: .8; }
.pre-in { display: grid; gap: 32px; align-items: center; position: relative; }
.prelancamento h2 { color: #fff; }
.prelancamento p { color: #DCEBDD; font-size: 1.05rem; margin: 0; max-width: 52ch; }
.pre-marca { background: #fff; border-radius: var(--raio); padding: 22px; text-align: center; box-shadow: 0 16px 36px rgba(0,0,0,.2); }
.pre-marca img { width: min(100%, 300px); height: auto; margin: 0 auto 10px; }
.pre-marca span { display: block; color: var(--verde); font-weight: 700; font-size: .95rem; letter-spacing: .02em; }

/* Rodapé */
.rodape { background: #fff; border-top: 4px solid var(--verde); padding: 34px 0 30px; }
.rodape-in { display: grid; gap: 22px; }
.rodape-nome { color: var(--verde); font-size: 1.15rem; }
.rodape p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.rodape a { color: var(--verde); font-weight: 600; }
.dominio { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--laranja); }
.copy { font-size: .85rem !important; }

/* Contato */
.btn-wa { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 999px; background: var(--laranja); color: #2A1A00 !important;
  font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn-wa svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); background: #FFAE2E; }
.btn-wa--claro { background: var(--verde); color: #fff !important; }
.btn-wa--claro:hover { background: var(--verde-escuro); }
.contato-pre { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.prelancamento .fone { color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; border-bottom: 2px solid var(--laranja); }
.rodape-contato p { margin: 4px 0 12px; }
.rodape-contato .fone { font-weight: 700; text-decoration: none; }

/* Entrada suave */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visivel { opacity: 1; transform: none; }
.js .hero .reveal { animation: entra .8s ease both; opacity: 1; transform: none; transition: none; }
.js .hero .reveal:nth-child(2) { animation-delay: .1s; } .js .hero .reveal:nth-child(3) { animation-delay: .2s; } .js .hero .reveal:nth-child(4) { animation-delay: .3s; }
@keyframes entra { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

@media (max-width: 899px) { .graf, .arco { opacity: .4; } }
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .blocos { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .hero-in { padding-top: 96px; padding-bottom: 190px; }
  .cabeca { padding: 36px 40px; }
  .pre-in { grid-template-columns: 1.3fr 1fr; gap: 56px; }
  .rodape-in { grid-template-columns: 1fr auto auto; gap: 48px; align-items: end; }
  .rodape-dir { text-align: right; }
  .topo-marca img { height: 54px; }
}
@media (min-width: 1100px) { .hero-in { padding-top: 120px; padding-bottom: 220px; } .prelancamento { padding: 96px 0; } }
@media (max-width: 420px) { .selo { font-size: .64rem; padding: 6px 9px; } .topo-marca img { height: 40px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
