/* Tutorz: site de apresentação. Cores, fontes e componentes seguem o app (fiapo-app/src/theme/palette.ts). Sem recursos externos. */

@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/figtree-500.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/figtree-700.woff2") format("woff2"); }
@font-face { font-family: "Clash Display"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/clash-display-600.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #fefdfc;
  --bg-alt: #f9f6f2;
  --surface: #ffffff;
  --ink: #221d1a;
  --ink-soft: #5f574f;
  --ink-muted: #6b665c;
  --line: #eee9e2;
  --brand: #516536;
  --brand-fg: #516536;
  --brand-900: #0b341d;
  --brand-soft: #edf9f0;
  --coral: #d66653;
  --coral-500: #f27a65;
  --coral-soft: #fff5f2;
  --coral-pill: #ffc5b5;
  --coral-pill-ink: #904037;
  --shadow: 0 1px 2px rgba(34, 29, 26, 0.04), 0 14px 36px rgba(34, 29, 26, 0.09);
  --shadow-lg: 0 2px 4px rgba(34, 29, 26, 0.05), 0 28px 64px rgba(34, 29, 26, 0.16);
  --radius: 28px;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Clash Display", "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Sem `scroll-behavior: smooth` aqui: ele briga com o ScrollTrigger (seção fixa). A rolagem suave dos links é feita em js/main.js. */
html { -webkit-text-size-adjust: 100%; }

body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-fg); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand-fg); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 8.4vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

.skip { position: absolute; left: 16px; top: -64px; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 60; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left)); }
@media (min-width: 720px) { .wrap { padding-inline: 40px; } }

.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-fg); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-soft); max-width: 36em; }

/* ---------- vidro (o mesmo da barra inferior do app) */
.glass, .glass-card { background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: 0 10px 32px rgba(34, 29, 26, 0.1); }
.glass-card { border-radius: 20px; }

