/* Musicalizese Lab Profile: lab-mus-06 */
/* Minimalista de Portfólio (Baseado em ref-06) */
/* Paleta: #0D5580, #093B5F, #FFFFFF, #F8FAFC, #0F172A, #475569, #E2E8F0, #071421 */
/* Zero degradês: cores sólidas exclusivamente em conformidade com as regras do plano */

@font-face {
  font-family: "Montserrat";
  src: url("/static/fonts/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/Poppins-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("/static/fonts/Poppins-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}

:root {
  --mp-primary: #0D5580;
  --mp-primary-hover: #083b59;
  --mp-accent: #093B5F;
  --mp-bg: #FFFFFF;
  --mp-surface: #F8FAFC;
  --mp-text: #0F172A;
  --mp-text-muted: #475569;
  --mp-border: #E2E8F0;
  --mp-border-focus: #0D5580;
  --mp-tag-bg: #F0F7FA;
  --mp-dark-band: #071421;
  --mp-dark-text: #F8FAFC;
  --mp-dark-muted: #94A3B8;
  --mp-dark-border: #1E3A5F;
}

/* ==========================================================================
   9. CTA + SOCIAL — COMPOSIÇÃO EDITORIAL DA REFERÊNCIA D7176
   ========================================================================== */
.cta-reference-section {
  position: relative;
  overflow: hidden;
  background-color: #F8F3EA !important;
  color: var(--mp-text) !important;
  border-top: 1px solid #E8E0D4 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  padding: 2.75rem 0 2.5rem !important;
  text-align: left !important;
}

.cta-reference-section::before,
.cta-reference-section::after {
  content: "";
  position: absolute;
  border: 0;
  border-radius: 50%;
  pointer-events: none;
}

.cta-reference-section::before {
  width: 38rem;
  height: 38rem;
  top: -12rem;
  right: 17%;
  background-color: rgba(226, 214, 197, 0.46);
}

.cta-reference-section::after {
  width: 34rem;
  height: 34rem;
  right: -22rem;
  bottom: -22rem;
  background-color: rgba(232, 220, 203, 0.52);
}

.cta-reference-container {
  position: relative;
  z-index: 1;
  max-width: 1240px !important;
  min-height: 29rem;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1.875rem;
  align-items: center;
}

.cta-reference-copy {
  position: relative;
  z-index: 3;
}

.cta-reference-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
  color: var(--mp-primary);
}

.cta-reference-kicker span {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  color: inherit !important;
  font-size: 0.6875rem !important;
  font-weight: 800;
  letter-spacing: 0.3em !important;
  line-height: 1;
}

.cta-reference-kicker i {
  width: 3rem;
  height: 1px;
  background-color: #8CA1AC;
}

.cta-reference-section .cta-reference-copy h2 {
  max-width: 12em;
  color: #071F3A !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 3.75vw, 3.45rem) !important;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 1.15rem !important;
}

.cta-reference-section .cta-reference-copy h2::after {
  display: none;
}

.cta-reference-section .cta-reference-copy > p {
  max-width: 35rem;
  color: #43566B !important;
  font-size: 1.0625rem !important;
  line-height: 1.55 !important;
  margin: 0 !important;
}

.cta-reference-section .cta-actions {
  display: grid !important;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 0.875rem !important;
  width: 100%;
  max-width: 35.5rem;
  margin: 1.55rem 0 0 !important;
}

.cta-reference-section .cta-actions .btn {
  min-height: 3.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-sizing: border-box;
  border-radius: 6px !important;
  padding: 0.85rem 1rem !important;
  font-size: 0.9375rem !important;
  font-weight: 750 !important;
  line-height: 1.2;
  box-shadow: none !important;
}

.cta-reference-section .cta-actions .cta-primary {
  background-color: #075B88 !important;
  border: 1px solid #075B88 !important;
  color: #FFFFFF !important;
}

.cta-reference-section .cta-actions .cta-secondary {
  background-color: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid #0D5580 !important;
  color: #073F63 !important;
}

.cta-reference-section .cta-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  max-width: 38rem;
  margin-top: 2.1rem;
  padding: 0;
  border: 0;
}

.cta-reference-section .cta-highlight {
  min-width: 0;
  min-height: 4.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 0 0.85rem;
  color: #AE916E;
  text-align: center;
}

.cta-reference-section .cta-highlight + .cta-highlight {
  border-left: 1px solid rgba(174, 145, 110, 0.34);
}

.cta-reference-section .cta-highlight svg {
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
}

.cta-reference-section .cta-highlight span {
  color: #0B4365;
  font-size: 0.59375rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.35;
}

.cta-collage {
  position: relative;
  aspect-ratio: 604 / 464;
}

.cta-collage-card {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border-radius: 11px;
  background-color: #071421;
  box-shadow: 0 18px 38px rgba(7, 20, 33, 0.18);
}

.cta-collage-card img[width][height] {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

.cta-collage-main {
  z-index: 2;
  top: 8.6%;
  left: 2.5%;
  width: 45%;
  height: 86.2%;
  transform: rotate(1.5deg);
}

.cta-collage-wedding {
  z-index: 3;
  top: -4.1%;
  right: 8%;
  width: 49%;
  height: 46.1%;
  transform: rotate(-3.5deg);
}

.cta-collage-wedding img {
  object-position: 68% center;
}

.cta-collage-video {
  z-index: 4;
  right: 16%;
  bottom: 1.2%;
  width: 35%;
  height: 47.6%;
}

.cta-collage-video img {
  object-position: center 48%;
}

.social-reference-section {
  position: relative;
  overflow: hidden;
  background-color: #FFFFFF !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--mp-border);
  padding: 3.8rem 0 3.25rem !important;
  text-align: left !important;
}

.social-reference-container {
  position: relative;
  z-index: 2;
  max-width: 1240px !important;
  display: grid;
  grid-template-columns: minmax(17rem, 0.82fr) minmax(0, 2.18fr);
  column-gap: 2.75rem;
  row-gap: 1.65rem;
  align-items: center;
}

.social-reference-kicker {
  display: block;
  margin-bottom: 1.15rem;
  color: var(--mp-primary);
  font-size: 0.65625rem;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.social-reference-copy h2 {
  max-width: 14ch;
  margin: 0 0 1.1rem !important;
  color: #071F3A;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 3vw, 2.85rem) !important;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.social-reference-copy p {
  max-width: 24rem;
  margin: 0 !important;
  color: #53667A !important;
  font-size: 0.96875rem !important;
  line-height: 1.7 !important;
}

.social-reference-copy > i {
  display: block;
  width: 3.25rem;
  height: 2px;
  margin-top: 1.35rem;
  background-color: var(--mp-primary);
}

.social-reference-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-reference-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: 15.5rem;
  overflow: hidden;
  border: 1px solid rgba(7, 31, 58, 0.12);
  border-radius: 10px;
  background-color: #071421;
  color: #FFFFFF !important;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(7, 20, 33, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-reference-card:hover {
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(7, 20, 33, 0.15);
}

.social-reference-photo[width][height] {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.social-reference-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(4, 12, 24, 0.58);
}

.social-reference-card-whatsapp::after {
  background-color: rgba(0, 56, 48, 0.56);
}

.social-reference-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.05rem 1rem;
}

.social-reference-icon[width][height] {
  width: 2rem !important;
  height: 2rem !important;
  margin-bottom: 0.45rem;
  object-fit: contain;
}

.social-reference-card-content strong {
  color: #FFFFFF;
  font-size: 1.05rem;
  line-height: 1.15;
}

.social-reference-card-content b {
  margin-top: 0.35rem;
  color: #FFFFFF;
  font-size: 0.75rem;
  line-height: 1.25;
}

.social-reference-card-content > span {
  margin-top: auto;
  padding-bottom: 0.05rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.6875rem;
  line-height: 1.55;
}

.social-reference-signature {
  grid-column: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.social-reference-signature span {
  color: #765A3E;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.25rem;
  font-style: italic;
  white-space: nowrap;
}

.social-reference-signature i {
  height: 1px;
  background-color: #D7DEE5;
}

.social-reference-signature b {
  color: #435E72;
  font-size: 0.5625rem;
  letter-spacing: 0.35em;
  white-space: nowrap;
}

.social-reference-note {
  position: absolute;
  right: -6.5rem;
  bottom: -5.5rem;
  width: 12.5rem;
  height: 12.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #DCE4E9;
  border-radius: 50%;
  color: #D7C7B3;
}

.social-reference-note svg {
  width: 2.4rem;
  height: 2.4rem;
  transform: translate(-3.1rem, -2.4rem);
}

@media (max-width: 1100px) {
  .cta-reference-container {
    grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.9fr);
  }

  .cta-reference-section .cta-reference-copy h2 {
    font-size: clamp(2.35rem, 4.7vw, 3.1rem) !important;
  }

  .social-reference-container {
    grid-template-columns: 1fr;
  }

  .social-reference-copy h2 {
    max-width: none;
  }

  .social-reference-copy p {
    max-width: 42rem;
  }

  .social-reference-signature {
    grid-column: 1;
  }
}

