/* Camada de experiência. Identidade provisória: trocar os tokens, não cada componente. */
:root{--font:"Barlow",system-ui,-apple-system,"Segoe UI",sans-serif;--cond:var(--font);--bg:#f5f7fb;--surface2:#eef2f8;--ink:#1b2d44;--muted:#596b82;--line:#dbe3ed;--plate:#245b94;--plate-soft:#e6eef9;--brand-deep:#173a64;--brand-accent:#bdd7f9;--radius:20px;--shadow:0 12px 38px #173a6410;--brand-face:"Barlow Condensed","Barlow",system-ui,sans-serif;--logo-low:#1C2126;--logo-high:#1B4F9C}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]){--bg:#0d1726;--surface:#162235;--surface2:#1d2e45;--ink:#eaf0f8;--muted:#afbed1;--line:#334961;--plate:#91bdf4;--plate-soft:#203a5a;--logo-low:#7A8590;--logo-high:#5B93E3}}
:root[data-theme="dark"]{--bg:#0d1726;--surface:#162235;--surface2:#1d2e45;--ink:#eaf0f8;--muted:#afbed1;--line:#334961;--plate:#91bdf4;--plate-soft:#203a5a;--logo-low:#7A8590;--logo-high:#5B93E3}
body{padding-bottom:36px}h1,h2,h3{letter-spacing:-.035em}h1{line-height:1.1;font-size:clamp(2rem,4vw,3rem)}h2{line-height:1.18}button,a,input,select,summary{-webkit-tap-highlight-color:transparent}button{min-height:44px;border-radius:10px}button.primary{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff}.wrap{max-width:1220px;padding-left:28px;padding-right:28px}
.apphead .wrap{display:grid;grid-template-columns:1fr auto auto;gap:8px 12px;padding-top:18px;padding-bottom:0}.brand{display:flex;gap:11px;align-items:center;font-family:var(--brand-face);font-size:24px;font-weight:700;line-height:1;letter-spacing:0}.brand-name{display:block}.brand-sub{font-weight:600;color:var(--logo-high)}.brand-mark{display:block;width:32px;height:32px;flex:none}.brand-mark svg{display:block;width:100%;height:100%}.brand-mark polygon{fill:var(--logo-low,#1C2126)}.brand-mark .hi{fill:var(--logo-high,#1B4F9C)}.brand:hover .brand-mark polygon:not(.hi),.brand:focus-visible .brand-mark polygon:not(.hi){fill:var(--muted)}.foot-brand{display:flex;gap:10px;align-items:center;font-family:var(--brand-face);font-size:21px;font-weight:700;line-height:1;color:var(--ink)}.foot-brand .brand-mark{width:28px;height:28px}.apptabs{grid-row:2;grid-column:1/-1;display:flex;gap:4px;margin-top:14px;padding-bottom:10px;scrollbar-width:thin}.apptabs button{font-size:.87rem;padding:9px 15px;border:0;background:transparent;color:var(--muted)}.apptabs button[aria-selected="true"]{background:var(--plate-soft);color:var(--plate)}#simsBtn{grid-column:2;grid-row:1}#themeBtn{grid-column:3;grid-row:1}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.home-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:center;padding-top:72px;padding-bottom:72px}.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:700;letter-spacing:1.7px;color:var(--plate)}.live-dot{width:7px;height:7px;border-radius:50%;background:var(--plate)}.hero-copy h1{font-size:clamp(2.7rem,4.6vw,3.9rem);line-height:1.09;letter-spacing:-.055em;margin:21px 0}.hero-copy h1 em{font-style:normal;color:var(--plate)}.hero-lead{max-width:470px;font-size:17px;color:var(--muted);line-height:1.65}.hero-actions{display:flex;gap:24px;align-items:center;flex-wrap:wrap;margin:28px 0 20px}.cta{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;padding:15px 20px;border-radius:12px;background:var(--brand-deep);color:white;text-decoration:none;font-weight:600;min-height:50px}.cta:hover{background:#234e80}.text-link{font-weight:600;font-size:14px;color:var(--ink);text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:10px}.hero-note{font-size:12px;color:var(--muted)}.hero-note span{padding:0 9px}
.hero-preview{position:relative;background:var(--brand-deep);color:#fff;border-radius:28px;padding:30px 32px;box-shadow:0 20px 45px #173a6420;transform:rotate(2deg)}.preview-top{display:flex;align-items:center;gap:12px;font-size:9px;letter-spacing:1.6px;color:#d3e2f6;margin-bottom:28px}.preview-symbol{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:#ffffff12;color:var(--brand-accent)}.hero-preview>p{font-size:14px;color:#c6d7ee}.hero-preview h2{font-size:32px;margin-top:8px;font-weight:500;line-height:1.14}.goal-options{display:grid;gap:9px;margin:24px 0}.goal-options button{background:#ffffff0c;border-color:#ffffff25;color:#fff;display:flex;align-items:center;gap:12px;text-align:left;font-weight:500;padding:13px 15px}.goal-options button>span{margin-left:auto;color:var(--brand-accent)}.goal-options button:hover{background:#ffffff18;border-color:var(--brand-accent)}.goal-options svg{color:var(--brand-accent)}.preview-bottom{display:flex;gap:12px;align-items:center;padding-top:5px;font-size:12px;color:#c6d7ee}.preview-bottom strong{color:#fff;font-weight:500}.mini-check{border:1px solid #ffffff30;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;color:var(--brand-accent)}.preview-orbit{position:absolute;right:23px;top:90px;color:var(--brand-accent);font-size:75px;line-height:1}
.trust-strip{border-block:1px solid var(--line);background:var(--surface)}.trust-strip .wrap{display:flex;justify-content:space-between;gap:24px;padding-block:19px}.trust-strip span{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px}.trust-strip svg{color:var(--plate);width:18px}.tools-section{padding-top:64px;padding-bottom:60px;scroll-margin-top:24px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}.section-heading h2{font-size:30px;margin-top:9px;letter-spacing:-1px}.section-heading>p{color:var(--muted);font-size:14px;line-height:1.6}.goal-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.goal-filters button{border-radius:30px;padding:9px 17px;background:transparent;font-size:13px;font-weight:500}.goal-filters button[aria-pressed="true"]{background:var(--brand-deep);color:#fff;border-color:var(--brand-deep)}.home .hub{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:0}.home .hubcard{display:flex;flex-direction:column;gap:20px;padding:22px;border-radius:var(--radius);min-height:255px;box-shadow:0 3px 8px #173a6403}.home .hubcard[hidden]{display:none}.home .hubcard:hover{box-shadow:var(--shadow);border-color:var(--plate);transform:translateY(-4px)}.card-top{display:flex;align-items:center;gap:8px;width:100%}.home .hub-ico{width:40px;height:40px;border-radius:12px}.home .hub-ico svg{width:21px;height:21px}.card-arrow{margin-left:auto;color:var(--muted)}.card-badge{background:var(--plate-soft);color:var(--plate);font-size:10px;padding:4px 7px;border-radius:6px}.home .hub-txt{gap:10px}.home .hub-txt strong{font-size:18px;line-height:1.25;letter-spacing:-.4px}.home .hub-txt>span{font-size:14px;line-height:1.5}.home .hub-go{margin-top:auto;display:flex;width:100%;justify-content:space-between;gap:8px;font-size:11px;font-weight:500;padding-top:15px;border-top:1px solid var(--line)}.start-help{display:flex;gap:16px;align-items:center;padding:24px;background:var(--plate-soft);border-radius:16px;margin-top:24px}.help-symbol{width:36px;height:36px;border:1px solid var(--plate);border-radius:50%;display:grid;place-items:center;color:var(--plate);flex:none;font-size:20px}.start-help strong{font-size:15px}.start-help p{color:var(--muted);font-size:13px;margin-top:4px}.start-help button{margin-left:auto;white-space:nowrap;background:var(--surface);font-size:13px}
.how-section{padding-block:42px 58px;border-top:1px solid var(--line)}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px;margin-top:34px}.how-grid article>span{color:var(--plate);font-size:12px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;width:36px;height:36px;margin-bottom:18px}.how-grid h3{font-size:18px;margin-bottom:10px}.how-grid p{color:var(--muted);font-size:14px;line-height:1.65;max-width:32ch}.home-faq{display:grid;grid-template-columns:1fr 1.6fr;gap:60px;border-top:1px solid var(--line);padding-top:48px;padding-bottom:30px}.home-faq h2{font-size:30px;margin:10px 0 16px}.home-faq>div>p{font-size:14px;color:var(--muted);max-width:30ch}.faq-items details{border-bottom:1px solid var(--line);padding:0 0 16px;margin-bottom:16px}.faq-items summary{cursor:pointer;font-size:15px;font-weight:600;min-height:44px;padding-top:8px}.faq-items p{color:var(--muted);font-size:14px;padding:8px 0 0;line-height:1.65}
.tabpane:not(#tab-inicio)>.top{padding-top:36px;padding-bottom:25px}.back-home{border:0;padding:0;min-height:36px;color:var(--muted);font-size:13px;margin-bottom:14px;background:transparent}.calc-guide{display:flex;align-items:center;gap:14px;margin-top:20px;padding:14px 18px;background:var(--plate-soft);border-radius:12px;font-size:14px;max-width:850px}.calc-guide strong{color:var(--plate);white-space:nowrap}.calc-guide p{color:var(--muted);font-size:13px}.group,.panel{border-radius:16px}.group{padding:23px}.ctl{min-height:46px;border-radius:9px}.fld>label{font-size:14px}.verdict{border-radius:18px}.verdict .big{font-size:clamp(1.55rem,3vw,2.1rem);letter-spacing:-.04em}.calc-out{min-width:0}.result-details{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 20px}.result-details>summary{cursor:pointer;font-weight:600;min-height:28px}.result-details>.panel{padding:16px 0 0;border:0;background:transparent}.more-actions{width:100%;margin-top:4px}.more-actions>summary{cursor:pointer;font-size:13px;color:var(--muted);padding:10px 0;min-height:44px}.more-actions .actions{display:flex;flex-wrap:wrap;padding-top:5px}.advanced-fields{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px}.advanced-fields>summary{cursor:pointer;font-size:14px;min-height:44px;padding:10px 0;color:var(--plate)}.advanced-fields>.hint{display:block;margin-bottom:16px}.stepnav{position:static}.next-choice{border:1px solid var(--line);border-radius:14px;background:var(--plate-soft);padding:20px;display:flex;align-items:center;gap:14px}.next-choice p{font-size:13px;color:var(--muted);margin-top:3px}.next-choice button{margin-left:auto;flex:none;font-size:13px}.tabpane:has(.dock):not([hidden]){padding-bottom:90px}.actions>button.primary{min-width:160px}.appfoot{margin-top:36px}
.groups{align-items:start}.optional-group{display:block}.optional-group>summary{cursor:pointer;font-weight:600;min-height:44px}.optional-group>summary>span{display:block;font-weight:400;font-size:12px;color:var(--muted);margin-top:5px}.optional-group[open]>.hint{margin-top:16px}.optional-group[open]>.fields{margin-top:16px}
.kinds button[aria-pressed="true"],.step-num,.stepnav a.on b{background:var(--brand-deep);border-color:var(--brand-deep);color:#fff}
@media(min-width:901px){.calc{gap:28px}.calc-form{position:static}}
@media(max-width:1050px){.home .hub{grid-template-columns:repeat(2,minmax(0,1fr))}.home-hero{gap:38px}.hero-preview{padding:24px}.hero-actions{gap:12px}.card-badge{font-size:11px}.home .hubcard{min-height:230px}}
@media(max-width:700px){.wrap{padding-left:20px;padding-right:20px}.home-hero{grid-template-columns:1fr;padding-top:38px;padding-bottom:38px;gap:32px}.hero-copy h1{font-size:clamp(2.6rem,9vw,3.8rem)}.hero-lead{font-size:16px}.hero-preview{transform:none;max-width:500px;width:100%;padding:25px}.hero-preview h2{font-size:29px}.preview-top{margin-bottom:20px}.trust-strip .wrap{flex-wrap:wrap;justify-content:center;gap:12px 24px}.trust-strip span{font-size:11px}.tools-section{padding-top:38px;padding-bottom:35px}.section-heading{align-items:start;flex-direction:column;gap:12px}.section-heading h2,.how-section h2{font-size:26px}.section-heading>p br{display:none}.goal-filters{gap:7px}.goal-filters button{font-size:12px;padding-inline:12px}.home .hub{gap:12px}.home .hubcard{padding:17px;gap:16px;min-height:260px}.home .hub-txt strong{font-size:17px}.home .hub-txt>span{font-size:13px}.card-badge{font-size:9px;padding:3px 4px}.card-arrow{display:none}.start-help{flex-wrap:wrap;padding:20px}.start-help>div{flex:1;min-width:180px}.start-help button{margin-left:0;width:100%}.how-grid{grid-template-columns:1fr;gap:24px}.how-grid article{display:grid;grid-template-columns:36px 1fr;column-gap:16px}.how-grid article>span{grid-row:span 2;margin-bottom:0}.how-grid p{max-width:none}.home-faq{grid-template-columns:1fr;gap:30px}.calc-guide{align-items:start;flex-direction:column;gap:5px}.next-choice{flex-wrap:wrap}.next-choice button{margin-left:0}.apphead .wrap{padding-top:12px;gap:8px}.apptabs{margin-top:7px}.brand{font-size:19px;gap:9px;line-height:.98}.brand-sub{display:block}.brand-mark{width:30px;height:30px}.foot-brand{font-size:19px}.top h1{font-size:2rem}}
@media(max-width:380px){.home .hub{grid-template-columns:1fr}.home .hubcard{min-height:220px}.hero-note span{padding:0 4px}}
@media print{.home-hero,.trust-strip,.goal-filters,.start-help,.back-home,.calc-guide,.next-choice,.more-actions{display:none!important}.result-details>.panel{display:block!important}.apphead{display:none!important}}

/* Navegação em grade: todas as opções cabem sem rolagem lateral. */
.apphead{position:relative;z-index:40}
.apphead .wrap{position:relative;grid-template-columns:1fr auto auto auto;gap:16px;padding-block:16px}
.calculator-menu-toggle{grid-column:2;grid-row:1;display:flex;align-items:center;gap:12px;min-width:240px;text-align:left;background:var(--surface2);padding:10px 15px;font-weight:500}
.calculator-menu-toggle>svg{color:var(--plate)}
.calculator-menu-toggle>span:nth-child(2){display:flex;flex-direction:column;gap:3px}
.menu-caption{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}
#currentCalculator{font-size:13px;color:var(--ink)}
.menu-chevron{margin-left:auto;display:flex;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:20px;transform-origin:center;transition:transform .15s}
.calculator-menu-toggle[aria-expanded="true"]{border-color:var(--plate);box-shadow:0 0 0 3px var(--plate-soft)}
.calculator-menu-toggle[aria-expanded="true"] .menu-chevron{transform:rotate(180deg)}
.apphead #simsBtn{grid-column:3;grid-row:1}.apphead #themeBtn{grid-column:4;grid-row:1}
.apphead .apptabs{position:absolute;top:calc(100% - 3px);right:28px;left:28px;z-index:50;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:auto;max-width:none;max-height:70vh;overflow-y:auto;overflow-x:hidden;margin:0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 16px 40px #0b1e3830}
.apphead .apptabs[hidden]{display:none}
.apphead .apptabs{justify-self:stretch}
.dock,.xpop{background:var(--brand-deep);color:#fff;border-top:1px solid #ffffff20}
.dock a{background:#e6eef9;color:#173a64;display:flex;align-items:center;min-height:44px}
.plate.house b,.pick.next .n{background:var(--brand-deep);color:#fff}
.apphead .apptabs button{display:flex;justify-content:flex-start;gap:12px;padding:16px;border:1px solid transparent;border-radius:12px;min-width:0;min-height:64px;white-space:normal;text-align:left;color:var(--ink);line-height:1.35}
.apphead .apptabs button svg{color:var(--plate);flex:none}
.apphead .apptabs button:hover{background:var(--surface2);border-color:var(--line)}
.apphead .apptabs button[aria-selected="true"]{background:var(--plate-soft);color:var(--plate);border-color:var(--plate)}
.apphead .apptabs button .tlbl{display:inline}
.apphead .apptabs button:focus-visible{outline:3px solid var(--plate);outline-offset:-3px}
@media(max-width:700px){
  .apphead .wrap{grid-template-columns:1fr auto auto;gap:12px 8px;padding-block:12px}
  .apphead #simsBtn{grid-column:2}.apphead #themeBtn{grid-column:3}
  .calculator-menu-toggle{grid-column:1/-1;grid-row:2;min-width:0;width:100%}
  .calculator-menu-toggle>span:nth-child(2){flex-direction:row;align-items:center;flex:1;justify-content:space-between;gap:12px}
  .menu-caption{font-size:11px;letter-spacing:0;text-transform:none}
  #currentCalculator{font-size:12px;font-weight:600}
  .apphead .apptabs{left:20px;right:20px;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:6px;max-height:65vh}
  .apphead .apptabs button{padding:12px 10px;font-size:12px;gap:8px;min-height:60px}
  .apphead .apptabs button svg{width:17px;height:17px}
}
@media(max-width:360px){.calculator-menu-toggle>span:nth-child(2){flex-direction:column;align-items:start;gap:2px}}
