/* Hotsite Boa Rotina Canina.
   Tokens copiados de app/frontend/src/styles.css (cores medidas no PDF do ebook,
   Georgia/Trebuchet com Gelasio e Fira Sans embutidas para quem nao tem essas fontes). */
@font-face { font-family: Gelasio; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/gelasio-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Gelasio; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/gelasio-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/fira-sans-latin-700-normal.woff2) format('woff2'); }

:root {
  --cream: #fbf4e8;
  --paper: #fffbf4;
  --ink: #263e36;
  --green: #315e50;
  --green-soft: #4d7a6b;
  --muted: #647568;
  --terra: #b85e49;
  --peach: #efd3bc;
  --peach-soft: #f8ebe1;
  --mint: #dbe6d8;
  --mint-soft: #e9f0e6;
  --line: #eadfcd;
  --on-green: #fcf5e9;
  --serif: Georgia, Gelasio, 'Iowan Old Style', serif;
  --sans: 'Trebuchet MS', 'Fira Sans', 'Segoe UI', system-ui, sans-serif;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --shadow: 0 8px 24px rgba(49, 94, 80, .10);
  --shadow-soft: 0 3px 10px rgba(49, 94, 80, .08);
  --wrap: 1080px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--serif); font-size: 17.5px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; color: var(--green); margin: 0 0 .45em; letter-spacing: -.005em; }
h2 { font-size: clamp(1.85rem, 7vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.1rem; }
.kicker { font-family: var(--sans); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--green); margin: 0 0 .7em; display: block; }
.kicker.accent { color: var(--terra); font-weight: 700; }
.lead { font-style: italic; color: var(--terra); font-size: 1.1rem; line-height: 1.5; }
.sans { font-family: var(--sans); }
.small { font-size: .86rem; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- botoes (iguais ao app) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  background: var(--green); color: var(--on-green); border: 0; border-radius: 999px;
  padding: .9em 1.7em; min-height: 54px; box-shadow: 0 8px 20px rgba(49, 94, 80, .22);
  transition: transform .12s ease, background .12s ease;
}
.btn:hover { background: #2a5246; }
.btn:active { transform: scale(.98); }
.btn.wide { width: 100%; }
.btn .paw { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.btn-soft {
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--sans); font-weight: 700;
  background: var(--peach); color: var(--ink); border-radius: 999px; padding: .85em 1.5em; min-height: 50px; text-decoration: none;
}
.btn-mini {
  display: inline-flex; align-items: center; font-family: var(--sans); font-weight: 700; font-size: .88rem; text-decoration: none;
  background: var(--green); color: var(--on-green); border-radius: 999px; padding: .5em 1.05em; min-height: 42px; white-space: nowrap;
}
:is(.btn, .btn-soft, .btn-mini, a, button, summary):focus-visible { outline: 3px solid var(--terra); outline-offset: 2px; }
.cta-note { font-family: var(--sans); font-size: .84rem; color: var(--muted); margin: .7rem 0 0; }
.cta-note strong { color: var(--green); }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 244, 232, .93); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 60px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--green); font-size: 1.08rem; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 50%; background: var(--peach-soft); }

/* ---------- abertura (capa do ebook) ---------- */
.hero { position: relative; background: var(--peach-soft); overflow: hidden; }
.hero-art { position: relative; }
.hero-art img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center bottom; }
.hero-title { position: absolute; top: 0; left: 0; right: 0; padding: 7% 7% 0; }
.hero-title :is(h1, .h1-like) { font-family: var(--serif); color: var(--green); font-size: clamp(2.3rem, 10.5vw, 4.2rem); line-height: 1.02; margin: .15em 0 .3em; }
.hero-title .lead { font-size: clamp(1rem, 4.4vw, 1.3rem); margin: 0; max-width: 12.5em; }
.hero-card {
  position: relative; background: var(--cream); margin-top: -2.6rem;
  border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 1.6rem 1.2rem 2.2rem;
}
.hero-card p.intro { font-size: 1.06rem; margin-bottom: 1.1rem; }
@media (max-width: 759.98px) { .hero .wrap.hero-grid { padding: 0; } .hero-card { padding-left: 1.2rem; padding-right: 1.2rem; } .hero-title .kicker { font-size: .6rem; letter-spacing: .1em; } .hero-title { padding-top: 6%; } }
.hero-chips { list-style: none; padding: 0; margin: 1.1rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.hero-chips li { font-family: var(--sans); font-size: .82rem; font-weight: 700; color: var(--green); background: var(--mint); border-radius: 999px; padding: .4em .9em; }
.hero-chips li:nth-child(2) { background: var(--peach); color: var(--ink); }
.hero-chips li:nth-child(3) { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); }

