/* Instituto Laços da Mente: identidade atual (azul-marinho, dourado, Poppins) */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy: #0a2c66; --navy-900: #071b3f; --navy-800: #0b2552; --blue: #0048a8; --blue-500: #1a66d1; --sky: #5eaaf0;
  --gold: #f4a820; --gold-300: #ffc857; --gold-deep: #8a5a00; --mist: #f5f7fc; --mist-2: #e9eefb; --line: #dde2f0;
  --ink: #1b1f2e; --muted: #5b6378; --white: #fff; --err: #b42318;
  --g-hero: linear-gradient(125deg, #071b3f 0%, #0a2c66 40%, #0b52b8 100%);
  --g-band: linear-gradient(110deg, #0a2c66 0%, #0048a8 58%, #1f6fd6 100%);
  --g-gold: linear-gradient(135deg, #ffc857 0%, #f4a820 55%, #e8931a 100%);
  --g-soft: linear-gradient(180deg, #ffffff 0%, #eef2fb 100%);
  --sh-1: 0 1px 2px rgba(13, 23, 64, .06), 0 10px 22px -8px rgba(13, 23, 64, .14);
  --sh-2: 0 2px 4px rgba(13, 23, 64, .06), 0 18px 36px -10px rgba(13, 23, 64, .2), 0 40px 70px -28px rgba(13, 23, 64, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: max(24px, calc((100vw - 1180px) / 2));
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 112px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--navy) var(--mist); }
a, button, summary, input, select, textarea { touch-action: manipulation; }
body { -webkit-tap-highlight-color: rgba(0, 72, 168, .18); margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.7; color: var(--ink); background: var(--white); caret-color: var(--blue); accent-color: var(--navy); overflow-x: clip; }
::selection { background: var(--gold); color: var(--navy-900); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy); }
h1, h2, h3 { margin: 0 0 .6em; color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); line-height: 1.16; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); margin-top: 0; line-height: 1.2; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .page-head-photo :focus-visible, .on-dark :focus-visible, .site-footer :focus-visible, .utility :focus-visible { outline-color: var(--gold); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; position: relative; }
.narrow { max-width: 860px; }
.ico { width: 18px; height: 18px; flex: none; }
.shape { position: absolute; pointer-events: none; user-select: none; max-width: none; }

/* barra de utilidades */
.utility { background: var(--navy-900); color: #cbd3ee; font-size: .82rem; }
.utility-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; }
.utility p { margin: 0; }
.utility ul { display: flex; gap: 26px; list-style: none; }
.utility a { color: #cbd3ee; text-decoration: none; padding: 8px 0; display: inline-block; }
.utility a:hover { color: var(--white); text-decoration: underline; }

/* cabeçalho */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 12px 34px -12px rgba(13, 23, 64, .28); }
.header-bar { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; min-height: 90px; }
.brand { display: flex; align-items: center; }
.brand img { width: 160px; height: 68px; }
.nav { display: flex; align-items: stretch; gap: 18px; }
.nav-cta { align-self: center; }
.nav-toggle { align-self: center; }
.nav > ul { display: flex; align-items: stretch; list-style: none; gap: 2px; }
.nav > ul > li { display: flex; align-items: center; }
.nav > ul > li > a { display: inline-block; padding: 12px 14px; font-size: .95rem; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap; border-radius: 10px; position: relative; transition: background-color .2s; }
.nav > ul > li > a:hover { background: var(--mist-2); }
.nav > ul > li > a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--g-gold); }
.only-mobile { display: none !important; }
.has-mega { position: static; }
.nav > ul > li.has-mega > a { padding-right: 0; }
.nav > ul > li.has-mega > a[aria-current="page"]::after { right: 0; }
.mega-toggle { width: 22px; height: 40px; margin: 0 8px 0 -4px; border: 0; background: transparent; color: var(--navy); cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.mega-toggle .ico { transition: transform .25s var(--ease); }
.has-mega.open .mega-toggle .ico, .has-mega:hover .mega-toggle .ico { transform: rotate(180deg); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; }
.nav-toggle .bars::before { position: absolute; top: -6px; }
.nav-toggle .bars::after { position: absolute; top: 6px; }

/* menu amplo */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--sh-2); padding: 36px 0 40px; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .15s var(--ease), transform .15s var(--ease), visibility 0s .15s; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity .22s var(--ease), transform .25s var(--ease), visibility 0s; }
.mega-grid { display: grid; grid-template-columns: 1.3fr 1fr 280px; gap: 56px; align-items: start; }
.mega-title { margin: 0 0 12px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.mega-courses, .mega-links { list-style: none; margin-bottom: 18px; }
.mega-courses a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 8px; border-bottom: 1px solid var(--line); text-decoration: none; border-radius: 10px; }
.mega-courses a:hover { background: var(--mist); }
.mega-name { font-weight: 600; color: var(--navy); }
.mega-links a { display: block; padding: 9px 0; color: var(--navy); font-weight: 500; text-decoration: none; }
.mega-links a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.mega-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }

