/* capipi.com — mesma identidade do app (creme, verde, marrom, fonte arredondada) */
:root {
  --cream: #FFF6EC;
  --card: #FFFFFF;
  --line: #EADBCB;
  --brown: #5A3326;
  --brown-soft: #8A5A47;
  --ink: #3B2A24;
  --muted: #7A6457;
  --green: #58B85C;
  --green-dark: #3F9443;
  --green-ink: #2F7333;
  --orange: #F7A43B;
  --tint-green: #EAF6E6;
  --tint-orange: #FFF1DD;
  --tint-blue: #E8F2F7;
  --tint-pink: #FCEDEB;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Nunito, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-dark); }
a:hover { color: var(--green-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand span { font-size: 26px; font-weight: 900; color: var(--brown); letter-spacing: -0.5px; }
.site-nav { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; }
.site-nav > a { color: var(--brown); font-weight: 700; text-decoration: none; }
.site-nav > a:hover { color: var(--green-dark); }

/* buttons */
.btn { display: inline-block; background: var(--green); color: #fff; font-weight: 800; text-decoration: none; padding: 12px 22px; border-radius: 16px; border-bottom: 4px solid var(--green-dark); transition: transform .08s, border-width .08s; }
.btn:hover { color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(3px); border-bottom-width: 1px; }
.btn-sm { padding: 9px 16px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.store { position: relative; display: inline-block; line-height: 0; }
.store img { height: 48px; width: auto; }
.store.soon img { opacity: .5; }
.soon-tag { position: absolute; top: -17px; right: -6px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 800; line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }

/* sections */
.eyebrow { display: block; font-size: 14px; font-weight: 800; letter-spacing: 1.2px; color: var(--brown-soft); text-transform: uppercase; }
h1, h2, h3 { color: var(--brown); font-weight: 900; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 62px); line-height: 1.05; letter-spacing: -1px; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; display: grid; gap: 12px; }
.section-head p { font-size: 18px; color: var(--brown); }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 56px; }
.hero-text { display: grid; gap: 20px; }
.hero-text > p { font-size: clamp(17px, 2.2vw, 20px); color: var(--brown); max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li { background: var(--tint-green); color: var(--green-ink); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 8px 14px; }
.hero-art { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 1 / 1.05; background: #CFE7C4; }
.hero-art .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art .pet { position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); width: 46%; }
.hero-art .uiui { position: absolute; top: 22px; right: 26px; font-family: Caveat, cursive; font-size: 34px; font-weight: 600; color: #fff; transform: rotate(-6deg); text-shadow: 0 2px 6px rgba(0,0,0,.25); }
@media (prefers-reduced-motion: no-preference) {
  .hero-text, .hero-art { animation: rise .45s ease-out both; }
  .hero-art { animation-delay: .08s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

.values { background: var(--brown); }
.values ul { list-style: none; margin: 0 auto; padding: 18px 24px; max-width: 1200px; display: flex; flex-wrap: wrap; gap: 12px 36px; justify-content: center; }
.values li { color: var(--cream); font-weight: 800; display: flex; gap: 8px; align-items: center; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 24px; }
.card { background: var(--card); border: 2px solid var(--line); border-radius: 28px; padding: 26px; }
.step { display: grid; gap: 14px; align-content: start; }
.frame { border-radius: 22px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.step .frame { height: 200px; }
.step .frame img { height: 180px; width: auto; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.step p, .feature p { color: var(--brown); }
.t-green { background: var(--tint-green); } .t-orange { background: var(--tint-orange); } .t-blue { background: var(--tint-blue); } .t-pink { background: var(--tint-pink); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 24px; }
.feature { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.feature .frame { width: 150px; height: 150px; align-items: center; flex-shrink: 0; }
.feature .frame img { width: 125px; }
.feature div.txt { flex: 1 1 200px; display: grid; gap: 8px; }
.feature .kicker { font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.k-orange { color: #A35F12; } .k-green { color: var(--green-ink); } .k-blue { color: #2E6A8A; } .k-pink { color: #A8463C; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 24px; max-width: 920px; margin: 0 auto; }
.plan { display: grid; gap: 14px; align-content: start; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li::before { content: "✓"; color: var(--green-dark); font-weight: 900; margin-right: 8px; }
.plan-plus { background: var(--tint-orange); border: 3px solid var(--orange); }
.price { font-weight: 800; color: var(--brown); font-size: 18px; }
.fine { font-size: 14px; color: var(--muted); }

.story { background: var(--tint-green); border-radius: 36px; padding: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 32px; align-items: center; }
.story img { width: 100%; max-width: 360px; justify-self: center; }
.story .txt { display: grid; gap: 14px; }
.story p { font-size: 17px; line-height: 1.6; color: var(--brown); }

.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px; align-items: start; }
.faq-side { display: grid; gap: 14px; justify-items: start; }
.faq-side img { width: 220px; }
.faq-list { display: grid; gap: 12px; }
details.qa { background: var(--card); border: 2px solid var(--line); border-radius: 20px; padding: 18px 22px; }
details.qa summary { cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-weight: 800; font-size: 18px; color: var(--brown); }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
details.qa summary .pm { color: var(--green); font-size: 26px; line-height: 1; transition: transform .2s; }
details[open] details.qa summary .pm { transform: rotate(45deg); }
details.qa p { margin-top: 12px; color: var(--brown); }

.final { background: var(--tint-orange); border-radius: 36px; padding: 48px 28px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.final > img { width: 170px; }
.final p { font-size: 18px; color: var(--brown); }
.final .stores { justify-content: center; }

.site-footer { background: var(--green-dark); color: #fff; margin-top: 24px; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer a { color: #fff; font-weight: 700; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.site-footer small { font-size: 14px; font-weight: 600; }

/* legal / support pages */
.doc { max-width: 780px; margin: 0 auto; padding: 24px 24px 72px; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 36px 0 10px; }
.doc h3 { font-size: 20px; margin: 24px 0 8px; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--ink); }
.doc p { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 0 0 14px; }
.doc table { border-collapse: collapse; width: 100%; margin: 0 0 16px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; font-size: 15px; vertical-align: top; }
.doc .back { display: inline-block; margin-bottom: 20px; font-weight: 800; }

/* seletor de idioma (sem JS) */
.lang { position: relative; }
.lang summary { font-weight: 700; font-size: 14px; color: var(--brown-soft); border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; display: inline-flex; gap: 6px; }
.lang summary::after { content: "▾"; font-size: 12px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 6px; display: grid; min-width: 160px; z-index: 5; box-shadow: 0 8px 24px rgba(90,51,38,.12); }
.lang-menu a { padding: 8px 12px; border-radius: 10px; color: var(--brown); font-weight: 700; text-decoration: none; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--tint-green); }
.link-strong { font-weight: 800; }

.tags { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; margin-top: 32px; }
.tags h3 { font-size: 18px; margin-bottom: 10px; }
.chips-soft li { background: #fff; color: var(--brown); border: 2px solid var(--line); }
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.center-title { text-align: center; margin: 40px 0 16px; font-size: 20px; }
.acts { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; max-width: 900px; }
.act { display: grid; gap: 4px; padding: 18px 20px; text-align: center; }
.act strong { color: var(--green-dark); font-size: 18px; }
.act span { color: var(--brown); }
.quote { font-family: Caveat, cursive; font-size: 24px; color: var(--brown-soft); }
.growth { margin-top: 24px; display: grid; gap: 8px; text-align: center; }
.stages { font-weight: 900; color: var(--green-dark); font-size: 20px; }

.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.panel { display: grid; gap: 12px; align-content: start; padding: 32px; }
.panel h2 { font-size: clamp(26px, 3vw, 32px); }
.panel h3 { margin-top: 10px; }
.panel p { color: var(--brown); }
.t-blue-soft { background: var(--tint-blue); border-color: #D3E4EE; }
.points { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 12px; }
.points li { background: #fff; border-radius: 16px; padding: 14px 16px; display: grid; gap: 2px; }
.points strong { color: var(--brown); }
.notifs { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 10px; }
.notif { display: flex; gap: 12px; align-items: flex-start; background: #F6F1EA; border-radius: 18px; padding: 12px 14px; }
.notif img { border-radius: 7px; flex-shrink: 0; }
.notif div { display: grid; font-size: 15px; }
.notif strong { color: var(--ink); }
.cloud-steps { margin: 0; padding-left: 22px; display: grid; gap: 6px; color: var(--brown); }

.values-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 18px; }
.value { display: grid; gap: 6px; }
.value p { color: var(--brown); }

.prices { margin-top: 24px; }
.price-card { display: grid; gap: 6px; position: relative; }
.amount { font-size: 34px; font-weight: 900; color: var(--brown); }
.amount span { font-size: 16px; font-weight: 700; color: var(--brown-soft); }
.trial { font-weight: 800; color: var(--green-dark); }
.founder { border: 3px solid var(--green); }
.badge { justify-self: start; background: var(--tint-green); color: var(--green-ink); font-weight: 800; font-size: 13px; border-radius: 999px; padding: 6px 12px; }
.notes { max-width: 920px; margin: 24px auto 8px; padding-left: 20px; display: grid; gap: 6px; color: var(--muted); font-size: 15px; }
.center { text-align: center; }

.foot-brand { display: grid; gap: 2px; }
.foot-brand strong { font-size: 22px; font-weight: 900; }
.foot-legal { display: grid; gap: 4px; flex-basis: 100%; }

h1, h2, h3, p, li { overflow-wrap: anywhere; }
@media (max-width: 600px) { .section { padding: 48px 0; } .panel, .story, .final { padding: 24px; } .site-nav { gap: 8px 14px; } }
