:root {
  --bp-navy: #071b58;
  --bp-blue: #0b5cff;
  --bp-blue-2: #2c7cff;
  --bp-blue-soft: #eaf2ff;
  --bp-ink: #10214a;
  --bp-muted: #56647d;
  --bp-line: #dce6f5;
  --bp-card: rgba(255,255,255,.94);
  --bp-bg: #f8fbff;
  --bp-shadow: 0 12px 34px rgba(23, 62, 118, .08);
  --bp-radius: 20px;
  --bp-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.bp-page {
  margin: 0;
  color: var(--bp-ink);
  background:
    radial-gradient(circle at 91% 8%, rgba(31,107,255,.08), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, var(--bp-bg) 100%);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.bp-page a { color: inherit; }
body.bp-page img { display: block; max-width: 100%; }

.bp-skip {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 1000;
  background: var(--bp-navy);
  color: white;
  padding: .7rem 1rem;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: top .2s ease;
}
.bp-skip:focus { top: 0; }

.bp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--bp-line);
  backdrop-filter: blur(14px);
}
.bp-header-inner {
  max-width: var(--bp-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.bp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bp-navy);
  font-weight: 800;
  font-size: 1.22rem;
  text-decoration: none;
  white-space: nowrap;
}
.bp-brand-mark {
  width: 34px;
  height: 34px;
  color: var(--bp-blue);
}
.bp-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.3vw, 34px);
}
.bp-nav a {
  position: relative;
  color: var(--bp-navy);
  font-size: .92rem;
  font-weight: 650;
  text-decoration: none;
  padding: 24px 0 21px;
}
.bp-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 14px;
  height: 2px;
  border-radius: 99px;
  background: var(--bp-blue);
  transition: right .2s ease;
}
.bp-nav a:hover::after,
.bp-nav a:focus-visible::after { right: 0; }

.bp-main { overflow: clip; }
.bp-section,
.bp-hero { scroll-margin-top: 90px; }
.bp-wrap {
  max-width: var(--bp-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.bp-hero {
  position: relative;
  padding: clamp(42px, 6vw, 82px) 0 30px;
}
.bp-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -145px;
  top: 70px;
  opacity: .11;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 15px, var(--bp-blue) 16px 17px);
  pointer-events: none;
}
.bp-hero-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 74px);
}
.bp-photo-ring {
  width: min(100%, 300px);
  aspect-ratio: 1;
  padding: 8px;
  margin-inline: auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #dff0ff, #ffffff);
  box-shadow: var(--bp-shadow);
  border: 1px solid #d7e8fa;
}
.bp-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 31%;
  border-radius: 50%;
  /* The source file remains untouched; cropping is presentation-only. */
}
.bp-kicker {
  color: var(--bp-blue);
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
  margin: 0 0 8px;
}
.bp-name {
  margin: 0;
  color: var(--bp-navy);
  font-size: clamp(3rem, 6.2vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.bp-roleline {
  margin: 14px 0 0;
  color: var(--bp-blue);
  font-size: clamp(.86rem, 1.24vw, 1.02rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -.01em;
}
.bp-degree {
  margin: 14px 0 0;
  color: var(--bp-ink);
  font-weight: 720;
  font-size: 1rem;
}
.bp-intro {
  max-width: 790px;
  margin: 17px 0 0;
  color: var(--bp-ink);
  font-size: clamp(.96rem, 1.1vw, 1.06rem);
}
.bp-pills {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.bp-pill {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 17px;
  border: 1px solid var(--bp-line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--bp-navy);
  box-shadow: 0 5px 15px rgba(20,69,135,.05);
  font-weight: 750;
  font-size: .92rem;
}
.bp-pill svg { width: 21px; height: 21px; color: var(--bp-blue); }

.bp-about {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--bp-line);
  background: var(--bp-card);
  border-radius: var(--bp-radius);
  box-shadow: var(--bp-shadow);
}
.bp-about-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bp-blue);
  background: linear-gradient(145deg, #eef6ff, #ffffff);
  border: 1px solid #d9e7fa;
}
.bp-about-icon svg { width: 42px; height: 42px; }
.bp-about h2,
.bp-section-title {
  margin: 0;
  color: var(--bp-navy);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -.02em;
}
.bp-about p { margin: 4px 0 0; color: var(--bp-ink); }

.bp-section { padding-top: 30px; }
.bp-section-head {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.bp-section-head > svg { width: 26px; height: 26px; color: var(--bp-blue); flex: 0 0 auto; }

.bp-grid-specialties {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.bp-specialty {
  min-height: 130px;
  padding: 20px 18px;
  border: 1px solid var(--bp-line);
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 13px;
  align-items: start;
  box-shadow: 0 5px 16px rgba(20,69,135,.04);
}
.bp-specialty-mainicon {
  width: 42px;
  height: 42px;
  color: var(--bp-blue);
}
.bp-specialty h3 {
  margin: 2px 0 0;
  color: var(--bp-navy);
  font-size: 1rem;
  line-height: 1.25;
}
.bp-techrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  margin-top: 2px;
  flex-wrap: wrap;
}
.bp-techmark {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  color: var(--bp-blue);
}
.bp-techmark svg { width: 100%; height: 100%; overflow: visible; }
.bp-techmark[title] { cursor: help; }
.bp-m365 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bp-ink);
  font-weight: 700;
  font-size: .9rem;
}
.bp-m365 .bp-techmark { width: 29px; height: 29px; }

.bp-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  padding-top: 17px;
}
.bp-timeline::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #97bfff, var(--bp-blue), #97bfff);
}
.bp-exp {
  position: relative;
  min-height: 190px;
  padding: 22px 18px 18px;
  border: 1px solid var(--bp-line);
  border-radius: 15px;
  background: rgba(255,255,255,.94);
}
.bp-exp::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bp-blue);
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--bp-blue);
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
}
.bp-exp-top { display: flex; align-items: flex-start; gap: 10px; }
.bp-step {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: var(--bp-blue);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}
.bp-exp h3 { margin: 1px 0 0; color: var(--bp-navy); font-size: .95rem; line-height: 1.28; }
.bp-exp p { margin: 13px 0 0; color: var(--bp-ink); font-size: .88rem; line-height: 1.5; }

