/*
Theme Name: Prime Serv Brasil
Theme URI: https://primeservbrasil.com.br
Author: Prime Serv Brasil
Description: Tema institucional para a Prime Serv Brasil.
Version: 1.1.3
Text Domain: prime-serv-brasil
*/

:root {
  --navy: #071a33;
  --navy-2: #0b284b;
  --green: #12b83e;
  --green-dark: #0b8f2f;
  --gold: #d9a928;
  --ink: #10233c;
  --muted: #5b6b7e;
  --line: #dfe7ef;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(7, 26, 51, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.ps-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.ps-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ps-kicker::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: var(--gold); }
.ps-section { padding: 96px 0; }
.ps-section--soft { background: var(--soft); }
.ps-section-title { margin: 13px 0 16px; max-width: 760px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; }
.ps-section-lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.ps-btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ps-btn:hover { transform: translateY(-2px); }
.ps-btn--primary { color: var(--white); background: var(--green); box-shadow: 0 14px 30px rgba(18, 184, 62, .25); }
.ps-btn--primary:hover { background: var(--green-dark); }
.ps-btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .34); background: rgba(255,255,255,.05); }
.ps-btn--light { color: var(--navy); border-color: var(--line); background: var(--white); }

.ps-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(7, 26, 51, .08); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.admin-bar .ps-header { top: 32px; }
.ps-header__inner { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 28px; }
.ps-brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.025em; }
.ps-brand img { width: 92px; height: 58px; padding: 4px; border-radius: 13px; object-fit: contain; background: var(--navy); box-shadow: 0 8px 20px rgba(7,26,51,.18); }
.ps-brand span { font-size: 1.06rem; }
.ps-nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; font-weight: 700; }
.ps-nav a:not(.ps-btn):hover { color: var(--green-dark); }
.ps-menu-toggle { display: none; border: 0; background: none; padding: 9px; color: var(--navy); font-size: 1.5rem; }

