/*
Theme Name: Prime Formatura P08
Theme URI: https://primeformatura.com.br/
Description: Tema filho Astra para o website público Prime Formatura.
Author: Emanuel / CODEX B550
Template: astra
Version: 0.1.3
Text Domain: prime-formatura-p08
*/

:root {
  --pf-ink: #17172a;
  --pf-muted: #646477;
  --pf-paper: #fbfaf7;
  --pf-violet: #6f3ff5;
  --pf-violet-dark: #4a24bf;
  --pf-gold: #d8a84e;
  --pf-line: rgba(23, 23, 42, .12);
  --pf-white: #fff;
  --pf-shadow: 0 24px 70px rgba(28, 20, 57, .14);
  --pf-radius: 28px;
}

html { scroll-behavior: smooth; }
body { margin: 0; background: var(--pf-paper); color: var(--pf-ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
body.pf-menu-open { overflow: hidden; }
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; }
.pf-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.pf-skip { position: fixed; left: 12px; top: -80px; z-index: 9999; padding: 12px 18px; background: var(--pf-white); border-radius: 12px; }
.pf-skip:focus { top: 12px; }

.pf-header { position: absolute; inset: 0 0 auto; z-index: 20; padding: 24px 0; color: var(--pf-white); }
.pf-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.pf-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.pf-brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.6); border-radius: 50%; color: var(--pf-gold); font-family: Georgia, serif; font-size: 21px; }
.pf-links { display: flex; align-items: center; gap: 30px; }
.pf-links a { text-decoration: none; font-size: 14px; font-weight: 650; }
.pf-links a:hover, .pf-links a:focus-visible { color: #e8ce92; }
.pf-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.45); color: var(--pf-white); background: rgba(255,255,255,.08); padding: 10px 13px; border-radius: 12px; }

.pf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; cursor: pointer; }
.pf-btn:hover { transform: translateY(-2px); }
.pf-btn-primary { color: var(--pf-white); background: var(--pf-violet); box-shadow: 0 14px 32px rgba(111,63,245,.32); }
.pf-btn-primary:hover { background: var(--pf-violet-dark); }
.pf-btn-light { color: var(--pf-ink); background: var(--pf-white); }
.pf-btn-ghost { color: var(--pf-white); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }

.pf-hero { position: relative; min-height: 760px; display: grid; align-items: end; color: var(--pf-white); overflow: hidden; background: #171526; }
.pf-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,11,26,.94) 0%, rgba(13,11,26,.74) 43%, rgba(13,11,26,.18) 74%), var(--pf-hero) center 32% / cover no-repeat; transform: scale(1.01); }
.pf-hero::after { content: ""; position: absolute; inset: auto -5% -170px 45%; height: 390px; border: 1px solid rgba(216,168,78,.38); border-radius: 50%; transform: rotate(-8deg); }
.pf-hero-inner { position: relative; z-index: 2; padding: 180px 0 100px; }
.pf-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #ead39e; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.pf-kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.pf-hero h1 { max-width: 810px; margin: 0; color: var(--pf-white); font-family: Georgia, 'Times New Roman', serif; font-size: clamp(50px, 7.3vw, 98px); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.pf-hero h1 em { color: #e4c77f; font-weight: inherit; }
.pf-hero-copy { max-width: 650px; margin: 28px 0 0; color: rgba(255,255,255,.82); font-size: clamp(17px, 2vw, 20px); line-height: 1.7; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pf-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.78); font-size: 13px; }
.pf-proof span { display: inline-flex; align-items: center; gap: 8px; }
.pf-proof span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pf-gold); }

