/* Mundo VetVix: logo em destaque num cabeçalho claro, faixas "azul-noite" no topo, no bloco
   dos veterinários e no rodapé (o "meio dark"), e os círculos azul/amarelo da logo como sistema
   (números, ícones, avatares). Nunito, a fonte da logo, nos títulos. */
:root {
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #1C2B3A;
  --muted: #4F6072;
  --line: #DCE5EE;
  --brand: #4A6F87;
  --on-brand: #FFFFFF;
  --brand-soft: #EBF2F7;
  --sun: #E6B440;
  --on-sun: #1C2B3A;
  --sun-soft: #FFF5DC;
  --logo-blue: #7095AD;
  --logo-yellow: #E6B440;
  --wa: #1DA851;
  --dot-blue: #7095AD;
  --on-dot: #FFFFFF;

  --night: #12263A;
  --night-2: #1B3450;
  --on-night: #EEF4FA;
  --on-night-muted: #B9CADB;

  --f-head: "Nunito", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --s-1: 0.875rem; --s0: 1.0625rem; --s1: 1.25rem; --s2: 1.625rem; --s3: clamp(1.9rem, 4vw, 2.6rem); --s4: clamp(2.3rem, 5.6vw, 3.9rem);
  --r: 22px;
  --max: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #101923; --surface: #17222F; --ink: #E6EDF4; --muted: #A9B9C9; --line: #283748;
    --brand: #8DB5D9; --on-brand: #101923; --brand-soft: #15263A; --sun: #E2B84C; --on-sun: #1C2B3A; --sun-soft: #262012;
    --logo-blue: #7FA6CA; --logo-yellow: #E2B84C; --wa: #25C25F; --dot-blue: #8DB5D9; --on-dot: #101923;
    --night: #0A131D; --night-2: #142335;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101923; --surface: #17222F; --ink: #E6EDF4; --muted: #A9B9C9; --line: #283748;
  --brand: #8DB5D9; --on-brand: #101923; --brand-soft: #15263A; --sun: #E2B84C; --on-sun: #1C2B3A; --sun-soft: #262012;
  --logo-blue: #7FA6CA; --logo-yellow: #E2B84C; --wa: #25C25F; --dot-blue: #8DB5D9; --on-dot: #101923;
  --night: #0A131D; --night-2: #142335;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--s0); line-height: 1.6; padding-inline: 20px; }
::selection { background: var(--sun); color: var(--on-sun); }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--max); margin-inline: auto; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: var(--s3); font-weight: 900; }
h3 { font-size: var(--s1); font-weight: 800; }
p { margin: 0; }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }

/* Círculo da logo: o elemento que se repete */
.dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--dot-blue); color: var(--on-dot); font-family: var(--f-head); font-weight: 900; font-size: 1.5rem; }
.dot.y { background: var(--logo-yellow); color: var(--on-sun); }
.dot svg { width: 28px; height: 28px; }

