/* ==========================================================================
   Tema Nodus — estilos
   Tokens no :root. Mobile tratado no final (breakpoints 1100 / 900 / 640).
   ========================================================================== */
:root {
  /* Cores da marca: editáveis no painel (Configurações › Identidade) */
  --primary: #2d4869;
  --accent: #4f78aa;
  --dark: #373435;
  --primary-d: color-mix(in srgb, var(--primary) 85%, #000);
  --accent-d: color-mix(in srgb, var(--accent) 88%, #000);
  --dark-2: color-mix(in srgb, var(--dark) 85%, #000);
  --on-accent: #fff;
  --ink: var(--dark);
  --text: #6f6f6f;
  --soft: #f1f1f1;
  --line: #e2e2e2;
  --primary-t: color-mix(in srgb, var(--primary) 12%, #fff);
  --white: #fff;
  --r-xl: 30px;
  --r-lg: 30px;
  --r-md: 20px;
  --wrap: 1344px;
  --pad: clamp(16px, 4vw, 32px);
  --sec: clamp(64px, 8vw, 112px);
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-title: 'Petrona', Georgia, 'Times New Roman', serif;
  --shadow: 0 18px 40px -18px rgba(30, 40, 50, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.5 var(--font); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--ink); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.027em; }
h1 { font-size: clamp(36px, 3.9vw, 55px); }
h2 { font-size: clamp(32px, 3.2vw, 44px); }
h3 { font-size: 21px; font-weight: 600; }
p { margin: 0 0 1em; }
.hl { color: var(--accent); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }
.bg-soft { background: var(--soft); }
.center { text-align: center; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.mt { margin-top: 48px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.ico { width: 20px; height: 20px; flex: none; }
.grid-lines { position: relative; }

/* Etiquetas e botões */
.tag { display: inline-block; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; line-height: 1; padding: 5px 10px; border-radius: 30px; background: var(--primary); color: #fff; margin-bottom: 20px; }
.tag-light, .tag-glass { background: rgba(255,255,255,.18); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: #fff; font-weight: 700; font-size: 14.5px; line-height: 1.2; padding: 12px 24px; border-radius: 50px; border: 2px solid var(--primary); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; font-family: inherit; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-lg { font-size: 17px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* ---------- Cabeçalho ---------- */
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: var(--ink); }
.site-header.is-stuck { position: fixed; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 8px 30px rgba(0,0,0,.08); animation: slideDown .35s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }
.header-in { display: flex; align-items: center; gap: 20px; height: 88px; transition: height .3s; }
.is-stuck .header-in { height: 72px; }
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 38px; width: auto; }
.logo-text { font: 700 28px/1 var(--font-title); color: currentColor; }
.nav { margin-left: auto; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav > ul > li > a { display: flex; align-items: center; gap: 4px; padding: 12px 20px; font-weight: 600; font-size: 16px; letter-spacing: -.5px; transition: color .2s; }
.nav > ul > li > a:hover, .nav li.current > a { color: var(--accent); }
.caret { width: 16px; height: 16px; }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: 10px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 10px 14px; color: var(--ink); border-radius: 10px; font-size: 15px; }
.sub a:hover { background: var(--soft); color: var(--accent); }
.burger { display: none; margin-left: auto; background: var(--primary); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 24px; height: 24px; }

/* Menu mobile (painel lateral) */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(20,24,30,.55); opacity: 0; transition: opacity .3s; touch-action: none; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100dvh; width: min(360px, 88vw); background: #fff; padding: 22px 24px 28px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.drawer-head .logo-img { height: 38px; }
.drawer-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--soft); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.m-nav { list-style: none; margin: 0; padding: 0; }
.m-nav > li { border-bottom: 1px solid var(--soft); }
.m-row { display: flex; align-items: center; }
.m-row a { flex: 1; padding: 14px 4px; color: var(--ink); font-weight: 600; font-size: 17px; }
.m-nav li.current > .m-row a { color: var(--accent); }
.m-toggle { width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .25s; }
.m-toggle[aria-expanded="true"] { transform: rotate(180deg); color: var(--accent); }
.m-sub { list-style: none; margin: 0 0 10px; padding: 4px 0 4px 14px; border-left: 2px solid var(--primary-t); }
.m-sub a { display: block; padding: 8px 4px; font-size: 15px; color: var(--text); }
.drawer-contact { margin-top: auto; display: grid; gap: 10px; font-size: 14px; }
.drawer-contact a { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.drawer-contact .ico { color: var(--accent); }
/* Menu aberto: a página atrás não rola. Vai no html para valer mesmo se o tema ganhar um overflow no html. */
html.no-scroll, html.no-scroll body { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(600px, 56vw, 812px); display: flex; align-items: center; padding: 120px 0 64px; overflow: hidden; }
.hero-bg, .sec-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img, .sec-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,.73) 25%); opacity: .95; }
.hero-in { position: relative; z-index: 2; }
.hero h1 { max-width: 11.1em; margin-bottom: 20px; letter-spacing: -2px; text-transform: capitalize; }
.hero-text { max-width: 540px; font-size: 20px; line-height: 1.4; font-weight: 500; margin-bottom: 30px; }

/* ---------- Dobras em duas colunas ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.duo-text h2 { margin-bottom: 20px; max-width: 535px; }
.duo-text .rich { margin-bottom: 20px; }
.about-media { margin: 0; padding-right: clamp(0px, 4.5vw, 64px); }
.about-media img { width: 100%; aspect-ratio: 776 / 621; object-fit: cover; border-radius: var(--r-xl); }
.about-media figcaption { margin-top: 32px; padding-left: 15px; border-left: 2px solid var(--accent); font-size: 20px; line-height: 1.4; font-weight: 500; }

/* ---------- Como trabalhamos ---------- */
.dark { position: relative; background: var(--dark); color: var(--line); }
.dark h2, .dark h3 { color: #fff; }
.dark > .wrap { position: relative; z-index: 2; }
.method { padding-bottom: 80px; }
.method .sec-bg { opacity: .1; }
/* Textura em tamanho fixo no alto da dobra, como no layout (não estica para cobrir tudo) */
.method .sec-bg img { position: absolute; top: -80px; left: 50%; width: 950px; max-width: none; height: auto; transform: translateX(-50%); }
.method .duo { align-items: start; }
.method-text { padding-top: var(--sec); }
.method-text h2 { margin-bottom: 0; }
.method-item { margin-top: 20px; }
.method-item h3 { margin: 0 0 8px; letter-spacing: -.6px; line-height: 1.15; }
.method-item p { margin: 0; }
.method-img { margin-top: -32px; }
.method-img img { width: 100%; height: 700px; object-fit: cover; border-radius: var(--r-xl); }

/* ---------- Programa ---------- */
.program { padding-bottom: 80px; }
.program .duo { grid-template-columns: .82fr 1fr; }
.program-imgs { display: flex; gap: 30px; align-items: flex-end; }
.program-imgs > div { flex: 1; min-width: 0; }
.program-imgs img { width: 100%; aspect-ratio: 315 / 477; object-fit: cover; border-radius: var(--r-xl); }
/* As duas fotos têm o mesmo tamanho; a segunda fica um pouco mais alta */
.program-imgs > div:nth-child(2) { margin-bottom: 32px; }

/* ---------- FAQ ---------- */
.faq-sec { padding: clamp(72px, 9vw, 128px) 0; }
.faq-sec .sec-bg::after { content: ""; position: absolute; inset: 0; background: var(--dark); opacity: .86; }
.faq-sec h2 { margin-bottom: 20px; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.faq-cols { display: grid; gap: 20px; }
.faq-cols.cols-2 { grid-template-columns: 1fr 1fr; align-items: start; }
.faq-col { display: grid; gap: 6px; align-content: start; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 11px 16px; background: var(--soft); color: #1f2124; border-radius: 10px; font-size: 16px; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat; }
.faq-item[open]:not(.js-faq) summary, .faq-item.is-open summary { border-radius: 10px 10px 0 0; }
.faq-item[open]:not(.js-faq) summary::after, .faq-item.is-open summary::after { background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat; }
.faq-a { padding: 14px 16px 16px; border: 1px solid #d5d8dc; border-top: 0; border-radius: 0 0 19px 19px; }
.faq-a > :last-child { margin-bottom: 0; }
.faq-item[open] .faq-a { animation: faqIn .32s ease; }
@keyframes faqIn { from { opacity: 0; } }
.dark .faq-a { color: #fff; }

/* ---------- Por que a NODUS ---------- */
.why .duo { grid-template-columns: minmax(0, .67fr) 1fr; }
.why-img { padding-right: clamp(0px, 4.5vw, 64px); }
.why-img img { width: 100%; aspect-ratio: 416 / 430; object-fit: cover; border-radius: var(--r-xl); }

/* ---------- Sobre a NODUS ---------- */
.note { margin-top: 20px; padding-left: 19px; border-left: 3.5px solid var(--primary); }
.note strong { display: block; color: var(--text); }
.note p { margin: 0; }
.framework-media { margin: 0; }
.framework-media img { width: 100%; max-width: 536px; border-radius: var(--r-xl); }
.framework-media figcaption { max-width: 462px; margin: 32px 37px 0; text-align: center; font: 700 16px/1.1 var(--font-title); color: var(--ink); }
.principles { padding: 68px 0 var(--sec); }
.principles h2 { text-align: center; margin-bottom: 44px; }
/* Cartões numerados: selo redondo com o número, linha tracejada ligando um ao outro e quadro abaixo */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 24px; counter-reset: card; }
.card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; counter-increment: card; }
.card::before { content: counter(card, decimal-leading-zero); position: relative; z-index: 1; flex: none; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(165deg, var(--primary) 0%, var(--accent) 100%); color: #fff; font: 700 28px/1 var(--font-title); letter-spacing: -.5px; box-shadow: 0 0 0 8px var(--primary-t), 0 16px 30px -14px color-mix(in srgb, var(--primary) 70%, transparent); transition: transform .3s; }
.card::after { content: ""; position: absolute; top: 37px; left: calc(50% + 62px); width: calc(100% - 100px); border-top: 2px dashed color-mix(in srgb, var(--accent) 50%, transparent); }
.card-body { position: relative; flex: 1; width: 100%; margin-top: 30px; padding: 34px 28px 36px; background: var(--soft); border-radius: var(--r-xl); transition: background .3s, color .3s, transform .3s, box-shadow .3s; }
.card-body::before { content: ""; position: absolute; top: -9px; left: 50%; width: 20px; height: 20px; margin-left: -10px; background: inherit; border-radius: 4px; transform: rotate(45deg); }
.card h3 { position: relative; font-size: 24px; line-height: 1.15; margin-bottom: 12px; transition: color .3s; }
.card p { position: relative; margin: 0; }
.card:hover::before { transform: translateY(-4px); }
.card:hover .card-body { background: var(--primary); color: var(--line); transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover h3 { color: #fff; }
@media (min-width: 901px) { .card:nth-child(3n)::after, .card:last-child::after { display: none; } }
@media (max-width: 900px) and (min-width: 641px) { .card:nth-child(2n)::after, .card:last-child::after { display: none; } }
@media (max-width: 640px) { .card::after { display: none; } }
.mission { background: var(--accent); }
.mission .method-item h3 { font-size: 22px; }

/* ---------- Áreas de atuação (ocultas por enquanto) ---------- */
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.split-head h2 { margin: 0; max-width: 14em; }
.split-head > p { margin: 0; }
.svc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 400px)); justify-content: center; gap: 32px; }
.svc-card { background: #fff; border-radius: var(--r-xl); padding: 32px; border: 1px solid var(--line); }
.svc-card h3 { margin-bottom: 12px; }
.svc-card h3 a:hover { color: var(--accent); }
.svc-card p { font-size: 15px; }
.svc-img { position: relative; margin-top: 20px; }
.svc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.svc-go { position: absolute; right: -6px; bottom: -6px; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; border: 5px solid #fff; transition: transform .2s; }
.svc-go:hover { transform: scale(1.08); }
.dia { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--primary-t); }
.dia .ico { width: 24px; height: 24px; }

/* ---------- Conteúdos (blog) ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); display: flex; flex-direction: column; transition: border-color .25s, box-shadow .25s, transform .25s; }
.post-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-4px); }
.pc-img { position: relative; display: block; margin: -1px -1px 0; overflow: hidden; border-radius: var(--r-xl); background: var(--soft); aspect-ratio: 3 / 2; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .pc-img img { transform: scale(1.04); }
.pc-date { position: absolute; top: 20px; left: 20px; min-width: 56px; padding: 9px 10px 8px; border-radius: 14px; background: var(--primary); color: #fff; text-align: center; font-size: 12px; font-weight: 500; line-height: 1; text-transform: uppercase; letter-spacing: 1px; }
.pc-date strong { display: block; margin-bottom: 4px; font: 700 26px/1 var(--font-title); letter-spacing: -.5px; }
.pc-body { padding: 34px 38px 36px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { align-self: flex-start; margin-bottom: 10px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.pc-cat:hover { color: var(--primary); }
.post-card h3 { font-size: 24px; line-height: 1.2; margin-bottom: 14px; }
.post-card h3 a { transition: color .2s; }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { margin-bottom: 24px; }
.more { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; font-size: 16px; }
.more span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--primary-t); color: var(--primary); transition: background .2s, color .2s, transform .2s; }
.more .ico { width: 16px; height: 16px; stroke-width: 2; }
.more:hover span, .post-card:hover .more span { background: var(--primary); color: #fff; transform: rotate(45deg); }
/* Filtro de categorias em faixa: rola de lado quando não cabe, com setas e bordas esmaecidas */
.cat-bar { position: relative; margin-bottom: 44px; }
.cat-filter { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.cat-filter::-webkit-scrollbar { display: none; }
.cat-filter > :first-child { margin-left: auto; }
.cat-filter > :last-child { margin-right: auto; }
.cat-filter a { flex: none; white-space: nowrap; padding: 9px 20px; border-radius: 99px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--ink); transition: background .2s, color .2s; }
.cat-filter a.on, .cat-filter a:hover { background: var(--primary); color: #fff; }
.cat-bar.has-prev .cat-filter { -webkit-mask-image: linear-gradient(90deg, transparent, #000 70px); mask-image: linear-gradient(90deg, transparent, #000 70px); }
.cat-bar.has-next .cat-filter { -webkit-mask-image: linear-gradient(270deg, transparent, #000 70px); mask-image: linear-gradient(270deg, transparent, #000 70px); }
.cat-bar.has-prev.has-next .cat-filter { -webkit-mask-image: linear-gradient(90deg, transparent, #000 70px, #000 calc(100% - 70px), transparent); mask-image: linear-gradient(90deg, transparent, #000 70px, #000 calc(100% - 70px), transparent); }
.cat-arrow { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--primary) 30%, transparent); background: #fff; color: var(--primary); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.cat-arrow[hidden] { display: none; }
.cat-arrow:hover, .cat-arrow:focus-visible { background: var(--primary); border-color: var(--primary); color: #fff; }
.cat-arrow .ico { width: 16px; height: 16px; }
.cat-arrow[data-cat-prev] { left: 0; }
.cat-arrow[data-cat-prev] .ico { transform: rotate(180deg); }
.cat-arrow[data-cat-next] { right: 0; }
/* Ao trocar de categoria ou de página, a lista esmaece enquanto a nova chega (a página não recarrega) */
[data-blog] { scroll-margin-top: 80px; }
[data-blog] .post-grid, [data-blog] .pager { transition: opacity .25s; }
[data-blog].is-loading .post-grid, [data-blog].is-loading .pager { opacity: .35; pointer-events: none; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-weight: 600; color: var(--ink); }
.pager a.on { background: var(--primary); color: #fff; }

/* ---------- CTA e rodapé ---------- */
.cta-band { padding-bottom: var(--sec); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-box h2 { margin-bottom: 12px; }
.cta-box p { margin: 0; max-width: 620px; }
.site-footer { background: var(--dark); color: var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .8fr 1.2fr; gap: 64px; padding-top: 80px; padding-bottom: 80px; }
.site-footer .logo-img { height: 46px; margin-bottom: 20px; }
.f-about p { max-width: 486px; }
.f-about strong { display: block; color: #fff; }
.f-about .f-follow { color: #fff; font-weight: 600; margin: 24px 0 12px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 39px; height: 39px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; transition: transform .2s; }
.socials a:hover { transform: translateY(-2px); }
.socials .ico { width: 18px; height: 18px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-col a { transition: color .2s; }
.f-col a:hover { color: #fff; }
.f-contact li { display: flex; gap: 10px; align-items: center; }
.f-contact .ico { color: var(--accent); width: 18px; height: 18px; }
.f-contact a { overflow-wrap: anywhere; }
.f-bottom { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--primary) 0%, var(--accent) 100%); color: #fff; font-size: 13px; padding: 30px 0; }
/* Ondas na cor do rodapé, por cima da faixa azul */
.f-waves { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.f-waves svg { display: block; position: relative; left: 50%; width: calc(300% + 1.3px); height: 90px; transform: translateX(-50%) rotateY(180deg); fill: var(--dark); }
.f-credit { color: #f8c90a; font-weight: 700; }
.f-bottom .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.f-bottom p { margin: 0; }
.f-bottom p:first-child { margin-right: auto; }
.f-bottom a:hover { text-decoration: underline; }
.to-top { position: relative; top: -12px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; transition: transform .2s; }
.to-top:hover { transform: translateY(-3px); text-decoration: none; }
.form-note { margin: 12px 0 0; font-size: 13px; opacity: .75; text-align: center; }
.form-note a { color: inherit; text-decoration: underline; }

/* ---------- Páginas internas ---------- */
.page-banner { background: var(--soft) url(banner.jpg) 50% 75% / cover no-repeat; text-align: center; padding: 216px 0 156px; overflow: hidden; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, #fff 20%, rgba(255,255,255,.48) 100%); opacity: .9; }
.banner-bg { position: absolute; inset: 0; }
.banner-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .wrap { position: relative; z-index: 2; }
.banner-curve { position: absolute; left: 0; bottom: -1px; z-index: 1; width: 100%; overflow: hidden; line-height: 0; }
.banner-curve svg { display: block; width: calc(100% + 1.3px); height: 50px; fill: #fff; }
.page-banner h1 { margin-bottom: 14px; text-transform: capitalize; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; list-style: none; margin: 0; padding: 0; font-size: 16px; }
.crumbs li + li::before { content: "›"; margin-right: 10px; opacity: .7; }
.crumbs a { opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.content-grid.no-img { grid-template-columns: minmax(0, 820px); justify-content: center; }
.content-img img { width: 100%; border-radius: var(--r-xl); position: sticky; top: 110px; }
.rich > :last-child { margin-bottom: 0; }
.rich h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.4em; }
.rich h3 { margin-top: 1.4em; }
.rich ul, .rich ol { padding-left: 1.2em; }
.rich li { margin-bottom: .4em; }
.rich a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.rich img { border-radius: var(--r-md); margin: 1.5em 0; }
.rich blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--primary); background: var(--soft); border-radius: 0 16px 16px 0; color: var(--ink); }
.rich strong { color: var(--ink); }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.svc-title { font-size: clamp(28px, 3vw, 40px); }
.round-img { margin-bottom: 30px; }
.round-img img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 3 / 2; object-fit: cover; }
.dash-list { list-style: none; padding: 0; margin: 30px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 30px; color: var(--ink); }
.dash-list li { position: relative; padding-left: 26px; }
.dash-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 2px; background: var(--ink); }
.gallery { margin-top: 36px; }
.gallery .slides { display: flex; gap: 20px; overflow: hidden; scroll-behavior: smooth; }
.gallery .slide { flex: 0 0 calc(50% - 10px); opacity: 1; visibility: visible; }
.gallery img { border-radius: var(--r-lg); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gallery .dots button { background: #cfcfcf; }
.gallery .dots button.is-active { background: var(--ink); width: 10px; }
.sidebar { display: grid; gap: 30px; position: sticky; top: 100px; }
.side-box { background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: 0 10px 40px -10px rgba(0,0,0,.12); }
.side-form { background: var(--primary-t); box-shadow: none; }
/* Título das caixas laterais: alinhado à esquerda, com linha fina embaixo e um trecho curto mais forte no começo */
.side-title, .form-title, .f-col h3 { position: relative; margin: 0 0 22px; padding-bottom: 18px; border-bottom: 2px solid var(--line); font-size: 24px; line-height: 1.2; text-align: left; }
.side-title::after, .form-title::after, .f-col h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 52px; height: 3px; border-radius: 3px; background: var(--primary); }
.side-form .form-title { border-bottom-color: color-mix(in srgb, var(--primary) 18%, transparent); }
/* No rodapé escuro, a linha é clara e o trecho forte usa a cor de destaque */
.f-col h3 { color: #fff; font-size: 20px; padding-bottom: 14px; margin-bottom: 20px; border-bottom-color: rgba(255,255,255,.14); }
.f-col h3::after { background: var(--accent); }
.side-links { list-style: none; margin: 0; padding: 0 6px; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; align-items: center; gap: 12px; padding: 13px 0; color: var(--ink); font-weight: 500; font-size: 15px; }
.side-links a:hover { color: var(--primary); }
.side-links .ico { width: 18px; height: 18px; color: #fff; background: var(--primary); border-radius: 50%; padding: 3px; }
.side-links em { color: var(--text); font-style: normal; font-size: 13px; }
.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.recent a { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; }
.recent img { width: 84px; height: 70px; object-fit: cover; border-radius: 14px; }
.recent strong { display: block; color: var(--ink); font-size: 14px; line-height: 1.35; font-weight: 600; }
.recent a:hover strong { color: var(--primary); }
.recent small { font-size: 12px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: 14px; margin-bottom: 26px; }
.post-meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-meta .ico { width: 16px; height: 16px; color: var(--primary); }
.post-body { font-size: 16px; line-height: 1.8; }
.author-box { display: flex; gap: 20px; margin-top: 48px; padding: 28px; background: var(--soft); border-radius: var(--r-lg); align-items: flex-start; }
.ab-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.author-box strong { color: var(--ink); font-size: 18px; }
.ab-job { display: block; font-size: 13px; color: var(--primary); margin-bottom: 8px; }
.author-box p { margin: 0; font-size: 14px; }

/* Formulários */
.form { display: grid; gap: 14px; }
.fld span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fld input, .fld select, .fld textarea { width: 100%; border: 1px solid transparent; background: #fff; border-radius: 26px; padding: 15px 22px; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s; }
.fld textarea { border-radius: 24px; resize: vertical; min-height: 140px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--primary); }
.form:not(.form-side) .fld input, .form:not(.form-side) .fld textarea, .form:not(.form-side) .fld select { background: var(--soft); }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-size: 14px; font-weight: 500; color: var(--primary-d); min-height: 1em; text-align: center; }
.form-msg.err { color: #c0392b; }
.form.sending button { opacity: .6; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.info-cards { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.info-cards li { display: flex; gap: 18px; align-items: center; }
.info-cards .dia { color: var(--primary); width: 54px; height: 54px; margin: 6px 10px 6px 6px; flex: none; }
.info-cards small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.info-cards a, .info-cards span:not(.dia) { display: block; color: var(--ink); font-weight: 600; }
.map iframe { width: 100%; height: 400px; border: 0; border-radius: var(--r-xl); }

/* ---------- Bolha WhatsApp ---------- */
.wa-bubble { position: fixed; bottom: 22px; z-index: 90; font-size: 14px; }
.wa-right { right: 22px; }
.wa-left { left: 22px; }
.wa-btn { width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(0,0,0,.35); position: relative; transition: transform .2s; }
.wa-btn:hover { transform: scale(1.06); }
.wa-btn .ico { width: 32px; height: 32px; }
.wa-badge { position: absolute; top: -2px; right: -2px; background: #ff3b30; color: #fff; font-size: 11px; font-weight: 700; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; }
.wa-tip { position: absolute; bottom: 12px; white-space: nowrap; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 99px; box-shadow: var(--shadow); font-weight: 500; animation: pop .3s ease; }
.wa-right .wa-tip { right: 76px; }
.wa-left .wa-tip { left: 76px; }
.wa-box { position: absolute; bottom: 78px; width: min(340px, calc(100vw - 44px)); background: #e5ddd5; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px -10px rgba(0,0,0,.35); animation: pop .3s ease; }
.wa-right .wa-box { right: 0; transform-origin: bottom right; }
.wa-left .wa-box { left: 0; transform-origin: bottom left; }
.wa-head { display: flex; align-items: center; gap: 12px; background: var(--wa); color: #fff; padding: 14px 16px; }
.wa-head strong { display: block; font-size: 15px; line-height: 1.2; }
.wa-head span { font-size: 12px; opacity: .9; }
.wa-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: rgba(255,255,255,.25); display: grid; place-items: center; }
.wa-photo-ico .ico { width: 24px; height: 24px; }
.wa-x { margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.wa-x:hover { background: rgba(255,255,255,.15); }
.wa-body { padding: 18px 16px; display: grid; gap: 8px; max-height: 50vh; overflow-y: auto; }
.wa-msg { background: #fff; color: #303030; padding: 9px 12px; border-radius: 0 10px 10px 10px; max-width: 88%; box-shadow: 0 1px 1px rgba(0,0,0,.08); line-height: 1.5; animation: pop .3s ease both; }
.wa-msg:nth-child(2) { animation-delay: .4s; }
.wa-msg:nth-child(3) { animation-delay: .8s; }
.wa-go { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 16px 16px; background: var(--wa); color: #fff; border-radius: 99px; padding: 12px; font-weight: 600; }
.wa-go .ico { width: 18px; height: 18px; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1100px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .duo, .program .duo, .why .duo, .contact-grid, .content-grid, .split-head { grid-template-columns: 1fr; }
  .split-head { gap: 16px; margin-bottom: 40px; }
  .about-media, .why-img { padding-right: 0; }
  .about-media figcaption { margin-top: 20px; font-size: 18px; }
  .method { padding-bottom: 64px; }
  .method-text { padding-top: 64px; }
  .method-img { margin-top: 0; }
  .method-img img { height: auto; aspect-ratio: 4 / 3; }
  .program { padding-bottom: 64px; }
  .why-img img { aspect-ratio: 4 / 3; }
  .faq-cols.cols-2 { grid-template-columns: 1fr; gap: 6px; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; }
  .f-about { grid-column: 1 / -1; }
  .content-img img { position: static; }
}
@media (max-width: 640px) {
  .header-in { height: 72px; }
  .logo-img { height: 32px; }
  .hero { min-height: 0; padding: 120px 0 64px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-text { font-size: 17px; }
  .btn-row { gap: 12px; }
  .btn-row .btn { flex: 1 1 100%; }
  .program-imgs { gap: 16px; }
  .svc-list, .post-grid { grid-template-columns: 1fr; }
  .svc-card { padding: 26px; }
  .dash-list { grid-template-columns: 1fr; }
  .gallery .slide { flex-basis: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .f-bottom .wrap { position: relative; padding-right: calc(var(--pad) + 70px); }
  .to-top { position: absolute; right: var(--pad); top: 50%; margin-top: -39px; }
  .page-banner { padding: 132px 0 72px; }
  .side-box { padding: 22px; }
  .author-box { flex-direction: column; }
  .wa-bubble { bottom: 16px; }
  .wa-right { right: 16px; }
  .wa-left { left: 16px; }
  .wa-tip { display: none; }
}
@media (max-width: 1024px) { .wa-dev-desktop { display: none; } }
@media (min-width: 1025px) { .wa-dev-mobile { display: none; } }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr 1fr; } .duo-text h2 { max-width: none; } .framework-media img { margin: 0 auto; } .framework-media figcaption { margin: 24px auto 0; } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; gap: 32px; } .principles { padding-top: 56px; } }
@media (max-width: 1024px) { .banner-curve svg { height: 35px; } }
@media (max-width: 640px) { .banner-curve svg { height: 25px; } }
@media (max-width: 1024px) { .method .sec-bg img { top: -340px; width: 700px; } }
@media (max-width: 767px) { .method .sec-bg img { top: -235px; left: calc((100% - 500px) * -.6); width: 500px; transform: none; } }

/* ---------- Busca do site (lupa no cabeçalho, janela e página /busca) ---------- */
.search-btn { flex: none; width: 44px; height: 44px; margin: 0 -4px 0 -12px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--primary); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.search-btn:hover, .search-btn:focus-visible { background: var(--primary-t); color: var(--accent); transform: scale(1.06); }
.search-btn .ico { width: 22px; height: 22px; stroke-width: 2; }
.search-pop { position: fixed; inset: 0; z-index: 120; width: 100%; max-width: 100vw; display: grid; place-items: start center; padding: clamp(96px, 24vh, 240px) 24px 24px; overflow-x: hidden; overflow-y: auto; background: color-mix(in srgb, var(--dark) 92%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s; }
.search-pop.open { opacity: 1; visibility: visible; }
.search-form { width: min(680px, 100%); min-width: 0; max-width: 100%; text-align: center; color: #fff; transform: translateY(18px) scale(.97); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.search-pop.open .search-form { transform: none; opacity: 1; transition-delay: .08s; }
.search-form label { display: block; font: 700 clamp(28px, 3.4vw, 44px)/1.1 var(--font-title); letter-spacing: -.027em; margin-bottom: 26px; }
.search-field { display: flex; align-items: center; min-width: 0; max-width: 100%; background: #fff; border-radius: 99px; padding: 6px 6px 6px 26px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); }
.search-field input { flex: 1; width: 100%; min-width: 0; border: 0; border-radius: 0; outline: 0; background: transparent; -webkit-appearance: none; appearance: none; font: inherit; font-size: 17px; color: var(--ink); padding: 14px 0; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field input::-webkit-search-decoration { -webkit-appearance: none; }
.search-field button { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); cursor: pointer; transition: background .2s; }
.search-field button:hover { background: var(--primary); color: #fff; }
.search-field button .ico { width: 22px; height: 22px; stroke-width: 2; }
.search-form small { display: block; margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.search-x { position: absolute; top: 24px; right: 24px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; transition: background .2s, transform .3s; }
.search-x:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }
.search-live { margin-top: 14px; background: #fff; border-radius: 22px; padding: 8px; text-align: left; max-height: min(52vh, 460px); overflow-y: auto; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); animation: searchIn .3s ease; }
@keyframes searchIn { from { opacity: 0; transform: translateY(-8px); } }
.search-item { display: block; padding: 12px 16px; border-radius: 14px; color: var(--text); transition: background .15s; }
.search-item:hover, .search-item:focus-visible { background: var(--soft); outline: none; }
.search-item small { display: block; margin: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); }
.search-item strong { display: block; font-size: 16px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.search-item span { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; }
.search-all { display: block; margin-top: 4px; padding: 13px 16px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; font-weight: 700; color: var(--primary); }
.search-all:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.search-none { margin: 0; padding: 16px; text-align: center; font-size: 14px; color: var(--text); }
.search-pop.has-results .search-form > small { display: none; }
.search-again { max-width: 680px; margin: 0 auto 40px; }
.search-again .search-field { background: var(--soft); box-shadow: none; }
.search-count { text-align: center; margin: 0 0 28px; }
.search-results { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; display: grid; gap: 14px; }
.search-hit { display: block; padding: 22px 26px; background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); transition: border-color .2s, box-shadow .2s, transform .2s; }
.search-hit:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.search-hit .tag { margin-bottom: 10px; font-size: 12px; }
.search-hit h3 { font-size: 22px; margin: 0 0 6px; }
.search-hit p { margin: 0; font-size: 15px; }
@media (max-width: 1100px) {
  .search-btn { margin: 0 0 0 auto; }
  .search-btn ~ .burger { margin-left: 0; }
}
@media (max-width: 640px) {
  .search-pop { padding-left: 16px; padding-right: 16px; }
  .search-x { top: 16px; right: 16px; }
  .search-field { padding-left: 20px; }
  .search-field input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .search-pop, .search-form { transition: none; }
}

/* ---------- Hero com a foto à mostra e véu na cor da marca ----------
   O véu é forte do lado do texto e some para a direita; uma faixa escura no alto segura o menu.
   Na home, enquanto o cabeçalho está sobre a foto, logo, menu e lupa ficam brancos. */
.hero { background: var(--primary); }
.hero-bg::after { opacity: 1; background:
  linear-gradient(180deg, color-mix(in srgb, var(--primary-d) 78%, transparent) 0, transparent 190px),
  linear-gradient(90deg, color-mix(in srgb, var(--primary) 94%, transparent) 0%, color-mix(in srgb, var(--primary) 84%, transparent) 34%, color-mix(in srgb, var(--primary) 42%, transparent) 68%, color-mix(in srgb, var(--primary) 18%, transparent) 100%); }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.18); }
.hero-text { color: rgba(255,255,255,.92); }
.hero .btn { background: #fff; border-color: #fff; color: var(--primary); }
.hero .btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hero .btn-outline { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.hero .btn-outline:hover { background: #fff; border-color: #fff; color: var(--primary); }
.logo-light { display: none; }
.is-home .site-header:not(.is-stuck) { color: #fff; }
.is-home .site-header:not(.is-stuck) .logo:has(.logo-light) > .logo-img:not(.logo-light) { display: none; }
.is-home .site-header:not(.is-stuck) .logo-light { display: block; }
.is-home .site-header:not(.is-stuck) .nav > ul > li > a:hover,
.is-home .site-header:not(.is-stuck) .nav li.current > a { color: color-mix(in srgb, var(--accent) 45%, #fff); }
.is-home .site-header:not(.is-stuck) .search-btn { color: #fff; }
.is-home .site-header:not(.is-stuck) .search-btn:hover, .is-home .site-header:not(.is-stuck) .search-btn:focus-visible { background: rgba(255,255,255,.14); color: #fff; }
.is-home .site-header:not(.is-stuck) .burger { background: rgba(255,255,255,.16); }
@media (max-width: 900px) {
  /* Com o texto ocupando a largura toda, o véu fica uniforme */
  .hero-bg::after { background:
    linear-gradient(180deg, color-mix(in srgb, var(--primary-d) 80%, transparent) 0, transparent 160px),
    color-mix(in srgb, var(--primary) 84%, transparent); }
}

/* ---------- Entre Ritmos (modelo "program") ---------- */
.program-intro .duo { grid-template-columns: 1.08fr 1fr; }
.program-intro .about-media img { aspect-ratio: 513 / 480; }
.program-intro .btn-row { margin: 10px 0; }
.program-intro .rule + .rich { margin-bottom: 0; }
.audience-media { position: relative; padding-right: clamp(0px, 4.5vw, 64px); }
.audience-media > img:first-child { width: 100%; aspect-ratio: 536 / 430; object-fit: cover; border-radius: var(--r-xl); }
.audience-media.has-second { padding-bottom: 74px; }
.audience-media .img-second { position: absolute; right: 0; bottom: 0; width: 56.7%; aspect-ratio: 340 / 248; object-fit: cover; border: 6px solid #fff; border-radius: var(--r-xl); }
.goal h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 7px; }
.goal h3 .ico { width: 30px; height: 30px; color: var(--accent); }
.goal p { margin: 0; }
.lede { max-width: 1000px; margin: -24px auto 44px; text-align: center; }
.faq-center h2 { text-align: center; }
.faq-sec[id] { scroll-margin-top: 72px; }
@media (max-width: 900px) {
  .program-intro .duo { grid-template-columns: 1fr; }
  .audience-media { padding-right: 0; }
  .lede { margin-top: -16px; }

}
/* Alvo dos links "voltar ao topo". Fica fora do cabeçalho porque, depois de rolar, o cabeçalho é fixo e o navegador não teria para onde subir. */
.top-anchor { position: absolute; top: 0; left: 0; }

/* ---------- Chamada final em cartão (Entre Ritmos) ----------
   Cartão no degradê da marca, com as ondas do rodapé ao fundo: texto à esquerda, ação à direita. */
.page-cta { padding: var(--sec) 0; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.35fr auto; align-items: center; gap: 32px clamp(32px, 6vw, 96px); padding: clamp(40px, 5.5vw, 72px) clamp(28px, 5.5vw, 80px); border-radius: var(--r-xl); background: linear-gradient(165deg, var(--primary) 0%, var(--accent) 100%); color: rgba(255,255,255,.9); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--primary) 75%, transparent); }
.cta-waves { position: absolute; left: 50%; bottom: -1px; width: 260%; height: 150px; transform: translateX(-50%) rotate(180deg); fill: #fff; opacity: .08; pointer-events: none; }
.cta-card-text, .cta-card-actions { position: relative; }
.cta-card h2 { color: #fff; margin-bottom: 14px; }
.cta-card p { margin: 0; max-width: 560px; font-size: 18px; line-height: 1.5; }
.cta-card-actions { display: grid; justify-items: center; gap: 16px; }
.cta-card .btn { background: #fff; border-color: #fff; color: var(--primary); white-space: nowrap; }
.cta-card .btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; }
.cta-card-mail { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.85); overflow-wrap: anywhere; }
.cta-card-mail:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-card-mail .ico { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-card p { margin: 0 auto; font-size: 16px; }
  .cta-card-actions { justify-items: center; }
}
@media (max-width: 640px) { .cta-card .btn { width: 100%; white-space: normal; } .cta-card-actions { justify-items: stretch; } .cta-card-mail { justify-content: center; } }

/* ---------- Contato: texto e contatos de um lado, caixa do formulário do outro, e mapa em faixa logo abaixo ---------- */
.contact-sec { padding: var(--sec) 0 28px; }
.contact-cards { display: grid; grid-template-columns: .8fr 1fr; gap: 28px; align-items: stretch; }
.contact-card { border-radius: var(--r-xl); padding: clamp(28px, 4.4vw, 64px) clamp(24px, 3.6vw, 52px); }
.contact-info { display: flex; flex-direction: column; justify-content: center; background: var(--soft); box-shadow: 0 24px 50px -34px color-mix(in srgb, var(--primary) 45%, transparent); }
.contact-info .tag { align-self: flex-start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin: 0; }
.contact-info .rule { margin: 32px 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 18px; }
.contact-list .ci { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--primary); }
.contact-list .ci .ico { width: 22px; height: 22px; }
.contact-list a, .contact-list span:not(.ci) { display: block; font-size: 17px; line-height: 1.4; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.contact-form { background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--primary) 55%, transparent); }
.form-2col { grid-template-columns: 1fr 1fr; gap: 20px; }
.form-2col .fld-full, .form-2col .form-title { grid-column: 1 / -1; }
.form-2col .fld input, .form-2col .fld select, .form-2col .fld textarea { background: color-mix(in srgb, var(--primary) 5%, #fff) !important; border-radius: 14px; padding: 17px 20px; }
.form-2col .fld textarea { min-height: 180px; }
.fld-accept { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer; }
.fld-accept input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--primary); }
.fld-accept a { color: var(--primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-foot { display: grid; gap: 12px; justify-items: start; }
.form-foot .btn-block { justify-self: stretch; }
.form-2col .form-msg { text-align: left; }
/* Mapa em caixa, como as duas de cima, com respiro antes do rodapé */
.map-wrap { margin-bottom: var(--sec); }
.map-box { overflow: hidden; line-height: 0; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: 0 24px 50px -34px color-mix(in srgb, var(--primary) 45%, transparent); }
.map-box iframe { display: block; width: 100%; height: 500px; border: 0; }
@media (max-width: 1024px) { .map-box iframe { height: 430px; } }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .form-2col { grid-template-columns: 1fr; gap: 14px; }
  .form-foot { justify-items: stretch; }
  .form-2col .form-msg { text-align: center; }
  .map-box iframe { height: 400px; }
}

/* Ao chegar pelo link #formulario, o topo do formulário não fica escondido atrás do cabeçalho fixo */
#formulario { scroll-margin-top: 130px; }
