/* Consolidated Home composition. Internal pages keep their existing presentation. */
body[data-page="home"] {
  --home-space: 72px;
  --home-ink: #1b3b4a;
}
body[data-page="home"] main > .section { padding-block: var(--home-space); }
body[data-page="home"] main > .section > .container { max-width: 1200px; }
body[data-page="home"] .section-head { margin-bottom: 32px; }
body[data-page="home"] .section-head h2 { font-size: 40px; line-height: 1.15; text-wrap: balance; }
body[data-page="home"] main > .section > .container > .section-head p { color: var(--home-ink); font-size: 16px; line-height: 1.5; }
body[data-page="home"] main > .section > .container > .section-head .num { color: var(--home-ink); }
body[data-page="home"] [data-institutional-default][hidden] { display: none !important; }
body[data-page="home"] [data-institutional-comparison]:not([hidden]) { margin-bottom: 0; }

/* Both slides reserve one shared footprint, so the content below never jumps. */
body[data-page="home"] .mh-slides { display: grid; isolation: isolate; }
body[data-page="home"] .mh-slide { grid-area: 1 / 1; min-width: 0; }
body[data-page="home"] .mh-slide[hidden] { display: grid !important; visibility: hidden; pointer-events: none; }
body[data-page="home"] .hero-reference .mh-slide-title {
  margin: 0; font-family: 'INEF Josefin', 'Josefin Sans', sans-serif;
  font-size: clamp(38px, 4.8vw, 70px); font-weight: 700; line-height: 1.08;
  letter-spacing: -.035em; color: #faf8f6; text-wrap: initial;
}
body[data-page="home"] .mh-slide-title > span { display: block; }
body[data-page="home"] .mh-slide-title em { color: #dfb687; font-style: normal; white-space: nowrap; }
body[data-page="home"] .mh-slide-art picture { display: block; width: 100%; }
body[data-page="home"] .hero-reference .mh-slide-art img { display: block; margin: 0 auto; width: 100%; max-width: 100%; }
body[data-page="home"] .hero-reference .mh-layout { position: relative; gap: 28px; }
body[data-page="home"] .hero-reference .mh-lead { font-size: clamp(18px, 1.65vw, 22px); }
body[data-page="home"] .mh-reference-cta { min-height: 58px; font-size: clamp(16px, 1.45vw, 20px); gap: 14px; }
.hero-motion-control {
  position: absolute; right: max(24px, calc((100% - 1280px) / 2)); bottom: 18px;
  z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 14px; border: 1px solid #faf8f64d;
  border-radius: 999px; background: #102e3ebf; color: #faf8f6;
  font: 500 12px/1.4 Manrope, sans-serif; cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}
.hero-motion-control svg { width: 16px; height: 16px; flex: none; }
.hero-motion-control .hero-play-symbol { display: none; }
.hero-motion-control[aria-pressed="true"] .hero-play-symbol { display: block; }
.hero-motion-control[aria-pressed="true"] .hero-pause-symbol { display: none; }
.hero-motion-control:hover { background: #183b4c; border-color: #dfb687; }
.hero-motion-control:focus-visible { outline: 3px solid #dfb687; outline-offset: 4px; }
.hero-connection[data-motion-paused="true"] .connection-thread__light { animation-play-state: paused; }
body[data-page="home"] .hero-connection { position: relative; }

/* Compact, equivalent entry points with an obvious keyboard and pointer state. */
body[data-page="home"] .formation-paths { background: #faf8f6; }
body[data-page="home"] .formation-paths .editorial-path { min-height: 160px; padding: 24px 14px; gap: 10px; }
body[data-page="home"] .formation-paths strong { font-size: 21px; }
body[data-page="home"] .formation-paths .editorial-path > span { white-space: normal; text-wrap: balance; line-height: 1.5; }
body[data-page="home"] .formation-paths .editorial-path:focus-visible { outline: 3px solid #94612e; outline-offset: -5px; }

/* Width selection affects the selected model, without duplicating the banner. */
body[data-page="home"][data-institutional-width="total"] #instituicoes > .container > :is([data-institutional-default], [data-institutional-comparison]) { grid-column: 1 / -1; width: 100%; }
body[data-page="home"][data-institutional-width="total"] #instituicoes :is([data-institutional-default], [data-institutional-comparison]) > .focus-card { width: 100%; margin: 0; border-radius: 0; }
body[data-page="home"] #instituicoes { padding-bottom: var(--home-space) !important; }
body[data-page="home"] #instituicoes .focus-card { margin-top: 0; }
body[data-page="home"] #instituicoes .media-copy p,
body[data-page="home"] #formacoes .media-copy p { color: #e2ebef; line-height: 1.65; }
body[data-page="home"] #instituicoes .brand-image,
body[data-page="home"] #formacoes .brand-image { transform: none; }
body[data-page="home"] .segment-card__content { padding: 24px; }
body[data-page="home"] .segment-card__content h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.25; }
body[data-page="home"] .segment-card__summary { font-size: 15px; line-height: 1.65; }
body[data-page="home"] .academic-notice-section { padding-block: 64px; }
body[data-page="home"] .home-about__layout { gap: 24px; }
body[data-page="home"] .home-about__presentation em { color: #94612e; }

body[data-page="home"] main > .section.process-section { background: #faf8f6; color: #1b3b4a; }
body[data-page="home"] main > .section.process-section > .container > .section-head :is(h2,p,.num) { color: #1b3b4a; }
body[data-page="home"] .process-section :is(.process-v2,.process-v2__navigation,.process-v2__stage,.process-v2__panels,.process-v2__panel) { background: #fff; }
body[data-page="home"] .process-section .process-v2 { border-color: #d3dfe4; }
body[data-page="home"] .process-section .section-actions { margin-top: 28px; }
body[data-page="home"] .process-section .section-actions .btn { background: #29566b; color: #fff; }
body[data-page="home"] .process-section .section-actions .btn:hover { background: #23495b; }
body[data-page="home"] .process-v2__tab:focus-visible { outline-color: #94612e; }
body[data-page="home"] .home-closing { padding-block: 80px; }
body[data-page="home"] .home-closing .btn:first-child { background: #94612e; color: white; }
body[data-page="home"] .home-closing .btn:first-child:hover { background: #805227; }
body[data-page="home"] :is(a,button):focus-visible { outline: 3px solid #b67d40; outline-offset: 4px; }

@media (min-width: 701px) and (max-width: 1100px) {
  body[data-page="home"] { --home-space: 64px; }
  body[data-page="home"] .hero-reference .mh-slide-title { font-size: clamp(36px, 4.8vw, 53px); }
  body[data-page="home"] .hero-reference .mh-slide { grid-template-columns: 1.1fr 1fr; gap: 24px; }
  body[data-page="home"] .hero-reference .mh-layout { min-height: 650px; padding-block: calc(var(--header-height,88px) + 42px) 76px; }
  body[data-page="home"] .hero-reference .mh-slider { padding-inline: 24px; }
  body[data-page="home"] .mh-reference-cta { font-size: 16px; gap: 10px; padding: 12px 16px; }
  body[data-page="home"] .mh-reference-cta__icon { width: 24px; height: 24px; padding-right: 10px; }
  body[data-page="home"] .academic-notice-section { padding-block: 48px; }
  body[data-page="home"] .formation-paths .editorial-path { min-height: 145px; }
}
@media (max-width: 900px) {
  body[data-page="home"] #instituicoes .focus-card.media-focus { display: flex; flex-direction: column; min-height: 0; }
  body[data-page="home"] #instituicoes .media-copy { width: 100%; padding: 30px; }
  body[data-page="home"] #instituicoes .brand-figure { position: relative; inset: auto; width: 100%; height: 280px; }
  body[data-page="home"] #instituicoes .legal-focus__divider { display: none; }
  body[data-page="home"] .home-closing { padding-block: 64px; }
}
@media (max-width: 700px) {
  body[data-page="home"] { --home-space: 48px; }
  body[data-page="home"] main > .section > .container { width: calc(100% - 40px); }
  body[data-page="home"] .section-head { margin-bottom: 24px; }
  body[data-page="home"] .section-head h2 { font-size: clamp(29px, 7.8vw, 38px); }
  body[data-page="home"] .hero-reference .mh-layout { min-height: 0; padding-top: calc(var(--header-height, 80px) + 34px); padding-bottom: 74px; }
  body[data-page="home"] .hero-reference .mh-slide { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body[data-page="home"] .hero-reference .mh-slide-title { font-size: clamp(34px, 8.6vw, 52px); }
  body[data-page="home"] .hero-reference .mh-slider { padding-inline: 16px; }
  body[data-page="home"] .hero-reference .mh-lead { margin-block: 18px 22px; font-size: 18px; line-height: 1.5; }
  body[data-page="home"] .mh-reference-rule { margin-top: 18px; width: 180px; }
  body[data-page="home"] .mh-reference-cta { min-height: 54px; gap: 10px; padding: 11px 15px; font-size: 16px; }
  body[data-page="home"] .mh-reference-cta__icon { width: 24px; height: 24px; padding-right: 10px; }
  body[data-page="home"] .hero-reference .mh-slide-art img { height: clamp(210px, 58vw, 290px); }
  body[data-page="home"] .mh-slide-controls { inset-inline: -18px; }
  body[data-page="home"] .mh-slide-controls button { width: 44px; height: 54px; }
  .hero-motion-control { right: 20px; bottom: 14px; }
  body[data-page="home"] .connection-layout { padding: 118px 24px 78px; gap: 22px; }
  body[data-page="home"] .connection-scene { aspect-ratio: 1.15; }
  body[data-page="home"] .connection-image-label { bottom: -12px; }
  body[data-page="home"] .formation-paths { grid-template-columns: repeat(2, minmax(0,1fr)); padding: 0 16px; }
  body[data-page="home"] .formation-paths .editorial-path { min-height: 132px; padding: 18px 8px; gap: 8px; grid-template-rows: 24px auto auto; border-bottom: 1px solid #d3dfe4; }
  body[data-page="home"] .formation-paths .editorial-path:nth-child(2n) { border-right: 0; }
  body[data-page="home"] .formation-paths .editorial-path:nth-child(2n+1) { border-right: 1px solid #d3dfe4; }
  body[data-page="home"] .formation-paths strong { font-size: 18px; line-height: 1.2; }
  body[data-page="home"] .formation-paths .editorial-path > span { font-size: 12px; }
  body[data-page="home"] .formation-paths__arrow { top: 14px; right: 5px; width: 12px; height: 12px; }
  body[data-page="home"] #instituicoes .media-copy { padding: 26px 24px; }
  body[data-page="home"] #instituicoes .media-copy h3,
  body[data-page="home"] #formacoes .media-copy h3 { font-size: 29px; line-height: 1.18; }
  body[data-page="home"] #instituicoes .brand-figure { height: 230px; }
  body[data-page="home"] #formacoes .media-copy { padding: 26px 24px; width: 100%; }
  body[data-page="home"] #formacoes .brand-figure { order: -1; height: 250px; }
  body[data-page="home"] #formacoes .actions { gap: 14px; margin-top: 22px; }
  body[data-page="home"] .legal-focus__signature { margin-bottom: 18px; }
  body[data-page="home"] .segment-card__content { padding: 22px; }
  body[data-page="home"] .academic-notice-section { padding-block: 40px; }
  body[data-page="home"] .home-about__layout { gap: 16px; }
  body[data-page="home"] :is(.home-about__presentation,.home-about__institutional) { padding: 26px 24px; }
  body[data-page="home"] .home-about__layout h3 { font-size: 28px; line-height: 1.2; }
  body[data-page="home"] .home-closing { padding-block: 52px; }
  body[data-page="home"] .home-closing h2 { font-size: clamp(29px, 7.7vw, 42px); line-height: 1.16; }
  body[data-page="home"] .home-closing__title-line { white-space: normal; }
  body[data-page="home"] .home-closing__copy { min-width: 0; }
  body[data-page="home"] .home-closing .actions { gap: 12px; margin-top: 26px; }
  body[data-page="home"] .home-closing .actions .btn { min-height: 52px; }
}
@media (max-width: 640px) {
  body[data-page="home"] .process-v2__panel,
  body[data-page="home"] .process-v2[data-process-enhanced="true"] .process-v2__panel { padding: 24px 20px 16px; }
  body[data-page="home"] .process-v2__copy h3 { font-size: 23px; }
  body[data-page="home"] .process-v2__visual { margin-top: 14px; min-height: 136px; padding-inline: 48px; }
  body[data-page="home"] .process-v2__controls { bottom: 58px; }
  body[data-page="home"] .process-v2__tabs { padding-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] *, body[data-page="home"] *::before, body[data-page="home"] *::after { scroll-behavior: auto; }
  body[data-page="home"] .hero-motion-control { display: none; }
}
/* Institutional light alternative: editorial image with a curved clear overlay. */
.institutional-light[hidden]{display:none!important}
body[data-page="home"] #instituicoes .institutional-light{background:#fafcfc;color:#1b3b4a;border:1px solid #bed2dc;border-radius:26px;overflow:hidden;box-shadow:0 12px 32px #1b3b4a12}
.institutional-light__main{position:relative;min-height:400px;display:grid;grid-template-columns:1.1fr 1fr;isolation:isolate}
.institutional-light__copy{position:relative;z-index:2;padding:40px 32px 40px 40px;background:linear-gradient(110deg,#fff,#fafcfc);border-radius:0 0 46% 0}
.institutional-light__badge{display:inline-flex;align-items:center;gap:12px;border-radius:40px;padding:10px 20px;background:#dceef3;color:#1b3b4a;font-size:13px;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.institutional-light__badge svg{width:24px;height:24px}
body[data-page="home"] #instituicoes .institutional-light h3{font-size:clamp(29px,3vw,46px);line-height:1.13;margin:28px 0 22px;color:#1b3b4a}
.institutional-light h3 span{color:#397f99}
body[data-page="home"] #instituicoes .institutional-light p{color:#29566b;font-size:17px;line-height:1.6}
body[data-page="home"] #instituicoes .institutional-light .brand-figure{position:absolute;inset:0 0 0 40%;width:60%;height:100%;margin:0;border:0;border-radius:0;background:#d7eaf0}
.institutional-light .brand-figure::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,#6eb1c270,transparent 65%);pointer-events:none}
.institutional-light .brand-image{width:100%;height:100%;object-fit:cover}
.institutional-light__footer{position:relative;display:flex;justify-content:space-between;align-items:center;gap:28px;padding:28px 40px;border-top:1px solid #d0dfe4;background:linear-gradient(115deg,#fff 65%,#dceef3 65%)}
.institutional-light__footer>div{display:flex;gap:20px;align-items:center;max-width:60%}
.institutional-light__people{display:grid;place-items:center;flex:none;width:64px;height:64px;background:#dceef3;border-radius:17px;color:#29566b}
.institutional-light__people svg{width:42px;height:42px}
.institutional-light__footer h4{font-size:23px;margin:0 0 5px}
.institutional-light__footer p{margin:0}
.institutional-light .btn{flex:none;min-height:56px;background:#29566b;color:#fff}
.institutional-light .btn:hover{background:#1b3b4a}
body[data-institutional-width="total"] #instituicoes>.container>.institutional-light{grid-column:1/-1;border-radius:0}
.presentation-tools__toggle{display:flex;gap:9px;width:auto;border-radius:40px;padding:12px 16px;font-weight:700;font-size:13px}
.presentation-tools__toggle[aria-expanded="true"]{background:#b67d40}
.presentation-tools__panel{width:min(360px,calc(100vw - 36px));padding:22px}
.presentation-tools__intro{font-size:12px;line-height:1.6;color:#526877;margin:0 0 18px}
.presentation-tools fieldset{padding:14px;background:#f5f8f9;border-radius:12px;border:1px solid #dce4e8}
.presentation-tools legend{color:#29566b;font-size:13px;padding-inline:5px}
.presentation-tools__option input:checked+span{box-shadow:inset 0 0 0 2px #b67d40}
.presentation-tools__check{padding:12px 8px;border-radius:8px}
.presentation-tools__check:hover{background:#edf3f5}
@media(max-width:900px){.institutional-light__main{display:flex;flex-direction:column;min-height:0}.institutional-light__copy{padding:28px 24px;border-radius:0}body[data-page="home"] #instituicoes .institutional-light .brand-figure{position:relative;inset:auto;width:100%;height:240px}.institutional-light__footer{padding:24px;flex-direction:column;align-items:stretch;background:#eef6f8}.institutional-light__footer>div{max-width:100%}.institutional-light__footer h4{font-size:21px}.institutional-light__people{width:48px;height:48px}.institutional-light__people svg{width:32px}.institutional-light__badge{font-size:11px;padding:9px 13px}.presentation-tools__panel{max-height:calc(100dvh - 110px)} }
.institutional-light__main::before{content:"";position:absolute;inset:0;z-index:1;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 400' preserveAspectRatio='none'%3E%3Cpath d='M0 0H690C575 0 565 150 420 400H0Z' fill='%23b8dfeb' fill-opacity='.64'/%3E%3Cpath d='M0 0H650C550 0 535 160 405 400H0Z' fill='%23fafcfc'/%3E%3C/svg%3E") center/100% 100% no-repeat;pointer-events:none}
.institutional-light__copy{background:transparent;border-radius:0;padding-right:48px}
@media(max-width:900px){.institutional-light__main::before{display:none}.institutional-light__copy{background:#fafcfc;padding:28px 24px}}

/* Institutional editorial pair: light image panel and dark wave panel. */
body[data-page="home"] .home-about .home-about__layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px}
body[data-page="home"] .home-about__presentation{position:relative;isolation:isolate;overflow:hidden;padding:0;background:#faf8f6;box-shadow:0 12px 26px #1b3b4a12}
.home-about__copy{position:relative;z-index:2;width:72%;padding:36px 28px 36px 36px;background:linear-gradient(105deg,#faf8f6 72%,#faf8f600);min-height:350px}
.home-about__photo{position:absolute;inset:0 0 0 45%;z-index:0;overflow:hidden;clip-path:polygon(42% 0,100% 0,100% 100%,0 100%)}
.home-about__photo img{width:100%;height:100%;object-fit:cover;object-position:60% center}
.home-about__photo::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#5e8ca280,transparent 65%);border-left:20px solid #a6d7e766;transform:skew(-20deg)}
body[data-page="home"] .home-about__signature{margin-bottom:22px;height:12px}
body[data-page="home"] .home-about__signature svg{display:none}
body[data-page="home"] .home-about__signature>span{width:6px;height:24px;border-radius:8px;background:#5e8ca2}
body[data-page="home"] .home-about__layout h3{font-size:clamp(26px,2.5vw,36px);line-height:1.15}
body[data-page="home"] .home-about__presentation h3{color:#1b3b4a}
body[data-page="home"] .home-about__presentation h3 span{color:#29566b}
body[data-page="home"] .home-about__presentation p{color:#29566b;font-size:15px;line-height:1.65;max-width:34ch}
body[data-page="home"] .home-about__presentation .home-about__action{padding:13px 22px;min-height:48px;margin-top:20px;background:#29566b;border:1px solid #29566b;border-radius:999px;color:#fff;justify-content:center;text-decoration:none}
body[data-page="home"] .home-about__presentation .home-about__action:is(:hover,:focus-visible){color:#fff;background:#1b3b4a;border-color:#1b3b4a}
body[data-page="home"] .home-about__institutional{position:relative;isolation:isolate;overflow:hidden;padding:36px;background:linear-gradient(120deg,#1b3b4a,#092b3d);border-color:#29566b;box-shadow:0 12px 26px #1b3b4a12}
body[data-page="home"] .home-about__institutional-head>svg{display:none}
body[data-page="home"] .home-about__institutional-head{gap:14px;margin-bottom:22px}
.home-about__institutional-head::before{content:"";width:6px;height:24px;background:#72c4dd;border-radius:6px;flex:none}
body[data-page="home"] .home-about__institutional .eyebrow{color:#fff;letter-spacing:.12em}
body[data-page="home"] .home-about__institutional p{color:#e0eaf0;font-size:16px;line-height:1.7}
.home-about__waves{position:absolute;inset:auto 0 0;width:100%;height:65%;z-index:-1;fill:none;stroke:#64c8e0;stroke-width:.8;opacity:.35;pointer-events:none}
@media(max-width:1000px){body[data-page="home"] .home-about .home-about__layout{grid-template-columns:1fr}.home-about__copy{width:70%;min-height:310px}body[data-page="home"] .home-about__institutional{min-height:280px}}
@media(max-width:520px){.home-about__copy{width:100%;padding:28px 24px 190px;background:linear-gradient(#faf8f6 60%,#faf8f600)}.home-about__photo{inset:auto 0 0;height:210px;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%)}body[data-page="home"] .home-about__presentation{padding:0}body[data-page="home"] .home-about__institutional{padding:28px 24px}.home-about__waves{height:45%}}
