/* Source of truth: the two official PDFs. See review/brand-governance/manual-audit.md.
   DM Sans is a documented PREVIEW FALLBACK, not either brand's official typography. */
:root {
  --grupo-purple: #672666;
  --grupo-secondary: #e5e1e6;
  --preview-font: "DM Sans", Arial, sans-serif;
  --serif: var(--preview-font);
  --plum: var(--grupo-purple);
  --dark: var(--grupo-purple);
  --cream: var(--grupo-secondary);
  --paper: #fff;
  --ink: #29262b;
  --muted: #56515a;
  --line: #d3cfd5;
}
body, h1, h2, h3, h2 em { font-family: var(--preview-font); }
h2 em { font-weight: 500; }
.site-header, .site-footer { background: #fff; }
.preview-note { background: #e5e1e6; color: #514951; }
/* Clearspace based on the original S. The SVG contains modest internal padding too. */
.brand, .footer-brand .brand { box-sizing: content-box; width: 174px; padding: 17px 24px; margin-left: -24px; background: #fff; }
.brand img { aspect-ratio: 680 / 260; object-fit: contain; }
.header-inner { min-height: 112px; }
.grupo-ribbon { width: 100%; height: clamp(12px, 2vw, 26px); background: url('/brand/grupo/ribbon.svg') center / cover no-repeat; }
main[data-brand="grupo"] > .grupo-ribbon { height: 12px; }
.grupo-intersection { display: block; width: 100%; height: auto; }
.hero-visual { border-bottom: 14px solid var(--grupo-purple); }
.hero-visual::after { content: ''; position: absolute; bottom: -14px; left: 0; right: 0; height: 14px; background: url('/brand/grupo/ribbon.svg') center / cover; }
.hero-visual figcaption { background: #fff; color: var(--muted); }
.business-thanks-up { color: #5b6670 !important; }
.group-structure { background: var(--grupo-purple); color: #fff; }
/* Fourth independent brand in the Home portfolio; retain the existing layout. */
.hero-base:has(a[href="/nossos-negocios/deepa/"]) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.group-structure-four, .group-structure-four > span:last-child { flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero-base:has(a[href="/nossos-negocios/deepa/"]) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-base:has(a[href="/nossos-negocios/deepa/"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.closing { position: relative; background: #e5e1e6; }
.closing > .grupo-ribbon { position: absolute; top: 0; left: 0; }
.closing h2 em { font-size: 1em; }
.closing-bottom p { color: var(--muted); }
.principles h2 { font-family: var(--preview-font); font-weight: 500; }
.principles, .shared-principles, .relationship-signature { background: var(--grupo-purple); color: #fff; }
.principles .section-number, .principle-list article > span, .shared-principles h2 em,
.relationship-signature h2 em, .relationship-signature .section-number,
.relationship-signature-baseline > span, .universe-caption > span { color: #e5e1e6; }
.principles-expanded p, .shared-principles .principle-list p { color: #fff; }
.principle-list article { border-color: #b69ab5; }
.ia-card { background: #f7f6f8; }
a.ia-card:hover { background: #e5e1e6; }
.grupo-endband { padding-bottom: 64px; }
.grupo-endband .grupo-ribbon { height: 28px; }
/* The former 3D universe is replaced by the actual continuous stationery graphic. */
.thanks-universe { margin: 38px 0 0; }
.thanks-universe .grupo-intersection { min-height: 140px; object-fit: cover; }
.universe-caption { margin: 28px 0 0; padding-top: 22px; border-color: #b69ab5; }
.relationship-signature-art { align-self: stretch; display: flex; align-items: center; }
.relationship-signature-art .grupo-intersection { min-height: 180px; object-fit: cover; }
.construction-hero, .relationship-hero { padding-top: 56px; }
.relationship-hero-aside { padding-top: 24px; }
.relationship-mark { display: none; }
.construction-page .closing .eyebrow::before, .relationship-closing .eyebrow::before { width: 30px; height: 2px; background: var(--grupo-purple); }
.process-track .stage-build { background: var(--grupo-purple); color: white; }
.process-track li::after { border-color: #b69ab5; }
.shared-principles .principle-list article { border-image: none; }
.ia-closing { background: var(--grupo-purple); }
a:focus-visible, button:focus-visible { outline-color: var(--grupo-purple); }
@media (max-width: 760px) {
  .brand, .footer-brand .brand { width: 150px; padding: 13px 19px; margin-left: -19px; }
  .header-inner { min-height: 88px; }
  .construction-hero, .relationship-hero { padding-top: 32px; }
  .relationship-hero-aside { padding-top: 0; }
  .grupo-endband { padding-bottom: 40px; }
  .thanks-universe { margin: 30px 0; }
  .thanks-universe .grupo-intersection, .relationship-signature-art .grupo-intersection { min-height: 110px; }
}
