/* Meu Pig: página de apresentação.
   Interface clara: branco quente, rosa suave nas superfícies, rosa da marca nos
   botões e um verde suave em detalhes. Títulos em Bricolage Grotesque e texto em
   Poppins, a mesma fonte do sistema.
   O rosa dos botões é um tom mais fechado que o da marca para o texto branco
   ter contraste (4,86:1). */
/* Fontes hospedadas no próprio site (sem chamar o Google). */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fffbf8;
  --surface: #ffffff;
  --tint: #fdf3f0;
  --pink-soft: #fce8ec;
  --pink: #d9577b;
  --pink-strong: #c24468;
  --pink-deep: #b83d62;
  --green-soft: #e4f2e9;
  --green: #2e6b4b;
  --ink: #29252a;
  --ink-2: #4f474d;
  --ink-3: #6b6168;
  --line: #efe3df;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 1px 2px rgb(41 37 42 / 0.05), 0 12px 32px rgb(41 37 42 / 0.08);
  --shadow-soft: 0 1px 2px rgb(41 37 42 / 0.04), 0 6px 18px rgb(41 37 42 / 0.06);
  --display: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  overflow-wrap: break-word;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

figure,
p,
h1,
h2,
h3,
dl,
dd,
ol,
ul {
  margin: 0;
}

a {
  color: var(--pink-deep);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.35rem, 9vw, 4.15rem);
  line-height: 1.03;
}

h2 {
  font-size: clamp(1.85rem, 6vw, 2.9rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

/* Marca */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  border-radius: 10px;
}

.wordmark {
  font: 600 21px/1 var(--body);
  letter-spacing: -0.035em;
  color: var(--ink);
}

.wordmark span {
  color: var(--pink-deep);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font: 600 15px/1 var(--body);
  text-decoration: none;
  text-align: center;
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--pink-strong);
  color: #fff;
}

.btn-primary:hover {
  background: var(--pink-deep);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: #e4d6d2;
}

.btn-secondary:hover {
  border-color: var(--ink-3);
}

.btn-small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-quiet {
  color: var(--ink-2);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 4px;
  border-radius: 8px;
}

.link-quiet:hover {
  color: var(--ink);
}

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 251 248 / 0.94);
  border-bottom: 1px solid var(--line);
}

@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(255 251 248 / 0.82);
    backdrop-filter: blur(10px);
  }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.main-nav {
  display: none;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Primeira dobra */
.hero {
  padding: 40px 0 56px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 44px;
}

.hero-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-2);
  max-width: 34em;
}

.hero .actions {
  margin-top: 28px;
}

.hero .actions .btn {
  flex: 1 1 200px;
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
}

.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}

/* Painel rosa atrás do celular e o porquinho da marca ao lado dele. */
.hero-stage {
  position: absolute;
  inset: 16% 0 9% 0;
  border-radius: 36px;
  background: var(--pink-soft);
}

.hero-pig {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 4%;
  width: 72px;
  height: auto;
}

.phone {
  position: relative;
  z-index: 1;
  width: min(300px, 70vw);
  padding: 8px;
  border-radius: 46px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.phone img {
  width: 100%;
  border-radius: 38px;
}

.phone-small {
  width: min(260px, 70vw);
}

.demo-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
}

.demo-note-left {
  text-align: left;
}

/* Seções */
.section {
  padding: 72px 0;
}

.section-compact {
  padding: 64px 0;
}

.section-tint {
  background: var(--tint);
}

.section-intro {
  max-width: 44em;
  margin-bottom: 36px;
}

.section-intro p:not(.section-label) {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-2);
}

.section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-deep);
  margin-bottom: 10px;
}

/* Tela do computador */
.browser {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: #f8f1ee;
  border-bottom: 1px solid var(--line);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e5d6d1;
}

.browser-url {
  flex: 0 1 260px;
  margin-inline: auto;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  background: var(--surface);
  border-radius: 999px;
  padding: 3px 12px;
}

.legend {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.legend div {
  border-top: 2px solid var(--pink-soft);
  padding-top: 16px;
}

.legend dt {
  font: 600 1.15rem/1.3 var(--display);
}

.legend dd {
  margin-top: 6px;
  color: var(--ink-2);
}

/* Recursos: texto e tela intercalados */
.feature {
  display: grid;
  gap: 24px;
  align-items: center;
}

.feature + .feature {
  margin-top: 64px;
}

.feature-text p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16.5px;
  max-width: 30em;
}

.shot {
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  place-items: center;
}

.shot img {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.shot-portrait img {
  width: min(340px, 100%);
}

.shot-pink {
  background: var(--pink-soft);
}

.shot-green {
  background: var(--green-soft);
}

#recursos .demo-note {
  margin-top: 40px;
}

