/* Crislei Escola de Negócios — tema (rodada 2): vinho e marrom da marca, Nexa Light (site antigo) + Urbanist, símbolo do livro em movimento */
@font-face { font-family: 'Nexa Light'; src: url('../fonts/nexa-light.woff2') format('woff2'), url('../fonts/nexa-light.woff') format('woff'); font-weight: 100 500; font-style: normal; font-display: swap; }
:root {
  --bg: #FFFFFF;
  --bg-2: #F9EEF0;
  --bg-3: #FFFFFF;
  --bg-4: #F2DFE3;
  --ink: #3A2B2C;
  --ink-2: #4C3D3E;
  --muted: #6B5A5C;
  --line: #EEDCE0;
  --line-2: #DDC3C9;
  --accent: #A42137;
  --accent-hi: #F6C3CC;
  --accent-ink: #8C1B2F;
  --accent-rgb: 164 33 55;
  --accent-deep: #6B1525;
  --accent-deep-rgb: 107 21 37;
  --on-accent: #FFFFFF;
  --accent-2: #574545;
  --accent-2-ink: #483A3A;
  --dark: #3A2D2D;
  --dark-rgb: 58 45 45;
  --dark-2: #483A3A;
  --on-dark: #FFF8F8;
  --on-dark-muted: #E2D3D5;
  --line-dark: #5E4B4C;
  --branco-rgb: 255 255 255;
  --wa: #25D366;
  --wa-ink: #0B3D1E;
  --font: 'Nexa Light', 'Urbanist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Urbanist', 'Nexa Light', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-2: 'Urbanist', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 40px);
  --sec: clamp(76px, 9vw, 128px);
  --raio: 12px;
  --raio-g: 20px;
  --sombra: 0 22px 48px -26px rgb(var(--dark-rgb) / .45);
  --sombra-2: 0 30px 70px -30px rgb(var(--accent-deep-rgb) / .55);
  --header-h: 88px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ===== base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink-2); font-family: var(--font); font-size: 1.06rem; font-weight: 400; line-height: 1.72; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s ease; }
a:hover { color: var(--ink); }
strong, b { font-family: var(--font-2); font-weight: 700; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .5em; }
h1 em, h2 em, h3 em { font-family: var(--font); font-style: normal; font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
small, figcaption, time, label, legend { font-family: var(--font-2); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: var(--bg-3); border-radius: var(--raio); text-decoration: none; }
.skip:focus { top: 12px; color: var(--bg-3); }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.wrap-texto { max-width: calc(780px + 2 * var(--pad)); }
main { display: block; outline: none; }
[hidden] { display: none !important; }
.i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.i-fill { fill: currentColor; stroke: none; }
.simbolo { display: block; width: 100%; height: auto; overflow: visible; }

/* ===== tipografia de seção ===== */
.kicker { display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1rem; font-family: var(--font-2); font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { color: var(--ink); }
.kicker-luz { color: var(--accent-hi); }
.kicker-luz a:hover { color: var(--on-dark); }
.sec { position: relative; padding-block: var(--sec); overflow: clip; }
.sec > .wrap { position: relative; z-index: 1; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head .sh-txt { max-width: 720px; }
.sec-head.center { justify-content: center; text-align: center; }
.sec-head.center .sh-txt { margin-inline: auto; }
.sec-title { font-size: clamp(2.2rem, 4.2vw, 3.6rem); margin-bottom: .35em; text-wrap: balance; }
.sec-sub { font-size: 1.1rem; color: var(--muted); max-width: 640px; margin-bottom: 0; }
.sec-sub + .sec-sub { margin-top: .6em; }
.sec-head.center .sec-sub { margin-inline: auto; }
.prosa > :last-child { margin-bottom: 0; }
.prosa p, .prosa li { color: var(--ink-2); }
.prosa ul, .prosa ol { margin: 0 0 1em; }
.prosa li { margin-bottom: .35em; }
.prosa li::marker { color: var(--accent); }
.prosa-longa { font-size: 1.1rem; }
.prosa-longa h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin: 1.7em 0 .55em; }
.prosa-longa h3 { font-size: 1.4rem; margin: 1.5em 0 .45em; }
.prosa-longa blockquote { position: relative; margin: 2em 0; padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px); background: var(--bg-2); border-radius: var(--raio-g); }
.prosa-longa blockquote p:first-child { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 1.7rem); line-height: 1.35; color: var(--accent-ink); }
.prosa-longa blockquote p:last-child { font-size: .95rem; color: var(--muted); margin-bottom: 0; }
.prosa .abre { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.45; color: var(--ink); }
.prosa figure { margin: 2em 0; padding: clamp(20px, 4vw, 40px); background: var(--bg-2); border-radius: var(--raio-g); }
.prosa figure img { width: 100%; max-width: 520px; margin-inline: auto; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 640px; }

/* ===== fundos (cores da marca) ===== */
.fundo-branco { background: var(--bg); }
.fundo-claro, .sec-alt { background: var(--bg-2); }
.fundo-vinho { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); color: var(--on-dark-muted); }
.fundo-escuro { background: var(--dark); color: var(--on-dark-muted); }
.fundo-vinho h2, .fundo-vinho h3, .fundo-escuro h2, .fundo-escuro h3 { color: var(--on-dark); }
.fundo-vinho h2 em, .fundo-escuro h2 em { color: var(--accent-hi); }
.fundo-vinho .kicker, .fundo-escuro .kicker { color: var(--accent-hi); }
.fundo-vinho .sec-sub, .fundo-escuro .sec-sub, .fundo-vinho .prosa p, .fundo-escuro .prosa p { color: var(--on-dark-muted); }
.fundo-vinho a:not(.btn), .fundo-escuro a:not(.btn) { color: var(--on-dark); }
.fundo-vinho .btn-outline, .fundo-escuro .btn-outline { border-color: rgb(var(--branco-rgb) / .55); color: var(--on-dark); }
.fundo-vinho .btn-outline::before, .fundo-escuro .btn-outline::before { background: var(--bg-3); }
.fundo-vinho .btn-outline:hover, .fundo-escuro .btn-outline:hover { color: var(--accent-ink); border-color: var(--bg-3); }
/* símbolo da marca como marca d'água (tom sobre tom) */
.sec-sim { position: absolute; z-index: 0; right: -7%; top: 50%; width: min(44vw, 620px); color: var(--accent); opacity: .055; pointer-events: none; translate: 0 -50%; }
.fundo-vinho .sec-sim { color: var(--bg-3); opacity: .08; }
.fundo-branco .sec-sim { opacity: .045; }
.tf-inv .sec-sim { right: auto; left: -7%; }

