/* ShapeUp Online · páginas públicas (apresentação, privacidade, suporte) */
@font-face{font-family:'Figtree';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/figtree-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:'Figtree';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/figtree-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --bg:#F4F1E8;--card:#FBFAF5;--ink:#1D231C;--ink-2:#4C5447;--muted:#5C6456;
  --line:#E3DFD0;--line-2:#ECE8DA;--green:#2F4B3A;--green-2:#243A2D;--soft:#DCE5D4;--soft-ink:#3C4A3D;
  --r:20px;--max:1040px;--gutter:20px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:'Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip}
h1,h2,h3,p,ul,ol{margin:0}
a{color:var(--green);text-underline-offset:3px}
a:hover{color:var(--green-2)}
img{display:block;max-width:100%}
:focus-visible{outline:2px solid var(--green);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:12px;top:-60px;z-index:50;background:var(--card);color:var(--ink);padding:10px 16px;border-radius:999px;font-weight:700}
.skip:focus{top:12px}
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--gutter)}

/* Cabeçalho */
.top{position:sticky;top:0;z-index:20;background:rgba(244,241,232,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.top .wrap{min-height:64px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
.brand{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--green)}
.brand img{height:16px;width:auto}
.brand span{font-size:9px;font-weight:700;letter-spacing:.5em;line-height:1}
.nav{display:flex;align-items:center;gap:4px;flex-wrap:wrap}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:999px;color:var(--ink);text-decoration:none;font-weight:600;font-size:15px}
.nav a:hover{background:var(--card)}
.nav a[aria-current="page"]{background:var(--green);color:var(--bg)}

/* Blocos */
main{padding:32px 0 64px}
.stack{display:flex;flex-direction:column;gap:12px}
.card{background:var(--card);border-radius:var(--r);padding:20px}
.card h2{font-size:18px;font-weight:700;letter-spacing:-.01em;margin-bottom:8px}
.card h3{font-size:16px;font-weight:700;margin-bottom:4px}
.card p,.card li{color:var(--ink-2)}
.card p+p{margin-top:10px}
.card ul{padding-left:20px;display:flex;flex-direction:column;gap:6px}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--green)}
.page-title{font-size:32px;line-height:1.1;font-weight:700;letter-spacing:-.02em}
.lead{font-size:17px;color:var(--ink-2);max-width:640px}
.meta{font-size:14px;color:var(--muted)}
.section-title{font-size:22px;font-weight:700;letter-spacing:-.015em;margin:28px 0 4px}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 24px;border-radius:999px;background:var(--green);color:var(--bg);font-weight:700;font-size:15px;text-decoration:none}
.btn:hover{background:var(--green-2);color:var(--bg)}
.btn[hidden]{display:none}
.btn-line{background:transparent;color:var(--green);border:1.5px solid var(--green)}
.btn-line:hover{background:var(--card);color:var(--green-2)}

/* Apresentação */
.hero{display:flex;flex-direction:column;gap:18px;padding:12px 0 8px}
.hero h1{font-size:36px;line-height:1.08;font-weight:800;letter-spacing:-.03em;max-width:720px}
.hero h1 em{font-style:normal;color:var(--green)}
.hero .actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.grid{display:grid;grid-template-columns:1fr;gap:12px}
.feature{display:flex;flex-direction:column;gap:10px}
.icon{width:44px;height:44px;border-radius:14px;background:var(--soft);color:var(--green);display:flex;align-items:center;justify-content:center;flex:none}
.who li{list-style:none;display:flex;gap:12px;align-items:flex-start}
.who{padding-left:0!important;gap:12px!important}
.who svg{flex:none;margin-top:2px}
.note{background:var(--soft);border-radius:var(--r);padding:18px 20px;color:var(--soft-ink)}
.note strong{color:var(--ink)}