/* botões e links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 14px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s var(--ease), transform .2s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--g-gold); color: var(--navy-900); box-shadow: 0 8px 20px -8px rgba(244, 168, 32, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold:hover { color: var(--navy-900); box-shadow: 0 14px 28px -10px rgba(244, 168, 32, .85), inset 0 1px 0 rgba(255, 255, 255, .55); }
@media (hover: hover) and (pointer: fine) { .btn-gold:hover { transform: translateY(-2px); } .btn-gold:active { transform: scale(.97); } }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 10px 20px; font-size: .92rem; border-radius: 12px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.link-arrow .ico { transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover .ico { transform: translateX(3px); } }
.on-dark .link-arrow { color: var(--white); }

/* herói */
.hero { position: relative; background: var(--g-hero); color: var(--white); overflow: hidden; border-radius: 0 0 56px 56px; padding: 80px 0 232px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -30% auto auto -10%; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(74, 154, 224, .4), rgba(74, 154, 224, 0) 66%); z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 56px; align-items: center; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.lead { font-size: 1.18rem; max-width: 36em; }
.hero .lead { color: rgba(255, 255, 255, .9); }
.hero-visual { position: relative; z-index: 1; }
.hero-photo { position: relative; border-radius: 44px 44px 120px 44px; overflow: hidden; box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .55); aspect-ratio: 5 / 5.2; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero .shape-gold { right: -120px; bottom: -150px; width: 520px; z-index: -1; }
.hero-status { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; z-index: 2; }
.status-card { display: grid; gap: 6px; padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--sh-2); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.status-card:hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .status-card:hover { transform: translateY(-6px); } }
.status-card strong { font-size: 1.15rem; color: var(--navy); line-height: 1.25; }
.status-card span:not(.badge) { color: var(--muted); font-size: .95rem; line-height: 1.5; }
.status-card .badge { justify-self: start; }
.badge { display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.badge-open { background: #e3f3ea; color: #14663a; }
.badge-waitlist { background: #fdf0d5; color: var(--gold-deep); }

/* seções */
.section { padding: 112px 0; position: relative; }
.section-mist { background: var(--g-soft); }
.section-lead { font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.aside-link { margin-top: 28px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-top { align-items: start; }
.panel-dark { margin: 0 clamp(10px, 2vw, 28px); border-radius: 48px; background: var(--g-hero); color: rgba(255, 255, 255, .88); position: relative; overflow: hidden; isolation: isolate; }
.panel-blue { background: var(--g-band); }
.on-dark h2, .on-dark h3 { color: var(--white); }
.on-dark .section-lead { color: rgba(255, 255, 255, .85); }
.panel-dark .shape { z-index: -1; }

/* cursos em destaque */
.course-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 8px; }
.course-card { display: flex; flex-direction: column; border-radius: 32px; overflow: hidden; background: var(--white); box-shadow: var(--sh-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .course-card:hover { transform: translateY(-8px); box-shadow: var(--sh-2); } .course-card:hover .cc-media img { transform: scale(1.05); } }
.cc-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.cc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 23, 64, 0) 45%, rgba(13, 23, 64, .55) 100%); }
.cc-media .badge { position: absolute; left: 20px; top: 20px; z-index: 1; box-shadow: 0 6px 16px -6px rgba(13, 23, 64, .5); }
.cc-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.cc-body h3 { font-size: 1.5rem; margin-bottom: .35em; letter-spacing: -.025em; }
.cc-body h3 a { color: var(--navy); text-decoration: none; }
.cc-body p { color: var(--muted); }
.cc-note { padding-top: 14px; border-top: 1px solid var(--line); font-size: .95rem; margin-top: auto; }
.cc-body .btn-row { margin-top: 6px; }

/* números */
.stats { position: relative; margin: 0 clamp(10px, 2vw, 28px); border-radius: 40px; background: var(--g-band); color: var(--white); padding: 56px 0; overflow: hidden; isolation: isolate; }
.stats-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats-list li { display: grid; gap: 2px; padding-left: 20px; border-left: 2px solid rgba(255, 255, 255, .3); }
.stats-list strong { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats-list span { color: rgba(255, 255, 255, .88); font-size: .98rem; }
.stats .shape { right: -50px; top: -70px; width: 260px; z-index: -1; }

/* formação em destaque */
.split-media { position: relative; }
.split-media > img:not(.shape) { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 36px 36px 36px 120px; box-shadow: var(--sh-2); position: relative; }
.split-media .shape { right: -60px; bottom: -70px; width: 240px; z-index: 0; }
.split-text > * { position: relative; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 24px 0 28px; }
.specs div { padding: 14px 0; border-top: 1px solid var(--line); }
.specs dt { font-size: .82rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; color: var(--navy); }

/* matriz curricular */
.matrix { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.matrix li { grid-column: span 2; display: grid; gap: 10px; align-content: start; padding: 28px 28px 30px; border-radius: 28px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .45s var(--ease), background-color .3s; }
.matrix li:nth-child(4), .matrix li:nth-child(5) { grid-column: span 3; }
@media (hover: hover) and (pointer: fine) { .matrix li:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .13); } }
.mx-range { font-size: 2.4rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; color: var(--gold); }
.mx-range small { display: block; font-size: .85rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .8); margin-bottom: 8px; }
.matrix h3 { margin: 0; font-size: 1.2rem; }
.matrix p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .98rem; }