.bp-tags {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 9px;
}
.bp-tag {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--bp-line);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: var(--bp-navy);
  font-size: .78rem;
  font-weight: 720;
  text-align: center;
}
.bp-tag .bp-techmark { width: 22px; height: 22px; flex: 0 0 auto; }
.bp-tag > svg { width: 20px; height: 20px; color: var(--bp-blue); flex: 0 0 auto; }

.bp-contact {
  margin: 30px 0 54px;
  display: grid;
  grid-template-columns: 1.35fr .9fr 1fr .85fr;
  border: 1px solid var(--bp-line);
  border-radius: var(--bp-radius);
  background: linear-gradient(135deg, #f4f8ff, #ffffff);
  overflow: hidden;
}
.bp-contact-cell {
  min-height: 128px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-right: 1px solid var(--bp-line);
  text-decoration: none;
}
.bp-contact-cell:last-child { border-right: 0; }
.bp-contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  color: white;
  background: linear-gradient(145deg, var(--bp-blue), var(--bp-navy));
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.bp-contact-icon svg { width: 31px; height: 31px; }
.bp-contact strong { display: block; color: var(--bp-navy); line-height: 1.25; }
.bp-contact small { display: block; margin-top: 4px; color: var(--bp-muted); line-height: 1.45; }
.bp-location-accent { color: var(--bp-blue); font-weight: 800; }

.bp-footer-note {
  max-width: var(--bp-max);
  margin: -34px auto 22px;
  padding: 0 24px;
  color: #7a879c;
  font-size: .72rem;
  text-align: center;
}

.bp-page :focus-visible {
  outline: 3px solid rgba(11,92,255,.35);
  outline-offset: 4px;
  border-radius: 6px;
}

@media (min-width: 1000px) {
  .bp-roleline { white-space: nowrap; }
}
@media (max-width: 1000px) {
  .bp-header-inner { padding-inline: 18px; }
  .bp-nav { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .bp-nav::-webkit-scrollbar { display: none; }
  .bp-hero-grid { grid-template-columns: 240px 1fr; gap: 34px; }
  .bp-grid-specialties { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bp-timeline { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 14px; }
  .bp-timeline::before { display: none; }
  .bp-exp::before { display: none; }
  .bp-tags { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .bp-contact { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bp-contact-cell:nth-child(2) { border-right: 0; }
  .bp-contact-cell:nth-child(-n+2) { border-bottom: 1px solid var(--bp-line); }
}
@media (max-width: 720px) {
  .bp-header { height: auto; min-height: 64px; }
  .bp-header-inner { min-height: 64px; align-items: flex-start; flex-direction: column; gap: 0; padding-top: 12px; padding-bottom: 0; }
  .bp-brand { font-size: 1.04rem; }
  .bp-brand-mark { width: 30px; height: 30px; }
  .bp-nav { width: 100%; gap: 20px; padding-top: 3px; }
  .bp-nav a { padding: 12px 0 14px; font-size: .78rem; }
  .bp-nav a::after { bottom: 7px; }
  .bp-wrap { padding-inline: 16px; }
  .bp-hero { padding-top: 32px; }
  .bp-hero-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .bp-photo-ring { width: 220px; }
  .bp-roleline { font-size: .82rem; }
  .bp-intro { margin-inline: auto; text-align: left; }
  .bp-degree { font-size: .93rem; }
  .bp-pills { justify-content: center; gap: 8px; }
  .bp-pill { min-height: 42px; padding: 7px 12px; font-size: .8rem; }
  .bp-about { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 24px 20px; }
  .bp-about p { text-align: left; }
  .bp-grid-specialties { grid-template-columns: 1fr; }
  .bp-specialty { min-height: 112px; }
  .bp-timeline { grid-template-columns: 1fr; gap: 11px; padding-top: 0; }
  .bp-exp { min-height: 0; }
  .bp-tags { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bp-contact { grid-template-columns: 1fr; }
  .bp-contact-cell,
  .bp-contact-cell:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--bp-line); }
  .bp-contact-cell:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* v10: refined brand and platform iconography for /brenopetrili */
.bp-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.bp-techmark--azure { width: 26px; height: 26px; }
.bp-techmark--aws { width: 39px; height: 24px; }
.bp-techmark--gcp { width: 37px; height: 24px; }
.bp-techmark--oci { width: 33px; height: 22px; }
.bp-techmark--service { width: 28px; height: 28px; }
.bp-techmark--m365 { width: 28px; height: 28px; }
.bp-techmark--onprem { width: 28px; height: 28px; }
.bp-tag .bp-techmark--azure { width: 20px; height: 20px; }
.bp-tag .bp-techmark--aws { width: 32px; height: 19px; }
.bp-tag .bp-techmark--gcp { width: 30px; height: 19px; }
.bp-tag .bp-techmark--oci { width: 26px; height: 18px; }
.bp-m365 .bp-techmark--m365 { width: 28px; height: 28px; }
.bp-techrow .bp-techmark { flex: 0 0 auto; }
.bp-contact-icon--linkedin svg { width: 29px; height: 29px; }
.bp-contact-cell[href*="linkedin"] .bp-contact-icon { background: linear-gradient(145deg, var(--bp-blue), var(--bp-navy)); }

/* v11 — approved portfolio icon system */
.bp-specialty {
  min-height: 132px;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 14px;
}
.bp-specialty-mainicon.bp-specialty-approved {
  width: 68px;
  height: 68px;
  object-fit: contain;
  object-position: center;
  display: block;
}
.bp-specialty h3 {
  align-self: center;
  margin: 0;
}
.bp-tags {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.bp-tag {
  min-height: 50px;
  gap: 9px;
  padding: 7px 10px;
}
.bp-tag > img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  object-position: center;
  flex: 0 0 auto;
}
.bp-tag:nth-child(2) > img { width: 36px; }
.bp-tag:nth-child(4) > img { width: 34px; }
.bp-contact-icon--linkedin {
  background: #fff;
  border: 1px solid rgba(11,92,255,.22);
  overflow: hidden;
}
.bp-contact-icon--linkedin img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
@media (max-width: 700px) {
  .bp-specialty { grid-template-columns: 64px 1fr; }
  .bp-specialty-mainicon.bp-specialty-approved { width: 60px; height: 60px; }
  .bp-tag > img { width: 28px; height: 28px; }
}

/* ================================================================
   v12 — visual QA pass: proportional iconography + responsive rhythm
   ================================================================ */
:root {
  --bp-card-radius: 15px;
  --bp-icon-well: #f5f8ff;
  --bp-icon-border: #d9e6f8;
}

/* Specialty cards: consistent content box and visually equal icon mass. */
.bp-grid-specialties {
  gap: 14px;
}
.bp-specialty {
  min-height: 122px;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  border-radius: var(--bp-card-radius);
  overflow: hidden;
}
.bp-specialty-mainicon.bp-specialty-approved {
  width: 64px;
  height: 52px;
  object-fit: contain;
  object-position: center;
  justify-self: center;
  align-self: center;
}
.bp-specialty h3 {
  margin: 0;
  font-size: .96rem;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

/* Differentials: icon and label occupy predictable areas, preventing intrinsic
   SVG/PNG dimensions from changing the visual rhythm. */
.bp-tags {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.bp-tag {
  min-width: 0;
  min-height: 56px;
  justify-content: flex-start;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 13px;
  font-size: .76rem;
  font-weight: 720;
  line-height: 1.18;
  text-align: left;
  overflow: hidden;
}
.bp-tag > img {
  box-sizing: border-box;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px;
  padding: 5px;
  object-fit: contain;
  object-position: center;
  border: 1px solid var(--bp-icon-border);
  border-radius: 50%;
  background: var(--bp-icon-well);
  flex: 0 0 36px;
}
/* OCI is naturally wide; keep its mark legible inside the same visual well. */
.bp-tag img[src*="oracle-cloud"] { padding: 7px 3px; }
.bp-tag img[src*="aws"] { padding: 8px 4px; }
.bp-tag img[src*="google-cloud"] { padding: 7px 5px; }

/* Contact LinkedIn: same optical size as the other contact glyphs. */
.bp-contact-icon--linkedin {
  background: linear-gradient(145deg, var(--bp-blue), var(--bp-navy));
  border: 0;
  overflow: hidden;
}
.bp-contact-icon--linkedin img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  object-position: center;
}

/* Tablet: preserve legibility instead of compressing 7 cards into narrow cells. */
@media (max-width: 1100px) {
  .bp-grid-specialties { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bp-tags { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bp-tag { min-height: 58px; font-size: .8rem; }
}

/* Small tablet / large phone. */
@media (max-width: 760px) {
  .bp-specialty {
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 108px;
    padding: 16px;
  }
  .bp-specialty-mainicon.bp-specialty-approved {
    width: 60px;
    height: 50px;
  }
  .bp-tags { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Narrow phones: still two-column for concise chips, but no clipping. */
@media (max-width: 430px) {
  .bp-tag {
    min-height: 54px;
    padding: 7px 9px;
    gap: 7px;
    font-size: .73rem;
  }
  .bp-tag > img {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    flex-basis: 32px;
  }
}

/* v12.1 — final responsive QA corrections */
:root { --bp-max: 1280px; }
.bp-roleline { white-space: normal; }
@media (min-width: 1200px) {
  .bp-hero-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
  .bp-photo-ring { width: 280px; }
  .bp-roleline {
    white-space: nowrap;
    font-size: .80rem;
    letter-spacing: -.012em;
  }
}
@media (max-width: 600px) {
  .bp-grid-specialties { grid-template-columns: 1fr; }
  .bp-specialty {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 102px;
    padding: 14px 16px;
  }
  .bp-specialty-mainicon.bp-specialty-approved {
    width: 64px;
    height: 52px;
  }
  .bp-specialty h3 {
    font-size: .92rem;
    overflow-wrap: normal;
    word-break: normal;
  }
}