/* ===== botões ===== */
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px; padding: .85em 1.6em; border: 1.5px solid transparent; border-radius: var(--raio); font-family: var(--font-2); font-size: .92rem; font-weight: 700; letter-spacing: .04em; line-height: 1.2; text-decoration: none; cursor: pointer; transition: color .3s ease, border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right center; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:hover { transform: translateY(-2px); }
.btn .i { width: 1.2em; height: 1.2em; transition: transform .3s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(4px); }
.btn-sm { min-height: 44px; padding: .65em 1.2em; font-size: .86rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 12px 26px -14px rgb(var(--accent-rgb) / .9); }
.btn-primary::before { background: var(--accent-deep); }
.btn-primary:hover { color: var(--on-accent); }
.btn-outline { border-color: var(--accent); color: var(--accent-ink); background: transparent; }
.btn-outline::before { background: var(--accent); }
.btn-outline:hover { color: var(--on-accent); }
.btn-light { background: var(--bg-3); color: var(--accent-ink); }
.btn-light::before { background: var(--bg-4); }
.btn-light:hover { color: var(--accent-deep); }
.btn-ghost-light { border-color: rgb(var(--branco-rgb) / .6); color: var(--on-dark); background: transparent; }
.btn-ghost-light::before { background: var(--bg-3); }
.btn-ghost-light:hover { color: var(--accent-ink); border-color: var(--bg-3); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa::before { background: var(--wa-ink); }
.btn-wa:hover { color: var(--bg-3); }
.btn-link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .4em 0; font-family: var(--font-2); font-size: .92rem; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.btn-link:hover { color: var(--ink); }
.btn-link .i { transition: transform .25s ease; }
.btn-link:hover .i { transform: translateX(-3px); }

/* ===== cabeçalho ===== */
.site-header { position: sticky; top: 0; z-index: 60; background: rgb(var(--branco-rgb) / .96); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgb(var(--dark-rgb) / .35); }
.header-in { display: flex; align-items: center; gap: clamp(14px, 2vw, 26px); min-height: var(--header-h); transition: min-height .3s ease; }
.site-header.is-scrolled .header-in { min-height: 72px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { height: 54px; width: auto; transition: height .3s ease; }
.site-header.is-scrolled .brand img { height: 46px; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { position: relative; isolation: isolate; display: inline-block; padding: 10px 14px; font-family: var(--font-2); font-size: .86rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; border-radius: 999px; }
.nav > ul > li > a::before { content: ""; position: absolute; inset: 2px 0; z-index: -1; border-radius: 999px; background: var(--bg-2); transform: scale(.6); opacity: 0; transition: transform .3s var(--ease), opacity .3s ease; }
.nav > ul > li > a:hover::before, .nav > ul > li > a[aria-current="page"]::before { transform: scale(1); opacity: 1; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-ink); }
.has-sub { display: flex; align-items: center; }
.has-sub > a { padding-right: 4px; }
.sub-btn { display: inline-grid; place-items: center; width: 26px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.sub-btn .i { width: 15px; height: 15px; transform: rotate(90deg); transition: transform .25s ease; }
.has-sub.open .sub-btn .i, .has-sub:hover .sub-btn .i { transform: rotate(-90deg); }
.sub { position: absolute; top: calc(100% + 6px); left: -6px; min-width: 260px; margin: 0; padding: 10px; list-style: none; background: var(--bg-3); border-radius: 16px; box-shadow: var(--sombra-2); visibility: hidden; opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .25s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .3s var(--ease); }
.sub li { opacity: 1; }
.sub a { display: block; padding: 10px 14px; border-radius: 10px; font-size: .98rem; letter-spacing: .01em; text-transform: none; font-weight: 600; color: var(--ink-2); transition: background-color .2s ease, color .2s ease, padding .25s var(--ease); }
.sub a:hover { color: var(--accent-ink); background: var(--bg-2); padding-left: 20px; }
.h-busca { position: relative; flex: none; }
.h-busca-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--accent-ink); cursor: pointer; transition: background-color .25s ease, color .25s ease, transform .3s var(--ease); }
.h-busca-btn:hover, .h-busca-btn[aria-expanded="true"] { background: var(--accent); color: var(--on-accent); transform: rotate(-8deg); }
.h-busca-form { position: absolute; right: 0; top: calc(100% + 14px); display: flex; gap: 8px; width: min(420px, calc(100vw - 2 * var(--pad))); padding: 10px; background: var(--bg-3); border-radius: 16px; box-shadow: var(--sombra-2); }
.h-busca-form input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; font: inherit; color: var(--ink); background: var(--bg); }
.h-busca-form input:focus { outline: none; border-color: var(--accent); }
.menu-btn { display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); cursor: pointer; place-items: center; }
.menu-btn .i { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
body.menu-open .menu-btn .i-open { display: none; }
body.menu-open .menu-btn .i-close { display: inline; }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 55; background: var(--bg); padding: 18px var(--pad) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .3s ease, transform .35s var(--ease), visibility 0s linear .3s; }
body.menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .35s var(--ease); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav > ul > li { transform: translateX(-14px); opacity: 0; transition: transform .45s var(--ease), opacity .45s ease; }
body.menu-open .mobile-menu nav > ul > li { transform: none; opacity: 1; }
body.menu-open .mobile-menu nav > ul > li:nth-child(2) { transition-delay: .04s; }
body.menu-open .mobile-menu nav > ul > li:nth-child(3) { transition-delay: .08s; }
body.menu-open .mobile-menu nav > ul > li:nth-child(4) { transition-delay: .12s; }
body.menu-open .mobile-menu nav > ul > li:nth-child(5) { transition-delay: .16s; }
body.menu-open .mobile-menu nav > ul > li:nth-child(6) { transition-delay: .2s; }
.mobile-menu nav > ul > li > a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--ink); text-decoration: none; }
.mobile-menu nav a .i { color: var(--accent); }
.mm-sub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; padding: 6px 0 14px !important; border-bottom: 1px solid var(--line); }
.mm-sub a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; }
.mm-cta { display: grid; gap: 10px; margin: 26px 0 18px; }
.mm-cta .btn { width: 100%; }
.mm-info li { color: var(--muted); font-size: .94rem; padding: 3px 0; }
@media (max-width: 1160px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 640px) {
  :root { --header-h: 74px; }
  .brand img { height: 42px; }
  .site-header.is-scrolled .brand img { height: 40px; }
  .site-header.is-scrolled .header-in { min-height: 66px; }
  .h-busca-btn { width: 44px; height: 44px; }
  .h-busca { position: static; }
  .h-busca-form { left: var(--pad); right: var(--pad); width: auto; }
}

/* ===== símbolo em movimento ===== */
.simbolo .s-pag-e { transform-box: fill-box; transform-origin: right center; }
.simbolo .s-pag-d { transform-box: fill-box; transform-origin: left center; }
.simbolo .s-cap-e { transform-box: fill-box; transform-origin: right center; }
.simbolo .s-cap-d { transform-box: fill-box; transform-origin: left center; }
.simbolo .s-pes { transform-box: fill-box; transform-origin: center bottom; }
@media (prefers-reduced-motion: no-preference) {
  .sim-respira .s-pag { animation: pag-respira 7s ease-in-out infinite; }
  .sim-respira .s-pag-d { animation-delay: -3.5s; }
  .sim-flutua { animation: sim-flutua 16s ease-in-out infinite; }
  .sim-abre .s-pag, .sim-abre .s-cap { animation: pag-abre 1.8s var(--ease) both; }
  .sim-abre .s-cap { animation-delay: .25s; }
  .sim-abre .s-pes { animation: pes-sobe 1.4s var(--ease) .5s both; }
  .sim-abre.sim-respira .s-pag { animation: pag-abre 1.8s var(--ease) both, pag-respira 7s ease-in-out 1.8s infinite; }
  .cdw-reveal [data-reveal]:not(.is-in) .sim-abre .s-pag, .cdw-reveal [data-reveal]:not(.is-in) .sim-abre .s-cap, .cdw-reveal [data-reveal]:not(.is-in) .sim-abre .s-pes { animation-play-state: paused; }
}
@keyframes pag-respira { 0%, 100% { transform: none; } 50% { transform: scaleX(.93) skewY(-1.5deg); } }
@keyframes pag-abre { from { transform: scaleX(.12); } to { transform: none; } }
@keyframes pes-sobe { from { transform: translateY(18%) scaleY(.6); } to { transform: none; } }
@keyframes sim-flutua { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(-3deg); } }