@media (max-width: 760px) {
  .cta-reference-section {
    padding: 3.25rem 0 3.5rem !important;
  }

  .cta-reference-container {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .cta-reference-section .cta-reference-copy h2 {
    max-width: 15ch;
    font-size: clamp(2.25rem, 8.8vw, 3rem) !important;
  }

  .cta-reference-section .cta-actions {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .cta-reference-section .cta-highlights {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.3rem;
  }

  .cta-reference-section .cta-highlight:nth-child(3) {
    border-left: 0;
  }

  .social-reference-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-reference-card {
    height: 17rem;
  }

  .social-reference-signature {
    grid-template-columns: auto 1fr;
  }

  .social-reference-signature b {
    display: none;
  }
}

@media (max-width: 460px) {
  .cta-reference-kicker span,
  .social-reference-kicker {
    letter-spacing: 0.2em !important;
  }

  .social-reference-cards {
    grid-template-columns: 1fr;
  }

  .social-reference-card {
    height: 18rem;
  }

  .social-reference-signature span {
    font-size: 1rem;
  }
}

/* Base resets & typography */
html, body {
  background-color: var(--mp-bg);
  color: var(--mp-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}

/* Accessible focus ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--mp-border-focus) !important;
  outline-offset: 2px !important;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* ==========================================================================
   1. SITE HEADER & RESPONSIVE NAVIGATION
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 4.75rem;
  z-index: 50;
  background-color: transparent !important;
  border-bottom: none !important;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 4.75rem;
  width: 100%;
  max-width: 1260px;
}

.header-brand {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem;
}

.header-brand img,
.header-brand-logo {
  height: 2.35rem;
  width: auto;
  object-fit: contain;
}

.header-brand a {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.desktop-nav a,
.header-nav-link {
  color: #092A45;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.35rem 0;
  position: relative;
  transition: color 0.15s ease;
}

.desktop-nav a:hover,
.header-nav-link:hover {
  color: #0D5580;
}

.desktop-nav a.active,
.header-nav-link.active {
  color: #034975;
}

.desktop-nav a.active::after,
.header-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: #034975;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background-color: #034975 !important;
  color: #FFFFFF !important;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.header-cta-btn:hover {
  background-color: #0D5580 !important;
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
}

/* ==========================================================================
   2. HERO MINIMALISTA TIPOGRÁFICO
   ========================================================================== */
.hero-variant-minimal-portfolio {
  position: relative;
  background-color: #FAF8F6;
  min-height: 520px;
  overflow: hidden;
  padding: 4.75rem 0 0 0;
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid var(--mp-border, #e2e8f0);
}

/* Ambient background curved lines on left */
.hero-ambient-curves {
  position: absolute;
  top: 0;
  left: 0;
  width: 440px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-variant-minimal-portfolio .hero-container {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 440px;
  width: 100%;
  max-width: 1260px;
}

.hero-minimal-copy {
  width: 52%;
  max-width: 620px;
  padding: 1.5rem 0 2.5rem 0;
  display: flex;
  flex-direction: column;
}

.hero-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.hero-eyebrow-text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0D5580;
  text-transform: uppercase;
}

.hero-eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 2px;
  background-color: #0D5580;
}

.hero-minimal-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 2.75vw, 2.75rem);
  font-weight: 700;
  color: #092A45;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.875rem 0;
}

.hero-title-line {
  white-space: nowrap;
}

.hero-minimal-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #0D5580;
  text-transform: uppercase;
  margin: 0 0 1.125rem 0;
}

.hero-minimal-lead {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.55;
  margin: 0 0 1.75rem 0;
  max-width: 480px;
}

.hero-minimal-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-minimal-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #034975;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(3, 73, 117, 0.2);
  transition: background-color 0.15s ease;
  border: none;
}

.btn-minimal-primary:hover {
  background-color: #0D5580;
}

.btn-minimal-secondary {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #034975;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.4rem;
  border: 1.5px solid #034975;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-minimal-secondary:hover {
  background-color: rgba(3, 73, 117, 0.05);
  border-color: #0D5580;
  color: #0D5580;
}

.hero-minimal-support {
  position: absolute;
  top: 0;
  right: 1.5rem;
  bottom: 0;
  width: 50%;
  max-width: 630px;
  z-index: 2;
  overflow: hidden;
  display: block;
}

.hero-media-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-support-img[width][height] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 22% center;
  display: block;
}

.hero-blend-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-badge-overlay {
  position: absolute;
  bottom: 2.25rem;
  right: 2rem;
  z-index: 5;
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
  pointer-events: none;
}

.hero-badge-text {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.45;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-badge-dash {
  display: block;
  width: 24px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   3. MOSAICO EDITORIAL DOMINANTE (GALLERY)
   ========================================================================== */
.gallery-minimal-mosaic {
  background-color: var(--mp-bg);
  padding: 4.5rem 0;
}

.gallery-mosaic-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.gallery-mosaic-meta {
  max-width: 42rem;
}

.gallery-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mp-primary);
  margin-bottom: 0.5rem;
}

.gallery-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--mp-text);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem 0;
}

.gallery-reference-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--mp-tag-bg);
  border: 1px solid #B8D5E5;
  color: var(--mp-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
  margin: 0;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--mp-primary);
  border-radius: 50%;
}

.gallery-intro {
  font-size: 1rem;
  color: var(--mp-text-muted);
  max-width: 24rem;
  line-height: 1.6;
  margin: 0;
  text-align: right;
}

/* Editorial Mosaic Grid */
.gallery-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mosaic-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background-color: #0B1E32;
}

/* Aspect ratio assignments */
.mosaic-item.mosaic-portrait:nth-child(1) {
  grid-column: span 4;
}

.mosaic-item.mosaic-wide:nth-child(2) {
  grid-column: span 5;
}

.mosaic-item.mosaic-standard:nth-child(3) {
  grid-column: span 3;
}

.mosaic-item.mosaic-portrait:nth-child(4) {
  grid-column: span 5;
}

.mosaic-item.mosaic-standard:nth-child(5) {
  grid-column: span 7;
}

.mosaic-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.aspect-4-5 .mosaic-img {
  aspect-ratio: 4 / 5;
}

.aspect-16-9 .mosaic-img {
  aspect-ratio: 16 / 9;
}

.aspect-3-2 .mosaic-img {
  aspect-ratio: 3 / 2;
}

.gallery-mosaic-grid img.mosaic-img[width][height] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.mosaic-item:hover .mosaic-img {
  transform: scale(1.02);
}

.mosaic-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 20, 33, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  box-sizing: border-box;
}

.mosaic-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  color: #071421;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mosaic-info {
  display: flex;
  flex-direction: column;
}

.mosaic-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7DD3FC;
  margin-bottom: 0.25rem;
}

.mosaic-caption {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Filter Pills Bar */
.gallery-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--mp-border);
}

.gallery-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.gallery-pill {
  background-color: transparent;
  border: 1px solid var(--mp-border);
  color: var(--mp-text-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gallery-pill:hover,
.gallery-pill.active {
  background-color: var(--mp-primary);
  border-color: var(--mp-primary);
  color: #FFFFFF;
}

.gallery-filter-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.filter-line {
  width: 40px;
  height: 1px;
  background-color: var(--mp-border);
}

.filter-text {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mp-text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   4. FAIXA ESCURA DE MANIFESTO E PROPÓSITO (RICH-TEXT)
   ========================================================================== */
.manifesto-dark-band {
  background-color: var(--mp-dark-band) !important;
  color: var(--mp-dark-text) !important;
  padding: 5.5rem 0;
}

.manifesto-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.manifesto-live-feature {
  width: 100%;
}

.manifesto-media-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000000;
  border: 1px solid var(--mp-dark-border);
}

.manifesto-media-holder img.manifesto-bg-img[width][height] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.manifesto-live-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(7, 20, 33, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.manifesto-play-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: #071421;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.manifesto-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #7DD3FC;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.manifesto-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.manifesto-timing {
  font-size: 0.8125rem;
  color: var(--mp-dark-muted);
}

.manifesto-content-body {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  border-top: 1px solid var(--mp-dark-border);
  padding-top: 3rem;
}

.manifesto-header {
  display: flex;
  flex-direction: column;
}

.manifesto-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #38BDF8;
  margin-bottom: 0.75rem;
}

.manifesto-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin: 0 0 1rem 0;
}

