/* Section-local additions; brand fonts, buttons and navigation are shared. */
.segments { font-family: HomeDM, Arial, sans-serif; color: #232139; padding-top: 100px; }
.segments *, .segments-home * { box-sizing: border-box; }
.seg-wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.segments h1 { font-size: clamp(32px, 3.3vw, 48px); line-height: 1.12; letter-spacing: -.035em; margin: 14px 0 20px; }
.segments h2, .segments-home h2 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
.segments h3 { font-size: 21px; line-height: 1.3; }
.segments p, .segments li { font-size: 17px; line-height: 1.7; }
.segments a:not(.home-button), .segments-home a:not(.home-button) { color: #5936a2; text-decoration: underline; text-underline-offset: 3px; }
.segments a:focus-visible, .segments summary:focus-visible, .seg-table:focus-visible, .segments-home a:focus-visible { outline: 3px solid #683db5; outline-offset: 4px; }
.seg-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 26px; }
.segments .seg-breadcrumb li { font-size: 14px; }
.seg-breadcrumb li + li::before { content: '/'; color: #82768b; margin-right: 8px; }
.seg-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; align-items: center; padding-bottom: 48px; }
.seg-hero figure { margin: 0; min-width: 0; }
.seg-hero img { width: 100%; height: auto; border-radius: 24px; display: block; }
.seg-hero figcaption { color: #62596e; font-size: 12px; margin-top: 8px; }
.seg-eyebrow { color: #633ba2; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 12px!important; margin-bottom: 0; }
.seg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 24px 0 12px; }
.segments .seg-small { font-size: 14px; color: #62596e; }
.seg-section { padding-block: 52px; border-top: 1px solid #e8e2ee; }
.seg-tint { background: #f7f4fb; }
.seg-intro { max-width: 780px; margin-bottom: 26px; }
.seg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.seg-card { background: #fff; border: 1px solid #e2dbea; border-radius: 18px; padding: 26px; min-width: 0; }
.seg-card p:last-child { margin-bottom: 0; }
.seg-card h3 a { text-decoration: none!important; }
.seg-card img { width: 100%; height: auto; border-radius: 12px; margin-bottom: 20px; }
.seg-table { overflow-x: auto; border: 1px solid #ddd5e8; border-radius: 16px; background: #fff; }
.seg-table table { border-collapse: collapse; width: 100%; line-height: 1.6; font-size: 16px; }
.seg-table caption { caption-side: top; padding: 20px; color: #423651; text-align: left; font-weight: 700; }
.seg-table th, .seg-table td { padding: 18px 22px; border-top: 1px solid #e8e2ee; text-align: left; vertical-align: top; }
.seg-table th { width: 26%; min-width: 140px; color: #51357c; }
.seg-table td { min-width: 220px; }
.seg-note { border-left: 3px solid #b99bdd; padding-left: 20px; margin-top: 22px; max-width: 940px; }
.seg-steps { padding-left: 24px; max-width: 840px; }
.seg-steps li { padding: 8px 0 8px 10px; }
.seg-faq { max-width: 920px; }
.seg-faq details { border-bottom: 1px solid #ddd5e8; padding: 20px 0; }
.seg-faq summary { font-weight: 700; cursor: pointer; font-size: 19px; line-height: 1.5; padding-right: 8px; }
.seg-faq details p { margin: 14px 0 0; }
.seg-links { display: flex; flex-wrap: wrap; gap: 14px 24px; list-style: none; padding: 0; }
.seg-final { border-radius: 22px; background: #f0e8fa; padding: 32px; margin-block: 36px; }
.seg-groups { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 26px 0; }
.segments section[id] { scroll-margin-top: 110px; }
.segments-home { padding: 44px 0; background: #f7f4fb; }
.segments-home .seg-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.segments-home .seg-card { padding: 15px; }
.segments-home .seg-card img { margin-bottom: 10px; }
.segments-home h3 { font-size: 16px; }
@media (max-width: 900px) {
 .seg-hero { gap: 25px; }
 .seg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .segments-home .seg-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 650px) {
 .segments { padding-top: 84px; }
 .seg-wrap { width: calc(100% - 32px); }
 .seg-hero, .seg-grid { grid-template-columns: 1fr; }
 .seg-hero { gap: 20px; padding-bottom: 30px; }
 .seg-hero figure { max-width: 440px; }
 .seg-section { padding-block: 34px; }
 .seg-card { padding: 22px; }
 .seg-actions .home-button { width: 100%; text-align: center; justify-content: center; }
 .segments-home .seg-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .seg-final { padding: 24px; }
}
@media print {
 .header, .footer, .seg-actions, .seg-breadcrumb, .seg-links, .seg-final, #processandoRedirecionamento { display: none!important; }
 .segments { padding: 0; color: #000; }
 .seg-wrap { width: 100%; }
 .seg-hero { display: block; }
 .seg-hero figure { max-width: 280px; }
 .seg-section { padding-block: 18px; break-inside: avoid; }
 .seg-grid { display: block; }
 .seg-card { border: 0; padding: 8px 0; }
 .seg-table { overflow: visible; }
 .seg-table table { font-size: 11pt; }
 .seg-table th, .seg-table td { min-width: 0; padding: 8px; }
 .seg-faq details > * { display: block!important; }
}

.seg-diagram { margin: 20px 0; max-width: 600px; }
.seg-diagram svg { width: 100%; height: auto; display: block; }
.seg-diagram figcaption { font-size: 14px; line-height: 1.6; color: #62596e; }

/* Text-based infographics remain readable, crawlable and printable. */
.seg-infographic { padding: 26px; margin: 28px 0; border-radius: 20px; background: #f2ebfa; }
.seg-infographic h3 { margin-top: 0; }
.seg-visual-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; list-style: none; padding: 0; }
.seg-visual-flow li { min-width: 0; position: relative; }
.seg-visual-mark { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 16px; background: #643ca0; color: #fff; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.seg-visual-flow h4 { font-size: 18px; line-height: 1.4; margin: 14px 0 8px; }
.seg-visual-flow p { font-size: 15px; line-height: 1.6; margin: 0; }
.seg-visual-flow li:not(:last-child)::after { content: '→'; position: absolute; right: 0; top: 12px; color: #643ca0; font-size: 24px; }
.seg-image-link { display: block; border-radius: 16px; }
.seg-image-link:hover { outline: 2px solid #9e80c7; outline-offset: 3px; }
.seg-showcase { background: #fbf9f6; }
.seg-showcase-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px; margin-bottom: 28px; }
.seg-showcase-heading h2 { max-width: 680px; margin-top: 10px; }
.seg-showcase-heading p { max-width: 740px; }
.seg-showcase-heading .seg-actions { margin: 0 0 18px; }
.seg-showcase figure { margin: 0; }
.seg-showcase .seg-image-link { overflow: hidden; border-radius: 24px; box-shadow: 0 18px 48px rgba(41, 25, 59, .12); }
.seg-showcase img { display: block; width: 100%; height: auto; }
.seg-showcase figcaption { margin-top: 16px; font-size: 13px; line-height: 1.6; color: #62596e; }
.seg-showcase .seg-small { margin-bottom: 0; }
@media (max-width: 900px) {
 .seg-showcase-heading { grid-template-columns: 1fr; gap: 0; }
 .seg-showcase-heading .seg-actions { margin-bottom: 0; }
}
@media (max-width: 650px) {
 .seg-showcase-heading { margin-bottom: 22px; }
 .seg-showcase .seg-image-link { border-radius: 16px; }
 .seg-showcase-heading .seg-actions { display: block; }
}
@media print { .seg-showcase { display: none; } }
@media (max-width: 650px) {
 .seg-infographic { padding: 22px; }
 .seg-visual-flow { grid-template-columns: 1fr; gap: 22px; }
 .seg-visual-flow li { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 14px; }
 .seg-visual-flow h4 { margin-top: 0; }
 .seg-visual-flow li:not(:last-child)::after { display: none; }
}
@media print { .seg-infographic { break-inside: avoid; border: 1px solid #888; } .seg-visual-mark { background: #fff; color: #000; border: 1px solid #888; } }