/* ===== topo da página inicial ===== */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(580px, 86vh, 820px); color: var(--on-dark); overflow: hidden; background: var(--accent-deep); }
.hero-fotos { position: absolute; inset: 0; }
.hs { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hs.is-on { opacity: 1; }
.hs img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%; }
/* zoom suave na troca de foto (transição, não animação: a foto nunca fica sem pintar) */
@media (prefers-reduced-motion: no-preference) {
  .hs img { transform: scale(1.06); transition: transform 8s ease-out; }
  .hs.is-on img { transform: none; }
}
.hero-veu { position: absolute; inset: 0; background: linear-gradient(100deg, rgb(var(--accent-deep-rgb) / .96) 0%, rgb(var(--accent-rgb) / .88) 33%, rgb(var(--accent-rgb) / .3) 53%, rgb(var(--dark-rgb) / 0) 70%), linear-gradient(0deg, rgb(var(--dark-rgb) / .5) 0%, rgb(var(--dark-rgb) / 0) 26%); }
.hero-sim { position: absolute; z-index: 1; left: -7%; bottom: -16%; width: min(54vw, 780px); color: var(--bg-3); opacity: .1; pointer-events: none; }
.hero-in { position: relative; z-index: 2; padding-block: clamp(70px, 9vw, 120px) clamp(130px, 13vw, 170px); }
.hero-txt { max-width: 690px; }
.hero h1 { color: var(--on-dark); font-size: clamp(3.1rem, 6.4vw, 5.8rem); font-weight: 800; line-height: .95; letter-spacing: -.035em; margin-bottom: .32em; }
.hero h1 em { display: block; color: var(--accent-hi); font-weight: 300; letter-spacing: -.02em; }
.hero .lead { color: var(--on-dark); margin-bottom: 0; font-size: clamp(1.12rem, 1.6vw, 1.32rem); }
.hero .btns { margin-top: 32px; }
.hero-dots { display: flex; gap: 10px; margin-top: 40px; }
.hero-dots button { width: 14px; height: 14px; padding: 0; border: 2px solid rgb(var(--branco-rgb) / .8); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .3s ease, transform .3s var(--ease); }
.hero-dots button[aria-pressed="true"] { background: var(--bg-3); transform: scale(1.25); }
@media (max-width: 760px) {
  .hero { align-items: flex-end; min-height: clamp(560px, 92vh, 760px); }
  .hero-veu { background: linear-gradient(180deg, rgb(var(--accent-deep-rgb) / .35) 0%, rgb(var(--accent-rgb) / .82) 42%, rgb(var(--accent-deep-rgb) / .97) 100%); }
  .hs img { object-position: 62% 30%; }
  .hero-sim { left: auto; right: -30%; bottom: auto; top: 8%; width: 90vw; }
  .hero-in { padding-block: 200px 100px; }
}

/* ===== busca de cursos (cartão sobre o topo) ===== */
.busca-wrap { position: relative; z-index: 5; margin-top: clamp(-110px, -8vw, -70px); }
.busca-card { display: grid; gap: 18px 28px; padding: clamp(22px, 3vw, 36px); background: var(--bg-3); border-radius: 24px; box-shadow: var(--sombra-2); }
.busca label { display: block; margin-bottom: 10px; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.busca-in { display: flex; align-items: stretch; background: var(--bg-2); border: 2px solid transparent; border-radius: 14px; transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease; }
.busca-in:focus-within { border-color: var(--accent); background: var(--bg-3); box-shadow: 0 0 0 5px rgb(var(--accent-rgb) / .12); }
.busca-ico { display: grid; place-items: center; padding-left: 18px; color: var(--accent); }
.busca-ico .i { width: 22px; height: 22px; }
.busca-in input { flex: 1 1 auto; min-width: 0; min-height: 60px; padding: 12px 16px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 1.08rem; }
.busca-in input:focus { outline: none; }
.busca-in input::placeholder { color: var(--muted); }
.busca-in .btn { min-height: 52px; margin: 4px; flex: none; }
.busca-sug { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.busca-sug-t { font-family: var(--font-2); font-size: .86rem; font-weight: 700; color: var(--muted); }
.busca-sug ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.busca-sug a { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px; background: var(--bg-2); color: var(--accent-ink); font-family: var(--font-2); font-size: .9rem; font-weight: 600; text-decoration: none; transition: background-color .25s ease, color .25s ease, transform .25s var(--ease); }
.busca-sug a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-2px); }
.busca-areas ul { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.busca-areas a { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; padding: 14px; border-radius: 14px; color: var(--ink); text-decoration: none; transition: background-color .25s ease, transform .3s var(--ease); }
.busca-areas a:hover { background: var(--bg-2); transform: translateY(-3px); }
.ba-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px; border-radius: 12px; background: var(--accent); color: var(--on-accent); transition: transform .4s var(--ease); }
.busca-areas a:hover .ba-ico { transform: rotate(-8deg) scale(1.06); }
.ba-ico .i { width: 22px; height: 22px; }
.ba-nome { font-family: var(--font-display); font-size: 1.06rem; font-weight: 700; line-height: 1.2; }
.ba-n { font-size: .86rem; color: var(--muted); }
@media (max-width: 1000px) { .busca-areas ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .busca-areas ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .busca-in .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .busca-in .btn { padding-inline: 16px; }
  .busca-ico { display: none; }
}

/* ===== topo das páginas internas ===== */
.page-top { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 90px) clamp(48px, 6vw, 90px); background: linear-gradient(120deg, var(--accent-deep) 0%, var(--accent) 70%); color: var(--on-dark); }
.pt-sim { position: absolute; right: -4%; top: 50%; width: min(48vw, 620px); color: var(--bg-3); opacity: .1; translate: 0 -50%; pointer-events: none; }
.pt-com-foto .pt-sim { right: auto; left: 28%; }
.pt-in { position: relative; z-index: 1; }
.pt-com-foto .pt-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-top h1 { color: var(--on-dark); font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; max-width: 20ch; margin-bottom: .35em; text-wrap: balance; }
.page-top h1 em { color: var(--accent-hi); font-weight: 300; }
.page-top .lead { color: var(--on-dark); margin-bottom: 0; }
.page-top .btns { margin-top: 28px; }
.pt-foto { margin: 0; justify-self: end; width: 100%; max-width: 520px; }
.pt-foto img { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--raio-g); box-shadow: 0 30px 60px -30px rgb(var(--dark-rgb) / .8); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 clamp(22px, 3vw, 36px); padding: 0; font-family: var(--font-2); font-size: .88rem; font-weight: 600; color: var(--on-dark-muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--accent-hi); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs [aria-current] { color: var(--on-dark); }
.nf { padding-block: clamp(80px, 12vw, 170px); }
.nf .lead { margin-bottom: 2rem; }
.page-top .btn-primary { background: var(--bg-3); color: var(--accent-ink); box-shadow: none; }
.page-top .btn-primary::before { background: var(--bg-4); }
.page-top .btn-outline { border-color: rgb(var(--branco-rgb) / .6); color: var(--on-dark); }
.page-top .btn-outline::before { background: var(--bg-3); }
.page-top .btn-outline:hover { color: var(--accent-ink); }
@media (max-width: 900px) {
  .pt-com-foto .pt-in { grid-template-columns: minmax(0, 1fr); }
  .pt-foto { justify-self: center; max-width: 560px; }
  .pt-foto img { max-height: 360px; }
  .pt-com-foto .pt-sim { left: auto; right: -20%; top: 22%; }
}