.manifesto-subheading {
  font-size: 1.0625rem;
  color: var(--mp-dark-muted);
  line-height: 1.6;
  margin: 0;
}

.manifesto-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.manifesto-subheading-inner {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0.5rem 0 0.25rem 0;
}

.manifesto-paragraph {
  font-size: 1rem;
  color: #E2E8F0;
  line-height: 1.75;
  margin: 0;
}

.manifesto-branch-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.manifesto-branch-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #E2E8F0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.branch-bullet {
  color: #38BDF8;
  font-size: 1.25rem;
  line-height: 1;
}

/* ==========================================================================
   5. LISTA SIMPLES DE SERVIÇOS (SERVICES)
   ========================================================================== */
.services-minimal-list {
  position: relative;
  background-color: var(--mp-bg);
  padding: 5rem 0;
}

.services-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.services-decor::before,
.services-decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.services-decor::before {
  width: 32rem;
  height: 32rem;
  top: -18rem;
  right: -10rem;
  background-color: rgba(226, 214, 197, 0.4);
}

.services-decor::after {
  width: 26rem;
  height: 26rem;
  bottom: -15rem;
  left: -9rem;
  border: 1px solid rgba(13, 85, 128, 0.12);
}

.services-container,
.services-minimal-layout {
  position: relative;
  z-index: 1;
}

.services-minimal-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
}

.services-minimal-left {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 6rem;
  align-self: flex-start;
}

.services-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
}

.services-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--mp-primary);
  text-transform: uppercase;
}

.services-eyebrow-line {
  display: inline-block;
  width: 48px;
  height: 2px;
  background-color: var(--mp-primary);
}

.services-minimal-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--mp-text);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem 0;
}

.services-minimal-desc {
  font-size: 1.0625rem;
  color: var(--mp-text-muted);
  line-height: 1.65;
  margin: 0 0 2rem 0;
}

.btn-services-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: #034975;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  text-decoration: none;
  border: none;
  box-shadow: 0 2px 6px rgba(3, 73, 117, 0.2);
  transition: background-color 0.15s ease;
  width: fit-content;
}

.btn-services-quote:hover {
  background-color: #0D5580;
}

.services-numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.service-list-item {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr 2.5rem;
  gap: 1.25rem;
  align-items: center;
  padding: 1.6rem 1.1rem;
  margin: 0 -1.1rem;
  border-bottom: 1px solid var(--mp-border);
  border-radius: 10px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.service-list-item:first-child {
  border-top: 1px solid var(--mp-border);
}

.service-list-item:hover {
  background-color: #FAF8F6;
  box-shadow: 0 12px 26px rgba(8, 40, 70, 0.07);
}

.service-item-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1;
  color: #526C7D;
  transition: color 0.15s ease;
}

.service-list-item:hover .service-item-number {
  color: #0D5580;
}

.service-item-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.service-item-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.service-item-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--mp-text);
  margin: 0;
  transition: color 0.2s ease;
}

.service-list-item:hover .service-item-name {
  color: #034975;
}

.service-item-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background-color: #E9F2F7;
  border: 1px solid #CFE1EB;
  color: #0A5D84;
  padding: 0.26rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

.service-item-summary {
  font-size: 0.9375rem;
  color: var(--mp-text-muted);
  line-height: 1.5;
  margin: 0;
}

.service-item-action {
  display: flex;
  justify-content: flex-end;
}

.service-arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--mp-border);
  background-color: #FFFFFF;
  color: var(--mp-primary);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-list-item:hover .service-arrow-link {
  background-color: #034975;
  border-color: #034975;
  color: #FFFFFF;
  transform: translateX(4px);
  box-shadow: 0 6px 14px rgba(3, 73, 117, 0.28);
}

/* ==========================================================================
   6. CURSOS & EDUCAÇÃO (CATALOG MINIMALISTA)
   ========================================================================== */
.catalog-section {
  background-color: var(--mp-surface);
  border-bottom: 1px solid var(--mp-border);
  padding: 5rem 0;
}

.catalog-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 700;
  color: var(--mp-text);
  line-height: 1.2;
}

.catalog-category-group {
  margin-bottom: 3.5rem;
}

.catalog-category-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--mp-accent);
  border-bottom: 2px solid var(--mp-primary);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

.catalog-category-desc {
  font-size: 0.9375rem;
  color: var(--mp-text-muted);
  margin-bottom: 1.5rem;
}

.catalog-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.catalog-item-card {
  background-color: #FFFFFF !important;
  border: 1px solid var(--mp-border) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.catalog-item-card:hover {
  border-color: var(--mp-primary) !important;
}

.catalog-item-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

/* Contrast fix for badges */
.catalog-category-group .catalog-items-grid .catalog-item-card div > span,
.catalog-item-card span[style*="854d0e"],
.catalog-item-card span[style*="color: #854d0e"] {
  background-color: #F1F5F9 !important;
  color: #0D5580 !important;
  border: 1px solid #CBD5E1 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   7. CTA, SOCIAL, LEAD-FORM, FOOTER
   ========================================================================== */
.cta-section {
  position: relative;
  overflow: hidden;
  background-color: #F6F2EC !important;
  color: var(--mp-text) !important;
  border-top: 1px solid var(--mp-border) !important;
  border-bottom: 1px solid var(--mp-border);
  padding: 5.25rem 0 5.5rem;
  text-align: left !important;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 35rem;
  height: 35rem;
  border: 1px solid rgba(166, 143, 115, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::before {
  top: -27rem;
  left: -18rem;
}

.cta-section::after {
  right: -19rem;
  bottom: -28rem;
}

.cta-container {
  max-width: 1240px !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.75rem;
  row-gap: 1rem;
  align-items: end;
  position: relative;
  z-index: 1;
}

.cta-section .cta-container > span {
  grid-column: 1 / -1;
  justify-self: start;
  background-color: var(--mp-accent) !important;
  color: #FFFFFF !important;
  border-radius: 3px !important;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.45rem 0.75rem !important;
  margin: 0 0 0.75rem !important;
  font-size: 0.6875rem !important;
  letter-spacing: 0.13em !important;
}

.cta-section h2 {
  grid-column: 1;
  max-width: 18ch;
  text-align: left !important;
  color: var(--mp-text) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 4.3vw, 3.65rem) !important;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0 0 0.25rem !important;
}

.cta-section h2::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  background-color: #A68F73;
  margin-top: 2rem;
}

.cta-section p {
  grid-column: 1;
  max-width: 42rem;
  text-align: left !important;
  color: var(--mp-text-muted) !important;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}

.cta-actions {
  grid-column: 2;
  grid-row: 2 / span 2;
  display: grid !important;
  grid-template-columns: 1fr;
  justify-content: stretch !important;
  gap: 0.75rem !important;
  align-self: end;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0 !important;
}

.cta-button-stack {
  display: grid;
  gap: 0.75rem;
}

.cta-button-stack .btn {
  width: 100%;
  min-height: 3.25rem;
  box-sizing: border-box;
  border-radius: 4px !important;
  padding: 0.85rem 1.15rem !important;
  font-size: 0.9375rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.005em;
  box-shadow: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.cta-button-stack .btn:first-child {
  background-color: var(--mp-primary) !important;
  color: #FFFFFF !important;
  border: 1px solid var(--mp-primary) !important;
}

.cta-button-stack .btn:first-child:hover {
  background-color: var(--mp-primary-hover) !important;
  border-color: var(--mp-primary-hover) !important;
  transform: translateY(-1px);
}

.cta-button-stack .btn:last-child {
  background-color: #FFFFFF !important;
  color: var(--mp-primary) !important;
  border: 1px solid var(--mp-primary) !important;
}

.cta-button-stack .btn:last-child:hover {
  background-color: var(--mp-tag-bg) !important;
  border-color: var(--mp-primary-hover) !important;
  color: var(--mp-primary-hover) !important;
  transform: translateY(-1px);
}

.cta-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 2.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(166, 143, 115, 0.28);
}

.cta-highlight {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.75rem;
  text-align: center;
  color: #A68F73;
}

.cta-highlight + .cta-highlight {
  border-left: 1px solid rgba(166, 143, 115, 0.28);
}

.cta-highlight svg {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.cta-highlight span {
  color: var(--mp-text-muted);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.45;
}

.social-section {
  background-color: var(--mp-surface);
  border-bottom: 1px solid var(--mp-border);
  padding: 3.5rem 0;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.social-link-card {
  background: #FFFFFF;
  border: 1px solid var(--mp-border);
  border-radius: 6px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--mp-text);
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.15s ease;
}

.social-link-card:hover {
  border-color: var(--mp-primary);
  color: var(--mp-primary);
}

.lead-form-section {
  position: relative;
  overflow: hidden;
  background-color: #071421;
  color: #F8FAFC;
  border-top: 1px solid var(--mp-dark-border);
  border-bottom: 1px solid var(--mp-dark-border);
  padding: 5rem 0;
}

.lead-form-section::before,
.lead-form-section::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(30, 58, 95, 0.65);
  border-radius: 50%;
  pointer-events: none;
}

.lead-form-section::before {
  width: 34rem;
  height: 34rem;
  top: -20rem;
  left: -14rem;
}

.lead-form-section::after {
  width: 40rem;
  height: 40rem;
  right: -22rem;
  bottom: -26rem;
}

.lead-form-container {
  position: relative;
  z-index: 1;
  max-width: 1240px !important;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 4rem;
  align-items: center;
}

.lead-form-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
  color: #7DD3FC;
}

.lead-form-kicker span {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  line-height: 1;
}

.lead-form-kicker i {
  width: 3rem;
  height: 1px;
  background-color: #8CA1AC;
}

.lead-form-title {
  max-width: 12em;
  margin: 0 0 1.15rem 0;
  color: #FFFFFF;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lead-form-subtitle {
  max-width: 32rem;
  margin: 0;
  color: var(--mp-dark-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.lead-form-signature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
  max-width: 26rem;
  margin-top: 2.25rem;
}

.lead-form-signature span {
  color: #7688A0;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  white-space: nowrap;
}

.lead-form-signature i {
  height: 1px;
  background-color: var(--mp-dark-border);
}

.lead-form-card {
  position: relative;
  background-color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 24px 48px rgba(2, 8, 20, 0.35);
}

.lead-form-feedback {
  display: none;
  margin-bottom: 1.25rem;
  padding: 0.875rem 1.25rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
}

.lead-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem 1.25rem;
}

.lead-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.lead-form-field.field-type-textarea {
  grid-column: 1 / -1;
}

.lead-form-field label {
  color: #092A45;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form-required {
  color: #C2410C;
}

.lead-form-card input:not([type="checkbox"]):not([type="radio"]),
.lead-form-card select,
.lead-form-card textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 0.95rem;
  border: 1px solid #D8E0E8;
  border-radius: 6px;
  background-color: #F8FAFC;
  color: #0F172A;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lead-form-card textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.lead-form-card input:not([type="checkbox"]):not([type="radio"]):focus,
.lead-form-card select:focus,
.lead-form-card textarea:focus {
  outline: none;
  border-color: #0D5580;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(13, 85, 128, 0.14);
}

.lead-form-card ::placeholder {
  color: #94A3B8;
}

.lead-form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1.25rem;
  color: #475569;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.lead-form-consent input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  margin: 0.1rem 0 0;
  padding: 0;
  accent-color: #0D5580;
  cursor: pointer;
}