.ps-hero { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.ps-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 24%, rgba(18,184,62,.22), transparent 33%), linear-gradient(110deg, transparent 35%, rgba(255,255,255,.035)); }
.ps-hero__inner { position: relative; display: grid; min-height: 690px; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding: 90px 0; }
.ps-hero .ps-kicker { color: #78e895; }
.ps-hero h1 { margin: 20px 0 24px; max-width: 670px; font-size: clamp(2.8rem, 6vw, 5.25rem); line-height: .99; letter-spacing: -.055em; }
.ps-hero h1 em { color: #78e895; font-style: normal; }
.ps-hero__copy > p { max-width: 610px; margin: 0 0 32px; color: #d2dceb; font-size: 1.16rem; }
.ps-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ps-hero__fine { display: flex; align-items: center; gap: 10px; margin-top: 27px; color: #aebdce; font-size: .88rem; }
.ps-hero__fine strong { color: var(--white); }
.ps-hero-person { position: relative; align-self: end; min-height: 600px; isolation: isolate; }
.ps-hero-person__halo { position: absolute; z-index: -1; width: 470px; height: 470px; right: -35px; bottom: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(18,184,62,.28), rgba(18,184,62,.07) 48%, transparent 69%); }
.ps-hero-person > img { position: absolute; z-index: 1; width: 870px; max-width: none; right: -70px; bottom: -90px; filter: drop-shadow(0 28px 38px rgba(0,0,0,.28)); }
.ps-hero-person__caption { position: absolute; z-index: 3; right: 0; bottom: 30px; min-width: 265px; padding: 16px 19px; border: 1px solid rgba(255,255,255,.18); border-radius: 16px; color: white; background: rgba(7,26,51,.86); box-shadow: 0 18px 35px rgba(0,0,0,.2); backdrop-filter: blur(12px); }
.ps-hero-person__caption::before { content: ""; position: absolute; width: 4px; left: 0; top: 15px; bottom: 15px; border-radius: 0 5px 5px 0; background: var(--gold); }
.ps-hero-person__caption strong, .ps-hero-person__caption span { display: block; }
.ps-hero-person__caption strong { font-size: 1.04rem; }
.ps-hero-person__caption span { margin-top: 2px; color: #c8d4e3; font-size: .8rem; }
.ps-visual { position: relative; min-height: 470px; }
.ps-visual__orb { position: absolute; width: 410px; height: 410px; top: 25px; right: -30px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.01)); }
.ps-visual__card { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.ps-visual__card--main { width: 330px; top: 80px; right: 25px; padding: 28px; background: rgba(255,255,255,.95); color: var(--navy); transform: rotate(-3deg); }
.ps-visual__card--main img { width: 148px; height: 100px; margin-bottom: 24px; padding: 5px; border-radius: 20px; object-fit: contain; background: var(--navy); }
.ps-visual__label { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ps-visual__line { width: 72%; height: 12px; margin-top: 12px; border-radius: 99px; background: #e5ebf2; }
.ps-visual__line + .ps-visual__line { width: 52%; }
.ps-visual__status { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: var(--green-dark); font-weight: 800; }
.ps-visual__status::before { content: "✓"; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: white; background: var(--green); }
.ps-visual__card--mini { left: 15px; bottom: 60px; padding: 19px 22px; background: var(--green); transform: rotate(4deg); }
.ps-visual__card--mini strong { display: block; font-size: 1.1rem; }
.ps-visual__card--mini span { color: rgba(255,255,255,.82); font-size: .84rem; }

.ps-trust { position: relative; z-index: 2; margin-top: -36px; }
.ps-trust__inner { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 20px; background: var(--white); box-shadow: var(--shadow); }
.ps-trust__item { display: flex; align-items: center; gap: 16px; padding: 28px 30px; }
.ps-trust__item + .ps-trust__item { border-left: 1px solid var(--line); }
.ps-icon { display: grid; flex: 0 0 auto; width: 48px; height: 48px; place-items: center; border-radius: 14px; color: var(--green-dark); background: #e8f8ed; font-size: 1.35rem; }
.ps-trust__item strong { display: block; font-size: .98rem; }
.ps-trust__item span { color: var(--muted); font-size: .86rem; }

.ps-movement { overflow: hidden; background: var(--white); }
.ps-movement__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 76px; }
.ps-movement__media { position: relative; margin: 0; overflow: hidden; border-radius: 30px; background: var(--navy); box-shadow: var(--shadow); }
.ps-movement__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(7,26,51,.76)); }
.ps-movement__media img { width: 100%; min-height: 500px; object-fit: cover; object-position: 45% center; }
.ps-movement__media figcaption { position: absolute; z-index: 2; left: 28px; bottom: 24px; color: white; font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ps-movement__lead { margin: 0 0 24px; color: var(--muted); font-size: 1.08rem; }
.ps-movement__copy > p:not(.ps-movement__lead) { color: var(--muted); }
.ps-movement__statement { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 26px 0; padding: 22px 24px; border-left: 4px solid var(--green); border-radius: 0 16px 16px 0; background: var(--soft); }
.ps-movement__statement > span { color: var(--gold); font-family: Georgia, serif; font-size: 3rem; line-height: .8; }
.ps-movement__statement p { margin: 0; color: var(--ink); font-size: 1.04rem; font-weight: 800; line-height: 1.5; }
.ps-link-arrow { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; color: var(--green-dark); font-weight: 900; }
.ps-link-arrow:hover { gap: 14px; }

.ps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.ps-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.ps-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.ps-card h3 { margin: 22px 0 11px; font-size: 1.35rem; }
.ps-card p { margin: 0; color: var(--muted); }
.ps-card__arrow { display: inline-block; margin-top: 22px; color: var(--green-dark); font-weight: 900; }

.ps-audience { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 80px; }
.ps-audience__panel { position: relative; min-height: 520px; overflow: hidden; border-radius: 30px; background: linear-gradient(145deg, var(--navy-2), var(--navy)); box-shadow: var(--shadow); }
.ps-audience__panel::before { content: ""; position: absolute; width: 360px; height: 360px; right: -70px; bottom: -90px; border-radius: 50%; background: var(--green); opacity: .22; }
.ps-audience__panel-inner { position: relative; display: flex; height: 100%; min-height: 520px; flex-direction: column; justify-content: flex-end; padding: 44px; color: white; }
.ps-audience__mark { width: 165px; height: 112px; margin-bottom: auto; padding: 5px; border-radius: 20px; object-fit: contain; background: var(--navy); }
.ps-audience__panel h3 { margin: 0 0 10px; font-size: 2.1rem; line-height: 1.1; }
.ps-audience__panel p { margin: 0; color: #c8d4e3; }
.ps-list { display: grid; gap: 17px; margin: 34px 0 0; padding: 0; list-style: none; }
.ps-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.ps-list li::before { content: "✓"; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--green-dark); background: #e8f8ed; font-weight: 900; }
.ps-list strong { display: block; margin-bottom: 3px; }
.ps-list span { color: var(--muted); font-size: .95rem; }

.ps-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 54px; }
.ps-step { position: relative; padding: 0 34px 0 0; }
.ps-step + .ps-step { padding-left: 34px; border-left: 1px solid var(--line); }
.ps-step__number { color: var(--green); font-size: 3.6rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; }
.ps-step h3 { margin: 20px 0 9px; }
.ps-step p { margin: 0; color: var(--muted); }

.ps-security { position: relative; overflow: hidden; color: white; background: var(--navy); }
.ps-security::after { content: ""; position: absolute; width: 440px; height: 440px; right: -120px; top: -170px; border: 80px solid rgba(18,184,62,.12); border-radius: 50%; }
.ps-security__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ps-security .ps-section-title { color: white; }
.ps-security .ps-section-lead { color: #c8d4e3; }
.ps-security__box { padding: 38px; border: 1px solid rgba(255,255,255,.13); border-radius: 24px; background: rgba(255,255,255,.06); }
.ps-security__box h3 { margin: 0 0 18px; font-size: 1.35rem; }
.ps-security__box ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; color: #d6dfeb; }
.ps-security__box li { padding-left: 28px; position: relative; }
.ps-security__box li::before { content: "✓"; position: absolute; left: 0; color: #78e895; font-weight: 900; }

.ps-faq { max-width: 850px; margin: 45px auto 0; }
.ps-faq details { border-bottom: 1px solid var(--line); }
.ps-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-weight: 800; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; color: var(--green-dark); font-size: 1.4rem; }
.ps-faq details[open] summary::after { content: "−"; }
.ps-faq p { margin: -6px 0 24px; color: var(--muted); }

.ps-cta { padding: 78px 0; background: var(--soft); }
.ps-cta__box { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: 54px 58px; border-radius: 28px; color: white; background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: var(--shadow); }
.ps-cta h2 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.035em; }
.ps-cta p { max-width: 670px; margin: 0; color: #c8d4e3; }
.ps-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.ps-footer { color: #c2cfdd; background: #041327; }
.ps-footer__top { display: grid; grid-template-columns: 1.25fr .75fr .9fr; gap: 70px; padding: 65px 0 48px; }
.ps-footer .ps-brand { color: white; }
.ps-footer__about { max-width: 420px; margin: 20px 0 0; font-size: .92rem; }
.ps-footer h3 { margin: 0 0 17px; color: white; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.ps-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ps-footer a:hover { color: white; }
.ps-footer__bottom { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; }

@media (max-width: 940px) {
  .ps-nav { display: none; }
  .ps-menu-toggle { display: block; }
  .ps-nav.is-open { position: absolute; display: grid; top: 82px; left: 0; right: 0; gap: 0; padding: 14px 20px 22px; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 16px 30px rgba(7,26,51,.1); }
  .ps-nav.is-open a { padding: 12px; }
  .ps-hero__inner, .ps-movement__inner, .ps-audience, .ps-security__inner { grid-template-columns: 1fr; }
  .ps-hero__inner { gap: 20px; }
  .ps-hero-person { min-height: 520px; }
  .ps-hero-person > img { width: 820px; right: -50px; }
  .ps-movement__inner { gap: 46px; }
  .ps-visual { min-height: 430px; }
  .ps-grid { grid-template-columns: 1fr 1fr; }
  .ps-trust__inner { grid-template-columns: 1fr; }
  .ps-trust__item + .ps-trust__item { border-left: 0; border-top: 1px solid var(--line); }
  .ps-footer__top { grid-template-columns: 1fr 1fr; }
  .ps-footer__brand { grid-column: 1 / -1; }
  .ps-cta__box { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .admin-bar .ps-header { top: 46px; }
  .ps-container { width: min(100% - 28px, 1160px); }
  .ps-section { padding: 72px 0; }
  .ps-header__inner { min-height: 72px; }
  .ps-brand img { width: 76px; height: 48px; }
  .ps-brand span { font-size: .94rem; }
  .ps-nav.is-open { top: 72px; }
  .ps-hero__inner { min-height: auto; padding: 72px 0 42px; }
  .ps-hero h1 { font-size: 3rem; }
  .ps-hero-person { min-height: 420px; }
  .ps-hero-person__halo { width: 340px; height: 340px; right: -65px; bottom: 10px; }
  .ps-hero-person > img { width: 650px; right: -80px; bottom: -56px; }
  .ps-hero-person__caption { right: 0; bottom: 14px; min-width: 235px; }
  .ps-visual { min-height: 380px; }
  .ps-visual__orb { width: 330px; height: 330px; right: -90px; }
  .ps-visual__card--main { width: 275px; right: 10px; padding: 23px; }
  .ps-visual__card--mini { left: 0; bottom: 34px; }
  .ps-grid, .ps-steps, .ps-footer__top { grid-template-columns: 1fr; }
  .ps-card { padding: 28px; }
  .ps-audience { gap: 44px; }
  .ps-movement__media img { min-height: 390px; }
  .ps-audience__panel, .ps-audience__panel-inner { min-height: 430px; }
  .ps-audience__panel-inner { padding: 30px; }
  .ps-step, .ps-step + .ps-step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .ps-step:first-child { padding-top: 0; }
  .ps-step:last-child { border-bottom: 0; }
  .ps-security__inner { gap: 45px; }
  .ps-cta__box { padding: 38px 28px; }
  .ps-footer__brand { grid-column: auto; }
  .ps-footer__bottom { flex-direction: column; }
}