/* ===== áreas de ensino (cartões com foto) ===== */
.areas { --gap: clamp(16px, 2vw, 24px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.ar { min-width: 0; }
.ar-link { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--raio-g); color: var(--on-dark); text-decoration: none; background: var(--accent-deep); box-shadow: var(--sombra); transition: transform .5s var(--ease), box-shadow .5s ease; }
.ar-link:hover { transform: translateY(-8px); box-shadow: var(--sombra-2); color: var(--on-dark); }
.ar-foto { position: absolute; inset: 0; }
.ar-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ar-link:hover .ar-foto img { transform: scale(1.07); }
.ar-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--dark-rgb) / .05) 18%, rgb(var(--accent-deep-rgb) / .55) 48%, rgb(var(--accent-deep-rgb) / .96) 100%); transition: opacity .4s ease; }
.ar-ico { position: absolute; z-index: 2; top: 20px; left: 20px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--bg-3); color: var(--accent); box-shadow: 0 10px 24px -12px rgb(var(--dark-rgb) / .6); transition: transform .5s var(--ease); }
.ar-ico .i { width: 26px; height: 26px; }
.ar-link:hover .ar-ico { transform: rotate(-10deg) scale(1.08); }
.ar-corpo { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: clamp(20px, 2.4vw, 30px); }
.ar-n { font-family: var(--font-2); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); }
.ar-nome { margin: .2em 0 .35em; color: var(--on-dark); font-size: clamp(1.7rem, 2.5vw, 2.15rem); font-weight: 800; }
.ar-res { font-size: .98rem; line-height: 1.55; color: var(--on-dark); }
.ar-ex { display: block; margin-top: 12px; font-size: .9rem; line-height: 1.5; color: var(--on-dark-muted); max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height .5s var(--ease), opacity .4s ease, transform .5s var(--ease); }
.ar-ex-t { font-family: var(--font-2); font-weight: 700; color: var(--on-dark); }
.ar-link:hover .ar-ex, .ar-link:focus-visible .ar-ex { max-height: 7em; opacity: 1; transform: none; }
.ar-ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-2); font-size: .9rem; font-weight: 700; color: var(--on-dark); }
.ar-ver .i { transition: transform .3s var(--ease); }
.ar-link:hover .ar-ver .i { transform: translateX(5px); }
@media (hover: none) { .ar-ex { max-height: none; opacity: 1; transform: none; } }
@media (max-width: 1000px) and (min-width: 621px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .areas { grid-template-columns: minmax(0, 1fr); }
  .ar-link { aspect-ratio: 4 / 4.4; }
  .ar-res { display: none; }
  .ar-ex { max-height: none; opacity: 1; transform: none; }
}

/* ===== números (frase com contadores) ===== */
.numeros { position: relative; overflow: hidden; padding-block: clamp(70px, 8vw, 110px); color: var(--on-dark); background: radial-gradient(rgb(var(--branco-rgb) / .09) 1.6px, transparent 1.8px) 0 0 / 20px 20px, linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%); }
.num-sim { position: absolute; left: -6%; top: 50%; width: min(40vw, 520px); color: var(--bg-3); opacity: .1; translate: 0 -50%; pointer-events: none; }
.num-in { position: relative; z-index: 1; max-width: calc(1060px + 2 * var(--pad)); text-align: center; }
.num-frase { margin: 0 auto 32px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.3; letter-spacing: -.015em; color: var(--on-dark); text-wrap: balance; }
.num { white-space: normal; }
.num strong { display: inline-block; min-width: 1.2ch; font-weight: 800; font-size: 1.45em; line-height: 1; color: var(--accent-hi); font-variant-numeric: tabular-nums; }
.numeros .btn-light { margin-inline: auto; }

