@font-face { font-family: Nunito; font-weight: 500; font-display: swap; src: url(fonts/nunito-500.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 700; font-display: swap; src: url(fonts/nunito-700.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 800; font-display: swap; src: url(fonts/nunito-800.woff2) format("woff2"); }
@font-face { font-family: Nunito; font-weight: 900; font-display: swap; src: url(fonts/nunito-900.woff2) format("woff2"); }

:root {
  --paper: #fbf8f4;
  --white: #ffffff;
  --ink: #1e1b18;
  --muted: #6b635c;
  --coral: #c93f2d;
  --coral-dark: #a8321f;
  --coral-soft: #fce9e5;
  --line: #ece5dd;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 500 17px/1.55 Nunito, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 24px; letter-spacing: -0.02em; color: var(--coral); text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 800; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--coral); color: var(--white) !important; font-weight: 900; text-decoration: none; transition: background 0.15s; }
.btn:hover { background: var(--coral-dark); }
.btn.ghost { background: var(--white); color: var(--ink) !important; border: 2px solid var(--line); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* Hero */
.hero { padding: 72px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--coral-soft); color: var(--coral-dark); font-weight: 900; font-size: 14px; letter-spacing: 0.02em; }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 900; margin: 18px 0 18px; }
h1 em { font-style: normal; color: var(--coral); }
.lead { font-size: 20px; color: var(--muted); max-width: 34ch; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.small { font-size: 14px; color: var(--muted); font-weight: 700; }

/* Phone mock */
.phone { position: relative; justify-self: center; width: min(320px, 100%); aspect-ratio: 9 / 18.5; border-radius: 44px; background: var(--ink); padding: 12px; box-shadow: 0 30px 60px -20px rgb(30 27 24 / 0.35); }
.screen { height: 100%; border-radius: 34px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.card-photo { flex: 1.2; border-radius: 24px; background: var(--line); position: relative; overflow: hidden; }
.screen { transition: opacity 0.3s; }
.screen.swap { opacity: 0; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.card-photo::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgb(30 27 24 / 0.7)); }
.card-photo span { z-index: 1; position: absolute; left: 16px; bottom: 14px; color: var(--white); font-weight: 900; font-size: 22px; }
.card-photo i { z-index: 1; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: grid; place-items: center; color: var(--coral); font-style: normal; font-size: 18px; }
.card-prompt { border-radius: 22px; background: var(--white); padding: 14px 16px; }
.card-prompt small { display: block; color: var(--muted); font-weight: 800; font-size: 12px; }
.card-prompt b { font-weight: 900; font-size: 17px; line-height: 1.2; }
.badge { position: absolute; right: -18px; top: 46px; transform: rotate(6deg); background: var(--coral); color: var(--white); border-radius: 18px; padding: 10px 14px; font-weight: 900; font-size: 15px; box-shadow: 0 12px 24px -10px rgb(201 63 45 / 0.6); }

/* Sections */
section { padding: 64px 0; }
h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; line-height: 1.08; font-weight: 900; margin: 0 0 12px; }
.sub { color: var(--muted); font-size: 19px; max-width: 56ch; margin: 0 0 36px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--white); border-radius: var(--radius); padding: 26px; }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral-soft); color: var(--coral-dark); font-weight: 900; margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font-size: 21px; font-weight: 900; }
.step p { margin: 0; color: var(--muted); }

.only { background: var(--coral); color: var(--white); border-radius: 36px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.only h2 { color: var(--white); }
.only .sub { color: rgb(255 255 255 / 0.88); margin-bottom: 0; }
.only ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.only li { background: rgb(0 0 0 / 0.16); border-radius: 22px; padding: 16px 18px 16px 58px; position: relative; font-weight: 700; }
.only li::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--white); color: var(--coral); display: grid; place-items: center; font-weight: 900; }
.only li b { display: block; font-weight: 900; font-size: 18px; }

.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.box { background: var(--white); border-radius: var(--radius); padding: 24px; }
.box h3 { margin: 0 0 6px; font-weight: 900; font-size: 19px; }
.box p { margin: 0; color: var(--muted); }

details { background: var(--white); border-radius: 22px; padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 900; font-size: 18px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--coral); font-weight: 900; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }

.final { text-align: center; }
.final .sub { margin-inline: auto; }

.foot { border-top: 1px solid var(--line); padding: 40px 0 32px; color: var(--muted); font-weight: 700; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.foot-tag { margin: 10px 0 0; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot h2 { font-size: 15px; letter-spacing: 0; margin: 0 0 4px; color: var(--ink); }
.foot nav a { text-decoration: none; }
.foot nav a:hover, .foot-bottom a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; margin-top: 36px; font-size: 13px; }
.foot-bottom a { color: var(--ink); font-weight: 900; text-decoration: none; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 0 64px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 8px; }
.legal .version { color: var(--muted); font-weight: 700; margin: 0 0 28px; }
.legal h2 { font-size: 24px; margin: 36px 0 10px; scroll-margin-top: 80px; }
.legal p, .legal li { color: #3a3430; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .summary { background: var(--coral-soft); border-radius: 22px; padding: 18px 20px; font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); }
@media (max-width: 720px) { .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; } .legal thead { display: none; } .legal td { border: 0; padding: 4px 0; } .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; } }

@media (max-width: 860px) {
  .hero { padding-top: 40px; }
  .hero .wrap, .only, .grid2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .only { padding: 30px 22px; }
  .badge { right: 6px; }
  section { padding: 48px 0; }
}

/* Storage notice (notice.js) */
.notice { position: fixed; inset: auto 0 16px; z-index: 50; display: flex; justify-content: center; padding: 0 16px; }
.notice-card { max-width: 560px; background: var(--ink); color: var(--white); border-radius: 22px; padding: 16px 18px; font-size: 15px; font-weight: 700; box-shadow: 0 16px 32px -12px rgb(30 27 24 / 0.5); }
.notice-card p { margin: 0; }
.notice-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.notice-actions a { color: var(--white); opacity: 0.85; }
.notice-actions button { font: inherit; font-weight: 900; border: 0; border-radius: 999px; padding: 10px 18px; background: var(--white); color: var(--ink); cursor: pointer; }

/* Pedido de informações */
.contact { display: grid; gap: 16px; max-width: 560px; margin-top: 24px; }
.contact label { display: grid; gap: 6px; font-weight: 800; }
.contact input, .contact textarea { font: inherit; padding: 12px 16px; border: 2px solid var(--line); border-radius: 16px; background: var(--white); color: var(--ink); }
.contact input:focus, .contact textarea:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.contact .btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 900; }
.contact .hp { position: absolute; left: -9999px; }