/* Cabeçalho sempre branco (também no modo escuro), logo em destaque */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 16px; flex-wrap: wrap; background: #FFFFFF; box-shadow: 0 0 0 100vmax #FFFFFF; clip-path: inset(0 -100vmax); }
.top .sm { display: none; }
.logo { display: block; line-height: 0; }
.logo img { height: 76px; width: auto; }
.top nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; font-family: var(--f-head); font-weight: 800; margin-left: auto; }
.top nav a { color: #1C2B3A; text-decoration: none; }
.top nav a:hover, .top nav a[aria-current="page"] { color: #4A6F87; }
.top nav .vet-link { background: #EBF2F7; color: #4A6F87; padding: 8px 16px; border-radius: 999px; }
.top > .btn-main { background: #4A6F87; color: #FFFFFF; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border: 0; border-radius: 999px; font-family: var(--f-head); font-weight: 800; text-decoration: none; font-size: var(--s0); cursor: pointer; transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--brand); color: var(--on-brand); }
.btn-ghost { background: var(--brand-soft); color: var(--brand); }
.btn-sun { background: var(--sun); color: var(--on-sun); }
.btn-line { background: rgba(255,255,255,.1); color: var(--on-night); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Faixas */
section { padding-block: 80px; }
.band { background: var(--band-bg, var(--brand-soft)); box-shadow: 0 0 0 100vmax var(--band-bg, var(--brand-soft)); clip-path: inset(0 -100vmax); }
.band.sun { --band-bg: var(--sun-soft); }
.band.night { --band-bg: var(--night); color: var(--on-night); }
.night a:not(.btn) { color: var(--on-night); }
.sec-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 42rem; }
.sec-head p { color: var(--muted); font-size: var(--s1); line-height: 1.5; }
.night .sec-head p { color: var(--on-night-muted); }

/* Topo (azul-noite) */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-block: 64px 72px; }
.hero h1 { font-size: var(--s4); font-weight: 900; letter-spacing: -0.02em; }
.hero h1 .hl { color: var(--sun); }
.hero-copy { display: grid; gap: 24px; }
.lead { font-size: var(--s1); color: var(--on-night-muted); max-width: 33rem; line-height: 1.55; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.assure { font-size: var(--s-1); color: var(--on-night-muted); max-width: 33rem; margin-top: -8px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; }
.chips li, .chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--night-2); color: var(--on-night); font-weight: 700; font-size: var(--s-1); text-decoration: none; }
.chips a:hover { background: var(--sun); color: var(--on-sun); }
.chips .star { color: var(--sun); }
.chips a:hover .star { color: var(--on-sun); }

.hero-media { position: relative; padding-bottom: 48px; width: 100%; max-width: 520px; justify-self: end; }
.hero-media img { display: block; width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 40%; border-radius: 32px; }
.hero-media::before { content: ""; position: absolute; inset: 28px -18px 70px 28px; background: var(--night-2); border-radius: 40px; z-index: -1; }

/* Adesivo de pote, sobre a foto */
.sticker { position: absolute; left: -36px; bottom: 0; width: min(320px, 86%); background: #FFFFFF; color: #1C2B3A; border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.55); overflow: hidden; font-size: 0.875rem; transform: rotate(-3deg); }
.sticker-head { background: #4A6F87; color: #FFFFFF; padding: 10px 16px; display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 900; }
.sticker-head img { height: 30px; width: 30px; border-radius: 50%; box-shadow: 0 0 0 2px #FFFFFF; }
.sticker dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; padding: 14px 16px 6px; }
.sticker dt { color: #4F6072; font-weight: 700; }
.sticker dd { margin: 0; font-weight: 600; }
.sticker-foot { padding: 6px 16px 12px; font-size: 0.75rem; color: #4F6072; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { background: var(--brand-soft); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; align-content: start; }
.steps p { color: var(--muted); }

/* Formas */
.forms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.forms > div { background: var(--surface); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: start; }
.forms .dot { grid-row: span 2; width: 52px; height: 52px; }
.forms p { color: var(--muted); font-size: 0.9375rem; }
.note { margin-top: 22px; font-size: var(--s-1); color: var(--muted); }
.note strong { color: var(--ink); }

/* Avaliações */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.score { display: flex; align-items: center; gap: 16px; }
.score b { font-family: var(--f-head); font-size: 3.4rem; font-weight: 900; line-height: 1; }
.score .stars { color: var(--sun); font-size: 1.3rem; letter-spacing: 3px; display: block; }
.score a { font-weight: 700; }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; background: var(--surface); border-radius: var(--r); padding: 30px; display: grid; gap: 18px; align-content: space-between; }
.review p { font-family: var(--f-head); font-size: var(--s1); font-weight: 700; line-height: 1.45; }
.review-by { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: var(--s-1); }
.review-by .dot { width: 40px; height: 40px; font-size: 1.05rem; }
.review-by b { color: var(--ink); display: block; font-size: var(--s0); }

/* Por que: texto + cartões coloridos */
.why-sec { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: center; }
.why-intro { display: grid; gap: 18px; }
.why-intro > p { color: var(--muted); font-size: var(--s1); line-height: 1.5; max-width: 30rem; }


.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.why-card { border-radius: var(--r); padding: 26px; display: grid; gap: 10px; align-content: start; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.why-card:hover { transform: translateY(-4px) rotate(-0.5deg); }
.why-card .dot { width: 48px; height: 48px; margin-bottom: 4px; }
.why-card .dot svg { width: 24px; height: 24px; }
.why-card p { color: var(--muted); }
.why-card:nth-child(even) { transform: translateY(28px); }
.why-card:nth-child(even):hover { transform: translateY(24px) rotate(0.5deg); }
.c-soft { background: var(--brand-soft); }
.c-sun { background: var(--sun-soft); }
.c-night { background: var(--night); color: var(--on-night); }
.c-night p { color: var(--on-night-muted); }
.c-night .big { font-family: var(--f-head); font-weight: 900; font-size: 4.2rem; line-height: .9; color: var(--sun); }
.c-brand { background: var(--brand); color: var(--on-brand); }
.c-brand p { color: var(--on-brand); opacity: .9; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 48rem; }
.faq details { background: var(--surface); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--f-head); font-weight: 800; font-size: var(--s1); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A6F87' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-top: 10px; max-width: 42rem; }

/* Chamada para veterinários (na página inicial) */
.vet-call { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; }
.vet-call ul { margin: 14px 0 0; padding-left: 1.2em; display: grid; gap: 6px; color: var(--on-night-muted); }
.vet-call .ctas { justify-content: end; }

/* Visite */
.visit-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.visit-photo { margin: 0; }
.visit-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.visit > div { display: grid; gap: 6px; align-content: start; }
.visit > div:first-child { grid-column: 1 / -1; }
.visit h3 { font-size: var(--s0); color: var(--brand); }
.hours { font-variant-numeric: tabular-nums; }

/* Rodapé azul-noite com a logo */
.site-foot { padding-block: 48px calc(100px + env(safe-area-inset-bottom, 0px)); font-size: var(--s-1); color: var(--on-night-muted); display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.site-foot .logo-card { background: #FFFFFF; border-radius: 18px; padding: 12px 16px; line-height: 0; }
.site-foot .logo-card img { height: 56px; width: auto; }
.site-foot strong { color: var(--on-night); }
.site-foot nav { display: grid; gap: 6px; justify-items: end; font-weight: 700; }

.fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--wa); color: #fff; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); z-index: 10; }
.fab svg { width: 30px; height: 30px; }

/* Página do veterinário */
.vet-hero { padding-block: 64px 72px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.vet-hero h1 { font-size: var(--s4); font-weight: 900; letter-spacing: -0.02em; }
.vet-hero .hero-copy > p.kicker-line { font-family: var(--f-head); font-weight: 800; color: var(--sun); font-size: var(--s1); }
.vet-panel { background: var(--night-2); border-radius: 28px; padding: 28px; display: grid; gap: 18px; }
.vet-panel h2 { font-size: var(--s2); }
.vet-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.vet-panel li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; color: var(--on-night); font-weight: 600; }
.vet-panel .dot { width: 42px; height: 42px; }
.vet-panel .dot svg { width: 22px; height: 22px; }
.vet-panel .status { font-size: var(--s-1); color: var(--on-night-muted); }

.signup { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.form { background: var(--surface); border-radius: 28px; padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: 0 1px 0 var(--line), 0 20px 40px -28px rgba(18,38,58,.35); }
.form .full { grid-column: 1 / -1; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--f-head); font-weight: 800; font-size: 0.9375rem; }
.field label small { font-weight: 700; color: var(--muted); }
.field input, .field select { font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-soft); }
.field input[aria-invalid="true"] { border-color: #C2410C; }
.form .err { color: #B3370B; font-size: var(--s-1); font-weight: 700; }
.form .privacy { color: var(--muted); font-size: var(--s-1); }
.form .btn { justify-self: start; }

.soon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.soon > div { background: var(--night-2); border-radius: var(--r); padding: 24px; display: grid; gap: 10px; align-content: start; }
.soon p { color: var(--on-night-muted); font-size: 0.9375rem; }
.soon .tag { justify-self: start; background: var(--sun); color: var(--on-sun); font-family: var(--f-head); font-weight: 800; font-size: 0.75rem; padding: 3px 10px; border-radius: 999px; }

@media (max-width: 960px) {
  .why, .forms, .soon { grid-template-columns: repeat(2, 1fr); }
  .top nav a:not(.vet-link) { display: none; }
}
@media (max-width: 760px) {
  body { padding-inline: 18px; }
  .top { flex-wrap: nowrap; gap: 8px; padding-block: 22px; }
  .logo { flex: none; }
  .logo img { height: 62px; }
  .top nav { margin-left: auto; gap: 0; flex-wrap: nowrap; }
  .top nav .vet-link, .top > .btn { padding: 10px 14px; font-size: 0.875rem; white-space: nowrap; gap: 6px; }
  .top > .btn svg { width: 18px; height: 18px; }
  .top .lg { display: none; }
  .top .sm { display: inline; }
  .hero, .visit-wrap, .vet-hero, .signup, .vet-call { grid-template-columns: 1fr; gap: 36px; }
  .hero, .vet-hero { padding-block: 40px 56px; }
  .hero-media { margin-inline: 4px; padding-bottom: 130px; justify-self: stretch; width: auto; max-width: none; }
  .hero-media img { aspect-ratio: 4 / 3.4; object-position: center 45%; }
  .hero-media::before { inset: 20px -10px 130px 20px; }
  .sticker { left: 6px; width: min(300px, 92%); }
  .ctas .btn { flex: 1 1 100%; }
  .vet-call .ctas { justify-content: stretch; }
  section { padding-block: 56px; }
  .steps, .forms, .reviews, .visit, .why, .soon, .form { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: auto 1fr; gap: 4px 16px; padding: 22px; }
  .steps .dot { grid-row: span 2; width: 48px; height: 48px; font-size: 1.3rem; }
  .review { padding: 24px; }
  .form { padding: 24px; }
  .site-foot { grid-template-columns: 1fr; }
  .site-foot nav { justify-items: start; }
}
@media (max-width: 960px) {
  .why-sec { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 420px) {
  .logo img { height: 56px; }
  .top > .btn svg { display: none; }
}
@media (max-width: 380px) {
  .logo img { height: 50px; }
  .top nav .vet-link, .top > .btn { padding: 9px 12px; }
}
@media (max-width: 760px) {
  .why { grid-template-columns: 1fr; }
  .why-card:nth-child(even), .why-card:nth-child(even):hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .faq summary::after, .why-card { transition: none; } .btn:hover, .why-card:hover { transform: none; } 