/* ===== cursos em destaque (abas + carrossel) ===== */
.abas { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.aba { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border: 1.5px solid var(--line-2); border-radius: 999px; font-family: var(--font-2); font-size: .95rem; font-weight: 700; color: var(--ink-2); text-decoration: none; background: var(--bg-3); transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.aba .i { color: var(--accent); }
.aba:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.aba[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.aba[aria-selected="true"] .i { color: var(--on-accent); }
.painel { position: relative; }
.car-trilho { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 24px; margin: 0 -4px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.car-trilho > * { scroll-snap-align: start; }
@media (min-width: 1101px) { .car-trilho:not(:has(> :nth-child(5))) { justify-content: center; } }
.car-trilho:focus-visible { outline-offset: 6px; }
.car-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 4px; }
.car-nav .btn { margin-right: auto; }
.car-prev, .car-next { display: grid; place-items: center; width: 50px; height: 50px; border: 1.5px solid var(--accent); border-radius: 50%; background: var(--bg-3); color: var(--accent); cursor: pointer; transition: background-color .25s ease, color .25s ease, transform .25s var(--ease); }
.car-prev:hover, .car-next:hover { background: var(--accent); color: var(--on-accent); }
.car-prev:hover { transform: translateX(-3px); }
.car-next:hover { transform: translateX(3px); }
.car-prev:disabled, .car-next:disabled { opacity: .35; cursor: default; transform: none; background: var(--bg-3); color: var(--accent); }
@media (max-width: 1100px) { .car-trilho { grid-auto-columns: calc((100% - 2 * 22px) / 3); } }
@media (max-width: 800px) { .car-trilho { grid-auto-columns: calc((100% - 22px) / 2); } }
@media (max-width: 520px) { .car-trilho { grid-auto-columns: 82%; } }

/* card do curso */
.cdc { position: relative; display: flex; flex-direction: column; min-width: 0; height: 100%; background: var(--bg-3); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s ease, border-color .3s ease; }
.cdc:hover { transform: translateY(-6px); box-shadow: var(--sombra-2); border-color: var(--line-2); }
.cdc-arte { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); color: var(--accent); }
.cdc-arte img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cdc-arte .simbolo { width: 50%; margin: 25% auto; opacity: .4; }
.cdc:hover .cdc-arte img { transform: scale(1.05); }
.cdc-corpo { display: flex; flex-direction: column; flex: 1 1 auto; padding: 18px 20px 18px; }
.cdc-area { margin: 0 0 .4em; font-family: var(--font-2); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.cdc-titulo { font-size: 1.32rem; line-height: 1.18; margin: 0 0 .6em; }
.cdc-titulo a { color: var(--ink); text-decoration: none; }
.cdc-titulo a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.cdc:hover .cdc-titulo a { color: var(--accent-ink); }
.cdc-ap-t { margin: 0 0 .35em; font-family: var(--font-2); font-size: .78rem; font-weight: 700; color: var(--muted); }
.cdc-ap { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 5px; }
.cdc-ap li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.cdc-ap li span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cdc-ap .i { color: var(--accent); width: 1em; height: 1em; margin-top: .2em; stroke-width: 2.4; }
.cdc-res { color: var(--ink-2); font-size: .94rem; margin-bottom: 1em; }
.cdc-pe { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--font-2); font-size: .86rem; font-weight: 600; color: var(--muted); }
.cdc-ver { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent-ink); }
.cdc-ver .i { transition: transform .3s var(--ease); }
.cdc:hover .cdc-ver .i { transform: translateX(4px); }
.cds { --gap: clamp(18px, 2.4vw, 26px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.cds > .cdc { flex: 0 1 calc((100% - 2 * var(--gap)) / 3); height: auto; }
@media (max-width: 900px) { .cds > .cdc { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 560px) { .cds > .cdc { flex-basis: 100%; max-width: 400px; } }

/* ===== faixa deslizante com os cursos ===== */
.faixa { position: relative; overflow: hidden; padding-block: clamp(26px, 3vw, 38px); background: var(--dark); color: var(--on-dark); }
.fx-linha { display: flex; width: max-content; }
.fx-linha + .fx-linha { margin-top: 10px; }
.fx-trilho { display: flex; flex: none; align-items: center; list-style: none; margin: 0; padding: 0; }
.fx-trilho li { display: flex; align-items: center; flex: none; }
.fx-trilho a { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: -.02em; color: var(--on-dark); text-decoration: none; white-space: nowrap; transition: color .25s ease; }
.fx-l2 .fx-trilho a { font-family: var(--font); font-weight: 400; color: var(--on-dark-muted); }
.fx-trilho a:hover { color: var(--accent-hi); }
.fx-sep { display: block; width: 34px; margin-inline: clamp(18px, 2.4vw, 30px); color: var(--accent); }
.fx-l2 .fx-sep { color: var(--accent-hi); opacity: .55; }
@media (prefers-reduced-motion: no-preference) {
  .fx-l1 .fx-trilho { animation: fx-esq 140s linear infinite; }
  .fx-l2 .fx-trilho { animation: fx-dir 160s linear infinite; }
  .faixa:hover .fx-trilho, .faixa:focus-within .fx-trilho { animation-play-state: paused; }
}
@keyframes fx-esq { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes fx-dir { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) {
  .fx-linha { width: auto; overflow-x: auto; }
  .fx-copia { display: none; }
}
.fx-btn { margin-top: 24px; text-align: center; }

/* ===== lista numerada com ícones (modalidades, missão, EaD, cursos livres) ===== */
.mvv { --gap: clamp(18px, 2.4vw, 28px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.mvv li { position: relative; min-width: 0; padding: clamp(26px, 3vw, 38px); background: var(--bg-3); border-radius: var(--raio-g); box-shadow: 0 18px 40px -30px rgb(var(--dark-rgb) / .5); transition: transform .45s var(--ease), box-shadow .45s ease; }
.mvv li:hover { transform: translateY(-6px); box-shadow: var(--sombra-2); }
.fundo-branco .mvv li { background: var(--bg-2); box-shadow: none; }
.fundo-vinho .mvv li, .fundo-escuro .mvv li { background: rgb(var(--branco-rgb) / .08); box-shadow: none; outline: 1px solid rgb(var(--branco-rgb) / .16); }
.mvv-ico { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 22px; border-radius: 18px; background: var(--accent); color: var(--on-accent); transition: transform .5s var(--ease); }
.mvv-ico .i { width: 28px; height: 28px; }
.mvv li:hover .mvv-ico { transform: rotate(-8deg) scale(1.06); }
.fundo-vinho .mvv-ico, .fundo-escuro .mvv-ico { background: var(--bg-3); color: var(--accent); }
.mvv-n::before { content: attr(data-n); }
.mvv-n { position: absolute; top: 18px; right: 24px; font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -.04em; color: var(--bg-4); }
.fundo-branco .mvv-n { color: var(--bg-3); }
.fundo-vinho .mvv-n, .fundo-escuro .mvv-n { color: rgb(var(--branco-rgb) / .12); }
.mvv h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.mvv-txt p { color: var(--ink-2); }
.fundo-vinho .mvv-txt p, .fundo-escuro .mvv-txt p { color: var(--on-dark-muted); }
.mvv-txt p:last-child { margin-bottom: 0; }
.mvv-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mvv-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
@media (max-width: 1100px) { .mvv-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .mvv:not(.mvv-n4) { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; } }
@media (max-width: 620px) { .mvv-n4 { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin-inline: auto; } }

/* ===== citação ===== */
.citacao { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); padding-block: clamp(84px, 10vw, 140px); }
.ct-in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ct-sim { width: 100%; max-width: 380px; justify-self: center; color: var(--accent); }
.ct-sim .simbolo { filter: drop-shadow(0 30px 40px rgb(0 0 0 / .35)); }
.ct-fig { margin: clamp(40px, 5vw, 64px) 0 clamp(24px, 3vw, 34px); }
.ct-fig blockquote { margin: 0; }
.ct-frase { position: relative; color: var(--on-dark); font-weight: 700; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .55em; }
.ct-frase::before { content: "“"; position: absolute; left: -.04em; top: -.5em; font-size: 2.2em; line-height: 1; color: var(--accent); opacity: .7; }
.ct-frase em { color: var(--accent-hi); }
.ct-fig figcaption { font-size: .98rem; color: var(--on-dark-muted); }
.ct-texto { max-width: 620px; margin: 0 0 30px; font-size: 1.08rem; color: var(--on-dark-muted); }
.ct-texto p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .ct-in { grid-template-columns: minmax(0, 1fr); } .ct-sim { max-width: 220px; } }

/* ===== texto com foto ===== */
.tf-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head foto" "txt foto"; column-gap: clamp(36px, 6vw, 96px); align-items: start; }
.tf-head { grid-area: head; align-self: end; }
.tf-txt { grid-area: txt; }
.tf-foto { position: relative; grid-area: foto; margin: 0; align-self: center; justify-self: center; width: 100%; }
.tf-foto::before { content: ""; position: absolute; inset: 9% -5% -5% 9%; border-radius: var(--raio-g); background: var(--bg-2); z-index: 0; }
.fundo-claro .tf-foto::before { background: var(--bg-4); }
.fundo-vinho .tf-foto::before, .fundo-escuro .tf-foto::before { background: rgb(var(--branco-rgb) / .08); }
.tf-inv .tf-foto::before { inset: 9% 9% -5% -5%; }
.tf-foto img { position: relative; z-index: 1; width: 100%; border-radius: var(--raio-g); box-shadow: var(--sombra); }
.tf-inv .tf-in { grid-template-areas: "foto head" "foto txt"; }
.tf-txt .btns { margin-top: 28px; }
.tf-txt .prosa { font-size: 1.08rem; }
.tf-txt ol { counter-reset: n; list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 8px; }
.tf-txt ol li { counter-increment: n; display: flex; gap: 14px; align-items: center; padding: 12px 16px; margin: 0; background: var(--bg-2); border-radius: 12px; }
.tf-txt ol li::before { content: counter(n); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-2); font-weight: 700; font-size: .92rem; }
.tf-txt ol a { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.tf-txt ol a:hover { color: var(--accent-ink); }
.tf-sem .tf-in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "head txt"; }
/* estilo banner: o banner do site antigo grande, ao lado do texto */
.tf-banner .tf-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.tf-banner.tf-inv .tf-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.tf-banner .tf-foto::before { display: none; }
.tf-banner .tf-foto img { box-shadow: 0 30px 60px -28px rgb(0 0 0 / .6); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { display: flex; gap: 10px; margin-bottom: 8px; }
.checks .i { color: var(--accent); margin-top: .3em; }
@media (max-width: 900px) {
  .tf-in, .tf-inv .tf-in, .tf-banner .tf-in, .tf-banner.tf-inv .tf-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "foto" "txt"; }
  .tf-sem .tf-in { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "txt"; }
  .tf-foto { max-width: 640px; margin-bottom: 36px; }
}

/* ===== pacotes ===== */
.pac-sec.fundo-vinho { background: radial-gradient(rgb(var(--branco-rgb) / .1) 1.6px, transparent 1.8px) 0 0 / 18px 18px, linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); }
.pacs { --gap: clamp(18px, 2.4vw, 26px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.pac { position: relative; display: flex; flex-direction: column; flex: 0 1 calc((100% - 2 * var(--gap)) / 3); min-width: 0; padding: clamp(24px, 2.6vw, 34px); background: var(--bg-3); border-radius: var(--raio-g); box-shadow: 0 26px 50px -30px rgb(0 0 0 / .55); transition: transform .45s var(--ease); }
.pac:hover { transform: translateY(-6px) rotate(-.4deg); }
.pac-k { display: flex; align-items: center; gap: 10px; margin: 0 0 1em; font-family: var(--font-2); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.pac-k .simbolo { width: 30px; }
.pac-t { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; margin-bottom: .8em; }
.pac .pac-t, .pac .pac-t a { color: var(--ink); text-decoration: none; }
.pac .pac-t a:hover { color: var(--accent-ink); }
.pac-l { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 6px; }
.pac-l li { display: flex; gap: 12px; align-items: center; font-size: .98rem; color: var(--ink-2); }
.pac-n { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); color: var(--accent-ink); font-family: var(--font-2); font-weight: 700; font-size: .82rem; }
.pac-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin-top: auto; padding: 10px 16px; border-radius: var(--raio); background: var(--accent); color: var(--on-accent); font-family: var(--font-2); font-size: .92rem; font-weight: 700; text-decoration: none; transition: background-color .25s ease, transform .25s var(--ease); }
.pac-wa:hover { background: var(--accent-deep); color: var(--on-accent); transform: translateY(-2px); }
@media (max-width: 1000px) { .pac { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 620px) { .pac { flex-basis: 100%; } }

/* ===== parceiros ===== */
.parc-sec { background: var(--accent-2); color: var(--on-dark-muted); }
.parc-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.parc-sec .sec-title { color: var(--on-dark); }
.parc-sec .sec-title em { color: var(--accent-hi); }
.parc-sec .prosa p { color: var(--on-dark-muted); }
.parc-lista { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.parc a { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px 26px; border-radius: var(--raio-g); background: rgb(var(--branco-rgb) / .07); color: var(--on-dark-muted); text-decoration: none; transition: background-color .3s ease, transform .4s var(--ease); }
.parc a:hover { background: rgb(var(--branco-rgb) / .14); transform: translateX(6px); color: var(--on-dark); }
.parc-logo img { max-height: 54px; width: auto; }
.parc-t { font-size: .98rem; line-height: 1.5; }
@media (max-width: 900px) { .parc-in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .parc a { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* ===== mosaico de fotos ===== */
.gal { --gap: clamp(12px, 1.6vw, 20px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.gal-it { position: relative; min-width: 0; }
.gal-it:nth-child(even) { margin-top: clamp(24px, 4vw, 56px); }
.gal-it a { display: block; position: relative; color: var(--on-dark); text-decoration: none; }
.gal-it img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio-g); transition: transform .8s var(--ease), box-shadow .5s ease; }
.gal-it a:hover img { transform: scale(1.03); box-shadow: var(--sombra-2); }
.gal-rot { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-2); font-weight: 700; font-size: .9rem; transition: transform .3s var(--ease); }
.gal-it a:hover .gal-rot { transform: translateY(-4px); }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== índice de cursos ===== */
.cl-ferr { display: grid; gap: 18px; margin: 0 0 clamp(36px, 4vw, 52px); padding: clamp(20px, 3vw, 30px); background: var(--bg-2); border-radius: var(--raio-g); }
.cl-busca label { font-size: 1.2rem; }
.cl-busca .busca-in { max-width: 680px; background: var(--bg-3); }
.cl-status { margin: 0; min-height: 1.4em; font-size: .94rem; color: var(--muted); }
.filtro { display: flex; flex-wrap: wrap; gap: 8px; }
.filtro button { min-height: 44px; padding: .5em 1.1em; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--bg-3); font-family: var(--font-2); font-size: .92rem; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .25s var(--ease); }
.filtro button:hover { border-color: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.filtro button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.cl { display: grid; gap: clamp(44px, 6vw, 72px); }
.cl-grupo { display: grid; grid-template-columns: minmax(0, .32fr) minmax(0, 1fr); gap: 20px clamp(28px, 5vw, 64px); align-items: start; }
.cl-gh { position: sticky; top: calc(var(--header-h) + 24px); }
.cl-gi { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 14px; border-radius: 16px; background: var(--accent); color: var(--on-accent); }
.cl-gi .i { width: 26px; height: 26px; }
.cl-gt { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: .15em; }
.cl-gt a { color: var(--ink); text-decoration: none; }
.cl-gt a:hover { color: var(--accent-ink); }
.cl-gn { margin: 0; font-size: .94rem; color: var(--muted); }
.cl-lista { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(20px, 3vw, 40px); }
.cl-lista .cl-item { break-inside: avoid; }
.cl-a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 6px; border-radius: 12px; background: var(--bg-2); color: var(--ink); text-decoration: none; transition: background-color .25s ease, transform .3s var(--ease); }
.cl-nome { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.25; flex: 1 1 auto; }
.cl-meta { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: .86rem; color: var(--muted); white-space: nowrap; }
.cl-meta .i { color: var(--accent); transition: transform .25s ease; }
.cl-a:hover { background: var(--bg-4); transform: translateX(4px); }
.cl-a:hover .cl-nome { color: var(--accent-ink); }
.cl-a:hover .cl-meta .i { transform: translateX(3px); }
.cl-vazio { margin: 0; font-size: 1.05rem; }
.cl-det .cl-grupo { grid-template-columns: minmax(0, 1fr); }
.cl-cards { --gap: clamp(16px, 2vw, 24px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); list-style: none; margin: 0; padding: 0; }
.cl-cards > .cl-item { flex: 0 1 calc((100% - 3 * var(--gap)) / 4); min-width: 0; }
@media (max-width: 1100px) { .cl-cards > .cl-item { flex-basis: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 1000px) { .cl-grupo { grid-template-columns: minmax(0, 1fr); } .cl-gh { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; } .cl-gi { margin: 0; } .cl-gn { flex-basis: 100%; } }
@media (max-width: 760px) { .cl-lista { columns: 1; } .cl-cards > .cl-item { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 480px) { .cl-cards > .cl-item { flex-basis: 100%; max-width: 400px; } }

/* ===== faq ===== */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-in .sec-head { display: block; margin-bottom: 0; }
.faq-in .sh-btn { margin-top: 26px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg-3); border-radius: 16px; transition: box-shadow .3s ease; }
.faq details[open] { box-shadow: var(--sombra); }
.faq summary { position: relative; display: block; padding: 20px 60px 20px 24px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; line-height: 1.35; color: var(--ink); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--bg-2); font-family: var(--font-2); font-weight: 600; font-size: 1.3rem; line-height: 1; color: var(--accent); transition: transform .35s var(--ease), background-color .25s ease, color .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--on-accent); }
.faq summary:hover { color: var(--accent-ink); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 900px) { .faq-in { grid-template-columns: minmax(0, 1fr); } }

/* ===== blog ===== */
.posts { --gap: clamp(18px, 2.4vw, 26px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(24px, 3vw, 34px); background: var(--bg-2); border-radius: var(--raio-g); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s ease, background-color .3s ease; }
.pc:hover { transform: translateY(-6px); box-shadow: var(--sombra-2); background: var(--bg-3); }
.pc-cat { align-self: flex-start; margin: 0 0 1.1em; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-family: var(--font-2); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pc-titulo { font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.2; margin: 0 0 .6em; }
.pc-titulo a { color: var(--ink); text-decoration: none; }
.pc-titulo a::after { content: ""; position: absolute; inset: 0; }
.pc:hover .pc-titulo a { color: var(--accent-ink); }
.pc-res { color: var(--ink-2); font-size: .97rem; margin-bottom: 1.4em; }
.pc-pe { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: .9rem; color: var(--muted); }
.pc-ler { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-2); font-weight: 700; color: var(--accent-ink); }
.pc-ler .i { transition: transform .3s var(--ease); }
.pc:hover .pc-ler .i { transform: translateX(4px); }
.fundo-claro .pc, .sec-alt .pc { background: var(--bg-3); }
.blog-sec .filtro { margin: -12px 0 clamp(32px, 4vw, 48px); }
@media (min-width: 901px) {
  .posts > :nth-last-child(1 of :not([hidden])):nth-child(3n+1 of :not([hidden])) { translate: calc(100% + var(--gap)) 0; }
  .posts > :nth-last-child(2 of :not([hidden])):nth-child(3n+1 of :not([hidden])),
  .posts > :nth-last-child(1 of :not([hidden])):nth-child(3n+2 of :not([hidden])) { translate: calc(50% + var(--gap) / 2) 0; }
}
@media (max-width: 900px) and (min-width: 621px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts > :nth-last-child(1 of :not([hidden])):nth-child(odd of :not([hidden])) { translate: calc(50% + var(--gap) / 2) 0; }
}
@media (max-width: 620px) { .posts { grid-template-columns: minmax(0, 1fr); } }
.posts-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.posts-n2 > * { translate: none !important; }
@media (max-width: 620px) { .posts-n2 { grid-template-columns: minmax(0, 1fr); } }
.post-top h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); max-width: 22ch; }
.post-meta { margin: 0; font-size: .96rem; color: var(--on-dark-muted); }
.post-corpo { padding-block: clamp(40px, 5vw, 60px) var(--sec); }
.pj-cta { position: relative; margin-top: 48px; padding: clamp(28px, 4vw, 44px); background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%); border-radius: var(--raio-g); color: var(--on-dark); }
.pj-cta p { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.45rem, 2.3vw, 1.85rem); line-height: 1.25; color: var(--on-dark); margin-bottom: 20px; }
.pj-cta .btn-primary { background: var(--bg-3); color: var(--accent-ink); box-shadow: none; }
.pj-cta .btn-primary::before { background: var(--bg-4); }
.pj-cta .btn-outline { border-color: rgb(var(--branco-rgb) / .6); color: var(--on-dark); }
.pj-cta .btn-outline::before { background: var(--bg-3); }
.pj-cta .btn-outline:hover { color: var(--accent-ink); }

/* ===== página do curso ===== */
.cu-top h1 { max-width: 18ch; }
.cu-arte { max-width: 420px; }
.cu-arte img { max-height: none; aspect-ratio: 1 / 1; }
.cu-meta { display: flex; flex-wrap: wrap; gap: 14px 30px; margin: clamp(22px, 3vw, 32px) 0 0; }
.cu-meta dt { font-family: var(--font-2); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-hi); }
.cu-meta dd { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; color: var(--on-dark); font-family: var(--font-2); font-weight: 600; }
.cu-meta dd .i { color: var(--accent-hi); }
.cu-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: clamp(36px, 6vw, 88px); align-items: start; padding-block: clamp(48px, 6vw, 80px) var(--sec); }
.cu-intro { margin-bottom: 8px; }
.cu-sec { padding-top: clamp(28px, 3.4vw, 40px); margin-top: clamp(28px, 3.4vw, 40px); border-top: 1px solid var(--line); }
.cu-sec h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin-bottom: .6em; }
.cu-sec .prosa { font-size: 1.05rem; }
.cu-prog { margin-top: clamp(36px, 4vw, 48px); padding: clamp(24px, 3.4vw, 40px); border-top: 0; background: var(--bg-2); border-radius: var(--raio-g); }
.cu-prog h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); }
.aulas { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.aulas-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aulas li { display: flex; gap: 14px; align-items: center; padding: 10px 14px; background: var(--bg-3); border-radius: 12px; color: var(--ink); font-size: 1rem; line-height: 1.35; transition: transform .3s var(--ease); }
.aulas li:hover { transform: translateX(4px); }
.aula-n { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--font-2); font-weight: 700; font-size: .86rem; }
.cu-lado { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.cu-box { position: relative; overflow: hidden; padding: clamp(26px, 3vw, 34px); background: linear-gradient(140deg, var(--accent) 0%, var(--accent-deep) 100%); border-radius: var(--raio-g); color: var(--on-dark); box-shadow: var(--sombra-2); }
.cu-box-sim { position: absolute; right: -40px; bottom: -30px; width: 200px; color: var(--bg-3); opacity: .1; }
.cu-box-t { position: relative; margin: 0 0 .4em; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1.1; color: var(--on-dark); }
.cu-box p { position: relative; color: var(--on-dark-muted); font-size: 1rem; }
.cu-box .btn { position: relative; width: 100%; margin: 6px 0 18px; }
.cu-box-info { position: relative; list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgb(var(--branco-rgb) / .2); font-size: .92rem; color: var(--on-dark-muted); }
.cu-box-info li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.cu-box-info .i { color: var(--accent-hi); margin-top: .25em; }
.cu-box-info a { color: var(--on-dark); overflow-wrap: anywhere; }
.cu-voltar { justify-self: start; }
@media (max-width: 1000px) {
  .cu-grid { grid-template-columns: minmax(0, 1fr); }
  .cu-lado { position: static; }
}
@media (max-width: 640px) { .aulas-2 { grid-template-columns: minmax(0, 1fr); } }

/* ===== chamada (faixa de fechamento) ===== */
.cta-band { position: relative; overflow: hidden; padding-block: clamp(76px, 9vw, 124px); color: var(--on-dark); background: linear-gradient(120deg, var(--accent) 0%, var(--accent-deep) 100%); }
.cta-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.cta-sim { position: absolute; z-index: 0; left: 50%; top: 50%; width: min(70vw, 560px); color: var(--bg-3); opacity: .08; translate: -50% -50%; pointer-events: none; }
.cta-txt, .cta-in .btns { position: relative; z-index: 1; }
.cta-txt { max-width: 820px; }
.cta-band h2 { color: var(--on-dark); font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.03em; margin-bottom: .35em; }
.cta-band h2 em { color: var(--accent-hi); }
.cta-band p { color: var(--on-dark); margin: 0 auto; font-size: 1.14rem; max-width: 640px; }
.cta-band .btns { justify-content: center; }
.cta-band .btn-primary { background: var(--bg-3); color: var(--accent-ink); box-shadow: 0 16px 30px -16px rgb(0 0 0 / .5); }
.cta-band .btn-primary::before { background: var(--bg-4); }
.cta-band .btn-primary:hover { color: var(--accent-deep); }
.cta-band .btn-outline { border-color: rgb(var(--branco-rgb) / .6); color: var(--on-dark); }
.cta-band .btn-outline::before { background: var(--bg-3); }
.cta-band .btn-outline:hover { color: var(--accent-ink); }

/* ===== contato ===== */
.contato { padding-top: clamp(48px, 6vw, 80px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 32px); align-items: stretch; }
.c-card, .q-card { background: var(--bg-3); border-radius: var(--raio-g); padding: clamp(26px, 3.4vw, 44px); min-width: 0; box-shadow: var(--sombra); }
.c-card { display: flex; flex-direction: column; background: var(--bg-2); box-shadow: none; }
.c-tit { font-size: clamp(1.6rem, 2.3vw, 2rem); margin-bottom: .8em; }
.c-list { list-style: none; margin: 0 0 24px; padding: 0; }
.c-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.c-list li:first-child { padding-top: 0; }
.c-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--on-accent); }
.c-ico .i { width: 20px; height: 20px; }
.c-list small { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-list a, .c-list span { color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.c-list a:hover { color: var(--accent-ink); }
.c-mapa { flex: 1 1 auto; min-height: 220px; margin: 4px 0 14px; border-radius: 14px; overflow: hidden; background: var(--bg-4); }
.c-mapa iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; }
.c-mapa-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-family: var(--font-2); font-size: .92rem; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.c-mapa-link:hover { color: var(--ink); }
.q-aviso { color: var(--muted); margin-top: -.4em; }
.q-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: var(--raio); background: var(--bg); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s ease, box-shadow .2s ease; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(var(--accent-rgb) / .12); }
.field .err { display: none; font-size: .86rem; color: var(--accent-ink); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent-ink); }
.field.invalid .err { display: block; }
.btn-send { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; margin: 0; font-size: .88rem; color: var(--muted); }
.form-ok { grid-column: 1 / -1; display: none; margin: 0; padding: 12px 16px; background: var(--bg-2); border-radius: 12px; color: var(--ink); font-size: .96rem; }
.form-ok.show { display: block; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .c-mapa, .c-mapa iframe { min-height: 260px; } }
@media (max-width: 560px) { .q-form { grid-template-columns: minmax(0, 1fr); } }