/* Suporte */
.contact{background:var(--soft);border-radius:var(--r);padding:22px;display:grid;grid-template-columns:auto 1fr;gap:14px 16px;align-items:start}
.contact-ic{width:48px;height:48px;border-radius:16px;background:var(--card);color:var(--green);display:flex;align-items:center;justify-content:center}
.contact-txt h2{font-size:18px;font-weight:700;margin-bottom:4px}
.contact p{color:var(--soft-ink)}
.contact-btn{grid-column:1/-1;white-space:nowrap;justify-self:stretch}
.faq{display:flex;flex-direction:column}
.faq div{padding:16px 0;border-top:1px solid var(--line-2)}
.faq div:first-child{border-top:0;padding-top:4px}
.faq dt{font-weight:700;font-size:16px;color:var(--ink);margin-bottom:4px}
.faq dd{margin:0;color:var(--ink-2)}

/* Rodapé */
.foot{background:var(--green-2);color:#C9D8C2;font-size:15px;margin-top:24px;position:relative;overflow:hidden}
.foot::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(244,241,232,.10) 1px,transparent 1.2px);background-size:8px 8px;pointer-events:none;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 85%);mask-image:linear-gradient(to bottom,#000,transparent 85%)}
.foot .wrap{position:relative}
.foot-top{display:grid;grid-template-columns:1fr 1fr;gap:32px 24px;padding:48px 0 36px}
.foot-brand{grid-column:1/-1;display:flex;flex-direction:column;gap:14px;max-width:340px}
.brand-light{color:var(--bg)}
.foot .brand-light img{height:auto;width:160px}
.foot-brand p{color:#C9D8C2}
.foot-col{display:flex;flex-direction:column;gap:2px}
.foot-col h2{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#93AB97;margin-bottom:8px}
.foot-col a{color:var(--bg);text-decoration:none;font-weight:600;display:inline-flex;align-items:center;min-height:40px;width:fit-content}
.foot-col a:hover{color:#fff;text-decoration:underline}
.foot-bottom a{color:#C9D8C2;text-decoration:underline;text-underline-offset:3px}
.foot-bottom a:hover{color:#fff}
.foot-bottom{border-top:1px solid rgba(244,241,232,.14);padding:20px 0 32px;display:flex;flex-direction:column;gap:4px;font-size:13px;color:#93AB97}

/* Telemóveis com ecrãs da app */
.hero-app{display:grid;grid-template-columns:1fr;gap:36px;align-items:center}
.hero-txt{display:flex;flex-direction:column;gap:18px}
.hero-phone{position:relative;display:flex;justify-content:center;padding:12px 0 8px}
.hero-phone::before{content:"";position:absolute;width:min(420px,92%);aspect-ratio:1;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#DCE5D4 0%,rgba(220,229,212,.55) 45%,rgba(244,241,232,0) 70%)}
.phone{--n:280;--w:calc(var(--n)*1px);position:relative;margin:0;width:var(--w);flex:none}
.phone-lg{--n:290}
.phone-sm{--n:250}
.phone-frame{position:relative;padding:calc(var(--w)*.035);border-radius:calc(var(--w)*.165);background:#1D231C;box-shadow:0 0 0 1.5px #3A4237 inset,0 30px 60px -20px rgba(29,35,28,.45),0 12px 24px -12px rgba(29,35,28,.3)}
.phone-screen{position:relative;width:100%;aspect-ratio:390/844;border-radius:calc(var(--w)*.135);overflow:hidden;background:#F4F1E8}
.phone-island{position:absolute;top:calc(var(--w)*.06);left:50%;transform:translateX(-50%);width:28%;height:calc(var(--w)*.075);border-radius:999px;background:#0B0E0A}
.ps{position:absolute;top:0;left:0;width:390px;height:844px;transform-origin:0 0;transform:scale(calc(var(--n)*.93/390));font-family:'Figtree',system-ui,sans-serif;font-size:14px;line-height:1.35;color:#1D231C;background:#F4F1E8;overflow:hidden;text-align:left}
.ps *{box-sizing:border-box}
.ps-status{position:absolute;top:0;left:0;right:0;height:50px;padding:16px 30px 0 34px;display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:16px;z-index:3}
.ps-sys{display:flex;gap:6px;align-items:center}
.ps-photo{position:absolute;top:0;right:0;width:290px;height:236px;object-fit:cover;-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 55%);mask-image:linear-gradient(to right,transparent 0%,#000 55%)}
.ps-body{position:relative;padding:58px 20px 0;display:flex;flex-direction:column;gap:12px}
.ps-head{display:flex;align-items:center;justify-content:space-between}
.ps-brand{display:flex;flex-direction:column;gap:5px;color:#2F4B3A}
.ps-brand img{width:136px;height:15px}
.ps-brand span{font-size:9px;font-weight:700;letter-spacing:.5em;line-height:1}
.ps-icons{display:flex;gap:8px}
.ps-bell,.ps-avatar{width:44px;height:44px;border-radius:999px;display:flex;align-items:center;justify-content:center}
.ps-bell{background:rgba(251,250,245,.9)}
.ps-avatar{background:#2F4B3A;color:#F4F1E8;font-weight:700;font-size:17px;border:2px solid #FBFAF5}
.ps-hello{display:flex;flex-direction:column;padding:18px 0 4px}
.ps-hello span{font-size:20px;font-weight:500}
.ps-hello strong{font-size:42px;font-weight:700;letter-spacing:-.02em;line-height:1.05}
.ps-hero{display:flex;flex-direction:column;gap:3px;padding:18px;border-radius:22px;background:#2F4B3A;color:#F4F1E8;box-shadow:0 10px 30px rgba(47,75,58,.2)}
.ps-eb2{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#C9D8C2}
.ps-hero .ps-eb2{color:#C9D8C2}
.ps-ht{font-size:22px;font-weight:700;letter-spacing:-.01em}
.ps-ht small{font-size:14px;font-weight:500;color:#5C6456}
.ps-hs{color:#DCE5D4}
.ps-cta{margin-top:11px;height:50px;border-radius:999px;background:#F4F1E8;color:#1D231C;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.ps-row{display:flex;align-items:center;gap:12px;padding:12px 12px 12px 16px;border-radius:18px;background:#FBFAF5}
.ps-wrap{flex-wrap:wrap}
.ps-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:2px}
.ps-eb{color:#5C6456;font-size:12px;font-weight:600}
.ps-rt{font-weight:600;font-size:15px}
.ps-sub{color:#5C6456;font-size:12px}
.ps-pill{flex:none;height:44px;padding:0 16px;border-radius:999px;background:#DCE5D4;color:#2F4B3A;display:flex;align-items:center;font-weight:700}
.ps-meals{flex:1 1 100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-left:-4px}
.ps-meal{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:600;color:#4C5447;text-align:center;line-height:1.15}
.ps-thumb{position:relative;display:block;height:56px;border-radius:12px;flex:none;background:#E7E3D5}
.ps-thumb img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.ps-done{position:absolute;right:3px;bottom:3px;width:18px;height:18px;border-radius:999px;background:#2F4B3A;color:#F4F1E8;box-shadow:0 0 0 2px #FBFAF5;display:flex;align-items:center;justify-content:center}
.ps-h{font-weight:700;font-size:15px;padding-top:4px}
.ps-habits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:-4px}
.ps-habits span{padding:14px;border-radius:18px;background:#FBFAF5;display:flex;flex-direction:column;gap:4px}
.ps-habits i{font-style:normal;color:#5C6456;font-size:12px}
.ps-habits b{font-size:19px}
.ps-streak{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:#DCE5D4}
.ps-streak .ps-col>span{color:#3C4A3D}
.ps-dots{display:flex;gap:10px;margin-top:6px}
.ps-dots i{width:12px;height:12px;border-radius:999px;background:#2F4B3A}
.ps-dots i.off{background:#B9C7B0}
.ps-tabbar{position:absolute;left:0;right:0;bottom:0;height:84px;padding:4px 14px 14px;background:#F4F1E8;font-size:11px}
.ps-tabs{height:66px;padding:6px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;align-items:center;border-radius:999px;background:#fff;box-shadow:0 8px 24px rgba(29,35,28,.14),0 1px 3px rgba(29,35,28,.08)}
.ps-tab{position:relative;height:54px;border-radius:999px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#3C4438;font-weight:500}
.ps-tab.on{background:#2F4B3A;color:#F4F1E8;font-weight:700}
.ps-dot{position:absolute;top:7px;left:50%;margin-left:6px;width:10px;height:10px;border-radius:999px;background:#C0392B;border:2px solid #fff}
.ps-title{margin:0;min-height:44px;display:flex;align-items:center;font-size:26px;font-weight:700;letter-spacing:-.02em}
.ps-seg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;border-radius:999px;background:#E7E3D5}
.ps-seg span{height:44px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:500}
.ps-seg span.on{background:#2F4B3A;color:#F4F1E8;font-weight:700}
.ps-list{display:flex;flex-direction:column;gap:8px}
.ps-day{display:flex;align-items:center;gap:14px;min-height:68px;padding:10px 16px;border-radius:18px;background:#FBFAF5}
.ps-day.today{background:#DCE5D4}
.ps-dd{flex:none;width:76px;display:flex;flex-direction:column;gap:2px;font-weight:500}
.ps-day.today .ps-dd{font-weight:700}
.ps-dd i{font-style:normal;font-size:11px;font-weight:700;color:#2F4B3A}
.ps-day.rest .ps-rt{color:#5C6456}
.ps-kcal{display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:22px;background:#FBFAF5}
.ps-kcal .ps-eb2{color:#2F4B3A}
.ps-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.ps-bars span{display:flex;flex-direction:column;gap:6px}
.ps-bars i{font-style:normal;font-size:12px;color:#5C6456;font-weight:600}
.ps-bars b{display:block;height:8px;border-radius:99px;background:#E7E3D5;overflow:hidden}
.ps-bars u{display:block;height:100%;border-radius:99px;background:#2F4B3A}
.ps-mrow{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border-radius:18px;background:#FBFAF5}
.ps-mrow .ps-thumb{width:64px;height:64px}

/* Secção por dentro da app */
.showcase{margin-top:48px;padding:32px 20px 0;border-radius:28px;background:var(--soft);display:grid;gap:28px;overflow:hidden}
.show-txt{display:flex;flex-direction:column;gap:12px}
.show-txt h2{font-size:28px;line-height:1.1;font-weight:800;letter-spacing:-.025em}
.show-txt .lead{color:var(--soft-ink)}
.show-list{list-style:none;padding:0;display:flex;flex-direction:column;gap:12px;margin-top:6px}
.show-list li{display:flex;flex-direction:column;padding-left:16px;border-left:3px solid var(--green)}
.show-list span{color:var(--soft-ink)}
.show-phones{display:flex;justify-content:center;gap:16px;height:400px;align-items:flex-start}
.show-phones .phone{--n:200}
.tilt-l{transform:rotate(-4deg) translateY(18px)}
.tilt-r{transform:rotate(4deg) translateY(48px)}

@media (min-width:768px){
  :root{--gutter:32px}
  main{padding:48px 0 88px}
  .card{padding:28px}
  .page-title{font-size:44px}
  .hero{padding:28px 0 16px;gap:22px}
  .hero h1{font-size:56px}
  .lead{font-size:19px}
  .grid.two{grid-template-columns:repeat(2,1fr)}
  .grid.three{grid-template-columns:repeat(3,1fr)}
  .section-title{font-size:28px;margin-top:40px}
  .card h2{font-size:20px}
  .contact{grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:24px 28px}
  .contact-btn{grid-column:auto;justify-self:end}
  .foot-top{grid-template-columns:2fr 1fr 1fr;padding:64px 0 44px}
  .foot-brand{grid-column:auto}
  .foot-bottom{flex-direction:row;justify-content:space-between}
  .showcase{padding:44px 40px 0}
  .show-txt h2{font-size:36px}
  .show-phones{height:520px}
  .show-phones .phone{--n:250}
}
@media (min-width:960px){
  .hero-app{grid-template-columns:1.15fr .85fr;gap:40px}
  .hero-app h1{font-size:52px}
  .showcase{grid-template-columns:1fr 1.05fr;align-items:center;padding:0 0 0 48px}
  .show-phones{height:620px;padding:56px 28px 0 0}
  .show-phones .phone{--n:235}
}
@media (min-width:1024px){
  .brand img{height:18px}
  .top .wrap{min-height:76px}
}
@media print{.top,.foot,.skip,.hero-phone,.show-phones{display:none}body{background:#fff}.card{padding:0 0 12px}}

.sep{display:inline-block;margin:0 10px;opacity:.6}
