/* ===== Cores e medidas (tirar daqui para trocar o visual do site todo) ===== */
:root {
  --verde: #02917e;          /* cor do logo */
  --verde-escuro: #01705f;   /* hover dos botões */
  --verde-claro: #e8f6f3;    /* fundo das seções alternadas */
  --texto: #1f2d2b;
  --texto-suave: #5b6b68;
  --branco: #ffffff;
  --borda: #d7e6e2;
  --whatsapp: #25d366;
  --raio: 14px;
  --largura: 1120px;
}

/* ===== Base ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
a { color: var(--verde); }

.container { width: 100%; max-width: var(--largura); margin: 0 auto; padding: 0 16px; }
.container--estreito { max-width: 760px; }

/* ===== Botões ===== */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primario { background: var(--verde); color: var(--branco); }
.btn--primario:hover { background: var(--verde-escuro); }
.btn--secundario { border: 2px solid var(--verde); color: var(--verde); }
.btn--secundario:hover { background: var(--verde-claro); }
.btn--branco { background: var(--branco); color: var(--verde); }
.btn--pequeno { padding: 9px 18px; }

/* ===== Topo ===== */
.topo {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--borda);
}
.topo__linha { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.topo__logo img { height: 34px; width: auto; }
.topo__menu { display: flex; align-items: center; gap: 28px; }
.topo__menu a:not(.btn) { color: var(--texto); text-decoration: none; font-weight: 600; }
.topo__menu a:not(.btn):hover { color: var(--verde); }
.topo__menu-btn { display: none; }
/* Entrar (quem já é cliente): botão de contorno, mais leve que o "Fale com a gente" */
.topo__entrar { margin-left: -8px; padding-top: 7px; padding-bottom: 7px; }

/* ===== Abertura ===== */
.hero { padding: 64px 0 80px; background: linear-gradient(180deg, var(--verde-claro), var(--branco)); }
.hero__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.etiqueta {
  display: inline-block; padding: 4px 14px; margin-bottom: 18px;
  border-radius: 999px; background: var(--branco); border: 1px solid var(--borda);
  color: var(--verde); font-weight: 700; font-size: .9rem;
}
.destaque { color: var(--verde); }
.hero__texto { font-size: 1.15rem; color: var(--texto-suave); max-width: 560px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Ilustração do topo: saudação do WhatsApp com o link + celular com a página de pedido */
.hero__visual { position: relative; width: 100%; max-width: 560px; justify-self: center; padding: 84px 0 70px; }
.balao-whats {
  position: absolute; top: 0; right: 150px; z-index: 3; width: 230px;
  padding: 10px 12px; border-radius: 12px 12px 12px 2px;
  background: #d9fdd3; box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  font-size: .85rem; line-height: 1.35;
}
.balao-whats small { display: block; color: var(--texto-suave); font-size: .7rem; margin-bottom: 2px; }
.balao-whats__link { display: block; color: #027eb5; text-decoration: underline; word-break: break-all; }
.hero__visual .celular {
  position: absolute; right: 0; top: 150px; z-index: 2;
  width: 220px; padding: 9px; border-radius: 30px; font-size: .72rem;
}
.hero__visual .celular__tela { border-radius: 22px; font-size: inherit; }
.hero__visual .loja__topo { padding: 24px 12px 10px; }
.hero__visual .loja__topo strong { font-size: .95rem; }
.hero__visual .loja__corpo { padding: 8px 10px 2px; }
.hero__visual .loja__item { padding: 4px 0; }
.hero__visual .qtd i { width: 19px; height: 19px; }
.hero__visual .loja__botao { margin: 8px 8px 10px; padding: 9px 10px; border-radius: 10px; }
.celular {
  width: 290px; padding: 12px;
  background: #1c2624; border-radius: 38px;
  box-shadow: 0 24px 60px rgba(2, 145, 126, .25);
}
.celular__tela { background: #f6f8f7; border-radius: 28px; overflow: hidden; font-size: .85rem; }
.loja__topo { padding: 34px 16px 16px; background: var(--verde); color: var(--branco); }
.loja__topo strong { display: block; font-size: 1.15rem; }
.loja__topo small { opacity: .85; }
.loja__corpo { padding: 12px 14px 4px; }
.loja__titulo { margin: 4px 0 6px; font-weight: 800; }
.loja__item { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.loja__item small { display: block; color: var(--texto-suave); }
.qtd { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.qtd i {
  width: 24px; height: 24px; display: grid; place-items: center; font-style: normal;
  border-radius: 50%; border: 1px solid var(--borda); color: #9aa6a3;
}
.qtd i.mais { border-color: var(--verde); color: var(--verde); }
.loja__linha { margin: 0 0 4px; color: var(--texto-suave); }
.loja__botao {
  display: flex; justify-content: space-between; margin: 10px 12px 14px; padding: 12px 14px;
  border-radius: 12px; background: var(--verde); color: var(--branco); font-weight: 800;
}

/* Notebook com o painel da loja */
.notebook { width: 88%; }
.notebook__tela {
  aspect-ratio: 16 / 10.5; overflow: hidden;
  border: 10px solid #1c2624; border-bottom-width: 14px; border-radius: 14px 14px 0 0;
  background: #f6f8f7; font-size: .68rem; line-height: 1.35;
  box-shadow: 0 24px 60px rgba(2, 145, 126, .22);
}
.notebook__base {
  height: 14px; margin: 0 -7%;
  background: linear-gradient(180deg, #cfd8d6, #9fadaa); border-radius: 0 0 14px 14px;
}
.painel__topo { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; background: #0f3d36; color: var(--branco); }
.painel__topo span { opacity: .8; }
.painel__alerta { padding: 6px 12px; background: #f59e0b; color: var(--branco); font-weight: 800; }
.painel__abas { display: flex; gap: 14px; padding: 8px 12px 4px; color: var(--texto-suave); }
.painel__abas b { color: var(--verde); border-bottom: 2px solid var(--verde); }
.painel__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 12px 12px; }
.painel__pedido { display: grid; gap: 2px; padding: 8px; border-radius: 10px; background: var(--branco); border: 1px solid var(--borda); }
.painel__pedido--novo { border-color: #f59e0b; }
.painel__linha { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.painel__pedido .tag { font-style: normal; font-size: .6rem; padding: 1px 6px; }
.painel__pedido .mini-btn { margin-top: 4px; padding: 4px; font-size: .66rem; border-radius: 7px; }

/* Faixa "Feito para" */
.segmentos { border-bottom: 1px solid var(--borda); padding: 18px 0; }
.segmentos__linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; }
.segmentos__linha > span { color: var(--texto-suave); font-weight: 600; }
.segmentos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.segmentos li { padding: 6px 14px; border-radius: 999px; background: var(--verde-claro); color: var(--verde-escuro); font-weight: 700; font-size: .95rem; }

.selos { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.selos li { font-weight: 700; font-size: .95rem; }
.selos li::before { content: "✓"; color: var(--verde); margin-right: 6px; }

/* ===== Seções ===== */
.secao { padding: 80px 0; }
.secao--clara { background: var(--verde-claro); }
.secao h2 { text-align: center; }
.secao__sub { text-align: center; color: var(--texto-suave); margin-bottom: 48px; }

/* Dores */
.secao--escura { background: #0f3d36; color: var(--branco); }
.secao--escura .secao__sub { color: #cfe6e1; }
.secao--dores { padding: 48px 0; }
.secao--dores .secao__sub { margin-bottom: 28px; }
.dores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dor {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--raio);
}
.dor p { margin: 0; color: #e3efec; font-size: .95rem; line-height: 1.4; }
.dor__icone { position: relative; flex-shrink: 0; width: 48px; height: 48px; }
.dor__icone svg { width: 48px; height: 48px; fill: none; stroke: var(--branco); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.dor__alerta {
  position: absolute; right: -6px; bottom: -2px; width: 20px; height: 20px;
  display: grid; place-items: center; border-radius: 50%;
  background: #e5484d; color: var(--branco); font-size: .75rem; font-weight: 800;
  box-shadow: 0 0 0 3px #164a42;
}
.dores__virada { text-align: center; font-size: 1.25rem; font-weight: 800; color: #5fe0c8; margin: 28px 0 0; }

/* Como funciona */
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.passos li { position: relative; text-align: center; padding: 8px; }
/* Linha ligando os números (só com os 4 passos lado a lado) */
@media (min-width: 901px) {
  .passos li:not(:last-child)::after {
    content: ""; position: absolute; top: 34px; left: calc(50% + 38px); width: calc(100% + 24px - 76px);
    border-top: 2px dashed var(--verde); opacity: .45;
  }
}
.passos p { color: var(--texto-suave); }
.passos__num {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde); color: var(--branco); font-size: 1.3rem; font-weight: 800;
}

/* Recursos */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio); padding: 28px; }
.card p { color: var(--texto-suave); margin: 0; }
.card__icone {
  width: 56px; height: 56px; padding: 13px; margin-bottom: 16px; border-radius: 14px;
  background: var(--verde-claro);
  fill: none; stroke: var(--verde); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}

/* Destaques: texto de um lado, tela do sistema do outro (alternando) */
.destaque-bloco { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.destaque-bloco h2 { text-align: left; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; color: var(--texto); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--verde); color: var(--branco); font-size: .75rem; font-weight: 800;
}
.destaque-bloco__visual { display: flex; justify-content: center; }
.cartao-tela {
  position: relative; width: 100%; max-width: 360px; overflow: hidden;
  background: var(--branco); border: 1px solid var(--borda); border-radius: 20px;
  box-shadow: 0 18px 44px rgba(15, 61, 54, .12); font-size: .9rem;
}
.cartao-tela__topo { padding: 18px 18px 14px; background: var(--verde); color: var(--branco); }
.cartao-tela__topo small { display: block; opacity: .85; }
.cartao-tela__topo strong { font-size: 1.3rem; }
.cartao-tela__nota { margin: 0; padding: 0 18px 18px; color: var(--texto-suave); font-size: .82rem; }
.status { list-style: none; margin: 0; padding: 18px; display: grid; gap: 12px; }
.status li { display: flex; align-items: center; gap: 10px; color: #9aa6a3; }
.status li::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: #e8eeec; }
.status li.feito { color: var(--texto); font-weight: 700; }
.status li.feito::before { content: "✓"; display: grid; place-items: center; background: var(--verde); color: var(--branco); font-size: .75rem; }
.pedido-card { padding: 18px; display: grid; gap: 4px; }
.pedido-card p { margin: 0; }
.pedido-card__linha { display: flex; justify-content: space-between; align-items: center; }
.cinza { color: var(--texto-suave); }
.tag { padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.tag--novo { background: #fef3c7; color: #92400e; }
.tag--rota { background: #e0e7ff; color: #3730a3; }
.pedido-card__botoes { display: flex; gap: 8px; margin-top: 10px; }
.pedido-card__botoes--tres { display: grid; grid-template-columns: repeat(3, 1fr); }
.mini-btn {
  display: inline-block; padding: 7px 12px; border-radius: 10px; text-align: center;
  border: 1px solid var(--borda); color: var(--texto); font-weight: 700; font-size: .82rem;
}
.mini-btn--cheio { background: var(--verde); border-color: var(--verde); color: var(--branco); }
.mini-btn--verde { margin-top: 8px; padding: 10px; background: #16a34a; border-color: #16a34a; color: var(--branco); }
.cobrar { display: flex; justify-content: space-between; margin-top: 8px; padding: 8px 10px; border-radius: 10px; background: #f3f6f5; }
.faixa-alerta { padding: 12px 18px; background: #f59e0b; color: var(--branco); font-weight: 800; }
.cartao-qr {
  width: 260px; overflow: hidden; text-align: center;
  background: var(--branco); border: 1px solid var(--borda); border-radius: 16px;
  box-shadow: 0 18px 44px rgba(15, 61, 54, .12);
}
.cartao-qr__topo { padding: 16px; margin-bottom: 14px; background: #b91c1c; color: var(--branco); font-size: 1.2rem; font-weight: 800; }
.cartao-qr strong { display: block; font-size: 1.1rem; }
.cartao-qr small { display: block; color: var(--texto-suave); margin-bottom: 12px; }
.cartao-qr img { width: 160px; height: 160px; margin: 0 auto 18px; }

/* Carrossel das telas: abas em cima, uma tela por vez, arrastar no celular */
.carrossel__abas { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.carrossel__abas button {
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--borda); background: var(--branco); color: var(--texto);
  font: inherit; font-weight: 700;
}
.carrossel__abas button[aria-selected="true"] { background: var(--verde); border-color: var(--verde); color: var(--branco); }
/* Barrinha que enche na aba ativa enquanto o carrossel anda sozinho */
.carrossel__abas button { position: relative; overflow: hidden; }
.carrossel.rodando .carrossel__abas button[aria-selected="true"]::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 3px; border-radius: 2px;
  background: rgba(255, 255, 255, .75); transform-origin: left;
  animation: encher-aba 6s linear forwards;
}
@keyframes encher-aba { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.carrossel__trilho {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; border-radius: 24px;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__trilho:focus-visible { outline: 3px solid var(--verde); outline-offset: 4px; }
.carrossel__slide {
  flex: 0 0 100%; scroll-snap-align: start;
  padding: 40px 48px; background: var(--branco); border-radius: 24px;
}
.carrossel__controles { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.carrossel__seta {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--verde); background: var(--branco); color: var(--verde);
  font-size: 1.6rem; line-height: 1;
}
.carrossel__seta:hover { background: var(--verde); color: var(--branco); }

/* Barra fixa no celular (aparece só em telas pequenas) */
.barra-cta { display: none; }

/* Planos */
.planos { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 28px; align-items: stretch; }
/* Mesma altura nos dois cards, com o botão sempre na base */
.plano { display: flex; flex-direction: column; position: relative; background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio); padding: 32px 28px; }
.plano--destaque { border: 2px solid var(--verde); box-shadow: 0 18px 44px rgba(2, 145, 126, .18); }
.plano__selo {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  padding: 4px 16px; border-radius: 999px;
  background: var(--verde); color: var(--branco); font-weight: 800; font-size: .85rem;
}
.plano h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plano__desc { color: var(--texto-suave); min-height: 3.2em; }
.plano__gratis { margin: 0; color: var(--verde); font-weight: 800; font-size: .95rem; }
.plano__preco { font-size: 3rem; font-weight: 800; color: var(--verde); line-height: 1; margin: 8px 0 24px; }
.plano__preco small { font-size: 1rem; font-weight: 700; color: var(--texto-suave); }
.plano__lista { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plano__lista li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--verde-claro); }
.plano__lista li::before { content: "✓"; position: absolute; left: 4px; color: var(--verde); font-weight: 800; }
.btn--bloco { display: block; text-align: center; }
.planos__nota { text-align: center; color: var(--texto-suave); font-size: .9rem; margin: 28px 0 0; }

/* Dúvidas */
details { background: var(--branco); border: 1px solid var(--borda); border-radius: var(--raio); margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; position: relative; padding-right: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 1.4rem; color: var(--verde); }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 18px; margin: 0; color: var(--texto-suave); }
.duvidas__mais { text-align: center; margin: 24px 0 0; color: var(--texto-suave); }
.duvidas__mais a { font-weight: 700; }

/* Chamada final */
.cta { background: var(--verde); color: var(--branco); padding: 72px 0; text-align: center; }
.cta p { opacity: .9; font-size: 1.1rem; margin-bottom: 28px; }

/* Rodapé */
.rodape { background: #0f3d36; color: #cfe6e1; padding: 28px 0; font-size: .95rem; }
.rodape__linha { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.rodape p { margin: 0; }
.rodape a { color: var(--branco); }
.rodape img { height: 28px; width: auto; }

/* Botão flutuante do WhatsApp */
.whats-flutuante {
  position: fixed; right: 20px; bottom: 20px; z-index: 20;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--whatsapp); box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: transform .15s;
}
.whats-flutuante svg { width: 32px; height: 32px; fill: var(--branco); }

/* ===== Celular e tablet ===== */
@media (max-width: 900px) {
  .hero__grade { grid-template-columns: 1fr; }
  .destaque-bloco { grid-template-columns: 1fr; gap: 28px; }
  .carrossel__slide { padding: 28px 20px; }
  .passos, .dores { grid-template-columns: repeat(2, 1fr); }
  .planos { grid-template-columns: minmax(0, 480px); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .topo__menu-btn {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .topo__menu-btn span { width: 24px; height: 3px; border-radius: 2px; background: var(--verde); }
  .topo__menu {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 18px; padding: 24px 16px;
    background: var(--branco); border-bottom: 1px solid var(--borda);
  }
  .topo__menu.aberto { display: flex; }
  .topo__menu .btn { text-align: center; }
  .topo__entrar { margin-left: 0; }
}

@media (max-width: 560px) {
  .hero { padding: 40px 0 56px; }
  .secao { padding: 56px 0; }
  .passos, .cards, .dores { grid-template-columns: 1fr; }
  .plano__desc { min-height: 0; }
  .celular { width: 100%; max-width: 290px; }
  .hero__visual { padding-bottom: 40px; }
  .notebook { width: 100%; }
  .notebook__base { margin: 0 -2%; }
  .notebook__tela { font-size: .5rem; border-width: 6px 6px 9px; }
  .hero__visual .celular { top: auto; bottom: 0; width: 150px; padding: 6px; border-radius: 22px; font-size: .5rem; }
  .hero__visual .celular__tela { border-radius: 16px; }
  .hero__visual .qtd i { width: 14px; height: 14px; }
  .hero__visual { padding-top: 70px; }
  .balao-whats { right: 100px; width: 200px; font-size: .75rem; }
  .hero__visual .celular { top: auto; bottom: 0; }
  /* No celular, a barra fixa substitui o botão redondo do WhatsApp. */
  .whats-flutuante { display: none; }
  .barra-cta {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--borda);
  }
  body { padding-bottom: 72px; }
  .rodape__linha { flex-direction: column; text-align: center; }
}

/* ===== Páginas de texto (termos e privacidade) ===== */
.link-voltar { font-weight: 700; color: var(--verde); text-decoration: none; }
.legal { max-width: 760px; padding-top: 40px; padding-bottom: 80px; }
.legal h1 { margin-bottom: 4px; }
.legal h2 { font-size: 1.25rem; margin: 32px 0 8px; text-align: left; }
.legal__data { color: var(--texto-suave); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