/* ===== texto corrido ===== */
.texto-sec .prosa-longa > h2:first-child { margin-top: 0; }
.texto-sec .sec-title { margin-bottom: .7em; }

/* ===== instagram (bloco do kit) ===== */
.kigs { padding-block: var(--sec); background: var(--bg-2); }
.kigs .kigs-kicker { font-family: var(--font-2); font-size: .8rem; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.kigs:not(.kigs-escuro) .kigs-kicker { color: var(--accent-ink); }
.kigs .kigs-titulo { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.015em; }
.kigs .kigs-titulo em { font-family: var(--font); font-style: normal; font-weight: 400; color: var(--accent); }
.kigs .kigs-topo { margin-bottom: clamp(28px, 4vw, 44px); }
.kigs .kig { --kig-raio: 14px; --kig-gap: 10px; }
.kigs .kigs-nome strong { font-weight: 700; }
.kig-post iframe { max-width: none !important; }

/* ===== rodapé ===== */
.site-footer { background: var(--dark); color: var(--on-dark-muted); font-size: .98rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.15fr); gap: 40px clamp(28px, 4vw, 56px); padding-block: clamp(64px, 7vw, 96px) 48px; }
.f-logo { display: inline-block; margin-bottom: 22px; }
.f-logo img { height: 64px; width: auto; }
.f-brand p { max-width: 340px; color: var(--on-dark-muted); }
.f-social { display: flex; gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.f-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgb(var(--branco-rgb) / .08); color: var(--on-dark); transition: background-color .25s ease, color .25s ease, transform .3s var(--ease); }
.f-social a:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-3px); }
.f-title { margin: 0 0 18px; font-family: var(--font-2); font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col li { margin-bottom: 10px; }
.f-col a { color: var(--on-dark-muted); text-decoration: none; overflow-wrap: anywhere; transition: color .2s ease, padding .25s var(--ease); }
.f-col:not(.f-contato) a:hover { color: var(--on-dark); padding-left: 4px; }
.f-contato a:hover { color: var(--on-dark); }
.f-contato a, .f-contato .f-hora { display: inline-flex; gap: 10px; align-items: flex-start; }
.f-contato .i { color: var(--accent-hi); margin-top: .3em; }
.f-legal p { margin: 0 0 24px; font-size: .9rem; }
.f-bottom { border-top: 1px solid var(--line-dark); }
.f-bottom-in { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 32px; padding-block: 26px 30px; }
.f-copy { margin: 0; font-size: .88rem; line-height: 23px; color: var(--on-dark-muted); }
.f-copy a { color: var(--on-dark-muted); }
.f-copy a:hover { color: var(--on-dark); }
.dev-sign { display: block; flex: none; line-height: 0; opacity: 1; }
.dev-sign img { width: 160px; height: 23px; opacity: 1; }
@media (max-width: 1400px) { .f-bottom-in { padding-right: calc(var(--pad) + 84px); } }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 700px) {
  .f-bottom-in { flex-direction: column; align-items: flex-start; padding-right: var(--pad); }
  .dev-sign { margin: 0 calc(100% - 155px) 0 -5px; }
}
@media (max-width: 520px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ===== links (bio) ===== */
.tpl-links { background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 60%, var(--dark) 100%); color: var(--on-dark); min-height: 100vh; }
.lk { position: relative; overflow: hidden; min-height: 100vh; display: grid; place-items: center; padding: 48px var(--pad); }
.lk-sim { position: absolute; right: -20%; top: 6%; width: 80vw; max-width: 600px; color: var(--bg-3); opacity: .07; pointer-events: none; }
.lk-in { position: relative; width: 100%; max-width: 440px; text-align: center; }
.lk-logo { display: inline-block; margin-bottom: 28px; }
.lk-logo img { height: 64px; width: auto; }
.lk h1 { color: var(--on-dark); font-size: 2.2rem; margin-bottom: .3em; }
.lk-txt { color: var(--on-dark-muted); }
.lk-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 12px; }
.lk-list .btn { width: 100%; }
.lk-social { justify-content: center; }
.lk-copy { margin: 24px 0 16px; font-size: .86rem; color: var(--on-dark-muted); }
.lk .dev-sign { display: block; width: 160px; margin: 0 auto !important; }

