/* IEPREV · editorial and institutional refinement
   Load after styles.css. Uses only the supplied brand and neutral palette.
   Marketing motion (.lm-* / .pm-*) owns its own composition. */

.site-header {
  background: #fffffff5;
  box-shadow: 0 3px 18px #58595a08;
}
.nav { font-weight: 600; }
.nav-menu { border-top: 3px solid var(--gold); box-shadow: 0 16px 42px #58595a18; }
.nav-menu a { line-height: 1.5; padding-block: 12px; }
.header-actions .btn { border-radius: 7px; }

/* A clear opening, with an angled neutral field echoing the PRO wordmark. */
.page-hero {
  background: linear-gradient(120deg, #fff 0%, #fff 76%, #efefef 76%, #efefef 100%);
  padding: 48px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1,
.editorial-hero h1 {
  font-weight: 650;
  font-size: clamp(39px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.page-hero h1 .serif { color: var(--berry); }
.page-hero .lead,
.editorial-hero .lead { max-width: 760px; color: var(--ink); }
.page-hero .eyebrow,
.editorial-hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.page-hero .eyebrow::before,
.editorial-hero .eyebrow::before {
  content: "";
  width: 24px;
  height: 5px;
  flex: 0 0 24px;
  background: var(--gold);
  transform: skewX(-18deg);
}
.crumbs { color: var(--ink); line-height: 1.65; }
.crumbs span { color: var(--ink); }
.crumbs b { font-weight: 600; }
.editorial-hero { padding: 48px 0 40px; }
.editorial-hero .crumbs { margin-bottom: 30px; }
.section-head h2 { font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }

/* Editorial cards: the image keeps its own ratio and text always determines height. */
.article-grid { gap: 36px 26px; align-items: stretch; }
.article-card {
  min-width: 0;
  background: #fff;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.article-card .card-media {
  display: block;
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 1.6;
  margin: 0 0 22px;
  border-radius: 12px;
  background: var(--line);
}
.article-card .card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card .card-meta { letter-spacing: .1em; font-size: 10px; margin-bottom: 10px; }
.article-card h2,
.article-card h3 {
  color: var(--ink);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.42;
  letter-spacing: -.035em;
}
.article-card h2 a:hover,
.article-card h3 a:hover { color: var(--wine); text-decoration: underline; text-underline-offset: 4px; }
.article-card > p { margin: 12px 0 22px; line-height: 1.8; }
.card-author { padding-top: 16px; color: var(--ink); font-size: 11px; line-height: 1.8; }
.featured-article {
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 32px #58595a08;
}
.featured-article h2 { font-weight: 650; letter-spacing: -.04em; }
.featured-article .card-meta { color: var(--berry); }
.featured-article .featured-copy { min-width: 0; }
.featured-article .text-link { border-bottom: 2px solid var(--gold); padding-bottom: 6px; }
.filterbar { padding-block: 22px; border-block: 1px solid var(--line); }
.filterbar form { min-width: min(250px, 100%); }
.filterbar form input { min-width: 0; }
.filterbar form .btn { flex-shrink: 0; gap: 8px; }
.pill { font-weight: 600; padding: 9px 15px; background: #fff; border-color: var(--line); }
.pill.active { background: var(--wine); color: #fff; }
.results-count { font-size: 12px; }
.pagination { margin-top: 40px; }
.pagination a,
.pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; }

/* Reading is intentionally still: hierarchy, measure and reliable line spacing. */
.article-heading { padding-top: 42px; }
.article-heading .card-meta { display: inline-block; border-bottom: 3px solid var(--gold); padding-bottom: 9px; }
.article-heading h1 {
  font-weight: 650;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.18;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.article-heading .deck { line-height: 1.75; max-width: 850px; }
.byline { gap: 14px; line-height: 1.65; }
.byline img { flex: 0 0 42px; }
.article-tools { flex-wrap: wrap; }
.tool-btn { min-height: 40px; color: var(--ink); background: #fff; border-radius: 6px; }
.tool-btn:hover { background: var(--line); color: var(--wine); }
.article-body { line-height: 1.9; }
.article-body h2,
.article-body h3 { font-weight: 650; }
.article-body h2 { scroll-margin-top: 120px; }
.article-body p { margin-bottom: 24px; }
.article-body li::marker { color: var(--wine); }
.article-body blockquote { border-radius: 0 10px 10px 0; padding: 25px 30px; }
.article-body a:not(.btn):hover { text-decoration-thickness: 2px; }
.article-body .table-scroll { border-radius: 9px; }
.article-body table { background: #fff; }
.article-body th { color: var(--ink); }
.article-body td { border-bottom-color: var(--line); }
.toc { border-top-width: 3px; }
.toc h2 { letter-spacing: .1em; color: var(--wine); }
.toc a { font-size: 12px; padding: 9px 0; line-height: 1.75; }
.toc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.aside-cta { border-radius: 12px; border-top: 4px solid var(--gold); }
.aside-cta h3 { font-weight: 600; }
.aside-cta p { color: #fff; }
.content-cta { border: 0; border-left: 4px solid var(--gold); padding: 30px; }
.content-cta h3 { font-weight: 650; }
.author-bio { align-items: flex-start; gap: 20px; }
.author-bio > div { min-width: 0; }
.article-body .author-bio h2 { margin-top: 0; }
.article-related { border-top-width: 2px; }
.article-related > h2 { font-weight: 650; }
.mobile-toc { background: #fff; }
.mobile-toc summary { display: list-item; padding-inline: 4px; }
.mobile-toc a { line-height: 1.65; }

/* Plans and contact: deliberate hierarchy without large repeating dark panels. */
.plans-grid { gap: 28px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-color: var(--line); border-radius: 16px; padding: 38px; }
.plan:not(.featured) { background: var(--line); }
.plan.featured { box-shadow: 0 15px 45px #8523220b; }
.plan h3 { font-weight: 700; }
.price { color: var(--wine); font-weight: 700; }
.plan .check-list { padding-top: 15px; border-top: 1px solid #8f9193; }
.plan .check-list li { padding-top: 8px; padding-bottom: 8px; }
.plan .btn { margin-top: auto; }
.plan .inline-status { text-align: center; line-height: 1.7; margin-top: 13px; }
.plan-badge { background: var(--berry); border-radius: 5px; }
.plan-footnote { font-size: 12px; line-height: 1.85; margin-top: 26px; }
.compare { line-height: 1.7; }
.compare thead th { background: var(--wine); color: #fff; }
.compare tbody th { font-weight: 600; background: #fff; }
.compare tbody tr:nth-child(even) { background: var(--line); }
.compare tbody tr:nth-child(even) th { background: var(--line); }
.faq details { border-bottom-color: var(--line); }
.faq summary { color: var(--wine); font-weight: 700; padding-top: 25px; padding-bottom: 25px; }
.faq details[open] summary { color: var(--berry); }
.faq details p { line-height: 1.85; }
.faq a { text-decoration: underline; text-underline-offset: 3px; }
.contact-form { background: var(--line); border: 0; padding: 38px; border-radius: 16px; }
.contact-form h2 { font-size: 30px; font-weight: 650; }
.contact-form label { color: var(--ink); }
.contact-form input,
.contact-form select,
.contact-form textarea { border-radius: 7px; }
.contact-card h3 { font-weight: 650; }
.contact-card a:not(.btn) { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.contact-card:first-child { border-top: 3px solid var(--gold); }
.form-status { background: #fff; border-left: 3px solid var(--gold); }

/* Institutional pages keep real photographs and source text in a calmer rhythm. */
.institution-block { padding-block: 55px; }
.institution-block h2 { font-weight: 650; letter-spacing: -.04em; max-width: 24ch; }
.institution-block h4 { color: var(--wine); font-size: 17px; }
.institutional-content p { max-width: 86ch; }
.institutional-content li { margin-block: 9px; }
.institutional-content li::marker { color: var(--wine); }
.institutional-content a:not(.btn) { text-decoration: underline; text-underline-offset: 4px; font-weight: 600; }
.institution-block.image-split { gap: 60px; }
.institution-image { border-bottom: 4px solid var(--gold); padding-bottom: 10px; }
.institution-image img { border-radius: 12px; }
.source-gallery { gap: 20px; }
.team-president { border-left-width: 4px; border-radius: 0 10px 10px 0; }
.team-group h2 { font-weight: 650; }
.team-person { border-color: var(--line); border-radius: 10px; }
.team-person[open] { background: var(--line); }
.team-person summary { font-size: 14px; line-height: 1.75; }
.team-person p { line-height: 1.85; }
.case-card { gap: 36px; padding-block: 45px; }
.case-card h2 { font-weight: 650; }
.case-card summary { padding-block: 6px; }
.hub-tile { border: 0; background: var(--line); border-radius: 14px; padding: 34px; }
.hub-tile h2 { font-weight: 650; }
.hub-tile .text-link { border-bottom: 2px solid var(--gold); }
.resource-row h3 { font-weight: 650; }
.resource-row { gap: 26px; padding-block: 30px; }
.resource-row > div { min-width: 0; }
.resource-row > a { white-space: normal; }
.imported-content h2,
.imported-content h3 { font-weight: 650; }
.site-notice { border-left-width: 4px; border-radius: 0 8px 8px 0; }
.empty { border-radius: 14px; border-top: 4px solid var(--gold); }
.empty h2 { font-weight: 650; }

/* The closing CTA is a destination, not an animated distraction. */
.cta-band { border-radius: 16px; border-left: 4px solid var(--gold); }
.cta-band h2 { font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.cta-band > div { min-width: 0; }
.site-footer { background: var(--wine); border-top-width: 3px; }
.footer-brand p { line-height: 1.9; }
.footer-col h3 { text-transform: uppercase; letter-spacing: .075em; font-size: 11px; }
.footer-col a { line-height: 1.75; padding-block: 2px; }
.footer-col a:hover { text-underline-offset: 4px; }
.footer-bottom { line-height: 1.8; }

@media (max-width: 1100px) {
  .nav { gap: 17px; font-size: 12px; }
  .page-hero { padding: 40px 0 56px; }
  .institution-block.image-split { gap: 36px; }
  .plan { padding: 32px; }
}
@media (max-width: 900px) {
  .nav { font-size: 14px; }
  .nav-menu { box-shadow: none; border-top-width: 1px; }
  .page-hero { background: linear-gradient(120deg, #fff 0%, #fff 86%, #efefef 86%, #efefef 100%); }
  .article-grid { gap: 32px 22px; }
  .plan { padding: 28px; }
  .price { font-size: 42px; }
  .price small { font-size: 14px; }
  .contact-grid { gap: 36px; }
  .contact-form { padding: 32px; }
  .resource-row { align-items: flex-start; }
  .resource-row > a { max-width: 240px; }
}
@media (max-width: 620px) {
  .page-hero { padding: 28px 0 40px; background: #fff; border-bottom: 3px solid var(--line); }
  .page-hero h1,
  .editorial-hero h1 { font-size: clamp(34px, 9.1vw, 48px); letter-spacing: -.05em; }
  .page-hero .lead { margin-top: 22px; }
  .page-hero .eyebrow,
  .editorial-hero .eyebrow { gap: 9px; }
  .crumbs { font-size: 10px; margin-bottom: 27px; }
  .editorial-hero { padding: 30px 0; }
  .section-head h2 { font-size: clamp(29px, 8.2vw, 36px); }
  .article-grid { gap: 28px; }
  .article-card { padding-bottom: 24px; }
  .article-card .card-media { margin-bottom: 18px; aspect-ratio: 1.6; border-radius: 10px; }
  .article-card h2,
  .article-card h3 { font-size: 22px; line-height: 1.42; }
  .article-card > p { font-size: 14px; }
  .featured-article { border-radius: 12px; }
  .featured-article .featured-copy { padding: 24px; }
  .featured-article h2 { font-size: 26px; }
  .filterbar { padding-block: 18px; gap: 18px; }
  .filterbar form { flex-basis: 100%; }
  .filterbar form .btn { font-size: 12px; padding-inline: 14px; }
  .filter-pills { gap: 7px; }
  .pill { font-size: 11px; padding: 8px 12px; }
  .article-heading { padding: 28px 0 32px; }
  .article-heading h1 { font-size: clamp(30px, 8.2vw, 39px); line-height: 1.23; }
  .article-heading .deck { font-size: 16px; }
  .article-body { line-height: 1.9; }
  .article-body blockquote { padding: 22px; }
  .content-cta { padding: 24px; }
  .author-bio { gap: 16px; }
  .article-related { margin-top: 45px; padding-top: 45px; }
  .plans-grid { gap: 36px; }
  .plan { padding: 30px 24px; }
  .plan .payment { margin-bottom: 10px; }
  .plan .check-list { margin-top: 14px; }
  .plan-badge { right: 18px; font-size: 10px; }
  .price { font-size: 42px; }
  .compare { font-size: 12px; }
  .compare th,
  .compare td { padding: 15px 10px; }
  .faq summary { padding-block: 23px; font-size: 15px; }
  .contact-form { padding: 25px 22px; }
  .contact-form h2 { font-size: 27px; }
  .institution-block { padding-block: 34px; }
  .institution-block h2 { max-width: none; font-size: 30px; }
  .institution-block.image-split { gap: 24px; }
  .source-gallery { gap: 14px; }
  .team-person summary { padding: 20px; }
  .team-person p { padding-inline: 20px; }
  .case-card { gap: 22px; padding-block: 32px; }
  .hub-tile { padding: 27px; }
  .resource-row > a { max-width: 100%; }
  .cta-band { padding: 32px 24px; }
  .cta-band h2 { font-size: 31px; }
  .footer-col h3 { font-size: 10px; }
  .footer-col a { font-size: 12px; }
}
@media (max-width: 360px) {
  .article-card h2,
  .article-card h3 { font-size: 21px; }
  .plan { padding-inline: 21px; }
  .price { font-size: 39px; }
  .cta-band { padding-inline: 22px; }
  .cta-band h2 { font-size: 28px; }
  .byline { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .article-card:hover .card-media img { transform: none; }
  .article-card .card-media img { transition: none; }
}
@media print {
  .page-hero { background: #fff; }
  .article-heading h1 { font-size: 26pt; }
  .article-body { line-height: 1.6; }
  .article-card { break-inside: avoid; }
  .article-card .card-media { aspect-ratio: 1.6; }
}
@media(max-width:620px){body[data-template="busca"] .filterbar input{flex:1 0 100%!important;width:100%}body[data-template="busca"] .filterbar select{flex:1;min-width:0}}

/* Editorial finish — September 2026.
   Typography follows the content: upright serif for publication titles,
   Manrope for navigation, services and product. Functional states stay intact. */
html { scrollbar-gutter: stable; }
.site-header { background: #fff; box-shadow: none; }
.nav-menu { border-radius: 4px; box-shadow: 0 10px 24px #58595a12; }
.header-actions .btn { border-radius: 4px; }
.page-hero { background: #fff; }
.page-hero .eyebrow::before,
.editorial-hero .eyebrow::before { height: 2px; transform: none; }
.page-hero h1,
.editorial-hero h1 { letter-spacing: -.04em; }
.page-hero h1 .serif,
.editorial-hero h1 .serif,
body:not([data-template="home"]) .section-head .serif,
body:not([data-template="home"]) .faq-layout .serif,
body:not([data-template="home"]) .manifesto .serif {
  font-family: var(--font);
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
}

/* A publication layout: square photographs, typographic titles and fine rules. */
.article-card .card-media,
.featured-article,
.article-cover { border-radius: 2px; }
.featured-article { box-shadow: none; background: #fff; border-width: 0 0 1px; }
.article-card h2,
.article-card h3,
.featured-article h2,
.article-heading h1 {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -.022em;
}
.article-card h2,
.article-card h3 { font-size: 24px; line-height: 1.32; }
.featured-article h2 { line-height: 1.2; }
.article-heading h1 { line-height: 1.16; }
.article-card .card-meta { letter-spacing: .065em; }
.article-card:hover .card-media img { transform: none; }
.article-body blockquote,
.article-body .table-scroll,
.content-cta,
.aside-cta { border-radius: 2px; }
.filter-pills .pill { border-radius: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.pagination a,
.pagination span,
.tool-btn { min-height: 44px; }
.aside-cta { background: var(--wine); }

/* Service pages use clear surfaces rather than a repeated stack of soft cards. */
.plan,
.contact-form,
.hub-tile,
.empty { border-radius: 4px; }
.plan.featured { box-shadow: none; border-top: 4px solid var(--wine); }
.plan-badge { border-radius: 2px; }
.contact-form input,
.contact-form select,
.contact-form textarea { border-radius: 3px; }
.hub-tile { border-top: 2px solid var(--gold); }
.institution-image img,
.source-gallery img,
.case-card > img { border-radius: 2px; }
.team-president,
.team-person,
.site-notice { border-radius: 2px; }
.cta-band { border-radius: 3px; background: var(--wine); }
.site-footer { background: var(--wine); }

@media (max-width: 620px) {
  .article-card h2,
  .article-card h3 { font-size: 25px; }
  .featured-article h2 { font-size: 29px; }
  .article-heading h1 { font-size: clamp(31px, 8.2vw, 40px); }
}
