/* P4F — Partners for the Future · folha de estilos do site (Rev02)
   Tokens do P4F Design System v3. */
:root{
  --navy-950:#010F24; --navy-900:#011D45; --navy-400:#6C8FBB;
  --teal-50:#EDF9FB; --teal-200:#B3E4EC; --teal-600:#0199B1; --teal-700:#017287; --teal-800:#01566A;
  --green-50:#F5FAEB; --green-400:#A5D45C; --green-600:#7CBD17; --green-700:#5C8C11; --green-800:#446808;
  --cream-50:#FCFBF9; --cream-100:#F7F5F0; --cream-200:#EFEBE2; --cream-300:#E4DFD3;
  --white:#FFFFFF; --brick-600:#C5341F;
  --text-strong:#011D45; --text-body:#1B2E4E; --text-muted:#5A6C88;
  --text-on-dark:#F7F5F0; --text-on-dark-muted:rgba(247,245,240,.72);
  --border-default:#D9D3C6;
  --gradient-accent:linear-gradient(90deg,#0199B1 0%,#7CBD17 100%);
  --action-accent:linear-gradient(90deg,#017287 0%,#446808 100%);
  --action-accent-hover:linear-gradient(90deg,#01566A 0%,#34500A 100%);
  --shadow-sm:0 1px 2px rgba(1,29,69,.05),0 2px 6px rgba(1,29,69,.05);
  --focus:0 0 0 3px rgba(1,153,177,.28);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --gutter:clamp(20px,4vw,48px);
}
*{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;background:var(--cream-100);color:var(--text-body);font-family:var(--font);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p{margin:0}
img{max-width:100%}
a{color:var(--teal-700);text-decoration-color:rgba(1,114,135,.3);text-underline-offset:3px}
a:hover{color:var(--navy-900);text-decoration-color:var(--navy-900)}
a:focus-visible,button:focus-visible{outline:none;box-shadow:var(--focus);border-radius:8px}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.wrap{max-width:1336px;margin:0 auto;padding:80px var(--gutter)}
.stack{display:flex;flex-direction:column}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--teal-700)}
.h2{font-size:clamp(30px,3.4vw,39px);font-weight:700;line-height:1.12;letter-spacing:-.014em;color:var(--text-strong)}
.lead{font-size:18px;line-height:1.62;color:var(--text-muted)}
.muted{color:var(--text-muted)}
.small{font-size:13px}
.sunken{background:var(--cream-200)}

/* Botões */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;padding:0 18px;border-radius:8px;border:0;font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer;transition:background .14s,transform .09s}
.btn:active{transform:scale(.985)}
.btn-lg{height:52px;padding:0 24px;font-size:15px}
.btn-accent{background:var(--action-accent);color:#fff}
.btn-accent:hover{background:var(--action-accent-hover);color:#fff}
.btn-primary{background:var(--navy-900);color:var(--cream-50)}
.btn-primary:hover{background:#062B5E;color:var(--cream-50)}
.btn-secondary{background:transparent;border:1.5px solid var(--navy-900);color:var(--navy-900)}
.btn-secondary:hover{background:#F1F4F8;color:var(--navy-900)}
.btn-ghost{background:transparent;color:var(--navy-900)}
.btn-ghost:hover{background:var(--cream-200);color:var(--navy-900)}
.btn-sm{height:36px;padding:0 12px;font-size:13px}
.btn-on-dark{background:transparent;border:1.5px solid rgba(247,245,240,.5);color:var(--text-on-dark)}
.btn-on-dark:hover{background:rgba(247,245,240,.08);color:var(--text-on-dark)}
.btn[disabled]{opacity:.6;cursor:progress}
.btn-block{width:100%}
.ico{width:18px;height:18px;flex:none}

/* Cabeçalho */
.site-header{position:sticky;top:0;z-index:30;background:rgba(247,245,240,.86);-webkit-backdrop-filter:saturate(140%) blur(14px);backdrop-filter:saturate(140%) blur(14px);border-bottom:1px solid var(--cream-300)}
.site-header .bar{max-width:1336px;margin:0 auto;padding:14px var(--gutter);display:flex;flex-wrap:wrap;align-items:center;gap:12px 32px}
.site-header nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.site-header nav a{font-size:13px;font-weight:600;color:var(--text-body);text-decoration:none}
.site-header nav a:hover{color:var(--teal-700)}
.site-header .right{margin-left:auto;display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px}
.site-header .mail{font-size:13px;color:var(--text-muted);text-decoration:none}
@media (max-width:760px){.site-header nav{order:3;width:100%}.site-header .mail{display:none}}

/* Hero */
.hero{position:relative;background:linear-gradient(160deg,#011D45 0%,#010F24 100%);overflow:hidden}
.hero .wrap{padding-top:96px;padding-bottom:88px;display:flex;flex-wrap:wrap;align-items:center;gap:56px 64px}
.hero .copy{flex:1 1 520px;min-width:0;display:flex;flex-direction:column;gap:20px}
.hero h1{font-size:clamp(38px,5vw,62px);font-weight:800;line-height:1.04;letter-spacing:-.022em;color:var(--text-on-dark);max-width:680px}
.hero h1 em{font-style:normal;color:var(--green-400)}
.hero .copy>p{font-size:clamp(18px,1.6vw,21px);line-height:1.5;color:var(--text-on-dark-muted);max-width:560px}
.hero .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.hero .mark{flex:1 1 300px;min-width:0;display:flex;justify-content:center}
.hero .mark img{width:100%;max-width:400px;height:auto;display:block}
.rule-accent{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--gradient-accent)}

/* Manifesto */
.split{display:flex;flex-wrap:wrap;gap:24px 64px;align-items:flex-start}
.split>*{flex:1 1 420px;min-width:0}
.divider-brand{display:flex;align-items:center;gap:16px}
.divider-brand span{white-space:nowrap}
.divider-brand i{flex:1;height:2px;background:var(--gradient-accent)}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:32px}
.step{display:flex;flex-direction:column;gap:12px}
.step .n{display:flex;align-items:center;gap:12px;color:var(--teal-600)}
.step .n span{font-family:var(--mono);font-size:13px;color:var(--navy-400)}
.step h3{font-size:21px;font-weight:600;line-height:1.24;color:var(--text-strong)}
.step p{color:var(--text-muted)}

/* Cartões */
.card{background:var(--white);border:1px solid var(--cream-300);border-radius:14px;box-shadow:var(--shadow-sm);overflow:hidden}
.card .bar-accent{height:3px;background:var(--gradient-accent)}
.card .pad{padding:32px;display:flex;flex-direction:column;gap:20px}
@media (max-width:560px){.card .pad{padding:22px}}
.area-head{display:flex;flex-wrap:wrap;align-items:center;gap:16px 20px;padding:32px 32px 20px}
.area-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:8px;background:var(--teal-50);color:var(--teal-700);flex:none}
.area-head h3{font-size:clamp(25px,2.6vw,31px);font-weight:700;line-height:1.2;letter-spacing:-.014em;color:var(--text-strong)}
.area-head p{margin-left:auto;flex:0 1 340px;color:var(--text-muted)}
.hr{height:1px;background:var(--cream-300)}
.area-list{padding:8px 12px 16px}
.service{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding:20px;border-bottom:1px solid var(--cream-200)}
.service:last-child{border-bottom:0}
.service .txt{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:8px}
.service .ttl{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.service h4{font-size:19px;font-weight:600;line-height:1.3;color:var(--text-strong)}
.service p{color:var(--text-muted);max-width:620px}
.service .acts{display:flex;gap:8px}
.badge{display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:999px;background:var(--teal-50);color:var(--teal-800);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.cta-dark{display:flex;flex-wrap:wrap;align-items:center;gap:24px 32px;padding:32px;border-radius:14px;background:var(--navy-900)}
.cta-dark img{height:52px;width:auto;flex:none;display:block}
.cta-dark .t{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:6px}
.cta-dark h3{font-size:25px;font-weight:700;line-height:1.24;letter-spacing:-.014em;color:var(--text-on-dark)}
.cta-dark p{color:var(--text-on-dark-muted);max-width:560px}

/* Formulários */
.grid-2{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field label,.field .lbl{font-size:13px;font-weight:600;color:var(--text-strong)}
.req{color:var(--brick-600)}
.hint{font-size:13px;line-height:1.5;color:var(--text-muted)}
.input,select.input,textarea.input{height:44px;padding:0 12px;border:1px solid var(--border-default);border-radius:8px;background:var(--white);font:inherit;font-size:15px;color:var(--text-body);width:100%}
textarea.input{height:auto;padding:10px 12px;line-height:1.5;resize:vertical}
.input:focus{outline:none;border-color:var(--teal-600);box-shadow:var(--focus)}
.input[aria-invalid="true"]{border-color:var(--brick-600)}
.err{font-size:13px;color:var(--brick-600);min-height:0}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border-radius:999px;border:1px solid var(--border-default);background:var(--white);color:var(--text-body);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.tag:hover{background:var(--cream-200)}
.tag[aria-pressed="true"]{background:var(--navy-900);border-color:var(--navy-900);color:var(--cream-100)}
.tag svg{display:none}
.tag[aria-pressed="true"] svg{display:block}
.check{display:flex;gap:12px;align-items:flex-start;cursor:pointer}
.check input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--navy-900);flex:none}
.check b{display:block;font-size:14px;font-weight:600;color:var(--text-strong)}
.check small{display:block;font-size:13px;line-height:1.5;color:var(--text-muted)}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.notice{display:flex;align-items:flex-start;gap:12px;padding:16px 20px;border-radius:14px;background:linear-gradient(90deg,#EDF9FB 0%,#F5FAEB 100%);border:1px solid var(--teal-200)}
.notice.is-error{background:#F8DCD7;border-color:#E9A99F}
.notice strong{display:block;font-size:15px;color:var(--text-strong)}
.notice[hidden]{display:none}
.need-aside{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:28px}
.need-form{flex:1 1 560px;min-width:0}
.bullets{display:flex;flex-direction:column;gap:12px}
.bullets span{display:inline-flex;align-items:center;gap:12px}
.cols-2{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.cols-2>*{flex:1 1 440px;min-width:0}
.card-title{display:flex;align-items:center;gap:12px}
.card-title h3{font-size:21px;font-weight:600;line-height:1.24;color:var(--text-strong)}

/* Rodapé */
.site-footer{background:var(--navy-900);color:var(--text-on-dark)}
.site-footer .wrap{padding-top:64px;padding-bottom:32px;display:flex;flex-direction:column;gap:40px}
.foot-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:40px}
.foot-grid .col{display:flex;flex-direction:column;gap:12px}
.foot-grid .col>span{font-size:12px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--text-on-dark-muted)}
.foot-grid a{color:var(--text-on-dark);text-decoration:none}
.foot-grid a:hover{color:var(--green-400)}
.foot-grid .brand img{height:48px;width:auto;display:block;align-self:flex-start}
.foot-grid .brand p{font-size:18px;font-weight:600;line-height:1.4;max-width:300px}
.foot-grid .brand a.mail{color:var(--green-400);text-decoration:underline;text-decoration-color:rgba(165,212,92,.4)}
.foot-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;font-size:13px;color:var(--text-on-dark-muted);border-top:1px solid rgba(247,245,240,.16);padding-top:24px}
.foot-bottom a{color:var(--text-on-dark-muted);text-decoration:none}
.foot-bottom a:hover{color:var(--text-on-dark)}

/* Página de texto (privacidade) */
.prose{max-width:760px;margin:0 auto;padding:64px var(--gutter) 96px}
.prose h1{font-size:clamp(30px,4vw,44px);font-weight:800;line-height:1.1;letter-spacing:-.02em;color:var(--text-strong);margin-bottom:8px}
.prose h2{font-size:21px;font-weight:700;color:var(--text-strong);margin:36px 0 10px}
.prose p,.prose li{font-size:16px;line-height:1.62;color:var(--text-body)}
.prose p+p{margin-top:12px}
.prose ul{padding-left:20px;margin:8px 0}
.prose li+li{margin-top:6px}
.todo{background:#FBEECF;color:#96690C;padding:0 4px;border-radius:3px;font-weight:600}

/* Rev02 — lista de pontos no contacto */
.checklist{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.checklist li{position:relative;padding-left:26px;font-size:15px;color:var(--text-body)}
.checklist li::before{content:"";position:absolute;left:2px;top:7px;width:12px;height:7px;border-left:2px solid var(--green-700);border-bottom:2px solid var(--green-700);transform:rotate(-45deg)}