/* ===== WhatsApp flutuante ===== */
.wa-wrap { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-float { position: relative; width: 62px; height: 62px; border: 0; border-radius: 50%; background: var(--wa); color: var(--bg-3); display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 28px -10px rgb(0 0 0 / .45); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: wa-onda 2.8s ease-out infinite; }
.wa-float:hover { transform: scale(1.08); }
.wa-float .i { width: 32px; height: 32px; fill: currentColor; stroke: none; }
.wa-float:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@keyframes wa-onda { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-bubble { position: relative; width: min(320px, calc(100vw - 40px)); padding: 22px 22px 20px; background: var(--bg-3); color: var(--ink); border-radius: 18px; box-shadow: var(--sombra-2); visibility: hidden; opacity: 0; transform: translateY(10px) scale(.98); transform-origin: bottom right; transition: opacity .3s ease, transform .35s var(--ease), visibility 0s linear .3s; }
.wa-bubble.show { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .35s var(--ease); }
.wa-bubble strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; line-height: 1.2; margin-bottom: 6px; padding-right: 28px; }
.wa-bubble p { font-size: .96rem; color: var(--ink-2); }
.wa-bubble .btn { width: 100%; }
.wa-bubble-x { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.wa-bubble-x:hover { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; opacity: 0; } }

/* ===== revelar ao rolar (só depois que o JS marca o <html>; o topo nunca começa invisível) ===== */
.cdw-reveal [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .9s var(--ease); transition-delay: calc(min(var(--i, 0), 6) * 90ms); }
.cdw-reveal [data-reveal].is-in { opacity: 1; transform: none; }
.cdw-reveal .ar[data-reveal] { transform: translateY(40px) scale(.97); }
.cdw-reveal .ar[data-reveal].is-in { transform: none; }
.cdw-reveal .gal-it[data-reveal]:nth-child(even) { transform: translateY(60px); }
.cdw-reveal .gal-it[data-reveal].is-in { transform: none; }
.posts > [data-reveal] { transition: opacity .8s ease, transform .9s var(--ease), translate 0s; }
@media (prefers-reduced-motion: reduce) {
  .cdw-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .btn::before, .ar-link, .ar-foto img, .cdc, .mvv li, .pac { transition: none !important; }
  .btn:hover, .ar-link:hover, .cdc:hover, .mvv li:hover, .pac:hover { transform: none; }
}

/* ===== impressão ===== */
@media print { .site-header, .wa-wrap, .mobile-menu, .cta-band, .faixa, .hero-fotos, .hero-veu { display: none !important; } body { background: var(--bg-3); } .hero, .page-top { color: var(--ink); background: none; } }

/* CDW assinatura padrao 160x23 */
.cdw-css-guard {}
/* computador: direita, na linha da ultima info, longe do botao do WhatsApp */
.dev-sign { display: flex !important; width: fit-content; flex: 0 0 auto !important; order: 99 !important; line-height: 0; opacity: 1 !important;
  margin: 0 max(0px, calc(var(--cdw-fab, 100px) - (100vw - 100%) / 2)) 0 auto !important; align-self: flex-end !important; justify-self: end !important; }
.dev-sign img { width: 160px !important; height: 23px !important; max-width: none !important; display: block; opacity: 1 !important; }
@media (min-width: 701px) {
  :has(> .dev-sign) { flex-wrap: nowrap !important; }
  :has(> .dev-sign) > :not(.dev-sign) { min-width: 0; }
}
/* celular: linha propria, alinhada a esquerda como o texto */
@media (max-width: 700px) {
  /* -5px compensa a margem interna do desenho (16 de 480), para a letra alinhar com o texto */
  .dev-sign { margin: 0 calc(100% - 155px) 0 -5px !important; align-self: flex-start !important; justify-self: start !important; }
}
/* pagina de links (bio do Instagram): conteudo centralizado -> assinatura centralizada */
.pg-links .dev-sign, .tpl-links .dev-sign { margin: 6px auto 0 !important; align-self: center !important; justify-self: center !important; }