/* ---------- secoes ---------- */
.section { padding: 3.2rem 0; }
.section.tone-paper { background: var(--paper); }
.section.tone-mint { background: var(--mint-soft); }
.section.tone-peach { background: var(--peach-soft); }
.section-head { max-width: 40rem; margin-bottom: 1.8rem; }
.section-head .lead { margin-bottom: 0; }

/* cartoes das partes (como o sumario do app) */
.parts { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.part {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "num img" "txt img"; gap: .15rem .9rem; align-items: center;
  padding: 1.05rem 1rem 1.1rem 1.2rem; border-radius: var(--r-md); box-shadow: var(--shadow-soft);
}
.part-num { grid-area: num; font-style: italic; font-size: 1.7rem; color: var(--terra); line-height: 1; }
.part > div { grid-area: txt; }
.part-title { display: block; font-size: 1.22rem; color: var(--green); line-height: 1.2; margin: 0; }
.part-sub { display: block; font-family: var(--sans); font-size: .84rem; color: var(--ink); opacity: .82; margin-top: .3rem; line-height: 1.4; }
.part-img { grid-area: img; width: 84px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, .75); }
.tone-mint-c { background: var(--mint); }
.tone-peach-c { background: var(--peach); }
.tone-cream-c { background: var(--paper); }
.extras { display: grid; gap: .7rem; margin-top: 1.4rem; }
.extra { display: flex; gap: .8rem; align-items: center; font-family: var(--sans); font-size: .92rem; background: var(--paper); border-radius: var(--r-sm); padding: .8rem 1rem; box-shadow: inset 0 0 0 1.5px var(--line); }
.extra b { color: var(--green); }
.extra .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; color: var(--green); font-weight: 700; }

@media (min-width: 760px) {
  body { font-size: 18.5px; }
  .wrap { padding: 0 2rem; }
  .hero { background: linear-gradient(90deg, var(--cream) 0 50%, var(--peach-soft) 50%); }
  .hero .wrap.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding-top: 3rem; padding-bottom: 3.5rem; }
  .hero-art img { aspect-ratio: 4 / 4.7; }
  .hero-art { order: 2; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; box-shadow: var(--shadow); max-width: 470px; justify-self: end; }
  .hero-title { position: static; padding: 0; }
  .hero-desk { order: 1; }
  .hero-card { margin: 0; padding: 0; background: none; border-radius: 0; }
  .hero-title :is(h1, .h1-like) { font-size: clamp(3.4rem, 6.4vw, 5rem); }
  .hero-title .lead { font-size: 1.45rem; margin-bottom: 1.4rem; max-width: none; }
  .section { padding: 5rem 0; }
  .parts { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
  .parts .part:last-child { grid-column: 1 / -1; }
  .part { padding: 1.3rem 1.3rem 1.3rem 1.5rem; grid-template-columns: auto 1fr auto; grid-template-areas: "num txt img"; gap: 1rem; }
  .part-num { font-size: 2.2rem; }
  .part-img { width: 96px; height: 96px; }
  .extras { grid-template-columns: 1fr 1fr; }
}
/* No celular o titulo fica sobre a arte (como a capa do ebook); no desktop vai para a coluna de texto. */
@media (max-width: 759.98px) {
  .hero-desk .hero-title { display: none; }
}
@media (min-width: 760px) {
  .hero-art .hero-title { display: none; }
}