/* calendário */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }
.timeline li { position: relative; padding: 34px 28px 30px; border-radius: 28px; background: var(--white); box-shadow: var(--sh-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
@media (hover: hover) and (pointer: fine) { .timeline li:hover { transform: translateY(-6px); box-shadow: var(--sh-2); } }
.timeline li::before { content: ""; position: absolute; left: 28px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--g-gold); box-shadow: 0 0 0 6px var(--mist-2), 0 6px 14px -4px rgba(244, 168, 32, .8); }
.tl-when { display: block; font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 6px; }
.tl-what { display: block; color: var(--muted); }
.narrow .timeline { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }

/* público */
.audience { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.who { display: grid; gap: 14px; }
.who > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 24px 28px; border-radius: 24px; background: var(--white); box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) and (pointer: fine) { .who > div:hover { transform: translateX(6px); box-shadow: var(--sh-2); } }
.who dt { font-weight: 600; color: var(--navy); font-size: 1.1rem; line-height: 1.35; }
.who dd { margin: 0; color: var(--muted); }

/* rodapé de fotos em movimento */

/* passos */
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 36px 72px; display: grid; gap: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 16px; background: var(--g-hero); color: var(--white); font-weight: 700; display: grid; place-items: center; box-shadow: 0 10px 20px -8px rgba(10, 44, 102, .6); }
.steps li::after { content: ""; position: absolute; left: 22px; top: 54px; bottom: 6px; width: 2px; background: linear-gradient(var(--line), transparent); }
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps strong { font-size: 1.18rem; color: var(--navy); line-height: 1.3; padding-top: 8px; }
.steps span { color: var(--muted); }
.steps-compact { margin: 24px 0; }
.plain-list { list-style: none; margin-bottom: 8px; }
.plain-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* grade */
.modules { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 32px; }
.modules li { display: flex; flex-direction: column; gap: 2px; padding: 18px 22px; background: var(--white); border-radius: 18px; box-shadow: var(--sh-1); }
.mod-n { font-size: .82rem; font-weight: 600; color: var(--gold-deep); }
.mod-t { font-weight: 500; color: var(--navy); line-height: 1.4; }

