/* AtestaVet — brand blue and amber, as in the app icon. */
:root {
  --azul: #1e5bb0;
  --azul-escuro: #123f85;
  --azul-noite: #0b2a5c;
  --ambar: #f4b000;
  --ambar-escuro: #d99a00;
  --fundo: #ffffff;
  --fundo-alt: #f3f6fb;
  --texto: #0f1b2d;
  --texto-suave: #55627a;
  --borda: #e2e8f1;
  --sombra: 0 18px 50px -18px rgba(11, 42, 92, 0.35);
  --sombra-leve: 0 6px 24px -10px rgba(11, 42, 92, 0.18);
  --raio: 20px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 17px/1.6 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; text-align: center; }
h2.alinhado { text-align: left; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.largura { width: min(1140px, 100% - 32px); margin-inline: auto; }
.suave { color: var(--texto-suave); font-size: 1.08rem; }
.centro { text-align: center; }
.sobretitulo { text-align: center; color: var(--azul); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 10px; }
.conta-grade .sobretitulo, .sobre-grade .sobretitulo { text-align: left; }

/* Top bar: transparent over the blue hero, solid when scrolled past it. */
.topo { position: sticky; top: 0; z-index: 20; background: var(--azul-noite); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.marca img { border-radius: 9px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.botao) { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:not(.botao):hover { color: #fff; }
@media (max-width: 680px) { .nav-links a:not(.botao) { display: none; } }

/* Buttons */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 50px; padding: 12px 24px; border-radius: 14px; border: 2px solid var(--azul);
  background: var(--azul); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.botao:hover { transform: translateY(-2px); box-shadow: var(--sombra-leve); }
.botao:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--ambar); outline-offset: 3px; }
.botao svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.botao-grande { min-height: 58px; padding: 14px 28px; font-size: 1.05rem; }
.botao-pequeno { min-height: 40px; padding: 8px 18px; font-size: 0.95rem; border-radius: 12px; }
.botao-ambar { background: var(--ambar); border-color: var(--ambar); color: var(--azul-noite); }
.botao-ambar:hover { background: #ffc21a; }
.botao-claro { background: #fff; border-color: #fff; color: var(--azul-escuro); }
.botao-contorno { background: transparent; color: var(--azul); }
.botao-contorno-claro { background: transparent; border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.botao-contorno-claro:hover { border-color: #fff; }
.botao[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 90% 20%, rgba(244, 176, 0, 0.16), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(42, 107, 199, 0.55), transparent 60%),
    linear-gradient(160deg, var(--azul-noite) 0%, var(--azul-escuro) 55%, var(--azul) 100%);
  padding: clamp(48px, 7vw, 88px) 0 0;
}
.hero-grade { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: end; }
.hero-texto { padding-bottom: clamp(48px, 7vw, 96px); }
.selo { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2); font-weight: 600; font-size: 0.88rem; margin-bottom: 22px; }
.hero h1 span { color: var(--ambar); }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.85); max-width: 32em; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 16px; }
.hero-nota { color: rgba(255, 255, 255, 0.7); font-size: 0.95rem; margin: 0; }
.hero-visual { position: relative; height: clamp(440px, 48vw, 600px); }
.hero-visual .celular { position: absolute; bottom: -60px; width: clamp(210px, 22vw, 290px); }
.hero-visual .celular-frente { right: 4%; transform: rotate(4deg); z-index: 2; }
.hero-visual .celular-tras { right: 42%; bottom: -100px; transform: rotate(-7deg); opacity: 0.95; }
@media (max-width: 880px) {
  .hero-grade { grid-template-columns: 1fr; }
  .hero-texto { padding-bottom: 8px; }
  .hero-visual { height: 380px; }
  .hero-visual .celular { width: 190px; bottom: -70px; }
  .hero-visual .celular-frente { right: calc(50% - 175px); }
  .hero-visual .celular-tras { right: calc(50% - 20px); bottom: -110px; }
}

/* App screens: just the screen, with a soft shadow. */
.celular { margin: 0; overflow: hidden; background: #fff;
  box-shadow: 0 24px 50px -18px rgba(11, 42, 92, 0.45); }
.hero .celular { box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }

/* Sections */
.secao { padding: clamp(64px, 9vw, 110px) 0; scroll-margin-top: 68px; }
.secao-alt { background: var(--fundo-alt); }
.secao > .largura > h2 { margin-bottom: 1.3em; }

/* Features */
.grade-recursos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recurso { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease; }
.recurso:hover { transform: translateY(-4px); box-shadow: var(--sombra-leve); }
/* Title-only cards: the icon sits beside the title. */
.recurso { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.recurso h3 { margin: 0; }
.recurso .icone { margin-bottom: 0; flex: none; }
.icone { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 18px;
  background: linear-gradient(145deg, #eaf1fc, #dbe7fa); color: var(--azul); }
.icone svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .grade-recursos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grade-recursos { grid-template-columns: 1fr; } }

/* Gallery */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.galeria figure { margin: 0; }
.galeria figcaption { text-align: center; font-weight: 700; margin-top: 16px; }
@media (max-width: 900px) {
  .galeria { grid-template-columns: repeat(4, 220px); overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 10px 16px 24px; margin-inline: -16px; }
  .galeria figure { scroll-snap-align: center; }
}
.pdf-destaque { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: clamp(56px, 8vw, 96px);
  background: #fff; border: 1px solid var(--borda); border-radius: 28px; padding: clamp(28px, 5vw, 56px); overflow: hidden; }
.pdf-texto h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.pdf-texto p { color: var(--texto-suave); font-size: 1.08rem; }
.papel { margin: 0 0 calc(-1 * clamp(28px, 5vw, 56px)); overflow: hidden;
  box-shadow: var(--sombra); max-height: 420px; }
@media (max-width: 760px) { .pdf-destaque { grid-template-columns: 1fr; gap: 28px; } }

/* Steps */
.passos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: passo; }
.passos li { text-align: center; padding: 8px 16px; }
.passos p { color: var(--texto-suave); margin: 0; }
.num { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px;
  background: var(--azul); color: #fff; font-weight: 800; font-size: 1.3rem; box-shadow: 0 0 0 8px #eaf1fc; }
@media (max-width: 700px) { .passos { grid-template-columns: 1fr; gap: 28px; } }

/* Plans */
.planos { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 24px; }
.plano { position: relative; background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 32px;
  display: flex; flex-direction: column; box-shadow: var(--sombra-leve); }
.plano .botao { margin-top: auto; }
.plano-destaque { background: linear-gradient(160deg, var(--azul-noite), var(--azul-escuro)); color: #fff; border: 0; }
.plano-destaque .lista li::before { background-color: var(--ambar); }
.tag-premium { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #fff4d1;
  color: #8a5a00; font-size: 0.75rem; font-weight: 700; vertical-align: middle; letter-spacing: 0; }
.etiqueta { position: absolute; top: 24px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--ambar);
  color: var(--azul-noite); font-weight: 700; font-size: 0.8rem; }
.preco { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4em; }
.preco small { font-size: 1rem; font-weight: 600; opacity: 0.8; }
.preco-alt { margin: -0.6em 0 1em; opacity: 0.85; font-weight: 600; }
.plano-nota { margin: auto 0 0; font-size: 0.9rem; opacity: 0.8; }
@media (max-width: 640px) { .planos { grid-template-columns: 1fr; } }

.lista { padding: 0; margin: 0 0 1.2em; list-style: none; }
.lista li { position: relative; padding-left: 32px; margin: 10px 0; }
.lista li::before { content: ""; position: absolute; left: 0; top: 0.28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--azul) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Sign-up */
.conta-grade { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 800px) { .conta-grade { grid-template-columns: 1fr; } }
.cartao { background: #fff; border: 1px solid var(--borda); border-radius: 24px; padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--sombra); display: grid; gap: 18px; }
label { display: grid; gap: 8px; font-weight: 600; font-size: 0.95rem; }
input { font: inherit; font-weight: 500; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--borda);
  background: var(--fundo-alt); color: var(--texto); width: 100%; transition: border-color 0.15s ease, background 0.15s ease; }
input::placeholder { color: #9aa6b8; }
input:focus { border-color: var(--azul); background: #fff; outline: none; }
.mensagem { padding: 12px 14px; border-radius: 12px; font-weight: 600; }
.mensagem.erro { background: #fdecea; color: #b3261e; }
.mensagem.ok { background: #e6f4ea; color: #137333; }
.nota { color: var(--texto-suave); font-size: 0.9rem; margin: 0; text-align: center; }

/* Downloads */
.secao-azul { background: linear-gradient(160deg, var(--azul-noite), var(--azul-escuro)); color: #fff; }
.secao-azul .centro { color: rgba(255, 255, 255, 0.8); margin-bottom: 36px; }
.passos-instalar { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: 16px; margin-top: 8px; }
.passo-instalar { display: grid; justify-items: center; align-content: start; gap: 4px; padding: 28px 22px; border-radius: var(--raio);
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); text-align: center; }
.passo-instalar svg { width: 34px; height: 34px; fill: none; stroke: var(--ambar); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.passo-instalar strong { font-size: 1.2rem; }
.passo-instalar p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 0.98rem; line-height: 1.5; }
.passo-instalar.sugerido { background: #fff; color: var(--azul-noite); border-color: #fff; }
.passo-instalar.sugerido p { color: var(--texto-suave); }
.passo-instalar.sugerido svg { stroke: var(--azul); }
.como-instalar { max-width: min(440px, calc(100% - 32px)); border: 0; border-radius: var(--raio); padding: 28px;
  box-shadow: var(--sombra); color: var(--texto); }
.como-instalar::backdrop { background: rgba(11, 42, 92, 0.45); }
.como-instalar h3 { font-size: 1.3rem; }
.como-instalar p { color: var(--texto-suave); line-height: 1.55; }
.como-instalar form { margin: 20px 0 0; }
.como-instalar .botao { width: 100%; }
.instalar-acao { margin: 32px 0 0; justify-content: center; }
@media (max-width: 760px) { .passos-instalar { grid-template-columns: 1fr; } }
.ajuda { max-width: 620px; margin: 28px auto 0; color: rgba(255, 255, 255, 0.85); }
.ajuda summary { cursor: pointer; text-align: center; font-weight: 600; color: #fff; }
.ajuda p { margin: 12px 0 0; }
.ajuda code { background: rgba(255, 255, 255, 0.12); padding: 1px 6px; border-radius: 6px; }

/* About */
.sobre-grade { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 800px) { .sobre-grade { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--fundo-alt); border: 1px solid var(--borda);
  font-weight: 600; font-size: 0.92rem; color: var(--azul-escuro); }
.autor { margin: 0; }

/* Footer */
.rodape { background: var(--azul-noite); color: rgba(255, 255, 255, 0.7); padding: 28px 0; font-size: 0.95rem; }
.rodape a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.rodape a:hover { color: #fff; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.rodape-linha { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.marca-pequena { font-size: 1rem; }
.marca-pequena img { border-radius: 5px; }

/* Privacy page */
.documento { padding: 48px 0 72px; width: min(720px, 100% - 32px); }
.documento h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.documento h2 { font-size: 1.3rem; margin-top: 1.6em; text-align: left; }
.documento p, .documento li { color: var(--texto-suave); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .botao, .recurso { transition: none; }
}

/* Page after paying (assinar.html sends the customer here). */
.obrigado { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  padding: 32px 16px; max-width: 560px; margin: 0 auto; }
.obrigado img { border-radius: 20px; margin-bottom: 12px; }
.obrigado p { color: var(--texto-suave); font-size: 1.08rem; }

/* Card payment page (the app opens it with a one-time link). */
.assinar { max-width: 520px; margin: 0 auto; padding: 32px 16px 48px; }
.assinar-topo { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.assinar-topo img { border-radius: 16px; flex: none; }
.assinar-topo h1 { font-size: 1.5rem; margin: 0; }
.assinar-preco { margin: 4px 0 0; color: var(--texto-suave); }
.assinar-preco strong { color: var(--texto); font-size: 1.15rem; }
.assinar-aviso { padding: 16px; border-radius: 14px; background: var(--fundo-alt); color: var(--texto); }
.assinar-aviso[hidden], .assinar-erro[hidden] { display: none; }
.assinar-erro { padding: 12px 16px; border-radius: 14px; background: #fdecea; color: #8a1c13; font-weight: 600; }
.assinar-nota { margin-top: 24px; color: var(--texto-suave); font-size: 0.9rem; line-height: 1.5; }
