/* PER POPULUM — Website institucional / primeira implementação responsiva */
:root {
  --ink: #181918;
  --ink-soft: #555851;
  --muted: #767a72;
  --paper: #f7f7f4;
  --white: #fff;
  --line: #d9dcd5;
  --surface: #eeefea;
  --dark: #202320;
  --green: #25c26a;
  --green-hover: #16aa57;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Segoe UI', Helvetica, Arial, sans-serif;
  --container: 1240px;
  --header-height: 82px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 14px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, input { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #278a54; outline-offset: 4px; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; }
.container { width: min(calc(100% - 100px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: -80px; left: 20px; padding: 12px 16px; background: #fff; color: #000; }
.skip-link:focus { top: 12px; }

/* Cabeçalho fixo e navegação */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,247,244,.97); border-bottom: 1px solid rgba(28,32,28,.1); backdrop-filter: blur(16px); }
.header-inner { height: var(--header-height); display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; text-decoration: none; }
.brand img { width: 39px; height: 39px; }
.brand span { font-family: var(--serif); font-size: 21px; font-weight: bold; letter-spacing: -.035em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(16px,2.4vw,34px); }
.nav-link { text-decoration: none; font-size: 13px; font-weight: 600; color: #41443e; position: relative; padding: 8px 0; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 100%; height: 1px; bottom: 1px; background: var(--ink); transition: right .2s ease; }
.nav-link:hover::after, .nav-link[aria-current='page']::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 19px; height: 1.7px; border-radius: 3px; background: var(--ink); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(6.7px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-6.7px) rotate(-45deg); }
.mobile-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); padding: 18px max(24px,calc((100% - var(--container))/2)) 30px; box-shadow: 0 20px 30px #00000012; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; border-bottom: 1px solid var(--line); padding: 18px 0; font-size: 18px; font-weight: 600; text-decoration: none; }
.mobile-nav a[aria-current='page'] { text-decoration: underline; text-underline-offset: 5px; }
.mobile-nav p { margin: 20px 0 0; font-size: 13px; color: var(--muted); }

/* Tipografia e elementos compartilhados */
.eyebrow { margin: 0; display: flex; align-items: center; gap: 11px; font-size: 11px; font-weight: 700; letter-spacing: .15em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-light { color: #d1d5ce; }
.eyebrow-line { width: 26px; height: 1px; background: currentColor; }
.eyebrow-separator { color: #9a9e97; font-weight: 400; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: -.05em; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
.section { padding: clamp(86px, 10vw, 156px) 0; }
.section h2 { font-size: clamp(42px, 5.3vw, 77px); line-height: 1.05; font-weight: 700; }
.button { display: inline-flex; gap: 24px; align-items: center; justify-content: space-between; width: fit-content; min-height: 55px; padding: 15px 22px; border: 1px solid transparent; border-radius: 9px; text-decoration: none; font-size: 14px; font-weight: 700; transition: background-color .2s ease, transform .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-community { background: var(--green); color: #0c2717; }
.button-community:hover { background: var(--green-hover); }
.button-secondary { background: #fff; border-color: #d7d9d3; color: var(--ink); }
.button-secondary:hover { border-color: #8e958b; background: #f9f9f7; }
.photo-placeholder { position: relative; isolation: isolate; overflow: hidden; background: #9c9f9a; }

/* Capa */
.hero { display: grid; grid-template-columns: 53% 47%; min-height: min(750px, calc(100svh - var(--header-height))); background: var(--dark); }
.hero-copy { display: flex; align-items: center; padding: 80px 6vw 55px max(50px, calc((100vw - var(--container)) / 2)); color: #fff; }
.hero-copy-inner { width: min(100%, 650px); }
.hero h1 { margin: 38px 0 20px; font-size: clamp(62px, 6.9vw, 108px); line-height: .99; font-weight: 750; }
.hero h1 em { color: #d7d9d3; }
.hero-lead { font-size: clamp(21px, 2.2vw, 29px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 18px; }
.hero-description { color: #d0d4cd; font-size: 16px; line-height: 1.75; max-width: 465px; margin-bottom: 34px; }
.hero-bottom { margin-top: 72px; display: flex; gap: 22px; flex-wrap: wrap; color: #9da39a; font-size: 10px; letter-spacing: .15em; font-weight: 600; }
.hero-image { min-height: 620px; background: radial-gradient(ellipse at 55% 20%, #b1b3ae 0, transparent 50%), linear-gradient(145deg,#777c77,#414541 75%); }
.hero-image::before { content: ''; position: absolute; z-index: -1; left: 13%; bottom: -10%; width: 32%; height: 88%; background: #666c66; transform: skew(-12deg); box-shadow: 170px -80px 0 -50px #737872, 270px -10px 0 -80px #8a8d87; opacity: .65; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#161a16bb,transparent 56%); }
.photo-grid { position: absolute; inset: 0; opacity: .13; background: linear-gradient(90deg,transparent calc(100% - 1px),#fff 0),linear-gradient(0deg,transparent calc(100% - 1px),#fff 0); background-size: 24% 25%; }
.photo-label { position: absolute; z-index: 1; left: 9%; right: 8%; bottom: 11%; color: #fff; }
.photo-label span { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: #d3d7d1; }
.photo-label strong { display: block; margin-top: 18px; max-width: 400px; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(29px, 3.5vw, 49px); line-height: 1.1; }
.photo-label small { display: block; margin-top: 15px; color: #d3d7d1; font-size: 12px; }
.photo-corner { position: absolute; z-index: 1; top: 30px; right: 34px; font-size: 11px; letter-spacing: .12em; color: #e2e4e0; }

/* Quem somos */
.about-section { background: #f7f7f4; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(45px,9vw,145px); }
.section-heading h2 { max-width: 750px; margin: 35px 0 0; }
.about-copy { padding-top: 55px; }
.about-copy p { max-width: 480px; font-size: 17px; line-height: 1.9; color: var(--ink-soft); }
.about-copy .intro { font-size: 22px; line-height: 1.55; font-weight: 550; color: #252824; letter-spacing: -.02em; margin-bottom: 23px; }
.about-signature { margin-top: 42px; display: flex; align-items: center; gap: 17px; font-size: 12px; color: var(--muted); }
.about-signature .line { width: 37px; height: 1px; background: #888c84; }

/* Equipe */
.team-section { background: #edeee9; }
.section-topline { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; }
.section-aside { font-size: 13px; color: #757a71; }
.section-title { margin: 32px 0 56px; max-width: 950px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.person-card { background: #f8f8f5; display: grid; grid-template-columns: 46% 54%; min-height: 360px; border: 1px solid #dfe1db; }
.person-photo { min-height: 360px; background: linear-gradient(145deg,#babdb6,#888d86); display: flex; flex-direction: column; justify-content: space-between; padding: 25px; }
.person-card:nth-child(2) .person-photo { background: linear-gradient(145deg,#b6b9b3,#7d827b); }
.portrait-mark { font-family: var(--serif); font-size: 46px; font-style: italic; color: #ffffffb0; }
.placeholder-caption { font-size: 12px; line-height: 1.6; color: #fff; }
.person-info { display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; }
.person-kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #777c73; line-height: 1.6; }
.person-info h3 { font-size: clamp(24px,2.2vw,32px); letter-spacing: -.04em; margin: 8px 0 15px; }
.person-info > p:last-child { font-size: 14px; color: #666a63; line-height: 1.75; margin: 0; }

/* Ações e eventos */
.actions-section { background: #f7f7f4; }
.actions-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(55px,9vw,140px); align-items: center; }
.actions-visual { min-height: 510px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; background: linear-gradient(140deg,#b7bab3,#757b73); }
.visual-index { font-size: 11px; letter-spacing: .16em; font-weight: 700; color: #fff; }
.actions-placeholder-type { font-weight: 850; font-stretch: condensed; letter-spacing: -.07em; font-size: clamp(50px,5.6vw,90px); line-height: .9; color: #ffffff50; }
.actions-copy h2 { margin: 30px 0 28px; }
.actions-copy p:not(.eyebrow) { font-size: 17px; line-height: 1.8; color: var(--ink-soft); max-width: 490px; }
.actions-copy .button { margin-top: 28px; }

/* Participação e contato */
.participate-section { background: #222722; color: #fff; }
.participate-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 10vw; align-items: center; }
.participate-grid h2 { margin: 30px 0 0; }
.participate-grid h2 em { color: #d1d7cd; }
.participate-copy p { font-size: 18px; line-height: 1.8; color: #d1d5ce; margin-bottom: 34px; }
.micro-note { display: block; max-width: 370px; font-size: 11px; line-height: 1.6; color: #a5ada3; margin-top: 19px; }
.contact-section { padding-block: 115px; }
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 9vw; }
.contact-grid h2 { margin: 30px 0 0; }
.contact-details > p { color: var(--ink-soft); font-size: 17px; line-height: 1.8; max-width: 430px; margin-bottom: 30px; }
.contact-item { border-top: 1px solid var(--line); padding: 18px 0; display: flex; justify-content: space-between; gap: 15px; font-size: 13px; }
.contact-item span { color: var(--muted); }
.contact-item strong { font-weight: 600; }
.contact-item a { text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Rodapé */
.site-footer { background: #e5e7e1; border-top: 1px solid #d6d9d1; }
.footer-main { display: grid; grid-template-columns: 2.1fr 1fr .95fr 1.15fr; gap: 45px; padding-block: 76px 62px; }
.footer-brand img { width: 200px; height: auto; max-height: 105px; object-fit: contain; object-position: left; }
.footer-brand p { font-size: 13px; color: #747970; margin-top: 25px; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-col h2 { font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.footer-col a, .footer-col span:not(.social-placeholder) { font-size: 13px; text-decoration: none; color: #4d514b; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col > span { color: #9b9f98 !important; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social-links .social-placeholder { font-size: 12px; color: #8b9088; line-height: 1.6; }
.social-icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #c9cec5; border-radius: 8px; background: #f2f3ef; }
.social-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-bottom { border-top: 1px solid #cfd3ca; min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #73786f; font-size: 11px; }
.footer-bottom a { color: inherit; }

/* Botão WhatsApp, modal */
.whatsapp-float { position: fixed; right: 26px; bottom: 28px; z-index: 45; display: grid; place-items: center; width: 60px; height: 60px; background: #20b962; color: white; border-radius: 50%; box-shadow: 0 8px 26px #00000036; transition: transform .2s, background-color .2s; }
.whatsapp-float:hover { transform: translateY(-4px); background: #16a957; }
.whatsapp-float svg { width: 33px; height: 33px; }
.site-dialog { width: min(calc(100% - 36px),440px); padding: 38px; border: 1px solid #d2d6cf; border-radius: 14px; background: var(--paper); box-shadow: 0 20px 90px #0005; }
.site-dialog::backdrop { background: #0c100c9c; }
.site-dialog h2 { font-size: 34px; letter-spacing: -.04em; margin: 24px 0 12px; }
.site-dialog > p:not(.eyebrow) { font-size: 15px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 26px; }
.dialog-close { position: absolute; top: 13px; right: 17px; border: 0; background: none; font-size: 30px; }

/* Ações e Eventos: página e cartões */
.page-hero { position: relative; background: #232823; color: #fff; padding: 120px 0 130px; overflow: hidden; }
.page-hero::after { content: 'PP'; position: absolute; right: -10px; top: -160px; font-family: var(--serif); font-size: min(48vw,670px); font-weight: bold; color: #ffffff08; pointer-events: none; line-height: 1; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(56px,7.2vw,105px); line-height: 1.02; max-width: 1100px; margin: 36px 0 24px; }
.page-hero h1 em { color: #d6dad3; }
.page-hero .container > p:last-child { font-size: 18px; line-height: 1.7; color: #c6cdc3; max-width: 620px; }
.page-hero-index { position: absolute; right: 5%; bottom: 30px; color: #9fa79c; font-size: 10px; letter-spacing: .15em; }
.listing-section { min-height: 510px; }
.listing-header { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 46px; }
.listing-header h2 { font-size: clamp(36px,4vw,58px); margin: 18px 0 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-button { border: 1px solid #d3d7ce; background: #fff; padding: 12px 17px; border-radius: 30px; font-size: 13px; color: #5c6259; }
.filter-button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.events-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.empty-events { grid-column: 1/-1; padding: 74px 30px; text-align: center; border: 1px solid #d6dad2; background: #eeefeb; }
.empty-events .empty-mark { font-family: var(--serif); font-size: 60px; color: #a0a59c; line-height: 1; margin-bottom: 22px; }
.empty-events h3 { font-size: 25px; margin-bottom: 12px; letter-spacing: -.03em; }
.empty-events p { max-width: 530px; margin: auto; color: #676d64; line-height: 1.8; font-size: 15px; }
.event-card { border: 1px solid #d8dcd4; background: #fff; overflow: hidden; }
.event-card-media { height: 225px; display: grid; place-items: center; background: #c0c4bd; color: #656b62; font-size: 11px; letter-spacing: .15em; }
.event-card-media img { width: 100%; height: 100%; object-fit: cover; }
.event-card-content { padding: 26px; }
.event-card-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 11px; color: #757b72; }
.event-card h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.04em; margin: 18px 0 14px; }
.event-card p { font-size: 14px; line-height: 1.7; color: #60675e; }
.event-card a { display: inline-flex; margin-top: 15px; font-weight: 700; font-size: 13px; text-underline-offset: 5px; }
.mini-cta { background: #2b312b; color: #fff; padding: 72px 0; }
.mini-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.mini-cta h2 { font-size: clamp(30px,4vw,54px); margin: 18px 0 0; letter-spacing: -.05em; }
.footer-main-compact { grid-template-columns: 2fr 1fr 1.2fr; }
.event-detail-section { min-height: 65vh; }
.event-detail-container { max-width: 830px; }
.back-link { display: inline-block; margin-bottom: 60px; font-size: 13px; font-weight: 650; text-underline-offset: 4px; }
.event-detail-container h1 { font-size: clamp(48px,6vw,80px); line-height: 1.05; }
.event-detail-container .event-detail-meta { color: #72786e; font-size: 13px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.event-detail-container .event-detail-lead { font-size: 23px; line-height: 1.55; margin: 40px 0; }
.event-detail-container .event-detail-content p { font-size: 17px; line-height: 1.95; color: #444a43; margin-bottom: 25px; }
.event-detail-image { width: 100%; max-height: 510px; object-fit: cover; margin: 30px 0 40px; }

@media (max-width: 1100px) {
  .container { width: min(calc(100% - 64px),var(--container)); }
  .hero-copy { padding-left: 42px; padding-right: 35px; }
  .hero h1 { font-size: clamp(56px,6.7vw,82px); }
  .hero-bottom { margin-top: 48px; gap: 14px; }
  .about-grid, .actions-grid { gap: 65px; }
  .person-card { grid-template-columns: 43% 57%; }
  .person-info { padding: 23px; }
  .footer-main { gap: 24px; }
}
@media (max-width: 900px) {
  :root { --header-height: 72px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .hero-copy { padding: 65px 28px 45px 32px; }
  .hero h1 { font-size: clamp(52px,7vw,75px); }
  .hero-image { min-height: 620px; }
  .hero-bottom { display: none; }
  .about-grid, .actions-grid { gap: 35px; }
  .team-grid { gap: 15px; }
  .person-card { grid-template-columns: 1fr; }
  .person-photo { min-height: 230px; }
  .person-info { min-height: 175px; }
  .participate-grid { gap: 35px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:last-child { grid-column: 2 / 4; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 48px); }
  .section { padding-block: 78px; }
  .section h2 { font-size: clamp(39px,8.4vw,55px); }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { order: 2; padding: 60px 24px 72px; }
  .hero-copy-inner { width: 100%; }
  .hero-image { order: 1; min-height: 290px; max-height: 370px; }
  .hero h1 { margin-top: 25px; font-size: clamp(54px,11vw,78px); }
  .hero-lead { font-size: 23px; }
  .hero-description { font-size: 15px; }
  .photo-label { left: 24px; bottom: 25px; }
  .photo-label strong { font-size: 29px; margin-top: 9px; }
  .photo-label small { margin-top: 9px; }
  .photo-corner { top: 22px; right: 24px; }
  .about-grid, .actions-grid, .participate-grid, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-heading h2 { margin-top: 23px; }
  .about-copy { padding-top: 0; }
  .about-copy .intro { font-size: 20px; }
  .about-copy p { font-size: 16px; }
  .section-topline { display: block; }
  .section-aside { margin: 16px 0 0; }
  .section-title { margin: 24px 0 36px; }
  .team-grid { grid-template-columns: 1fr; gap: 16px; }
  .person-card { grid-template-columns: 42% 58%; min-height: 250px; }
  .person-photo { min-height: 250px; padding: 18px; }
  .person-info { min-height: 250px; padding: 20px; }
  .actions-grid { gap: 40px; }
  .actions-visual { min-height: 300px; }
  .actions-placeholder-type { font-size: 55px; }
  .actions-copy h2 { margin: 24px 0 20px; }
  .actions-copy p:not(.eyebrow) { font-size: 16px; }
  .participate-grid h2 { margin: 22px 0 0; }
  .participate-copy p { font-size: 16px; }
  .contact-section { padding-block: 85px; }
  .contact-grid h2 { margin-top: 22px; }
  .footer-main, .footer-main-compact { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 38px 20px; padding-block: 56px; }
  .footer-brand { grid-column: 1/-1; }
  .footer-col:last-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 22px; gap: 7px; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 18px; }
  .whatsapp-float svg { width: 30px; height: 30px; }
  .page-hero { padding-block: 82px 100px; }
  .page-hero h1 { font-size: clamp(49px,10vw,72px); }
  .page-hero-index { right: 24px; }
  .listing-header { align-items: flex-start; flex-direction: column; }
  .events-grid { grid-template-columns: 1fr; }
  .mini-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 420px) {
  .brand span { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
  .hero h1 { font-size: 52px; }
  .hero-copy { padding-top: 50px; }
  .hero-image { min-height: 245px; }
  .hero .button { width: 100%; }
  .person-card { grid-template-columns: 40% 60%; }
  .person-info h3 { font-size: 24px; }
  .person-kicker { font-size: 9px; }
  .person-info > p:last-child { font-size: 12px; }
  .footer-main { gap: 35px 15px; }
  .contact-item { flex-direction: column; gap: 7px; }
  .filter-button { padding: 10px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