/* perguntas */
.faq { display: grid; gap: 14px; margin-top: 28px; }
.faq details { background: var(--white); border-radius: 20px; box-shadow: var(--sh-1); transition: box-shadow .3s; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' fill='none' stroke='%238a5a00' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.faq details[open] summary::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10h12' fill='none' stroke='%238a5a00' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq details[open] { box-shadow: var(--sh-2); }
.faq details p { padding: 0 26px 24px; margin: 0; color: var(--muted); }

/* páginas internas */
.page-head { background: var(--g-soft); padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-head .lead { color: var(--muted); margin-bottom: 0; }
.page-head-photo { background: var(--g-hero); color: rgba(255, 255, 255, .9); padding: 56px 0 88px; border-radius: 0 0 48px 48px; isolation: isolate; }
.page-head-photo h1 { color: var(--white); }
.page-head-photo .lead { color: rgba(255, 255, 255, .9); }
.page-head-photo .shape { right: -40px; top: -40px; width: 260px; z-index: -1; }
.page-head-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: end; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 24px; font-size: .88rem; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head .crumbs { color: var(--muted); }
.page-head-photo .crumbs { color: rgba(255, 255, 255, .88); }
.next-class { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); border-radius: 26px; padding: 28px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.next-class h2 { font-size: 1.15rem; color: var(--gold); margin-bottom: .4em; }
.next-class p { margin-bottom: .6em; }
.next-class-note { font-size: .92rem; opacity: .9; margin: 0; }
.page-head-photo .badge { margin-bottom: 14px; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.phone { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 3px solid var(--gold); }

/* anéis da marca */

/* formulários */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; padding: 34px; background: var(--white); border-radius: 28px; box-shadow: var(--sh-2); color: var(--ink); }
.field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; font: inherit; color: var(--ink); background: var(--mist); border: 1.5px solid transparent; border-radius: 14px; transition: background-color .2s, border-color .2s; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8c1da; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(59, 94, 204, .35); outline-offset: 0; border-color: var(--blue-500); background: var(--white); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field-wide, .form-actions { grid-column: 1 / -1; }
.field-erro { margin: 6px 0 0; color: var(--err); font-size: .9rem; }
.field-ajuda, .form-note { margin: 6px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.form-actions .form-note { margin-top: 12px; }
.form-status { margin: 10px 0 0; font-weight: 500; color: var(--navy); min-height: 1.5em; }

/* rodapé */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(160deg, #071b3f 0%, #0b2552 60%, #0a2c66 100%); color: #cbd3ee; padding-top: 72px; margin-top: 48px; border-radius: 56px 56px 0 0; isolation: isolate; }
.site-footer .shape { right: -50px; top: -70px; width: 280px; z-index: -1; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-brand { display: flex; align-items: center; gap: 28px; }
.footer-brand img { width: 136px; height: 58px; box-sizing: content-box; background: var(--white); padding: 12px 16px; border-radius: 18px; flex: none; }
.footer-brand p { margin: 0; max-width: 32em; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-top: 48px; }
.foot-title { margin: 0 0 14px; font-size: .95rem; font-weight: 600; color: var(--white); }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-size: .95rem; }
.site-footer a { color: #cbd3ee; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .btn-gold, .site-footer .btn-gold:hover { color: var(--navy-900); text-decoration: none; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }
.mobile-cta { display: none; }

/* movimento: entradas ao rolar (só com JavaScript), contadores e paralaxe */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translate3d(-34px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(34px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .7s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .07s; }
  .hero-copy > :nth-child(3) { animation-delay: .15s; }
  .hero-photo { animation: reveal 1s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } }
  @keyframes reveal { from { clip-path: inset(8% 0 0 12% round 44px); opacity: .5; } }
}

/* telas médias e pequenas */
@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--sh-2); max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav > ul > li > a { flex: 1; padding: 16px 0; border-radius: 0; }
  .nav > ul > li > a[aria-current="page"]::after { display: none; }
  .only-mobile { display: flex !important; }
  .mega-toggle { width: 44px; height: 44px; margin: 0; }
  .mega { position: static; flex: 0 0 100%; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; padding: 0; display: none; pointer-events: auto; transition: none; }
  .has-mega:hover .mega { display: none; }
  .has-mega.open .mega { display: block; padding-bottom: 16px; }
  .mega-grid { grid-template-columns: 1fr; gap: 16px; }
  .mega-photo { display: none; }
  .nav-cta { margin-top: 18px; }
}
@media (max-width: 980px) {
  .hero { padding: 56px 0 56px; border-radius: 0 0 36px 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-photo { border-radius: 32px 32px 80px 32px; aspect-ratio: 4 / 3.4; }
  .hero .shape-gold { width: 320px; right: -110px; bottom: -90px; }
  .hero-status { position: static; grid-template-columns: minmax(0, 1fr); margin: 36px 24px 0; }
  .hero { padding-bottom: 40px; }
  .section { padding: 80px 0; }
  .split, .page-head-grid, .audience { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .course-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .matrix { grid-template-columns: minmax(0, 1fr); }
  .matrix li, .matrix li:nth-child(4), .matrix li:nth-child(5) { grid-column: auto; }
  .timeline { grid-template-columns: minmax(0, 1fr); }
  .who > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .modules { grid-template-columns: minmax(0, 1fr); }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .utility p { display: none; }
  .utility ul { gap: 20px; flex-wrap: wrap; }
  .site-footer { border-radius: 36px 36px 0 0; }
  .panel-dark, .stats { border-radius: 32px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .wrap { width: min(1180px, 100% - 40px); }
  .utility { display: none; }
  .form { grid-template-columns: 1fr; padding: 24px; }
  .specs { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .btn-row .btn { width: 100%; }
  .hero-status { margin-inline: 20px; }
  body { padding-bottom: 76px; }
  .mobile-cta { display: inline-flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; box-shadow: 0 14px 30px -8px rgba(13, 23, 64, .55); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  [data-parallax] { transform: none; }
}

/* posições das formas da marca nos painéis */
.panel-dark > .shape { right: -70px; top: -60px; width: 340px; }
.panel-dark .wrap { z-index: 1; }
.split-media > img:not(.shape) { z-index: 1; }
@media (max-width: 980px) { .panel-dark > .shape { width: 220px; right: -60px; top: -40px; } .stats .shape { width: 180px; } .split-media .shape { width: 170px; right: -24px; bottom: -34px; } }

/* formas decorativas nunca criam rolagem lateral */
html { overflow-x: clip; }
.section { overflow-x: clip; }

/* painéis com margem interna real, alinhada ao restante da página */
.panel-dark > .wrap, .stats > .wrap { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

/* carrossel de fotos do banner */
.carousel { position: absolute; inset: 0; touch-action: pan-y; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s var(--ease), visibility 0s; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.07); transition: transform 1.6s var(--ease); }
.slide.is-active img { transform: scale(1); }
.carousel-ui { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 3; display: flex; align-items: center; gap: 8px; }
.carousel-dots { display: flex; align-items: center; gap: 2px; }
.cdot { width: 26px; height: 44px; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.cdot::before { content: ""; display: block; width: 10px; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .6); box-shadow: 0 1px 4px rgba(10, 31, 51, .5); transition: width .35s var(--ease), background-color .2s; }
.cdot.is-active::before { width: 24px; background: var(--gold); }
@media (max-width: 640px) { .carousel-ui { left: 10px; bottom: 10px; } .cdot { width: 22px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active, .slide img { transition: none; transform: none; } }

/* páginas internas: foto em destaque, assuntos, princípios */
.about-photo { position: relative; border-radius: 40px 40px 110px 40px; overflow: hidden; box-shadow: 0 40px 80px -28px rgba(0, 0, 0, .55); aspect-ratio: 4 / 3.5; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.center-block { text-align: center; margin-inline: auto; }
.center-block .btn-row { justify-content: center; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 36px; }
.principles > div { border-top: 3px solid var(--gold); padding-top: 22px; }
.principles h3 { font-size: 1.25rem; }
.principles p { color: var(--muted); margin: 0; }
.topics { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.topics a { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; border-radius: 22px; background: var(--white); box-shadow: var(--sh-1); text-decoration: none; color: inherit; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.topics strong { display: block; color: var(--navy); font-size: 1.08rem; line-height: 1.3; }
.topics a > span > span { display: block; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.topics .ico { width: 22px; height: 22px; color: var(--gold-deep); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .topics a:hover { transform: translateY(-4px); box-shadow: var(--sh-2); } .topics a:hover .ico { transform: translateX(4px); } }
.phone-dark { margin: 24px 0 0; }
.phone-dark a { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; letter-spacing: -.02em; text-decoration: none; border-bottom: 3px solid var(--gold); }
@media (max-width: 980px) { .principles { grid-template-columns: minmax(0, 1fr); gap: 28px; } .about-photo { aspect-ratio: 4 / 3; border-radius: 32px 32px 80px 32px; } }

.contact-photo { margin-top: 40px; }
.contact-photo > img:not(.shape) { aspect-ratio: 16 / 10; object-position: 50% 30%; }

/* celular: mais compacto e mais fácil de percorrer */
@media (max-width: 640px) {
  .header-bar { min-height: 72px; }
  .brand img { width: 132px; height: 56px; }
  .nav { max-height: calc(100vh - 72px); }
  .section { padding: 52px 0; }
  h2 { font-size: clamp(1.7rem, 7.2vw, 2.05rem); }
  .hero { padding-top: 36px; }
  .hero-photo { aspect-ratio: 4 / 3.3; }
  .cc-media { aspect-ratio: 16 / 9; }
  .cc-body { padding: 22px 22px 26px; }
  .cc-body h3 { font-size: 1.35rem; }
  .matrix { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -20px 0; padding: 4px 20px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .matrix::-webkit-scrollbar { display: none; }
  .matrix li, .matrix li:nth-child(4), .matrix li:nth-child(5) { flex: 0 0 84%; scroll-snap-align: start; }
  .timeline { gap: 22px; margin-top: 32px; }
  .timeline li { padding: 28px 22px 24px; }
  .stats { padding: 40px 0; }
  .stats-list strong { font-size: 2.4rem; }
  .faq summary { padding: 18px 52px 18px 20px; }
  .faq details p { padding: 0 20px 20px; }
  .topics a { padding: 18px 20px; }
  .principles { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-top { gap: 20px; padding-bottom: 32px; }
  .site-footer { padding-top: 52px; }
  .page-head, .page-head-photo { padding-top: 36px; }
  .page-head-photo { padding-bottom: 56px; }
  .about-photo { aspect-ratio: 4 / 3.2; }
  .phone-dark a { font-size: 1.9rem; }
}

/* o menu (inclusive o menu amplo) se ancora no cabeçalho inteiro, não no contêiner */
.site-header .wrap { position: static; }

/* anéis da marca (SVG) */
.knot { width: min(380px, 86%); height: auto; justify-self: center }

/* galeria: mosaico */
.gallery-wrap { padding: 0 0 96px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 16px; }
.g-item { position: relative; margin: 0; overflow: hidden; border-radius: 26px; background: var(--mist); box-shadow: var(--sh-1); isolation: isolate; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7, 27, 63, .72)); pointer-events: none; }
.g-cap { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; color: #fff; font-weight: 600; font-size: .95rem; letter-spacing: -.01em; }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
@media (hover: hover) { .g-item:hover img { transform: scale(1.05); } }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
  .g-item { border-radius: 20px; }
  .g-big { grid-column: span 2; grid-row: span 2; }
  .g-tall { grid-row: span 2; }
  .g-wide { grid-column: span 2; }
  .gallery-wrap { padding-bottom: 64px; }
}

/* corpo pedagógico */
.lead-sm { color: var(--muted); margin: -.2em 0 40px; font-size: 1.1rem; }
.director { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; padding: 28px; border-radius: 32px; background: var(--g-band); color: #fff; box-shadow: var(--sh-2); }
.director-photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; display: block; box-shadow: var(--sh-1); }
.director h3 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0 8px; line-height: 1.2; }
.director p { margin: 0; font-size: 1.15rem; color: #dce7fa; }
.team { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.person img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 24px; display: block; box-shadow: var(--sh-1); margin-bottom: 14px; }
.person strong { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.3; }
.person span { display: block; color: var(--muted); font-size: .92rem; line-height: 1.4; margin-top: 2px; }
@media (max-width: 980px) { .team { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .director { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 20px; border-radius: 26px; }
  .director-photo { max-width: 260px; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
.director .badge { background: var(--gold); color: var(--navy-900); }
.person em { display: block; font-style: normal; color: var(--blue); font-size: .85rem; font-weight: 600; line-height: 1.35; margin-top: 6px; }
