/* Página inicial pública da cooperativa (portada do plugin WP: public/views/portal.php + assets/css/portal.css).
   A cor principal vem da cooperativa (--pp-brand no style do .plantaopro-portal). */
:root {
  --pp-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --pp-font-head: 'Poppins', var(--pp-font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; }
a { color: inherit; }

.plantaopro-portal {
  --pp-ink: #10233f;
  --pp-muted: #5e718b;
  --pp-line: #dfe8f2;
  --pp-brand: #2172db;
  --pp-brand-dark: color-mix(in oklab, var(--pp-brand) 72%, #000);
  --pp-brand-soft: color-mix(in oklab, var(--pp-brand) 9%, #fff);
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fff;
  color: var(--pp-ink);
  font-family: var(--pp-font);
  -webkit-font-smoothing: antialiased;
}
.plantaopro-portal *, .plantaopro-portal *::before, .plantaopro-portal *::after { box-sizing: border-box; }
.plantaopro-portal a { text-decoration: none; }
.pp-public-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.pp-public-header { position: relative; z-index: 20; border-bottom: 1px solid rgba(217,230,243,.9); background: rgba(255,255,255,.94); }
.pp-public-nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.pp-public-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--pp-ink); }
.pp-public-brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg,#268af1,#0f60c1); box-shadow: 0 8px 20px color-mix(in srgb, var(--pp-brand) 20%, transparent); }
.pp-public-brand-mark svg { width: 23px; height: 23px; fill: #fff; }
.pp-public-brand-copy { display: grid; gap: 1px; }
.pp-public-brand-copy strong { color: var(--pp-ink); font-family: var(--pp-font-head); font-size: 18px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.pp-public-brand-copy small { color: #71829a; font-size: 10px; font-weight: 600; letter-spacing: .045em; text-transform: uppercase; }
.pp-public-links { display: flex; align-items: center; gap: 31px; margin-left: auto; }
.pp-public-links a { color: #435772; font-size: 13px; font-weight: 700; transition: color .2s; }
.pp-public-links a:hover { color: var(--pp-brand); }
.pp-public-login { display: inline-flex; align-items: center; gap: 9px; min-height: 43px; padding: 0 18px; border: 1px solid #cbd9e8; border-radius: 10px; color: var(--pp-brand); font-size: 13px; font-weight: 800; transition: .2s; }
.pp-public-login:hover { border-color: var(--pp-brand); background: var(--pp-brand-soft); color: var(--pp-brand-dark); transform: translateY(-1px); }
.pp-public-login span { font-size: 17px; }

.pp-public-hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(125deg,#f6fbff 0%,#edf7ff 50%,#f9fcff 100%); }
.pp-public-hero::before { content: ''; position: absolute; inset: 0; opacity: .33; background-image: radial-gradient(#74a9dc 1px,transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg,#000,transparent 64%); }
.pp-public-hero-glow { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.pp-public-hero-glow-one { width: 520px; height: 520px; top: -260px; right: 4%; background: color-mix(in srgb, var(--pp-brand) 14%, transparent); }
.pp-public-hero-glow-two { width: 330px; height: 330px; bottom: -190px; left: 30%; background: rgba(31,199,150,.1); }
.pp-public-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.08fr) minmax(390px,.92fr); align-items: center; gap: 78px; padding-top: 60px; padding-bottom: 66px; }
.pp-public-eyebrow, .pp-public-kicker { color: var(--pp-brand); font-size: 11px; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
.pp-public-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.pp-public-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #16b984; box-shadow: 0 0 0 5px rgba(22,185,132,.12); }
.pp-public-hero h1 { max-width: 680px; margin: 0 0 22px; color: var(--pp-ink); font-family: var(--pp-font-head); font-size: clamp(42px,4.3vw,65px); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.pp-public-hero-copy > p { max-width: 610px; margin: 0 0 31px; color: var(--pp-muted); font-size: 17px; line-height: 1.7; }
.pp-public-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.pp-public-primary, .pp-public-secondary { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 0 23px; border-radius: 11px; font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.pp-public-primary { background: linear-gradient(135deg,var(--pp-brand),var(--pp-brand-dark)); color: #fff; box-shadow: 0 13px 30px color-mix(in srgb, var(--pp-brand) 26%, transparent); }
.pp-public-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 17px 34px color-mix(in srgb, var(--pp-brand) 32%, transparent); }
.pp-public-primary span { font-size: 18px; }
.pp-public-secondary { border: 1px solid #ccd9e7; background: rgba(255,255,255,.72); color: #324964; }
.pp-public-secondary:hover { background: #fff; color: var(--pp-brand); transform: translateY(-2px); }
.pp-public-trust { display: flex; flex-wrap: wrap; gap: 18px; margin: 30px 0 0; padding: 0; list-style: none; }
.pp-public-trust li { display: flex; align-items: center; gap: 7px; color: #60738b; font-size: 11px; font-weight: 700; }
.pp-public-trust span { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: #ddf7ed; color: #0b996c; font-size: 11px; }

.pp-public-hero-visual { position: relative; width: 100%; max-width: 470px; min-height: 500px; justify-self: end; display: grid; place-items: center; }
.pp-public-hero-visual::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: linear-gradient(145deg,#ddecfb,#f7fbff); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 40px 80px rgba(42,91,139,.12); }
.pp-public-app-card { position: relative; z-index: 2; width: 345px; padding: 0 24px 24px; border: 1px solid rgba(202,220,237,.92); border-radius: 21px; background: rgba(255,255,255,.96); box-shadow: 0 28px 65px rgba(28,75,119,.19); transform: rotate(-1.2deg); }
.pp-public-app-head { height: 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf1f5; }
.pp-public-app-head > span { display: flex; gap: 5px; }
.pp-public-app-head i { width: 6px; height: 6px; border-radius: 50%; background: #d4e0ec; }
.pp-public-app-head small { color: #8493a6; font-size: 10px; font-weight: 700; }
.pp-public-app-profile { display: flex; align-items: center; gap: 13px; padding: 23px 0 21px; }
.pp-public-avatar { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg,#e5f3ff,#cbe6ff); }
.pp-public-avatar svg { width: 37px; height: 37px; fill: #7bb7ea; }
.pp-public-app-profile > div:last-child { display: grid; gap: 3px; }
.pp-public-app-profile span, .pp-public-app-profile strong { color: #8292a5; font-size: 10px; }
.pp-public-app-profile strong { color: var(--pp-ink); font-size: 13px; }
.pp-public-progress-label { display: flex; justify-content: space-between; color: #6c7e93; font-size: 9px; font-weight: 700; }
.pp-public-progress-label strong { color: var(--pp-brand); }
.pp-public-progress { height: 6px; margin: 8px 0 21px; overflow: hidden; border-radius: 10px; background: #eaf0f5; }
.pp-public-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#1675db,#42b6ee); }
.pp-public-app-list { display: grid; gap: 8px; }
.pp-public-app-list > div { display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid #edf1f5; border-radius: 10px; background: #fbfdff; }
.pp-public-app-list > div > span { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 27px; border-radius: 8px; background: #edf2f7; color: #7c8fa5; font-size: 10px; font-weight: 800; }
.pp-public-app-list > div > span.is-done { background: #ddf7ed; color: #0c9a6d; }
.pp-public-app-list > div > span.is-active { background: #deedff; color: var(--pp-brand); }
.pp-public-app-list p { display: grid; gap: 1px; margin: 0; }
.pp-public-app-list strong { color: #233954; font-size: 10px; }
.pp-public-app-list small { color: #94a1b1; font-size: 8px; }
.pp-public-float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border: 1px solid rgba(207,222,236,.9); border-radius: 13px; background: rgba(255,255,255,.97); box-shadow: 0 17px 35px rgba(38,80,120,.15); }
.pp-public-float-top { top: 48px; left: -6px; }
.pp-public-float-bottom { right: -15px; bottom: 48px; }
.pp-public-float-icon { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 32px; border-radius: 9px; background: #dcf7ed; color: #0b9f70; font-size: 14px; font-weight: 900; }
.pp-public-float-icon.is-blue { background: #e4f1ff; color: var(--pp-brand); font-size: 9px; }
.pp-public-float-card > div { display: grid; gap: 2px; }
.pp-public-float-card strong { color: #243851; font-size: 10px; }
.pp-public-float-card small { color: #8291a2; font-size: 8px; }

.pp-public-section { padding: 90px 0; }
.pp-public-section-heading { max-width: 680px; margin: 0 auto 46px; text-align: center; }
.pp-public-section-heading h2, .pp-public-process-copy h2, .pp-public-track-copy h2 { margin: 13px 0 15px; color: var(--pp-ink); font-family: var(--pp-font-head); font-size: clamp(30px,3vw,42px); font-weight: 800; line-height: 1.16; letter-spacing: -.035em; }
.pp-public-section-heading p, .pp-public-process-copy > p, .pp-public-track-copy > p { margin: 0; color: var(--pp-muted); font-size: 15px; line-height: 1.7; }
.pp-public-benefits-section { background: #fff; }
.pp-public-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.pp-public-benefit { min-height: 235px; padding: 27px 24px; border: 1px solid var(--pp-line); border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(31,67,102,.055); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pp-public-benefit:hover { transform: translateY(-5px); border-color: #c5d8ea; box-shadow: 0 20px 42px rgba(31,67,102,.1); }
.pp-public-benefit-icon { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 13px; }
.pp-public-benefit-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp-public-benefit-icon.is-blue { color: var(--pp-brand); background: #e8f3ff; }.pp-public-benefit-icon.is-green { color: #0d9d70; background: #e4f8f0; }.pp-public-benefit-icon.is-purple { color: #7256d9; background: #f0edff; }.pp-public-benefit-icon.is-orange { color: #dc7d26; background: #fff1e5; }
.pp-public-benefit h3 { margin: 0 0 11px; color: #1a304b; font-family: var(--pp-font-head); font-size: 16px; font-weight: 800; }
.pp-public-benefit p { margin: 0; color: #687b91; font-size: 13px; line-height: 1.65; }

.pp-public-process-section { position: relative; background: #f5f9fd; }
.pp-public-process-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(480px,1.2fr); align-items: center; gap: 100px; }
.pp-public-process-copy > p { max-width: 460px; }
.pp-public-text-link { display: inline-flex; align-items: center; gap: 11px; margin-top: 25px; color: var(--pp-brand); font-size: 13px; font-weight: 800; }
.pp-public-text-link span { font-size: 18px; transition: transform .2s; }.pp-public-text-link:hover span { transform: translateX(4px); }
.pp-public-process-list { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pp-public-process-list::before { content: ''; position: absolute; top: 60px; bottom: 60px; left: 30px; width: 1px; background: #cbdcea; }
.pp-public-process-list li { position: relative; z-index: 1; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 18px; padding: 20px; border: 1px solid #dce7f1; border-radius: 15px; background: #fff; box-shadow: 0 8px 25px rgba(34,74,113,.045); }
.pp-public-process-list li > span { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px; background: var(--pp-brand-soft); color: var(--pp-brand); font-size: 13px; font-weight: 900; }
.pp-public-process-list li div { display: grid; gap: 5px; }
.pp-public-process-list strong { color: #1e344e; font-size: 15px; }.pp-public-process-list p { margin: 0; color: #728297; font-size: 12px; line-height: 1.55; }

.pp-public-track-section { background: #102c4d; }
.pp-public-track-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(390px,.74fr); align-items: center; gap: 100px; }
.pp-public-track-copy { position: relative; padding-left: 74px; }
.pp-public-track-icon { position: absolute; top: 4px; left: 0; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--pp-brand) 16%, transparent); color: #6bb8ff; font-size: 24px; }
.pp-public-track-copy .pp-public-kicker { color: #68b5fb; }.pp-public-track-copy h2 { color: #fff; }.pp-public-track-copy > p { max-width: 510px; color: #b6c6d8; }
.pp-public-track-section .pp-track-form { display: grid; gap: 8px; padding: 27px; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; background: #fff; box-shadow: 0 24px 55px rgba(0,0,0,.18); text-align: left; }
.pp-public-track-section .pp-track-form label { margin-top: 4px; color: #344a64; font-size: 11px; font-weight: 800; }
.pp-public-track-section .pp-track-form input { min-height: 48px; padding: 0 14px; border: 1px solid #d7e2ec; border-radius: 9px; background: #fbfdff; color: var(--pp-ink); font-family: var(--pp-font); font-size: 13px; box-shadow: none; }
.pp-public-track-section .pp-track-form input:focus { border-color: var(--pp-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--pp-brand) 10%, transparent); }
.pp-public-track-section .pp-track-btn { min-height: 49px; display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 10px; border-radius: 9px; background: linear-gradient(135deg,var(--pp-brand),var(--pp-brand-dark)); font-family: var(--pp-font); font-size: 13px; box-shadow: 0 11px 25px color-mix(in srgb, var(--pp-brand) 22%, transparent); }
.pp-public-track-section .pp-track-btn:hover { background: linear-gradient(135deg,var(--pp-brand-dark),color-mix(in oklab, var(--pp-brand) 55%, #000)); }.pp-public-track-section .pp-track-btn:disabled { opacity: .68; cursor: wait; transform: none; }
.pp-public-track-section #pp-track-result .pp-alert { display: grid; gap: 5px; margin: 8px 0 0; padding: 13px; border-radius: 9px; font-size: 11px; line-height: 1.5; }
.pp-public-track-section #pp-track-result .pp-alert strong { font-size: 13px; }.pp-public-track-section #pp-track-result .pp-alert span { display: block; }.pp-public-track-section #pp-track-result .pp-alert small { margin-top: 2px; color: inherit; opacity: .8; }

.pp-public-footer { border-top: 1px solid #dde6ef; background: #fff; }
.pp-public-footer > div { min-height: 95px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pp-public-footer .pp-public-brand-mark { width: 34px; height: 34px; border-radius: 10px; box-shadow: none; }.pp-public-footer .pp-public-brand-mark svg { width: 20px; height: 20px; }
.pp-public-footer .pp-public-brand-copy strong { font-size: 15px; }.pp-public-footer .pp-public-brand-copy small { font-size: 8px; }
.pp-public-footer p, .pp-public-footer > div > a:last-child { margin: 0; color: #718198; font-size: 11px; font-weight: 600; }.pp-public-footer > div > a:last-child:hover { color: var(--pp-brand); }

@media (max-width: 1050px) {
  .pp-public-links { display: none; }
  .pp-public-hero-grid { grid-template-columns: minmax(0,1fr) 390px; gap: 30px; }
  .pp-public-hero h1 { font-size: 46px; }
  .pp-public-float-top { left: -12px; }.pp-public-float-bottom { right: -4px; }
  .pp-public-process-grid, .pp-public-track-grid { gap: 55px; }
}
@media (max-width: 820px) {
  .pp-public-shell { width: min(100% - 32px,680px); }
  .pp-public-hero { min-height: 0; }
  .pp-public-hero-grid { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 55px; text-align: center; }
  .pp-public-hero-copy > p { margin-left: auto; margin-right: auto; }.pp-public-hero-actions,.pp-public-trust { justify-content: center; }
  .pp-public-hero-visual { justify-self: center; margin-top: 15px; }
  .pp-public-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pp-public-process-grid,.pp-public-track-grid { grid-template-columns: 1fr; gap: 46px; }
  .pp-public-track-copy { padding-left: 0; text-align: center; }.pp-public-track-icon { position: static; margin: 0 auto 20px; }.pp-public-track-copy > p { margin: 0 auto; }
}
@media (max-width: 560px) {
  .pp-public-shell { width: calc(100% - 28px); }
  .pp-public-nav { min-height: 68px; gap: 12px; }.pp-public-brand-mark { width: 35px; height: 35px; border-radius: 10px; }.pp-public-brand-copy strong { font-size: 15px; }.pp-public-brand-copy small { display: none; }
  .pp-public-login { min-height: 39px; padding: 0 13px; font-size: 11px; }.pp-public-login span { display: none; }
  .pp-public-hero-grid { padding-top: 48px; }.pp-public-hero h1 { font-size: 37px; }.pp-public-hero-copy > p { font-size: 15px; }
  .pp-public-primary,.pp-public-secondary { width: 100%; }.pp-public-trust { gap: 10px 14px; }
  .pp-public-hero-visual { min-height: 420px; transform: scale(.84); margin: -18px -45px -35px; }
  .pp-public-section { padding: 68px 0; }.pp-public-benefits { grid-template-columns: 1fr; }.pp-public-benefit { min-height: 0; }
  .pp-public-process-list li { grid-template-columns: 49px 1fr; padding: 15px; }.pp-public-process-list li > span { width: 49px; height: 49px; }.pp-public-process-list::before { left: 24px; }
  .pp-public-track-section .pp-track-form { padding: 21px 18px; }
  .pp-public-footer > div { padding: 25px 0; flex-direction: column; text-align: center; }.pp-public-footer p { order: 3; }
}

/* Base do botão de consulta (no plugin fica fora do bloco da landing). */
.pp-track-btn { width: 100%; padding: 14px; border: none; border-radius: 10px; background: var(--pp-brand); color: #fff; font-weight: 700; cursor: pointer; transition: background .2s, transform .15s; }
.pp-track-btn:hover { transform: translateY(-1px); }

/* Acréscimos do Laravel: logo da cooperativa, aviso de inscrições fechadas e resultado da consulta. */
.pp-public-brand-logo { height: 42px; width: auto; max-width: 180px; object-fit: contain; }
.pp-public-closed { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px; border-radius: 12px; background: #fff7ed; color: #9a3412; font-weight: 700; font-size: 14px; }
.pp-track-error { color: #b91c1c; font-size: 12px; font-weight: 700; }
.pp-track-result { margin-top: 10px; display: grid; gap: 6px; padding: 14px; border-radius: 12px; font-size: 13px; }
.pp-track-result.is-found { background: color-mix(in srgb, #10b981 10%, #fff); border: 1px solid color-mix(in srgb, #10b981 35%, transparent); }
.pp-track-result.is-missing { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.pp-track-result strong { font-size: 15px; }
.pp-track-result small { color: var(--pp-muted); }
.pp-track-link { margin-top: 4px; min-height: 40px; border: 1px solid var(--pp-brand); border-radius: 9px; background: #fff; color: var(--pp-brand); font-weight: 800; font-family: var(--pp-font); cursor: pointer; }
.pp-track-link:hover { background: var(--pp-brand-soft); }