/* ---------- o degradê do app (home-bg-mesh): manchas salmão com granulado */
.mesh { position: relative; isolation: isolate; background:
  radial-gradient(38% 34% at 24% 30%, #f0a493 0%, rgba(240, 164, 147, 0) 72%),
  radial-gradient(30% 36% at 2% 72%, #f0a29c 0%, rgba(240, 162, 156, 0) 72%),
  radial-gradient(42% 42% at 94% 6%, #f4cdc6 0%, rgba(244, 205, 198, 0) 72%),
  radial-gradient(40% 36% at 80% 90%, #f4c5bd 0%, rgba(244, 197, 189, 0) 72%),
  #f8e6e2; }
.mesh::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.4; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .62 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
/* selos oficiais das lojas: só reduzidos, sem mexer em cor nem proporção */
.store { display: block; border-radius: 12px; line-height: 0; transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.25s; filter: drop-shadow(0 10px 18px rgba(34, 29, 26, 0.18)); }
.store img { height: 56px; width: auto; }
.store:hover { transform: translateY(-3px); }
.store:focus-visible { outline-offset: 4px; }
@media (max-width: 420px) { .store img { height: 50px; } }

/* ---------- menu flutuante (uma peça só: logo, links e botão) */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding-inline: max(14px, env(safe-area-inset-left)); pointer-events: none; }
.nav-bar { pointer-events: auto; width: 100%; max-width: 1080px; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 26px; }
.nav-logo { display: grid; place-items: center; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: none; gap: 4px; align-items: center; font-weight: 600; font-size: 0.97rem; }
.nav-links a { display: grid; place-items: center; height: 42px; padding-inline: 18px; border-radius: 16px; color: var(--ink-soft); text-decoration: none; transition: background-color 0.2s, color 0.2s; }
.nav-links a:hover { background: rgba(34, 29, 26, 0.06); color: var(--ink); }
.nav-cta { display: grid; place-items: center; height: 46px; padding-inline: 22px; border-radius: 18px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; text-decoration: none; box-shadow: 0 8px 20px rgba(81, 101, 54, 0.3); transition: transform 0.2s, background-color 0.2s; }
.nav-cta:hover { transform: translateY(-1px); background: #5a7040; }
@media (min-width: 900px) { .nav-links { display: flex; } }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; background: var(--coral); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ---------- herói */
.hero { padding-top: 128px; overflow: clip; text-align: center; }
.hero-copy { display: grid; gap: 22px; justify-items: center; position: relative; z-index: 2; }
.badge-new { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.9); font-weight: 600; font-size: 0.92rem; color: var(--ink-soft); }
.badge-new b { background: var(--ink); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 0.78rem; letter-spacing: 0.04em; }
.hero h1 { max-width: 11em; }
.hero .lead { max-width: 33em; color: #4f463f; }

.hero-stage { text-align: left; position: relative; height: clamp(430px, 62vw, 640px); margin-top: 56px; max-width: 1240px; margin-inline: auto; }
/* o esmaecimento vai de borda a borda da tela (o palco tem largura máxima; sem isto, em telas largas a faixa clara cobria só o miolo e deixava uma emenda nas laterais). O .hero corta o excesso com overflow: clip. */
.hero-stage::after { content: ""; position: absolute; inset: auto -100vw 0 -100vw; height: 38%; z-index: 4; background: linear-gradient(to bottom, rgba(254, 253, 252, 0), var(--bg) 92%); pointer-events: none; }
.phone--hero { position: absolute; left: 50%; top: 0; translate: -50% 0; width: clamp(270px, 31vw, 350px); z-index: 3; box-shadow: 0 40px 90px rgba(144, 64, 55, 0.28), 0 6px 18px rgba(34, 29, 26, 0.14); }
.polaroid { position: absolute; z-index: 2; margin: 0; width: clamp(150px, 18vw, 230px); padding: 9px 9px 0; border-radius: 22px; background: #fff; box-shadow: var(--shadow-lg); }
.polaroid img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: 50% 30%; border-radius: 15px; }
.polaroid--cat img { object-position: 50% 24%; }
.polaroid figcaption { display: grid; padding: 10px 6px 12px; text-align: left; line-height: 1.25; }
.polaroid figcaption b { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.polaroid figcaption span { font-size: 0.8rem; color: var(--ink-muted); }
.polaroid--dog { left: 5%; top: 90px; rotate: -8deg; }
.polaroid--cat { right: 5%; top: 40px; rotate: 7deg; }
.chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; text-align: left; }
.chip img { width: 44px; height: 44px; }
.chip b { display: block; font-size: 0.97rem; line-height: 1.25; }
.chip span { font-size: 0.82rem; color: var(--ink-muted); }
.chip--vacina { left: 20%; top: 250px; }
.chip--peso { right: 19%; top: 150px; }
.chip--lembrete { right: 15%; top: 330px; }
@media (max-width: 1100px) { .chip--vacina { left: 6%; top: 300px; } .chip--peso { right: 5%; top: 190px; } .chip--lembrete { display: none; } }
@media (max-width: 720px) {
  .hero { padding-top: 112px; }
  .polaroid--cat { display: none; }
  .polaroid--dog { left: -4%; top: 150px; width: 128px; }
  .chip--vacina { left: auto; right: -6px; top: 250px; scale: 0.9; transform-origin: right center; }
  .chip--peso { display: none; }
}

/* ---------- frase grande */
.statement { padding-block: 96px 56px; text-align: center; }
.statement-text { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 4.7vw, 3.7rem); line-height: 1.2; letter-spacing: -0.015em; max-width: 21em; margin-inline: auto; text-wrap: balance; }
.sw { display: inline; }
.in-pill { display: inline-flex; vertical-align: -0.14em; height: 1.08em; aspect-ratio: 1.5; margin-inline: 0.08em; border-radius: 999px; overflow: hidden; background: var(--coral-soft); border: 1.5px solid var(--coral-pill); }
.in-pill img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.in-pill--icon { aspect-ratio: 1; background: var(--brand-soft); border-color: #cfe9d6; padding: 0.1em; }
.in-pill--icon img { object-fit: contain; object-position: center; }
.statement-sub { margin-top: 36px; color: var(--ink-soft); font-size: 1.12rem; }
.tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tags li { padding: 8px 16px; border-radius: 12px; background: var(--bg-alt); color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }

/* ---------- faixas de cartões que correm */
.band { display: grid; gap: 16px; padding-block: 24px 88px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
/* O .marquee corta o que passa da caixa dos cartões. Sem folga, a sombra era cortada em cima e embaixo e formava uma faixa reta atrás de cada fileira.
   O padding dá espaço para a sombra caber; a margem negativa devolve o espaçamento original. */
.marquee { overflow: hidden; padding-block: 28px; margin-block: -28px; }
.track { display: flex; gap: 16px; width: max-content; padding-inline: 8px; }
.mcard { display: flex; align-items: center; gap: 12px; height: 88px; padding: 0 24px 0 16px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(34, 29, 26, 0.04), 0 6px 16px rgba(34, 29, 26, 0.05); flex: none; }
.mcard img { width: 52px; height: 52px; }
.mcard b { display: block; font-size: 1rem; line-height: 1.2; }
.mcard span { font-size: 0.85rem; color: var(--ink-muted); }
.mphoto { flex: none; width: 128px; height: 88px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.mphoto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.mphoto--cat img { object-position: 50% 26%; }

/* ---------- seções */
section { scroll-margin-top: 90px; }
.block { padding-block: 96px; }
.head { display: grid; gap: 16px; margin-bottom: 56px; }
.head--split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .head--split { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } .head--split .lead { justify-self: end; } }
.head--split h2 { margin-top: 12px; max-width: 14em; }
.head--center { justify-items: center; text-align: center; }
.head--center h2 { max-width: 16em; }
.head--light .eyebrow { color: var(--coral-pill); }
.head--light h2 { color: #fff; }

/* ---------- para cada fase (abas) */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 6px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.tab { all: unset; box-sizing: border-box; cursor: pointer; padding: 12px 20px; border-radius: 16px; font-weight: 700; font-size: 0.98rem; color: var(--ink-soft); transition: background-color 0.25s, color 0.25s; }
.tab:hover { background: var(--bg-alt); }
.tab.is-on { background: var(--brand); color: #fff; }
.tab:focus-visible { outline: 3px solid var(--brand-fg); outline-offset: 2px; }
.panels { position: relative; }
.panel { position: relative; overflow: hidden; border-radius: 36px; min-height: clamp(420px, 52vw, 560px); display: grid; align-items: end; padding: clamp(24px, 4vw, 48px); color: #fff; isolation: isolate; background: var(--bg-alt); }
.panel[hidden] { display: none; }
.panel-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.panel-img--p0 { object-position: 50% 36%; }
.panel-img--p1 { object-position: 50% 35%; }
.panel-img--p2 { object-position: 50% 36%; }
.panel-img--p3 { object-position: 50% 52%; }
.panel-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(26, 18, 14, 0.78), rgba(26, 18, 14, 0.12) 62%); }
.panel-text { display: grid; gap: 10px; max-width: 26em; }
.panel-text h3 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.panel-text p { color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; }
.panel-card { position: absolute; top: clamp(18px, 3vw, 36px); right: clamp(18px, 3vw, 36px); display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; color: var(--ink); max-width: 330px; }
.panel-card img { width: 44px; height: 44px; }
.panel-card b { display: block; font-size: 0.97rem; line-height: 1.3; }
.panel-card span { font-size: 0.82rem; color: var(--ink-muted); }

/* ---------- números reais do produto */
.numbers { background: radial-gradient(60% 80% at 85% 0%, rgba(240, 122, 101, 0.28), rgba(240, 122, 101, 0) 70%), radial-gradient(50% 70% at 0% 100%, rgba(143, 176, 105, 0.22), rgba(143, 176, 105, 0) 70%), var(--brand-900); padding-block: 110px; color: #fff; }
.nums { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.nums li { border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.nums strong { font-family: var(--font-head); font-weight: 600; font-size: clamp(3.6rem, 8vw, 6.2rem); line-height: 1; letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 8px; }
.nums em { font-style: normal; font-size: 0.34em; color: var(--coral-pill); letter-spacing: 0; }
.nums li > span { color: rgba(255, 255, 255, 0.8); max-width: 15em; }

/* ---------- tranquilidade */
.feel-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .feel-grid { grid-template-columns: repeat(3, 1fr); } }
.fcard { position: relative; overflow: hidden; border-radius: 32px; aspect-ratio: 3 / 4; display: grid; align-items: end; padding: 26px; isolation: isolate; box-shadow: var(--shadow); }
.fcard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: scale 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); object-position: 50% 30%; }
.fcard--b > img { object-position: 50% 40%; }
.fcard:hover > img { scale: 1.06; }
.fshade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(26, 18, 14, 0.8), rgba(26, 18, 14, 0) 58%); }
.fcard p { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.15; color: #fff; max-width: 10em; }

/* ---------- perguntas */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } .faq-side { position: sticky; top: 110px; } }
.faq-side { display: grid; gap: 14px; justify-items: start; }
.faq-side h2 { max-width: 8em; }
.help { margin-top: 24px; padding: 24px; display: grid; gap: 8px; justify-items: start; border-radius: 28px; max-width: 360px; }
.help img { width: 56px; height: 56px; }
.help p { color: var(--ink-soft); font-size: 1rem; }
.faq { display: grid; gap: 12px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 0 26px; transition: box-shadow 0.25s; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-alt); color: var(--ink); font-size: 1.3rem; font-weight: 500; transition: background-color 0.25s, color 0.25s, rotate 0.3s; }
details[open] summary::after { background: var(--brand); color: #fff; rotate: 45deg; }
details p { padding-bottom: 22px; color: var(--ink-soft); }

/* ---------- baixar */
.download { padding-block: 120px 128px; text-align: center; overflow: clip; }
.dl-inner { display: grid; gap: 22px; justify-items: center; position: relative; z-index: 1; }
.dl-inner h2 { max-width: 13em; font-size: clamp(2.2rem, 6vw, 4.4rem); }
.app-icon { width: 112px; height: 112px; border-radius: 28px; box-shadow: 0 18px 40px rgba(214, 102, 83, 0.4); }
.dl-icon { position: absolute; z-index: 0; filter: drop-shadow(0 16px 20px rgba(34, 29, 26, 0.18)); pointer-events: none; }
.dl-icon--a { left: 9%; top: 22%; }
.dl-icon--b { right: 8%; top: 16%; }
.dl-icon--c { left: 15%; bottom: 14%; }
.dl-icon--d { right: 13%; bottom: 18%; }
@media (max-width: 800px) { .dl-icon { display: none; } }

/* ---------- rodapé */
.foot { background: var(--bg); border-top: 1px solid var(--line); padding-top: 64px; }
.foot-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 0.8fr 1fr; } }
.foot-brand { display: grid; gap: 14px; align-content: start; max-width: 26em; color: var(--ink-muted); }
.foot-brand .logo img { height: 34px; }
.foot-col { display: grid; gap: 10px; align-content: start; }
.foot-col b { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.foot-col a { color: var(--ink-soft); font-weight: 600; text-decoration: none; width: fit-content; }
.foot-col a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-block: 22px 40px; font-size: 0.92rem; color: var(--ink-muted); }

/* ---------- 404 */
.cta { padding-block: 88px; text-align: center; }
.cta .wrap { display: grid; gap: 20px; justify-items: center; }
.full { min-height: 100vh; display: grid; align-items: center; }

/* ---------- cartão "tranquilidade" com o degradê do app e a tela inicial de verdade */
.fcard--c { background-clip: padding-box; }
.fcard--c p { color: var(--ink); }
/* O celular desce do alto do cartão e some aos poucos no degradê rosa (máscara), em vez de terminar numa borda reta com um vão antes do texto. */
.fframe { position: absolute; left: 50%; top: 26px; translate: -50% 0; width: 66%; height: 76%; border-radius: 28px 28px 0 0; overflow: hidden; border: 7px solid var(--phone-frame); border-bottom: 0; z-index: 1; background: var(--screen-bg); -webkit-mask-image: linear-gradient(to bottom, #000 50%, transparent 93%); mask-image: linear-gradient(to bottom, #000 50%, transparent 93%); }
.fframe img { width: 100%; height: auto; }
.fcard--c::before { content: none; }
.fcard--c p { position: relative; z-index: 3; }