.pf-section { padding: 108px 0; }
.pf-section-soft { background: #f2efe8; }
.pf-eyebrow { margin: 0 0 16px; color: var(--pf-violet); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.pf-title { max-width: 770px; margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 5vw, 64px); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.pf-intro { max-width: 720px; margin: 22px 0 0; color: var(--pf-muted); font-size: 18px; line-height: 1.75; }

.pf-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 48px; }
.pf-path { position: relative; min-height: 390px; padding: 38px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--pf-white); border-radius: var(--pf-radius); overflow: hidden; box-shadow: var(--pf-shadow); }
.pf-path::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,15,31,.05), rgba(16,15,31,.88)), var(--pf-img) center / cover no-repeat; transition: transform .55s ease; }
.pf-path:hover::before { transform: scale(1.035); }
.pf-path > * { position: relative; z-index: 1; }
.pf-path small { color: #ead39e; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.pf-path h3 { margin: 12px 0 10px; color: var(--pf-white); font-family: Georgia, serif; font-size: 38px; font-weight: 500; }
.pf-path p { max-width: 520px; margin: 0 0 24px; color: rgba(255,255,255,.82); line-height: 1.65; }
.pf-inline { font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.pf-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.pf-service { padding: 30px 26px; border: 1px solid var(--pf-line); border-radius: 22px; background: var(--pf-white); }
.pf-service-num { color: var(--pf-gold); font-family: Georgia, serif; font-size: 26px; }
.pf-service h3 { margin: 28px 0 10px; font-size: 20px; }
.pf-service p { margin: 0; color: var(--pf-muted); line-height: 1.65; }

.pf-gallery { display: grid; grid-template-columns: 1.25fr .8fr .8fr; grid-template-rows: 290px 290px; gap: 14px; margin-top: 48px; }
.pf-shot { margin: 0; min-height: 0; border-radius: 22px; overflow: hidden; background: #ddd; }
.pf-shot:first-child { grid-row: 1 / 3; }
.pf-shot:nth-child(4) { grid-column: 2 / 4; }
.pf-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pf-shot:hover img { transform: scale(1.035); }

.pf-process { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; align-items: start; }
.pf-steps { display: grid; gap: 0; }
.pf-step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--pf-line); }
.pf-step span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: var(--pf-violet); background: rgba(111,63,245,.09); font-weight: 850; }
.pf-step h3 { margin: 2px 0 7px; font-size: 20px; }
.pf-step p { margin: 0; color: var(--pf-muted); line-height: 1.65; }

.pf-contact { position: relative; overflow: hidden; padding: 90px 0; color: var(--pf-white); background: #171526; }
.pf-contact::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(111,63,245,.55), transparent 68%); }
.pf-contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.pf-contact .pf-title { color: var(--pf-white); }
.pf-contact .pf-intro { color: rgba(255,255,255,.72); }
.pf-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 30px; background: var(--pf-white); border-radius: var(--pf-radius); box-shadow: var(--pf-shadow); }
.pf-field { display: grid; gap: 8px; }
.pf-field-full { grid-column: 1 / -1; }
.pf-field label { color: var(--pf-ink); font-size: 13px; font-weight: 750; }
.pf-field input, .pf-field select, .pf-field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #d8d5df; border-radius: 12px; background: #fff; color: var(--pf-ink); font: inherit; }
.pf-field textarea { min-height: 104px; resize: vertical; }
.pf-field input:focus, .pf-field select:focus, .pf-field textarea:focus { outline: 3px solid rgba(111,63,245,.18); border-color: var(--pf-violet); }
.pf-honeypot { position: absolute !important; left: -10000px !important; }
.pf-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 12px; color: #174d35; background: #e4f5eb; }
.pf-disclaimer { grid-column: 1 / -1; margin: 0; color: var(--pf-muted); font-size: 12px; line-height: 1.55; }

.pf-footer { padding: 34px 0; color: rgba(255,255,255,.66); background: #0f0e1b; font-size: 13px; }
.pf-footer-inner { display: flex; justify-content: space-between; gap: 24px; }

@media (max-width: 900px) {
  .pf-links { position: fixed; inset: 0; padding: 110px 32px 40px; display: none; flex-direction: column; align-items: flex-start; background: rgba(15,14,27,.98); }
  .pf-links.is-open { display: flex; }
  .pf-links a { font-size: 22px; }
  .pf-menu-toggle { display: inline-flex; z-index: 2; }
  .pf-paths, .pf-contact-grid, .pf-process { grid-template-columns: 1fr; }
  .pf-services { grid-template-columns: repeat(2, 1fr); }
  .pf-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 300px); }
  .pf-shot:first-child { grid-row: 1 / 3; }
  .pf-shot:nth-child(4) { grid-column: 1 / 3; }
}

@media (max-width: 620px) {
  .pf-shell { width: min(100% - 28px, 1180px); }
  .pf-header { padding-top: 18px; }
  .pf-brand span:last-child { font-size: 14px; }
  .pf-hero { min-height: 720px; }
  .pf-hero::before { background: linear-gradient(180deg, rgba(13,11,26,.5), rgba(13,11,26,.92) 66%), var(--pf-hero) 56% center / cover no-repeat; }
  .pf-hero-inner { padding: 140px 0 66px; }
  .pf-hero h1 { font-size: clamp(46px, 15vw, 68px); }
  .pf-section { padding: 78px 0; }
  .pf-paths, .pf-services { grid-template-columns: 1fr; }
  .pf-path { min-height: 360px; padding: 28px; }
  .pf-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(4, 360px); }
  .pf-shot:first-child, .pf-shot:nth-child(4) { grid-column: auto; grid-row: auto; }
  .pf-contact-grid { gap: 38px; }
  .pf-form { grid-template-columns: 1fr; padding: 22px; }
  .pf-field-full { grid-column: auto; }
  .pf-footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