.lead-form-card button[type="submit"] {
  width: 100%;
  min-height: 3.25rem;
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.5rem;
  background-color: #034975 !important;
  color: #FFFFFF !important;
  border: 1px solid #034975 !important;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(3, 73, 117, 0.28);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.lead-form-card button[type="submit"]:hover {
  background-color: #0D5580 !important;
  border-color: #0D5580 !important;
  transform: translateY(-1px);
}

.lead-form-card button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

@media (max-width: 1024px) {
  .lead-form-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .lead-form-title {
    max-width: 16em;
  }
}

@media (max-width: 640px) {
  .lead-form-section {
    padding: 3.5rem 0;
  }

  .lead-form-fields {
    grid-template-columns: 1fr;
  }

  .lead-form-card {
    padding: 1.5rem !important;
  }

  .lead-form-title {
    max-width: none;
    font-size: clamp(1.9rem, 8vw, 2.35rem);
  }
}

.site-footer {
  background-color: #FFFFFF !important;
  border-top: 1px solid var(--mp-border);
  padding: 3.5rem 0 2rem 0;
  color: var(--mp-text-muted);
}

.site-footer a {
  color: var(--mp-text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--mp-primary);
}

/* ==========================================================================
   8. MEDIA QUERIES (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 860px) {
  .site-header .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    gap: 0.75rem !important;
  }

  .header-brand a {
    display: inline-flex !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--mp-surface) !important;
    border: 1px solid var(--mp-border) !important;
    color: var(--mp-accent) !important;
    min-height: 40px !important;
    min-width: 40px !important;
    border-radius: 4px !important;
  }

  .header-actions {
    gap: 0.625rem !important;
    flex-shrink: 0 !important;
  }

  .header-cta-btn {
    font-size: 0.8125rem !important;
    padding: 0.45rem 0.875rem !important;
    min-height: 40px !important;
  }

  .hero-variant-minimal-portfolio {
    min-height: auto;
  }

  .hero-title-line {
    white-space: normal;
  }

  .hero-minimal-copy {
    width: 55%;
  }

  .hero-minimal-support {
    width: 48%;
  }

  .gallery-mosaic-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }

  .mosaic-item.mosaic-portrait:nth-child(1) { grid-column: span 3; }
  .mosaic-item.mosaic-wide:nth-child(2) { grid-column: span 3; }
  .mosaic-item.mosaic-standard:nth-child(3) { grid-column: span 6; }
  .mosaic-item.mosaic-portrait:nth-child(4) { grid-column: span 3; }
  .mosaic-item.mosaic-standard:nth-child(5) { grid-column: span 3; }

  .gallery-mosaic-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .gallery-intro {
    text-align: left;
  }

  .manifesto-content-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-minimal-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-minimal-left {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    height: 3.75rem !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    gap: 0.5rem !important;
  }

  .header-brand img {
    height: 1.875rem !important;
    max-width: 140px !important;
  }

  .header-cta-btn {
    font-size: 0.75rem !important;
    padding: 0.35rem 0.625rem !important;
    min-height: 44px !important;
  }

  .mobile-menu-toggle {
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0.25rem 0.4rem !important;
  }

  .site-header {
    position: relative;
    height: auto;
    background-color: #FAF8F6 !important;
    border-bottom: 1px solid var(--mp-border) !important;
  }

  .hero-variant-minimal-portfolio {
    padding: 1.5rem 0 0 0;
    flex-direction: column;
    min-height: auto;
  }

  .hero-ambient-curves {
    display: none;
  }

  .hero-minimal-copy {
    width: 100%;
    max-width: 100%;
    padding: 1rem 0 2rem 0;
  }

  .hero-minimal-title {
    font-size: 1.875rem;
  }

  .hero-minimal-support {
    position: relative;
    width: 100%;
    height: 320px;
  }

  .gallery-mosaic-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mosaic-item {
    grid-column: span 1 !important;
  }

  .service-list-item {
    grid-template-columns: 2.5rem 1fr 2rem;
    gap: 0.75rem;
    padding: 1.25rem 0;
    margin: 0;
    border-radius: 0;
    align-items: start;
  }

  .service-list-item:hover {
    box-shadow: none;
  }

  .service-arrow-link {
    width: 32px;
    height: 32px;
  }

  .service-arrow-link svg {
    width: 18px;
    height: 18px;
  }

  .service-item-number {
    font-size: 1.125rem;
    padding-top: 0.15rem;
  }

  .service-item-action {
    align-self: start;
    padding-top: 0.1rem;
  }

  .service-item-name {
    font-size: 1.0625rem;
  }

  .gallery-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .gallery-pills {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.375rem;
  }

  .gallery-filter-label {
    display: none;
  }

  .cta-section {
    padding: 3.75rem 0 4rem;
  }

  .cta-container {
    grid-template-columns: 1fr;
    row-gap: 1.25rem;
  }

  .cta-section h2,
  .cta-section p,
  .cta-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .cta-section h2 {
    max-width: 16ch;
    font-size: clamp(2.1rem, 9vw, 2.9rem) !important;
  }

  .cta-actions {
    max-width: none;
    margin-top: 0.5rem !important;
    justify-self: stretch;
  }

  .cta-highlights {
    margin-top: 1.5rem;
    padding-top: 1.1rem;
  }

  .cta-highlight {
    gap: 0.45rem;
    padding: 0 0.35rem;
  }

  .cta-highlight svg {
    width: 1.45rem;
    height: 1.45rem;
  }

  .cta-highlight span {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }
}

/* Source-order guarantees for the reference-specific sections. */
.cta-reference-section {
  background-color: #F8F3EA !important;
  border-top: 1px solid #E8E0D4 !important;
  border-bottom: 1px solid #E2E8F0 !important;
  padding: 2.75rem 0 2.5rem !important;
  text-align: left !important;
}