/* ---------- para quem e ---------- */
.fit { display: grid; gap: 1rem; }
.fit-card { border-radius: var(--r-lg); padding: 1.4rem 1.25rem 1.2rem; position: relative; overflow: hidden; }
.fit-card h3 { font-size: 1.45rem; margin-bottom: .7em; }
.fit-yes { background: var(--mint); }
.fit-no { background: var(--peach-soft); box-shadow: inset 0 0 0 1.5px var(--peach); }
.fit-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; float: right; margin: -.3rem -.2rem .5rem .8rem; border: 4px solid rgba(255, 255, 255, .7); shape-outside: circle(); }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; font-family: var(--sans); font-size: .96rem; line-height: 1.5; }
.ticks li, .crosses li { position: relative; padding-left: 1.9rem; }
.ticks li::before, .crosses li::before {
  content: ''; position: absolute; left: 0; top: .12em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fcf5e9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.crosses li::before {
  background: var(--terra) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9' fill='none' stroke='%23fcf5e9' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.ticks b { color: var(--green); }
.crosses b { color: var(--terra); }

/* ---------- app ---------- */
.shots { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -1.1rem; padding: .4rem 1.1rem 1.2rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 68%; max-width: 260px; margin: 0; scroll-snap-align: center; }
.phone { background: #22382f; border-radius: 34px; padding: 9px; box-shadow: 0 14px 30px rgba(38, 62, 54, .22); }
.phone img { border-radius: 26px; width: 100%; aspect-ratio: 402 / 864; object-fit: cover; object-position: top; background: var(--cream); }
.shot figcaption { font-family: var(--sans); font-size: .88rem; margin-top: .8rem; line-height: 1.45; }
.shot figcaption b { color: var(--green); }
.fichas { list-style: none; padding: 0; margin: 1.2rem 0 1.4rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.fichas li { background: var(--paper); border-radius: var(--r-sm); padding: .65rem .8rem; font-family: var(--sans); font-size: .88rem; font-weight: 700; color: var(--green); line-height: 1.3; box-shadow: var(--shadow-soft); }
.fichas span { display: block; font-size: .66rem; letter-spacing: .12em; color: var(--terra); }
.fichas span::before { content: 'FICHA '; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-family: var(--sans); font-size: .93rem; }
.perks li { display: flex; gap: .6rem; align-items: baseline; }
.perks li::before { content: '•'; color: var(--terra); font-weight: 700; }

/* ---------- acesso ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .9rem; }
.steps li { display: grid; grid-template-columns: 2.8rem 1fr; gap: .9rem; align-items: start; background: var(--paper); border-radius: var(--r-md); padding: 1.1rem 1.1rem 1rem; box-shadow: var(--shadow-soft); }
.step-n { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--peach); color: var(--terra); display: grid; place-items: center; font-style: italic; font-size: 1.5rem; line-height: 1; }
.steps h3 { font-size: 1.18rem; margin: .25rem 0 .3rem; }
.steps h3 em { color: var(--terra); }
.steps p { margin: 0; font-family: var(--sans); font-size: .93rem; }
.note { font-family: var(--sans); background: var(--mint); color: var(--ink); padding: .9em 1.1em; border-radius: var(--r-sm); font-size: .93rem; margin: 0; }

/* ---------- fontes ---------- */
.sources { display: grid; gap: 1.3rem; align-items: center; }
.sources-img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 8px var(--peach-soft); }
.orgs { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: .45rem; }
.orgs li { font-family: var(--sans); font-weight: 700; font-size: .88rem; color: var(--green); background: var(--mint-soft); border: 1.5px solid var(--mint); border-radius: 999px; padding: .35em .95em; }

/* ---------- preco ---------- */
.price { position: relative; max-width: 560px; margin: 4.2rem auto 0; background: var(--paper); border-radius: var(--r-lg); padding: 5.2rem 1.3rem 1.6rem; box-shadow: var(--shadow); }
.price-mascot { position: absolute; width: 150px; height: auto; top: -5.2rem; left: 50%; transform: translateX(-50%); filter: drop-shadow(0 8px 12px rgba(49, 94, 80, .15)); }
.price .kicker, .price h2 { text-align: center; }
.price-value { text-align: center; margin: .2rem 0 1.4rem; display: grid; gap: .1rem; }
.price-big { font-size: 3rem; line-height: 1; color: var(--green); font-style: italic; }
.price-sub { font-family: var(--sans); font-size: .95rem; color: var(--muted); }
.price .ticks { margin-bottom: 1.5rem; }

/* ---------- faq ---------- */
.wrap.narrow { max-width: 820px; }
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.15rem; position: relative; font-size: 1.08rem; color: var(--green); line-height: 1.35; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-family: var(--sans); font-weight: 700; }
.faq details[open] summary::after { content: '–'; background: var(--peach); }
.faq details p { margin: 0; padding: 0 1.15rem 1.1rem; font-family: var(--sans); font-size: .95rem; }

/* ---------- fechamento ---------- */
.section.final { padding-top: 1rem; }
.closing { background: var(--green); color: var(--on-green); border-radius: var(--r-lg); padding: 1.6rem 1.4rem 1.8rem; display: grid; gap: .6rem; justify-items: center; text-align: center; }
.closing img { width: 130px; }
.closing h2 { color: var(--on-green); }
.closing p { opacity: .92; }
.btn-light { background: var(--on-green); color: var(--green); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.btn-light:hover { background: #fff; }
.cta-note.light { color: var(--on-green); opacity: .8; }

/* ---------- rodape ---------- */
.footer { border-top: 1px solid var(--line); padding: 2.2rem 0 2.6rem; font-family: var(--sans); font-size: .85rem; color: var(--muted); }
.brand-foot { display: flex; align-items: center; gap: .5rem; font-family: var(--serif); font-size: 1.05rem; color: var(--green); }
.brand-foot img { border-radius: 50%; background: var(--peach-soft); }
.foot-links { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; margin: 0 0 1rem; }
.foot-links a { display: inline-block; padding: .35rem 0; }
.todo { background: #fff3b0; color: #6b5200; padding: 0 .3em; border-radius: 4px; }

/* ---------- paginas internas ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 2rem 1.1rem 3rem; }
.doc h1 { font-size: clamp(2.1rem, 8vw, 3rem); }
.doc h2 { font-size: 1.5rem; margin-top: 1.8em; }
.doc p, .doc li { font-family: var(--sans); font-size: .98rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin: .35em 0; }
.doc li::marker { color: var(--terra); }
.draft { background: #fff3b0; color: #4d3b00; border-radius: var(--r-sm); padding: .9em 1.1em; font-family: var(--sans); font-size: .9rem; margin-bottom: 1.6rem; }
.thanks { text-align: center; }
.thanks .mascot { width: 170px; margin: 0 auto .6rem; }
.thanks .steps { text-align: left; margin-top: 1.6rem; }
.thanks .btn { margin: .4rem 0 .2rem; }
.app-url { font-family: var(--sans); font-size: .9rem; word-break: break-all; }

@media (min-width: 760px) {
  .fit { grid-template-columns: 1.1fr 1fr; gap: 1.2rem; }
  .fit-card { padding: 1.9rem 1.8rem 1.7rem; }
  .fit-img { width: 120px; height: 120px; }
  .shots { overflow: visible; margin: 0; padding: .4rem 0 1.4rem; justify-content: center; gap: 2rem; }
  .shot { flex: 0 1 260px; }
  .fichas { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .sources { grid-template-columns: 220px 1fr; gap: 2.5rem; }
  .sources-img { width: 220px; height: 220px; }
  .price { padding: 5.6rem 2.4rem 2rem; }
  .closing { grid-template-columns: 200px 1fr; text-align: left; justify-items: start; padding: 2.4rem 2.8rem; gap: 2rem; align-items: center; }
  .closing img { width: 200px; }
  .doc { padding-top: 3rem; }
}
.thanks .go { margin-top: 1.6rem; } .thanks .help { margin-top: 2rem; }
