/*
Theme Name: Blu Private
Theme URI: https://bluprivate.com.br/
Author: Blu Private
Description: Identidade integral da Blu Private. Página institucional e editoriais em uma só linguagem visual austera.
Version: 0.4.5
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: blu-private-editorial
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, editor-style, featured-images
*/

:root {
  --bp-black: #000;
  --bp-ink: #171717;
  --bp-muted: #777;
  --bp-paper: #fff;
  --bp-soft: #f4f3f1;
  --bp-line: #d9d8d4;
  --bp-content: 1320px;
  --bp-reading: 740px;
  --bp-gutter: clamp(22px, 5.1vw, 94px);
  --bp-font: 'Mulish', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bp-paper); color: var(--bp-ink); -webkit-font-smoothing: antialiased; }
/* The WordPress flow layout adds a 24px gap between template parts.
   Header, content and footer must meet without an unintended white strip. */
.wp-site-blocks > main,
.wp-site-blocks > footer { margin-block-start: 0 !important; }
body, button, input, textarea { font-family: var(--bp-font); }
button, input, textarea { font-size: inherit; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { opacity: .78; }
img { max-width: 100%; height: auto; }
::selection { background: #9e9e9e; color: #000; }
:focus-visible { outline: 2px solid #818181; outline-offset: 5px; }

/* Header: small, calm, and never a promotional banner. */
.bp-skip { position: absolute; left: -9999px; top: 1rem; z-index: 100; background: white; color: black; padding: .75rem 1rem; }
.bp-skip:focus { left: 1rem; }
.bp-header-shell { background: var(--bp-black); color: #fff; }
.bp-header { max-width: 1600px; margin: 0 auto; min-height: 96px; padding: 20px var(--bp-gutter); display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.17); }
.bp-wordmark { font-family: var(--bp-font); font-size: 26px; font-weight: 400; letter-spacing: -.075em; line-height: 1; text-decoration: none; white-space: nowrap; }
.bp-wordmark:hover { opacity: 1; }
.bp-wordmark--footer { font-size: 24px; }
.bp-desktop-nav { display: flex; align-items: center; gap: clamp(22px, 3.3vw, 54px); }
.bp-desktop-nav a { font-size: 10px; font-weight: 500; letter-spacing: .19em; text-transform: uppercase; text-decoration: none; color: #c5c5c5; transition: color .2s ease; }
.bp-desktop-nav a:hover { color: #fff; opacity: 1; }
.bp-mobile-nav { display: none; }

/* Homepage: a single gesture, an image, and generous negative space. */
.bp-hero { background: #000; color: #fff; padding: clamp(84px, 10vw, 156px) var(--bp-gutter) 106px; }
.bp-hero > .wp-block-group__inner-container { max-width: 1480px; margin: auto; }
.bp-eyebrow { margin: 0 0 24px; color: #9d9d9d; font-size: 10px; letter-spacing: .25em; font-weight: 600; text-transform: uppercase; line-height: 1.8; }
.bp-hero-heading { max-width: 1030px; font-size: clamp(57px, 8.5vw, 134px) !important; line-height: 1.02 !important; letter-spacing: -.075em !important; font-weight: 300 !important; margin: 0 !important; color: #fff; }
.bp-hero-intro { max-width: 430px; font-size: clamp(14px, 1.3vw, 17px); font-weight: 300; line-height: 1.85; color: #bdbdbd; margin: 35px 0 clamp(80px, 11vw, 148px); }
.bp-feature-query { margin-top: 0; }
.bp-feature-query .wp-block-post-template { padding: 0; margin: 0; list-style: none; }
.bp-feature-query .wp-block-post { list-style: none; }
.bp-feature-image { display: block; width: 100%; min-height: clamp(240px, 43vw, 670px); aspect-ratio: 2.05 / 1; overflow: hidden; background: linear-gradient(130deg,#252525 0%,#555 32%,#191919 68%,#333 100%); }
.bp-feature-image img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; display: block; filter: saturate(.64); transition: transform 850ms cubic-bezier(.22,1,.36,1); }
.bp-feature-image a { display: block; width: 100%; height: 100%; }
.bp-feature-image:hover img { transform: scale(1.025); }
.bp-feature-copy { display: grid; grid-template-columns: minmax(0,1fr) 180px; gap: 4rem; padding: clamp(26px, 4vw, 60px) 0 0; align-items: end; }
.bp-feature-label { color: #aaa; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.bp-feature-label a { text-decoration: none; }
.bp-feature-copy .wp-block-post-title { max-width: 800px; margin: 12px 0 0; color: #fff; font-size: clamp(28px, 4.5vw, 65px); font-weight: 300; line-height: 1.13; letter-spacing: -.05em; }
.bp-feature-copy .wp-block-post-title a { text-decoration: none; }
.bp-feature-link { margin: 0 0 7px; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; text-align: right; }
.bp-feature-link a { text-decoration: none; border-bottom: 1px solid #999; padding-bottom: 8px; }

/* Editorial selection is intentionally sparse. */
.bp-section { padding: clamp(88px, 10vw, 158px) var(--bp-gutter); }
.bp-section-inner { max-width: var(--bp-content); margin: auto; }
.bp-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-bottom: 22px; margin-bottom: clamp(35px, 5vw, 67px); border-bottom: 1px solid var(--bp-line); }
.bp-section-label { margin: 0; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; }
.bp-section-number { margin: 0; font-size: 10px; color: #7b7b7b; letter-spacing: .17em; }
.bp-editorial-grid .wp-block-post-template { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px, 3vw, 50px); padding: 0; margin: 0; list-style: none; }
.bp-editorial-grid .wp-block-post { min-width: 0; list-style: none; }
/* WordPress gives all but the first post a 24px flow margin.
   Reset it so every image starts at the same grid-row baseline. */
.bp-editorial-grid .wp-block-post-template > .wp-block-post { margin-block-start: 0 !important; }
.bp-editorial-grid .wp-block-query-pagination { margin-top: 86px; border-top: 1px solid var(--bp-line); padding-top: 26px; }
.bp-card-image { aspect-ratio: 1.33 / 1; margin: 0 0 24px; overflow: hidden; background: linear-gradient(140deg,#dedbd6,#aaa9a5); }
.bp-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72); transition: transform 600ms ease; }
.bp-card-image:hover img { transform: scale(1.035); }
.bp-card-terms { font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #777; }
.bp-card-terms a { text-decoration: none; }
.bp-card-title { font-size: clamp(21px,2.1vw,31px) !important; line-height: 1.25 !important; letter-spacing: -.04em !important; font-weight: 400 !important; margin: 14px 0 12px !important; }
.bp-card-title a { text-decoration: none; }
.bp-card-date { font-size: 11px; color: #858585; letter-spacing: .03em; }
.bp-no-results { padding: 3rem 0; color: #888; }
.bp-manifesto { background: var(--bp-soft); padding: clamp(95px, 13vw, 194px) var(--bp-gutter); }
.bp-manifesto-inner { max-width: 1040px; margin: auto; }
.bp-manifesto h2 { margin: 26px 0 0; max-width: 950px; font-size: clamp(36px, 6.7vw, 90px); font-weight: 300; letter-spacing: -.068em; line-height: 1.13; }
.bp-manifesto p:not(.bp-eyebrow) { max-width: 440px; margin: 34px 0 0 auto; color: #6f6f6f; font-size: 15px; line-height: 1.9; }
/* Fallback para cópias antigas do modelo da capa guardadas pelo WordPress. */
body.home .bp-bottom-note { display: none !important; }

/* A compact, institutional signature. */
.bp-footer-shell { background: #000; color: #fff; }
.bp-footer { max-width: 1600px; margin: auto; padding: 74px var(--bp-gutter) 38px; }
.bp-footer-top { display: flex; justify-content: space-between; align-items: start; gap: 2rem; padding-bottom: 110px; }
.bp-footer-kicker { margin: 19px 0 0; font-size: 11px; color: #999; letter-spacing: .12em; }
.bp-footer-top > a { font-size: 11px; color: #b8b8b8; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.bp-footer-bottom { border-top: 1px solid #292929; padding-top: 24px; display: flex; justify-content: space-between; gap: 22px; color: #999; font-size: 11px; line-height: 1.7; letter-spacing: .015em; }

/* Archives, search and article reading. */
.bp-archive-hero { padding: clamp(96px, 11vw, 162px) var(--bp-gutter) clamp(65px, 8vw, 118px); background: #000; color: white; }
.bp-archive-title { font-weight: 300 !important; font-size: clamp(56px, 9vw, 136px) !important; line-height: 1.05 !important; letter-spacing: -.075em !important; margin: 0 !important; }
.bp-archive-description { margin: 28px 0 0; max-width: 520px; font-size: 16px; line-height: 1.9; color: #b4b4b4; }
.bp-pagination { margin-top: clamp(65px,8vw,110px); padding-top: 30px; border-top: 1px solid var(--bp-line); font-size: 12px; letter-spacing: .07em; }
.bp-pagination .page-numbers { padding: .5rem; text-decoration: none; }
.bp-single-head { padding: clamp(88px, 10vw, 146px) var(--bp-gutter) clamp(54px, 7vw, 96px); background: #000; color: #fff; }
.bp-single-head .wp-block-post-terms { font-size: 10px; letter-spacing: .23em; font-weight: 600; text-transform: uppercase; color: #a6a6a6; }
.bp-single-head .wp-block-post-terms a { text-decoration: none; }
.bp-single-title { font-size: clamp(48px, 7.4vw, 106px) !important; font-weight: 300 !important; letter-spacing: -.068em !important; line-height: 1.09 !important; max-width: 1120px; margin: 25px 0 32px !important; }
.bp-single-head .wp-block-post-date { color: #9c9c9c; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.bp-single-cover { max-width: 1460px; padding: 0 var(--bp-gutter); margin: clamp(-17px, -1.2vw, -10px) auto 0; }
.bp-single-cover .wp-block-post-featured-image { margin: 0; background: #e5e4e1; }
.bp-single-cover img { display: block; width: 100%; max-height: 700px; aspect-ratio: 1.9/1; object-fit: cover; filter: saturate(.8); }
.bp-article-wrap { padding: clamp(75px, 9vw, 132px) var(--bp-gutter) 108px; background: #fff; }
.bp-article-body { max-width: var(--bp-reading); margin: 0 auto; color: #292929; font-weight: 400; font-size: clamp(16px,1.3vw,18px); line-height: 2; overflow-wrap: anywhere; }
.bp-article-body > * { margin-block: 0 1.65em; }
.bp-article-body h2, .bp-article-body h3, .bp-article-body h4 { letter-spacing: -.04em; line-height: 1.3; font-weight: 500; margin-top: 2em; }
.bp-article-body h2 { font-size: clamp(27px,3vw,38px); }
.bp-article-body h3 { font-size: clamp(21px,2.3vw,28px); }
.bp-article-body a { text-decoration-thickness: 1px; }
.bp-article-body blockquote { padding: 16px 0 16px 26px; margin: 2.4em 0; border-left: 1px solid #777; font-size: 1.3em; line-height: 1.65; }
.bp-article-body .wp-block-image { margin: 2.6em auto; }
.bp-article-body figcaption { font-size: 11px; text-align: center; color: #888; margin-top: 12px; }
.bp-article-body ul, .bp-article-body ol { padding-left: 1.6em; }
.bp-article-body li { margin-bottom: .7em; }
.bp-article-body table { border-collapse: collapse; width: 100%; font-size: .85em; }
.bp-article-body td, .bp-article-body th { padding: 12px; border: 1px solid #d8d8d8; }
.bp-article-body .wp-block-button__link { border-radius: 0; background: #111; color: #fff; text-decoration: none; font-size: .7em; letter-spacing: .08em; text-transform: uppercase; padding: 1em 1.6em; }
.bp-page-wrap { min-height: 60vh; padding: 95px var(--bp-gutter) 140px; }
.bp-page-wrap .wp-block-post-title { font-size: clamp(48px,7vw,98px); font-weight: 300; letter-spacing: -.06em; line-height: 1.1; }
.bp-page-wrap .wp-block-post-content { max-width: var(--bp-reading); margin: 45px auto; font-size: 18px; line-height: 1.9; }
.bp-search-form { margin-top: 35px; max-width: 500px; }
.bp-search-form input { padding: 15px; border: 1px solid #ccc; border-radius: 0; }
.bp-search-form button { border-radius: 0; background: #000; color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }

/* Novo portal institucional. As regras editoriais anteriores permanecem intactas. */
.bp-institutional-hero > .wp-block-shortcode,
.bp-editorial-hero > .wp-block-shortcode { margin-block-start: 0 !important; width: 100%; max-width: none !important; }
.bp-institutional-feature-image { margin: 0; }
.bp-institutional-feature-title {
  max-width: 800px; margin: 12px 0 0 !important; color: #fff;
  font-size: clamp(28px, 4.5vw, 65px) !important; font-weight: 300 !important;
  line-height: 1.13 !important; letter-spacing: -.05em !important;
}
.bp-institutional .bp-feature-label { margin: 0; }
.bp-operators-section .wp-block-shortcode { max-width: none !important; width: 100%; }
.bp-operators-section { padding-bottom: clamp(64px,7vw,108px); }
.bp-operators-section .bp-section-head { margin-bottom: clamp(30px,3.3vw,48px); }
.bp-operator-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  column-gap: clamp(18px,2.4vw,36px); row-gap: clamp(24px,2.8vw,42px);
  list-style: none; padding: 0; margin: 0;
}
.bp-operator-card { min-width: 0; margin: 0 !important; }
.bp-operator-figure { margin: 0; }
.bp-operator-media { aspect-ratio: 1 / 1; background: #f1f1f1; overflow: hidden; }
.bp-operator-media img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transition: transform 600ms ease;
}
.bp-operator-card:hover .bp-operator-media img { transform: scale(1.025); }
.bp-institutional-about { padding-top: clamp(78px,9vw,134px); }
.bp-institutional-about .bp-manifesto-inner p:not(.bp-eyebrow) { max-width: 470px; }
.bp-institutional-footer .bp-footer-top { padding-bottom: 70px; }
.bp-footer-details {
  border-top: 1px solid #292929; display: grid;
  grid-template-columns: .85fr 1.4fr 1fr; column-gap: clamp(30px,6vw,100px);
  padding: 48px 0 95px;
}
.bp-footer-details-label {
  margin: 0 0 18px; font-size: 10px; font-weight: 600;
  letter-spacing: .22em; color: #aaa;
}
.bp-footer-details-label--second { margin-top: 40px; }
.bp-footer-details a, .bp-footer-details address, .bp-footer-details p:not(.bp-footer-details-label) {
  color: #d0d0d0; font-size: 13px; font-weight: 400; line-height: 2;
  text-decoration: none; font-style: normal;
}
.bp-footer-details .bp-footer-details-extra {
  display: inline-block; margin-top: 20px; color: #a7a7a7; font-size: 11px;
  letter-spacing: .05em;
}
.bp-footer-details a:hover { color: white; }
.bp-institutional #sobre, .bp-institutional #operadoras, #contato { scroll-margin-top: 20px; }

@media (max-width: 800px) {
  .bp-header { min-height: 77px; }
  .bp-wordmark { font-size: 23px; }
  .bp-desktop-nav { display: none; }
  .bp-mobile-nav { display: block; position: relative; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
  .bp-mobile-nav summary { list-style: none; cursor: pointer; padding: 11px 0 11px 11px; }
  .bp-mobile-nav summary::-webkit-details-marker { display: none; }
  .bp-mobile-nav[open] nav { position: absolute; z-index: 20; right: 0; top: 100%; min-width: 210px; padding: 12px 24px; background: #181818; border: 1px solid #4a4a4a; box-shadow: 0 16px 38px #0008; }
  .bp-mobile-nav nav a { display: block; padding: 17px 0; color: #fff; text-decoration: none; }
  .bp-hero { padding-bottom: 75px; }
  .bp-feature-copy { grid-template-columns: 1fr; gap: 23px; }
  .bp-feature-link { text-align: left; }
  .bp-editorial-grid .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 56px; }
  .bp-operator-grid { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 38px; }
  .bp-footer-details { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 48px; }
  .bp-manifesto p:not(.bp-eyebrow) { margin-left: 0; }
}
@media (max-width: 560px) {
  .bp-hero { padding-top: 83px; }
  .bp-hero-heading { font-size: clamp(52px, 13vw, 74px) !important; }
  .bp-hero-intro { margin-bottom: 72px; }
  .bp-feature-image { aspect-ratio: 1.1/1; min-height: 290px; }
  .bp-editorial-grid .wp-block-post-template { grid-template-columns: 1fr; gap: 54px; }
  .bp-operator-grid { grid-template-columns: 1fr; gap: 28px; }
  .bp-institutional-footer .bp-footer-top { padding-bottom: 52px; }
  .bp-footer-details { grid-template-columns: 1fr; gap: 37px; padding: 38px 0 72px; }
  .bp-footer-top { display: block; padding-bottom: 75px; }
  .bp-footer-top > a { display: inline-block; margin-top: 45px; }
  .bp-footer-bottom { flex-direction: column; gap: 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