.cta-reference-section::before,
.cta-reference-section::after {
  width: 38rem;
  height: 38rem;
  border: 0;
}

.cta-reference-section::before {
  top: -12rem;
  right: 17%;
  left: auto;
}

.cta-reference-section::after {
  right: -22rem;
  bottom: -22rem;
}

.cta-reference-container {
  max-width: 1240px !important;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 1.875rem;
  align-items: center;
}

.social-reference-section {
  background-color: #FFFFFF !important;
  border-top: 0 !important;
  padding: 3.8rem 0 3.25rem !important;
  text-align: left !important;
}

@media (max-width: 1100px) {
  .cta-reference-container {
    grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.9fr);
  }
}

@media (max-width: 760px) {
  .cta-reference-section {
    padding: 3.25rem 0 3.5rem !important;
  }

  .cta-reference-container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* ==========================================================================
   CATÁLOGO DE CURSOS — composição editorial da referência 2a3d4fa3
   ========================================================================== */
.courses-portfolio-section {
  padding: 4.25rem 0 5rem;
  background-color: #FAFBFC;
  border-top: 1px solid #E4E9ED;
  border-bottom: 1px solid #DCE5EC;
}

.courses-portfolio-section > .container {
  width: min(100% - 3rem, 1240px);
  max-width: 1240px;
  margin-inline: auto;
}

.courses-portfolio-section .catalog-category-group {
  margin: 0 0 4.25rem;
}

.courses-portfolio-section .catalog-category-group:last-child {
  margin-bottom: 0;
}

.courses-section-header {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #8AA9BA;
}

.courses-portfolio-section .courses-title {
  flex: 0 0 auto;
  margin: 0;
  color: #082846;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.courses-subtitle {
  min-width: 0;
  margin: 0;
  color: #51677A;
  font-size: 0.95rem;
  line-height: 1.5;
}

.courses-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  align-items: stretch;
}

.courses-grid .course-card {
  flex: 0 1 calc((100% - 2.5rem) / 3);
  max-width: calc((100% - 2.5rem) / 3);
}

@media (min-width: 901px) {
  .courses-grid-transversal .course-card:nth-child(n + 4),
  .courses-grid-pair .course-card {
    flex: 0 1 calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }

  .courses-grid-quartet .course-card {
    flex: 0 1 calc((100% - 3.75rem) / 4);
    max-width: calc((100% - 3.75rem) / 4);
  }
}

.course-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border: 1px solid #DCE5EB;
  border-radius: 0.6rem;
  box-shadow: 0 0.35rem 1rem rgba(8, 40, 70, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.course-card:hover {
  transform: translateY(-2px);
  border-color: #8EADBD;
  box-shadow: 0 0.75rem 1.6rem rgba(8, 40, 70, 0.08);
}

.course-card-media {
  height: auto;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-bottom: 1px solid #E1E9EE;
  border-radius: 0;
  background-color: #DCE7EE;
}

.course-card-img[width][height],
.course-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 300ms ease;
}

.course-card:hover .course-card-img {
  transform: scale(1.025);
}

.course-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.95rem 1rem 1rem;
}

.course-card-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.26rem 0.55rem;
  overflow: hidden;
  color: #0A5D84;
  background-color: #E9F2F7;
  border: 1px solid #CFE1EB;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.09em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.course-card-title {
  margin: 0 0 0.4rem;
  color: #092743;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.course-card-desc {
  margin: 0 0 0.95rem;
  color: #5B6F80;
  font-size: 0.82rem;
  line-height: 1.48;
}

.course-card-btn {
  width: 100%;
  min-height: 2.3rem;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  color: #0A5D84;
  background-color: #F2F7FA;
  border: 1px solid #C6D8E2;
  border-radius: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.course-card-btn:hover {
  color: #FFFFFF;
  background-color: #0A668F;
  border-color: #0A668F;
  transform: translateY(-1px);
}

.course-card-btn:focus-visible {
  outline: 3px solid rgba(8, 108, 157, 0.28);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .courses-section-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.45rem;
  }

  .courses-grid .course-card {
    flex-basis: calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }

  .course-card-media {
    height: 11rem;
  }
}