/* Como funciona */
.how {
  display: grid;
  gap: 40px;
}

.how-visual {
  display: grid;
  justify-items: center;
  order: 2;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 28px 0 32px;
  counter-reset: passo;
}

.steps li {
  counter-increment: passo;
  position: relative;
  padding: 20px 0 20px 64px;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(passo);
  position: absolute;
  left: 0;
  top: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pink-soft);
  color: var(--pink-deep);
  font: 700 19px/1 var(--display);
}

.steps p {
  margin-top: 6px;
  color: var(--ink-2);
}

/* Também dá para */
.more {
  display: grid;
  gap: 28px;
}

.checklist {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  position: relative;
  padding-left: 36px;
  color: var(--ink-2);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%232e6b4b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.data-note {
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px;
}

.data-note p {
  margin-top: 8px;
  color: var(--ink-2);
}

/* Chamada final */
.cta {
  padding: 8px 0 72px;
}

.cta-box {
  display: grid;
  gap: 20px;
  justify-items: start;
  background: var(--pink-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
}

.cta-text p {
  margin-top: 10px;
  color: var(--ink-2);
  max-width: 32em;
}

.cta .actions {
  width: 100%;
}

.cta .actions .btn {
  flex: 1 1 200px;
}

/* Rodapé */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 28px;
  font-size: 15px;
}

.footer-inner {
  display: grid;
  gap: 32px;
}

.footer-brand p {
  margin-top: 10px;
  color: var(--ink-3);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 20px;
}

.footer-title {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.footer-nav a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: var(--pink-deep);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 14px;
}

/* Telas estreitas: só o essencial no topo. */
@media (max-width: 380px) {
  .header-actions .link-quiet {
    display: none;
  }
}

/* Tablet */
@media (min-width: 700px) {
  .legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 28px;
  }

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cta-box {
    padding: 44px;
  }
}

/* Computador */
@media (min-width: 900px) {
  body {
    font-size: 17px;
  }

  .main-nav {
    display: flex;
    gap: 28px;
    margin-left: 28px;
  }

  .main-nav a {
    color: var(--ink-2);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: 8px;
  }

  .main-nav a:hover {
    color: var(--ink);
  }

  .header-inner {
    min-height: 76px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 56px;
  }

  .hero .actions .btn {
    flex: 0 0 auto;
  }

  .hero-stage {
    inset: 14% 2% 9% 2%;
  }

  .hero-pig {
    width: 128px;
    left: 0;
    bottom: 10%;
  }

  .hero-sub {
    font-size: 19px;
  }

  .section {
    padding: 112px 0;
  }

  .section-compact {
    padding: 88px 0;
  }

  .section-intro {
    margin-bottom: 48px;
  }

  .feature {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 64px;
  }

  .feature-flip .feature-text {
    order: 2;
  }

  .feature + .feature {
    margin-top: 96px;
  }

  .shot {
    padding: 36px;
  }

  .how {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 72px;
  }

  .how-visual {
    order: 0;
  }

  .more {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    grid-template-areas:
      "title title"
      "list note";
    column-gap: 64px;
    row-gap: 28px;
    align-items: start;
  }

  .more h2 {
    grid-area: title;
  }

  .checklist {
    grid-area: list;
  }

  .data-note {
    grid-area: note;
  }

  .cta {
    padding-bottom: 112px;
  }

  .cta-box {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;
    padding: 48px 56px;
  }

  .cta .actions {
    width: auto;
  }

  .cta .actions .btn {
    flex: 0 0 auto;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 48px;
  }
}

/* Política de privacidade e outras páginas de texto */
.doc {
  padding: 48px 0 88px;
}

.doc-inner {
  max-width: 760px;
}

.doc h1 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
}

.doc .doc-date {
  font-size: 14px;
  font-weight: 600;
  color: var(--pink-deep);
  margin-bottom: 12px;
}

.doc .doc-lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-2);
}

.doc h2 {
  font-size: 1.6rem;
  margin: 44px 0 12px;
}

.doc p,
.doc li {
  color: var(--ink-2);
}

.doc p + p {
  margin-top: 12px;
}

.doc ul {
  padding-left: 22px;
  margin: 10px 0;
  display: grid;
  gap: 8px;
}

.doc strong {
  color: var(--ink);
  font-weight: 600;
}

.doc a {
  font-weight: 500;
}

/* Telas com versão de celular (<picture>). */
.shot picture {
  display: block;
  width: min(100%, 380px);
}

.shot picture img {
  width: 100%;
}

@media (min-width: 700px) {
  .shot picture {
    width: 100%;
  }
}