@media (max-width: 620px) {
  .courses-portfolio-section {
    padding: 3rem 0 3.75rem;
  }

  .courses-portfolio-section > .container {
    width: min(100% - 2rem, 1240px);
  }

  .courses-portfolio-section .catalog-category-group {
    margin-bottom: 3.25rem;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .courses-grid .course-card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .course-card-media {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ==========================================================================
   REFINO RESPONSIVO FINAL — HERO, VÍDEO E RITMO DOS COMPONENTES
   ========================================================================== */
@media (max-width: 900px) {
  .site-header {
    position: relative;
    height: auto;
    background-color: #FAF8F6 !important;
    border-bottom: 1px solid var(--mp-border) !important;
  }

  .site-header .container {
    min-height: 4.25rem;
    height: auto;
    padding-top: 0.55rem !important;
    padding-bottom: 0.55rem !important;
  }

  .hero-variant-minimal-portfolio {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .hero-variant-minimal-portfolio .hero-container {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 1.75rem;
    padding-bottom: 2.25rem;
  }

  .hero-minimal-copy {
    width: 100%;
    max-width: 45rem;
    padding: 0.75rem 0 1.75rem;
  }

  .hero-minimal-title {
    max-width: 100%;
    font-size: clamp(2.3rem, 5.5vw, 2.75rem);
  }

  .hero-minimal-lead {
    max-width: 42rem;
  }

  .hero-minimal-support {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0;
    overflow: visible;
  }

  .hero-media-container {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
  }

  .hero-support-img[width][height] {
    object-position: center;
  }

  .hero-blend-overlay {
    display: none;
  }

  .hero-badge-overlay {
    right: 1.5rem;
    bottom: 1.5rem;
  }

  .manifesto-dark-band {
    padding: 4rem 0;
  }

  .manifesto-container {
    gap: 2.75rem;
  }

  .manifesto-live-overlay {
    padding: 1.25rem;
  }

  .manifesto-play-badge {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    margin-bottom: 0.85rem;
  }

  .manifesto-play-badge svg {
    width: 22px;
    height: 22px;
  }

  .manifesto-title {
    max-width: 18ch;
    font-size: clamp(1.75rem, 4.5vw, 2.2rem);
    line-height: 1.14;
  }

  .manifesto-content-body {
    padding-top: 2.5rem;
  }
}

@media (max-width: 640px) {
  .site-header .container {
    min-height: 3.75rem;
  }

  .header-brand img,
  .header-brand-logo {
    width: auto;
    max-width: 136px !important;
    height: 1.8rem !important;
  }

  .header-cta-btn {
    min-height: 44px !important;
    padding: 0.35rem 0.6rem !important;
    font-size: 0.72rem !important;
  }

  .hero-variant-minimal-portfolio .hero-container {
    padding-top: 1.35rem;
    padding-bottom: 1.75rem;
  }

  .hero-minimal-copy {
    padding: 0.5rem 0 1.5rem;
  }

  .hero-eyebrow-wrapper {
    gap: 0.7rem;
    margin-bottom: 0.85rem;
  }

  .hero-eyebrow-text {
    font-size: 0.68rem;
    line-height: 1.45;
    letter-spacing: 0.14em;
  }

  .hero-eyebrow-line {
    width: 2.25rem;
    flex: 0 0 2.25rem;
  }

  .hero-minimal-title {
    max-width: 100%;
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 9.3vw, 2.35rem);
    line-height: 1.08;
  }

  .hero-minimal-kicker {
    margin-bottom: 0.9rem;
    font-size: 0.66rem;
    line-height: 1.6;
    letter-spacing: 0.12em;
  }

  .hero-minimal-lead {
    max-width: none;
    margin-bottom: 1.25rem;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-minimal-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-minimal-actions .btn-minimal-primary,
  .hero-minimal-actions .btn-minimal-secondary {
    width: 100%;
    min-height: 3rem;
    justify-content: center;
    box-sizing: border-box;
    padding: 0.72rem 1rem;
    text-align: center;
  }

  .hero-media-container {
    aspect-ratio: 4 / 3;
    border-radius: 6px;
  }

  .hero-badge-overlay {
    right: 1rem;
    bottom: 1rem;
  }

  .hero-badge-text {
    font-size: 0.58rem;
  }

  .manifesto-dark-band {
    padding: 3.25rem 0;
  }

  .manifesto-container {
    gap: 2.25rem;
  }

  .manifesto-media-holder {
    border-radius: 6px;
  }

  .manifesto-live-overlay {
    padding: 0.7rem 0.85rem;
  }

  .manifesto-play-badge {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    margin-bottom: 0.45rem;
  }

  .manifesto-play-badge svg {
    width: 17px;
    height: 17px;
  }

  .manifesto-label {
    margin-bottom: 0.3rem;
    font-size: 0.56rem;
    line-height: 1.25;
    letter-spacing: 0.11em;
    white-space: nowrap;
  }

  .manifesto-title {
    max-width: 16ch;
    margin-bottom: 0.3rem;
    font-size: clamp(1.28rem, 6vw, 1.55rem);
    line-height: 1.12;
  }

  .manifesto-timing {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .manifesto-content-body {
    gap: 1.5rem;
    padding-top: 2.15rem;
  }

  .manifesto-heading {
    font-size: clamp(1.7rem, 7.5vw, 2rem);
  }

  .manifesto-subheading {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .manifesto-paragraph,
  .manifesto-branch-item {
    font-size: 0.92rem;
  }
}

/* Mobile navigation overlay: keeps the drawer out of the document flow. */
@media (max-width: 1024px) {
  .site-header {
    overflow: visible;
  }

  .mobile-nav-drawer {
    position: absolute;
    z-index: 80;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: auto;
    width: min(22rem, calc(100% - 2rem));
    max-height: calc(100svh - 5.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    padding: 0.55rem;
    background-color: #FFFFFF;
    border: 1px solid #D6E1E7;
    border-radius: 0.65rem;
    box-shadow: 0 1.25rem 3rem rgba(7, 31, 58, 0.18);
  }

  .mobile-nav-drawer[hidden] {
    display: none !important;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  .mobile-nav-item {
    min-height: 2.9rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0.7rem 0.85rem;
    color: #092A45;
    background-color: transparent;
    border: 0;
    border-radius: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease;
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:focus-visible {
    color: #034975;
    background-color: #EEF5F8;
  }

  .mobile-menu-toggle[aria-expanded="true"] {
    color: #FFFFFF !important;
    background-color: #034975 !important;
    border-color: #034975 !important;
  }

  .hamburger-icon {
    font-size: 0;
    line-height: 1;
  }

  .hamburger-icon::before {
    content: "☰";
    font-size: 1.25rem;
  }

  .mobile-menu-toggle[aria-expanded="true"] .hamburger-icon::before {
    content: "×";
    font-size: 1.55rem;
    font-weight: 500;
  }
}

@media (max-width: 640px) {
  .mobile-nav-drawer {
    top: calc(100% + 0.4rem);
    right: 0.75rem;
    width: calc(100% - 1.5rem);
    max-height: calc(100svh - 4.75rem);
  }

  .mobile-nav-item {
    min-height: 3rem;
    padding-inline: 0.9rem;
  }
}

/* ==========================================================================
   DIREÇÃO APROVADA PELA CLIENTE — SETEMBRO/2026
   ========================================================================== */
:root {
  --font-heading: "Montserrat", "Poppins", system-ui, sans-serif;
  --font-body: "Poppins", "Montserrat", system-ui, sans-serif;
  --mp-brand-blue: #0D5580;
  --mp-brand-blue-dark: #063B5D;
  --mp-brand-beige: #F8F3EA;
}

html,
body,
button,
input,
textarea,
select {
  font-family: var(--font-body) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-minimal-title,
.gallery-title,
.manifesto-heading,
.services-minimal-title,
.courses-title,
.course-card-title,
.cta-reference-section .cta-reference-copy h2,
.social-reference-copy h2 {
  font-family: var(--font-heading) !important;
}

/* Header and the opening section form one continuous blue field. */
.site-header,
.site-header.site-header-integrated {
  background-color: var(--mp-brand-blue) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.brand-lockup {
  display: inline-flex !important;
  flex-direction: column;
  align-items: stretch !important;
  width: 12rem;
  color: #FFFFFF;
  text-decoration: none;
}

.brand-mark-crop {
  display: block;
  width: 100%;
  height: 1.85rem;
  overflow: hidden;
}

.brand-mark-crop img,
.brand-mark-crop img[width][height] {
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  display: block;
  mix-blend-mode: screen;
}

.desktop-nav a,
.header-nav-link {
  color: rgba(255, 255, 255, 0.84);
}

.desktop-nav a:hover,
.header-nav-link:hover,
.desktop-nav a.active,
.header-nav-link.active {
  color: #FFFFFF;
}

.desktop-nav a.active::after,
.header-nav-link.active::after {
  background-color: #DCC7AA;
}

.header-cta-btn {
  background-color: #FFFFFF !important;
  border-color: #FFFFFF !important;
  color: var(--mp-brand-blue-dark) !important;
  box-shadow: none;
}

.header-cta-btn:hover {
  background-color: #F8F3EA !important;
  color: var(--mp-brand-blue-dark) !important;
}

.mobile-menu-toggle {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  background-color: transparent !important;
}

/* Hero: blue brand field matching the approved reference layout.
   Top padding clears the absolute 4.75rem header. */
.hero-variant-minimal-portfolio {
  position: relative;
  overflow: hidden;
  min-height: 0 !important;
  background-color: #024D7B !important;
  color: #FFFFFF;
  border-bottom: 0;
  display: flex;
  align-items: center;
  padding: 6.4rem 0 1.5rem !important;
}

.hero-ambient-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Lateral Vertical Margins */
.hero-margin-left {
  position: absolute;
  left: clamp(1rem, 2vw, 2.5rem);
  bottom: 2rem;
  z-index: 2;
  pointer-events: none;
}

.hero-margin-left-words {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: rgba(238, 222, 201, 0.7);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.25;
}

.hero-margin-right {
  position: absolute;
  right: clamp(1rem, 2vw, 2.5rem);
  bottom: 2rem;
  z-index: 2;
  pointer-events: none;
  text-align: left;
}

.hero-margin-right-words {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: rgba(238, 222, 201, 0.7);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.25;
}

.hero-margin-right-words .margin-dash {
  font-size: 0.85rem;
  line-height: 1;
  margin-bottom: 0.1rem;
}

@media (max-width: 1024px) {
  .hero-margin-left,
  .hero-margin-right {
    display: none;
  }
}

.hero-variant-minimal-portfolio .hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1210px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(1.5rem, 2.8vw, 3rem);
  align-items: center;
}

/* Left copy column */
.hero-minimal-copy {
  display: flex;
  flex-direction: column;
  width: auto;
  max-width: none;
  padding: 0;
}

.hero-eyebrow-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-eyebrow-text {
  color: #eedec9;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-eyebrow-line {
  width: 1.9rem;
  height: 1px;
  background-color: #eedec9;
  opacity: 0.8;
}

.hero-minimal-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.35vw, 3.375rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 0 0 0.75rem;
  max-width: none;
}

.hero-title-line:last-child {
  color: #eedec9;
}

.hero-minimal-kicker {
  color: #eedec9;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 1.2rem;
  text-transform: uppercase;
}

.hero-minimal-lead {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.68;
  margin: 0 0 1.5rem;
}

.hero-minimal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: center;
  margin-bottom: 2.25rem;
}

.btn-minimal-primary {
  background-color: #FFFFFF !important;
  color: #024D7B !important;
  border-radius: 6px;
  padding: 0 1.4rem;
  height: 2.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid #FFFFFF;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-minimal-primary:hover {
  background-color: #f1f5f9 !important;
  transform: translateY(-1px);
}

.btn-minimal-secondary {
  background-color: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  padding: 0 1.4rem;
  height: 2.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-minimal-secondary:hover {
  border-color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.hero-minimal-footnote {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0;
}

.hero-footnote-line {
  width: 1.75rem;
  height: 1px;
  background-color: rgba(238, 222, 201, 0.55);
}

.hero-footnote-text {
  color: rgba(238, 222, 201, 0.85);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Right Card Support */
.hero-minimal-support {
  position: relative;
  width: 100%;
}

.hero-purpose-panel {
  position: relative;
  box-sizing: border-box;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top-left-radius: 4px;
  border-top-right-radius: 4rem;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 3rem;
  background-color: transparent;
  color: #FFFFFF;
  overflow: visible;
  min-height: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-purpose-panel::before,
.hero-purpose-panel::after {
  display: none !important;
}

.hero-purpose-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.6rem;
}

.hero-purpose-header-left {
  display: flex;
  flex-direction: column;
}

.hero-purpose-index-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

.hero-purpose-index {
  position: static;
  color: #eedec9;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-purpose-dash {
  width: 1.4rem;
  height: 1px;
  background-color: #eedec9;
  opacity: 0.8;
}

.hero-purpose-heading {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-purpose-accent {
  color: #eedec9;
  font-weight: 700;
}

.hero-purpose-header-right {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  padding-top: 0;
}

/* 2x2 Branches Grid */
.hero-branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero-branch-card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.branch-card-01 {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0 1.5rem 1.5rem 0;
}

.branch-card-02 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0 0 1.5rem 1.4rem;
}

.branch-card-03 {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1.5rem 1.5rem 0 0;
}

.branch-card-04 {
  padding: 1.5rem 0 0 1.4rem;
}

.branch-card-badge {
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.branch-card-title-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.15rem;
}

.branch-card-dash {
  width: 1.8rem;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.branch-card-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  white-space: nowrap;
}

.hero-purpose-panel .branch-card-caption,
.hero-purpose-panel p.branch-card-caption {
  color: rgba(255, 255, 255, 0.72) !important;
  font-family: var(--font-body) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.13em !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  padding-left: 3.5rem !important;
  text-transform: uppercase !important;
}

@media (max-width: 1024px) {
  .hero-variant-minimal-portfolio .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-purpose-panel {
    border-radius: 4px 3rem 4px 2rem;
  }
}

@media (max-width: 640px) {
  .hero-branches-grid {
    grid-template-columns: 1fr;
  }
  .branch-card-01, .branch-card-02, .branch-card-03 {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.75rem 0;
  }
  .branch-card-04 {
    padding: 0.75rem 0;
  }
}

/* Portfolio keeps its approved mosaic with provisional photography. */
.gallery-eyebrow,
.mosaic-tag {
  color: var(--mp-brand-blue) !important;
}

.mosaic-item {
  min-height: 17rem;
  border: 1px solid #CBDDE7;
  background-color: #0B1E32;
}

.mosaic-brand-field {
  min-height: 100%;
  background-color: #EDF4F7;
}

.mosaic-brand-field-criacao,
.mosaic-brand-field-bastidores {
  background-color: #F8F3EA;
}

.mosaic-brand-field-eventos {
  background-color: #DCE9EF;
}

.mosaic-brand-field-vivencia {
  background-color: #E6EEF2;
}

.mosaic-brand-field::before,
.mosaic-brand-field::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(13, 85, 128, 0.16);
  border-radius: 50%;
}

.mosaic-brand-field::before {
  width: 19rem;
  height: 19rem;
  top: -9rem;
  right: -7rem;
}

.mosaic-brand-field::after {
  width: 10rem;
  height: 10rem;
  bottom: -5rem;
  left: -4rem;
}

.mosaic-overlay {
  background-color: rgba(7, 20, 33, 0.48);
}

.mosaic-caption {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.mosaic-tag {
  align-self: flex-start;
  padding: 0.28rem 0.48rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 0.22rem;
}

.mosaic-play-indicator {
  background-color: var(--mp-brand-blue);
  color: #FFFFFF;
}

/* Tree and four linked branches. */
.manifesto-dark-band {
  position: relative;
  overflow: hidden;
  background-color: #071F35 !important;
  padding: 6.5rem 0;
}

.manifesto-tree-art[width][height] {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(76rem, 100%) !important;
  height: auto !important;
  opacity: 0.24;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.manifesto-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.manifesto-introduction {
  max-width: 33rem;
}

.manifesto-lead {
  margin: 1.5rem 0 1rem;
  color: #FFFFFF;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.75;
}

.manifesto-paragraph {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

.manifesto-content-body {
  display: block;
  padding-top: 0;
  border-top: 0;
}

.manifesto-kicker {
  color: #E6D5BE;
}

.manifesto-heading {
  margin: 0;
  color: #FFFFFF;
  font-size: clamp(2.05rem, 3.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.manifesto-subheading {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.68);
}

.manifesto-branch-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.manifesto-branch-item {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.manifesto-branch-item a {
  display: grid;
  grid-template-columns: 2.5rem 1fr 2rem;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  color: #FFFFFF;
  text-decoration: none;
}

.branch-number {
  color: #E6D5BE;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.manifesto-branch-item strong,
.manifesto-branch-item small {
  display: block;
}

.manifesto-branch-item strong {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.manifesto-branch-item small {
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.75rem;
}

.branch-link-mark {
  color: #E6D5BE;
  font-size: 1.15rem;
  text-align: right;
  transition: transform 160ms ease;
}

.manifesto-branch-item a:hover .branch-link-mark {
  transform: translate(0.15rem, -0.15rem);
}

/* Four concise explanatory pages, linked directly from the tree. */
.branch-pages {
  margin-top: 6rem;
  border-top: 1px solid #D9E3E8;
}

.branch-page {
  scroll-margin-top: 5rem;
  display: grid;
  grid-template-columns: minmax(18rem, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: 5.5rem 0;
  border-bottom: 1px solid #D9E3E8;
}

.branch-page-heading > span {
  display: block;
  margin-bottom: 2.5rem;
  color: #9A7D5C;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.branch-page-heading > p {
  margin: 0 0 0.75rem;
  color: var(--mp-brand-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.branch-page-heading h3 {
  margin: 0;
  color: #082846;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.branch-page-content > p {
  margin: 0 0 1.5rem;
  color: #52697B;
  font-size: 1rem;
  line-height: 1.75;
}

.branch-page-content h4 {
  margin: 0 0 0.85rem;
  color: #082846;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.branch-page-content ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
}

.branch-page-content li {
  position: relative;
  padding-left: 1rem;
  color: #203B52;
  font-size: 0.86rem;
  line-height: 1.55;
}

.branch-page-content li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background-color: var(--mp-brand-blue);
}

.branch-page-content .branch-page-closing {
  color: #082846;
  font-weight: 600;
}

.branch-page-cta {
  min-height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  background-color: var(--mp-brand-blue);
  border: 1px solid var(--mp-brand-blue);
  border-radius: 0.4rem;
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

/* Cards populated with provisional photography until the client sends replacements. */
.course-card {
  min-height: 0;
  border-top: 1px solid #DCE5EB;
}

.course-card-body {
  padding: 1.5rem;
}

.course-card-title {
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.course-card-desc {
  font-size: 0.88rem;
  line-height: 1.62;
}

.course-card-featured {
  border-color: #CDBB9F;
  background-color: #FBF7F0;
}

@media (min-width: 901px) {
  .courses-grid-vivencia .course-card {
    flex: 0 1 calc((100% - 2.5rem) / 3);
    max-width: calc((100% - 2.5rem) / 3);
  }

  .courses-grid-vivencia .course-card-wide {
    flex: 0 1 calc((100% - 1.25rem) / 2);
    max-width: calc((100% - 1.25rem) / 2);
  }
}

/* Legacy purpose-card styles are retained for compatibility; the visible CTA uses photography. */
.cta-purpose-card {
  position: relative;
  min-height: 26rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  padding: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  background-color: var(--mp-brand-blue);
  border-radius: 0.75rem;
  color: #FFFFFF;
}

.cta-purpose-card::before {
  content: "";
  position: absolute;
  width: 24rem;
  height: 24rem;
  top: -10rem;
  right: -8rem;
  border: 1px solid rgba(230, 213, 190, 0.45);
  border-radius: 50%;
}

.cta-purpose-mark {
  position: absolute;
  top: 1.6rem;
  left: 2rem;
  color: rgba(255, 255, 255, 0.18);
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 800;
  line-height: 1;
}

.cta-purpose-card p {
  position: relative;
  margin: 0 0 1.4rem;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.cta-purpose-card strong {
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: #E6D5BE;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Approved social structure populated with provisional photography. */
.social-reference-card {
  background-color: #071421;
}

.social-card-cerimonial {
  background-color: #7E684F;
}

.social-card-criacao {
  background-color: #315F78;
}

.social-card-vivencia {
  background-color: #0D5580;
}

.social-reference-card-whatsapp {
  background-color: #176B5B;
}

.social-reference-card::before {
  content: "";
  position: absolute;
  width: 10rem;
  height: 10rem;
  right: -5rem;
  bottom: -5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: none;
}

.social-reference-card::after {
  background-color: rgba(4, 12, 24, 0.58);
}

.social-reference-card-whatsapp::after {
  background-color: rgba(0, 56, 48, 0.56);
}

/* Footer uses the same brand lockup as the header. */
.site-footer.musicalizese-footer {
  margin-top: auto;
  padding: 4rem 0 2.25rem;
  background-color: #071F35 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.musicalizese-footer .footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.musicalizese-footer .footer-brand {
  max-width: 28rem;
}

.footer-brand-link {
  display: inline-flex;
  flex-direction: column;
  width: 17rem;
  color: #FFFFFF;
  text-decoration: none;
}

.footer-brand-logo,
.footer-brand-logo[width][height] {
  width: 17rem;
  height: auto;
  display: block;
}

.footer-brand-tagline {
  margin-top: 0.55rem;
  color: #E6D5BE;
  font-size: 0.6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.musicalizese-footer .footer-brand > p {
  margin: 1.4rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.86rem;
  line-height: 1.65;
}

.musicalizese-footer .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1rem 0 0;
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.musicalizese-footer .footer-contact a {
  color: #FFFFFF;
  font-weight: 600;
  text-decoration: none;
}

.musicalizese-footer .footer-contact a:hover {
  color: #E6D5BE;
}

.musicalizese-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1.5rem;
}

.musicalizese-footer .footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

.musicalizese-footer .footer-links a:hover {
  color: #FFFFFF;
}

.musicalizese-footer .footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.musicalizese-footer .footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.musicalizese-footer .footer-legal-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem 1.35rem;
}

.musicalizese-footer .footer-credit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.5rem;
}

.musicalizese-footer .footer-credit-link {
  display: inline-flex;
  align-items: center;
  border-radius: 0.25rem;
  opacity: 0.62;
  transition: opacity 160ms ease;
}

.musicalizese-footer .footer-credit-link:hover,
.musicalizese-footer .footer-credit-link:focus-visible {
  opacity: 1;
}

.musicalizese-footer .footer-credit-link:focus-visible {
  outline: 2px solid rgba(46, 213, 115, 0.7);
  outline-offset: 3px;
}

.musicalizese-footer .footer-credit-logo {
  display: block;
  width: auto !important;
  height: 1.25rem !important;
  max-width: 4.5rem !important;
  max-height: 1.25rem !important;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .site-header .container {
    max-width: 100%;
  }

  .mobile-nav-drawer {
    border-color: rgba(13, 85, 128, 0.2);
  }

  .hero-variant-minimal-portfolio .hero-container {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
    gap: 2.5rem;
  }

  .hero-minimal-title {
    font-size: clamp(2.4rem, 5vw, 3.55rem);
  }

  .branch-page {
    gap: 3rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    background-color: var(--mp-brand-blue) !important;
    border-bottom-color: rgba(255, 255, 255, 0.16) !important;
  }

  .hero-variant-minimal-portfolio {
    background-color: var(--mp-brand-blue) !important;
  }

  .hero-variant-minimal-portfolio .hero-container {
    display: flex;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-minimal-copy {
    padding-bottom: 2.5rem;
  }

  .hero-purpose-panel {
    min-height: 22rem;
  }

  .manifesto-container,
  .branch-page {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .manifesto-introduction {
    max-width: 44rem;
  }

  .branch-page-content ul {
    grid-template-columns: 1fr;
  }

  .musicalizese-footer .footer-main {
    flex-direction: column;
  }

  .musicalizese-footer .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .brand-lockup-header {
    width: 8.5rem;
  }

  .brand-lockup-header .brand-mark-crop {
    height: 1.3rem;
  }

  .header-actions {
    gap: 0.45rem;
  }

  .hero-variant-minimal-portfolio .hero-container {
    padding-top: 2.25rem;
    padding-bottom: 2.5rem;
  }

  .hero-minimal-copy {
    padding: 0 0 2rem;
  }

  .hero-minimal-title {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
  }

  .hero-purpose-panel {
    min-height: 20rem;
    padding: 1.5rem;
  }

  .hero-purpose-panel ul {
    grid-template-columns: 1fr;
  }

  .gallery-mosaic-grid {
    gap: 0.8rem;
  }

  .mosaic-item {
    min-height: 13rem;
  }

  .manifesto-dark-band {
    padding: 4.5rem 0;
  }

  .manifesto-tree-art[width][height] {
    width: 54rem !important;
    max-width: none !important;
  }

  .manifesto-heading {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }

  .manifesto-branch-item a {
    grid-template-columns: 2rem 1fr 1.25rem;
    gap: 0.75rem;
  }

  .branch-pages {
    margin-top: 4rem;
  }

  .branch-page {
    padding: 4rem 0;
  }

  .branch-page-heading > span {
    margin-bottom: 1.25rem;
  }

  .course-card {
    min-height: 15rem;
  }

  .cta-purpose-card {
    min-height: 22rem;
  }

  .footer-brand-link,
  .footer-brand-logo,
  .footer-brand-logo[width][height] {
    width: 14rem;
  }

  .musicalizese-footer .footer-legal {
    flex-direction: column;
  }

  .musicalizese-footer .footer-legal-meta {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   HERO HIERARCHY REFINEMENT — editorial balance on desktop, tablet and mobile
   ========================================================================== */
.hero-minimal-actions .btn-minimal-primary,
.hero-minimal-actions .btn-minimal-secondary {
  box-sizing: border-box;
  height: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1025px) {
  .hero-minimal-title {
    font-size: clamp(2.4rem, 3.35vw, 3.375rem);
    line-height: 1.12;
  }

  .hero-minimal-lead {
    max-width: 34rem;
    font-size: 0.98rem;
    line-height: 1.68;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-variant-minimal-portfolio .hero-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
    min-height: 0;
  }

  .hero-minimal-copy {
    width: 100%;
    max-width: 46rem;
  }

  .hero-minimal-title {
    font-size: clamp(2.35rem, 4.2vw, 3.2rem);
  }

  .hero-minimal-support {
    width: 100%;
    max-width: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-variant-minimal-portfolio .hero-container {
    gap: 2rem;
    padding-top: 1.75rem;
    padding-bottom: 2rem;
  }

  .hero-minimal-title {
    font-size: clamp(2.1rem, 8.6vw, 2.5rem);
    line-height: 1.07;
    margin-bottom: 0.75rem;
  }

  .hero-minimal-lead {
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }
}

/* Footer brand lockup mirrors the integrated header logo (white, no white plate). */
.footer-brand-logo,
.footer-brand-logo[width][height] {
  aspect-ratio: 1600 / 248;
  height: auto;
  object-fit: cover;
  object-position: top center;
  mix-blend-mode: screen;
}

/* ==========================================================================
   PORTFOLIO HEADING — single-line editorial title on desktop
   ========================================================================== */
@media (min-width: 1025px) {
  .gallery-mosaic-meta {
    max-width: none;
  }

  .gallery-title {
    white-space: nowrap;
  }
}

/* ==========================================================================
   BRANCH PAGES — editorial alignment and rhythm on desktop
   ========================================================================== */
@media (min-width: 1025px) {
  .branch-page {
    grid-template-columns: minmax(17rem, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .branch-page-heading {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: baseline;
    column-gap: 0.85rem;
  }

  .branch-page-heading > span {
    margin-bottom: 0.85rem;
  }

  .branch-page-heading > p {
    margin: 0 0 0.85rem;
  }

  .branch-page-heading h3 {
    flex: 0 0 100%;
    font-size: clamp(1.85rem, 2.5vw, 2.4rem);
  }

  .branch-page-content {
    padding-top: 2.2rem;
  }

  .branch-page-content > p {
    margin-bottom: 1.35rem;
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .branch-page-content h4 {
    margin-bottom: 0.75rem;
  }

  .branch-page-content ul {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-bottom: 1.35rem;
  }

  .branch-page-content li {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .branch-page-content .branch-page-closing {
    margin-bottom: 1.35rem;
  }
}
