/* Revisão V2: hero imersivo, capítulos editoriais e crédito de desenvolvimento. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hero-carousel { background: #211a32; color: #fff; }
.carousel-stage { position: relative; height: clamp(625px, 72vh, 760px); overflow: hidden; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; z-index: 0; transition: opacity .65s ease, visibility .65s; pointer-events: none; }
.hero-slide.active { visibility: visible; opacity: 1; z-index: 1; pointer-events: auto; }
.slide-media, .slide-media img, .slide-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide-media { overflow: hidden; }
.slide-media img { object-fit: cover; object-position: center; transform: scale(1.05) translate3d(0, var(--parallax, 0px), 0); }
.slide-shade { background: linear-gradient(90deg, rgba(21, 16, 34, .96) 0%, rgba(25, 18, 40, .84) 30%, rgba(30, 21, 45, .46) 61%, rgba(18, 15, 28, .22) 100%), linear-gradient(0deg, rgba(18, 14, 28, .8), transparent 30%); }
.slide-inner { position: relative; height: 100%; display: flex; align-items: center; padding-top: 22px; padding-bottom: 94px; }
.slide-copy { position: relative; z-index: 3; width: min(690px, 62%); }
.slide-eyebrow { display: flex; align-items: center; gap: 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; color: #d2c2fa; margin-bottom: 24px; font-weight: 700; }
.slide-eyebrow > span { width: 27px; height: 2px; background: #b8a0f2; }
.slide-title { color: #fff; font-size: clamp(40px, 4.3vw, 63px); letter-spacing: -.048em; line-height: 1.09; margin: 0 0 24px; max-width: 760px; text-wrap: balance; }
.slide-description { color: #f2edf9; font-size: 18px; line-height: 1.65; max-width: 575px; margin-bottom: 17px; }
.slide-detail { color: #c7bdcf; font-size: 13px; line-height: 1.7; max-width: 555px; margin-bottom: 27px; }
.slide-actions { display: flex; gap: 25px; align-items: center; flex-wrap: wrap; }
.slide-actions .button, .slide-actions .button:visited { background: #7360b7; color: #fff; box-shadow: 0 8px 24px #160f2a33; font-size: 12px; padding: 16px 22px; }
.slide-actions .button:hover, .slide-actions .button:focus-visible, .slide-actions .button:active { background: #6955af; color: #fff; }
.slide-secondary { font-size: 11px; display: flex; align-items: center; gap: 12px; color: #fff; text-underline-offset: 5px; }
.slide-secondary:hover { text-decoration: underline; }
.slide-object { position: absolute; z-index: 2; }
.slide-object-main { bottom: 125px; right: -7px; display: flex; align-items: center; gap: 15px; width: 325px; padding: 23px; background: rgba(255, 255, 255, .94); color: #30243c; border: 1px solid #ffffff66; border-radius: 7px; box-shadow: 0 18px 40px #0c071a38; }
.floating-icon { color: #6154a4; width: 46px; height: 46px; display: grid; place-items: center; background: #eee8fa; border-radius: 50%; flex-shrink: 0; }
.slide-object-main small { display: block; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 7px; color: #756486; }
.slide-object-main strong { display: block; font-size: 16px; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 7px; }
.slide-object-main div > span { display: block; font-size: 8px; color: #665b75; }
.slide-object-mini { top: 76px; right: 8px; color: #fff; font-size: 10px; background: #251d3bcc; border: 1px solid #ffffff35; border-radius: 35px; padding: 12px 17px; display: flex; align-items: center; gap: 10px; }
.object-dot { width: 6px; height: 6px; border-radius: 50%; background: #c4b3ec; box-shadow: 0 0 0 5px #c4b3ec16; }
.slide-outline { position: absolute; right: 30px; top: 45px; width: 100px; height: 100px; border: 1px solid #d5c2ff5a; transform: rotate(45deg); border-radius: 10px; }
.slide-outline-two { right: 66px; top: 87px; width: 47px; height: 47px; opacity: .45; }
.image-disclosure { position: absolute; right: 0; bottom: 84px; color: #e2dbe9; font-size: 8px; text-shadow: 0 1px 5px #000; }
.hero-slide.active .slide-eyebrow { animation: copy-arrive .55s .07s both; }
.hero-slide.active .slide-title { animation: copy-arrive .65s .14s both; }
.hero-slide.active .slide-description, .hero-slide.active .slide-detail { animation: copy-arrive .65s .22s both; }
.hero-slide.active .slide-actions { animation: copy-arrive .65s .29s both; }
.hero-slide.active .slide-object-main { animation: object-arrive .8s .35s both, object-hover 6s 1.15s ease-in-out infinite; }
.hero-slide.active .slide-object-mini { animation: object-arrive .8s .55s both, object-hover 7s 1.35s ease-in-out infinite; }
.hero-slide.active .slide-outline-one { animation: outline-hover 9s ease-in-out infinite; }
@keyframes copy-arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes object-arrive { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes object-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes outline-hover { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(48deg) translateY(-8px); } }
.carousel-controls { position: absolute; z-index: 4; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 22px; align-items: center; }
.slide-navigation { display: flex; align-items: center; gap: 17px; }
.carousel-button { color: #fff; background: #ffffff0a; border: 1px solid #ffffff44; min-width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.carousel-button:hover { background: #ffffff24; }
.carousel-button:focus-visible, .slide-dot:focus-visible { outline-color: #d1baff; }
.slide-prev .icon { transform: rotate(180deg); }
.carousel-button .icon { width: 18px; height: 18px; }
.slide-count { font-size: 11px; letter-spacing: .12em; color: #ded3f0; }
.slide-pause { border-radius: 30px; gap: 10px; padding: 0 16px; font-size: 10px; }
.pause-symbol { font-size: 17px; }
.carousel-progress { height: 2px; background: #ffffff25; width: 105px; overflow: hidden; }
.carousel-progress > span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: #d0b7ff; }
.hero-carousel.is-playing .carousel-progress > span { animation: slide-timer 8s linear forwards; }
@keyframes slide-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mobile-carousel-hint { display: none; }
.carousel-topics { background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.topic-buttons { display: grid; grid-template-columns: repeat(5, 1fr); }
.slide-dot { display: flex; align-items: center; text-align: left; gap: 12px; padding: 24px 18px; background: none; color: var(--muted); border: none; border-right: 1px solid var(--line); border-top: 3px solid transparent; min-height: 90px; }
.slide-dot:first-child { border-left: 1px solid var(--line); }
.slide-dot > span { font-size: 9px; color: var(--brand); }
.slide-dot strong { font-size: 12px; font-weight: 500; line-height: 1.45; }
.slide-dot .icon { width: 14px; height: 14px; margin-left: auto; opacity: .35; }
.slide-dot.active { color: var(--ink); background: var(--soft); border-top-color: var(--brand); }
.slide-dot.active strong { font-weight: 700; }
.slide-dot.active .icon { color: var(--brand); opacity: 1; }
.slide-dot:hover { background: var(--soft); }
/* Páginas internas com contexto e capítulos. */
.rich-page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 34px 0 65px; }
.rich-page-hero .container { position: relative; z-index: 2; }
.rich-page-hero h1 { max-width: 930px; text-wrap: balance; }
.rich-page-hero .rich-intro { max-width: 770px; line-height: 1.8; font-size: 17px; }
.page-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: 0; }
.page-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #21182ff5 10%, #21182fd6 55%, #21182f9c 100%); z-index: 1; }
.rich-page-hero.has-photo { color: #fff; min-height: 360px; }
.rich-page-hero.has-photo .eyebrow { color: #d2bdfa; }
.rich-page-hero.has-photo p.rich-intro, .rich-page-hero.has-photo .breadcrumb { color: #e4dcea; }
.rich-page-hero.has-photo .breadcrumb a:hover { color: #fff; }
.page-image-note { display: block; margin-top: 20px; font-size: 9px; color: #d6cbdc; }
.editorial-chapter { display: grid; grid-template-columns: .8fr 1.2fr; gap: 88px; }
.chapter-heading { align-self: start; }
.chapter-number { font-size: 12px; display: block; color: var(--muted); padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); max-width: 48px; }
.chapter-heading h2 { font-size: clamp(29px, 3vw, 42px); }
.chapter-heading > p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.chapter-content > p { font-size: 17px; color: var(--muted); line-height: 1.9; }
.editorial-points { margin-top: 33px; }
.editorial-points > article { padding: 20px 0; border-top: 1px solid var(--line); }
.editorial-points h3 { font-size: 18px; margin-bottom: 9px; }
.editorial-points p { font-size: 14px; line-height: 1.85; color: var(--muted); margin-bottom: 0; }
.values-points { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 30px; }
.editorial-faq > summary { font-size: 17px; line-height: 1.55; }
.editorial-faq > div p { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 0; }
.editorial-callout { background: var(--brand-light); padding: 55px 0; }
.editorial-callout > .container { display: flex; align-items: center; gap: 45px; justify-content: space-between; }
.editorial-callout h2 { font-size: 33px; max-width: 750px; }
.editorial-callout p:not(.eyebrow) { color: var(--muted); max-width: 660px; margin-bottom: 0; font-size: 15px; }
.editorial-callout .button { flex-shrink: 0; }
.legal-summary { border-left: 3px solid var(--brand); background: var(--soft); padding: 25px 30px; margin-bottom: 35px; }
.legal-summary h2 { font-size: 24px; margin: 0 0 12px; }
.legal-summary p { margin: 0; }
.home-differentials { border-top: 1px solid var(--line); }
.home-editorial-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 7px; margin-bottom: 20px; }
.editorial-image-note { font-size: 10px; color: var(--muted); }
.subnav { padding-top: 24px; }
/* Crédito legível; ferramentas respeitam rodapé e safe-area. */
.footer-bottom { gap: 24px; padding-bottom: 30px; }
.developer-link { display: inline-flex; align-items: center; gap: 9px; color: var(--brand); background: var(--brand-light); border: 1px solid var(--brand); padding: 11px 15px; border-radius: 5px; font-size: 11px; font-weight: 700; line-height: 1.4; transition: transform .2s, box-shadow .2s; white-space: nowrap; }
.footer-bottom .developer-link:hover { text-decoration: none; box-shadow: 0 5px 18px #6154a426; transform: translateY(-2px); }
.developer-link .icon { width: 16px; height: 16px; }
.whatsapp-widget { bottom: calc(var(--widget-offset, 96px) + env(safe-area-inset-bottom, 0px)); }
.back-to-top { bottom: calc(var(--widget-offset, 96px) + 68px + env(safe-area-inset-bottom, 0px)); }
.help-panel { bottom: 65px; }
.no-js .hero-slide:first-child { visibility: visible; opacity: 1; }
.no-js .carousel-controls, .no-js .carousel-topics { display: none; }
.no-js .hero-slide:first-child .slide-object { animation: none; }
.noscript-carousel-links { padding: 15px 25px; background: var(--soft); color: var(--ink); display: flex; gap: 15px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 1200px) {
  .slide-copy { width: 65%; }
  .slide-title { font-size: 51px; }
  .slide-object-main { width: 285px; padding: 19px; bottom: 126px; }
  .slide-object-main strong { font-size: 14px; }
  .slide-object-mini { max-width: 270px; }
  .slide-dot { padding: 21px 13px; gap: 10px; }
  .slide-dot strong { font-size: 11px; }
  .editorial-chapter { gap: 55px; }
  .footer-bottom { flex-wrap: wrap; }
}
@media (max-width: 1050px) {
  .slide-title { font-size: 45px; }
  .slide-copy { width: 69%; }
  .slide-description { font-size: 16px; }
  .slide-detail { font-size: 12px; }
  .slide-object-main { width: 235px; padding: 16px; right: 0; bottom: 114px; }
  .slide-object-main small { font-size: 7px; }
  .slide-object-main div > span { font-size: 7px; }
  .floating-icon { width: 34px; height: 34px; }
  .slide-object-mini { top: 30px; font-size: 8px; }
  .slide-actions { gap: 15px; }
  .topic-buttons { width: 100%; }
  .slide-dot { padding: 18px 13px; }
  .slide-dot .icon { display: none; }
  .editorial-callout > .container { align-items: flex-start; flex-direction: column; gap: 25px; }
}
@media (max-width: 760px) {
  .carousel-stage { height: clamp(400px, calc(100svh - 225px), 520px); }
  .slide-inner { align-items: flex-start; padding-top: 26px; padding-bottom: 94px; }
  .slide-copy { width: 100%; max-width: 580px; }
  .slide-title { font-size: clamp(29px, 7.4vw, 40px); line-height: 1.12; margin-bottom: 16px; }
  .slide-title br { display: none; }
  .slide-eyebrow { font-size: 8px; letter-spacing: .12em; margin-bottom: 16px; }
  .slide-description { max-width: 530px; font-size: 15px; line-height: 1.5; margin-bottom: 21px; }
  .slide-detail, .slide-secondary { display: none; }
  .slide-actions { align-items: flex-start; gap: 0; }
  .slide-actions .button { font-size: 12px; padding: 12px 16px; min-height: 44px; }
  .slide-media img { object-position: 65% center; transform: none; }
  .slide-shade { background: linear-gradient(90deg, #21182fec, #21182fc9), linear-gradient(0deg, #21182fd9, transparent); }
  .slide-object-main, .slide-object-mini, .slide-outline { display: none; }
  .image-disclosure { font-size: 8px; bottom: 69px; right: 0; }
  .carousel-controls { bottom: 14px; gap: 12px; }
  .carousel-button { min-width: 44px; height: 44px; }
  .slide-navigation { gap: 12px; }
  .slide-pause { display: inline-flex; margin-left: auto; padding: 0 12px; min-width: 90px; font-size: 11px; }
  .carousel-progress, .mobile-carousel-hint { display: none; }
  .topic-buttons { display: flex; overflow-x: auto; padding-inline: 20px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--brand) var(--line); }
  .slide-dot { flex: 0 0 175px; min-height: 56px; scroll-snap-align: start; padding: 10px 13px; }
  .slide-dot strong { font-size: 11px; }
  .slide-dot .icon { display: block; }
  .rich-page-hero { padding: 27px 0 47px; }
  .rich-page-hero h1 { font-size: 40px; }
  .rich-page-hero .rich-intro { font-size: 16px; }
  .editorial-chapter { grid-template-columns: 1fr; gap: 22px; }
  .chapter-heading h2 { font-size: 31px; margin-bottom: 5px; }
  .chapter-number { margin-bottom: 16px; padding-bottom: 10px; }
  .chapter-heading .eyebrow { margin-bottom: 12px; }
  .chapter-content > p { font-size: 16px; line-height: 1.85; }
  .editorial-points { margin-top: 22px; }
  .values-points { grid-template-columns: 1fr; gap: 0; }
  .editorial-faq > summary { padding: 18px 20px; font-size: 16px; }
  .editorial-callout { padding: 40px 0; }
  .editorial-callout h2 { font-size: 29px; }
  .footer-bottom { padding-bottom: 34px; }
  .developer-link { min-height: 45px; font-size: 12px; white-space: normal; }
  .whatsapp-widget { bottom: calc(var(--widget-offset, 98px) + env(safe-area-inset-bottom, 0px)); }
  .back-to-top { bottom: calc(var(--widget-offset, 98px) + 64px + env(safe-area-inset-bottom, 0px)); }
  .help-trigger { min-height: 49px; }
}
@media (max-width: 390px) {
  .slide-title { font-size: 29px; }
  .slide-actions .button { max-width: 100%; font-size: 11px; gap: 12px; }
}
@media (max-width: 760px) and (max-height: 650px) {
  .carousel-stage { height: clamp(370px, calc(100svh - 195px), 455px); }
  .slide-inner { padding-top: 16px; }
  .slide-title { font-size: 26px; margin-bottom: 10px; }
  .slide-eyebrow { margin-bottom: 10px; }
  .slide-description { font-size: 14px; line-height: 1.45; margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide-media img { transform: none; }
  .hero-slide { transition: none; }
  .hero-slide.active *, .carousel-progress > span { animation: none !important; }
}
@media print {
  .hero-carousel, .page-hero-photo, .page-hero-shade { display: none; }
  .rich-page-hero.has-photo { color: #000; }
  .editorial-chapter { display: block; }
  .developer-link { border: 0; }
}

.footer-tools-clear .help-trigger > span { display: none; }
.footer-tools-clear .help-trigger { padding: 12px; border-radius: 50%; }

.carousel-stage { touch-action: pan-y; }
.hero-carousel.motion-paused .slide-object-main, .hero-carousel.motion-paused .slide-object-mini { animation-play-state: running, paused; }
.hero-carousel.motion-paused .slide-outline-one { animation-play-state: paused; }
.editorial-topic-list { margin: 15px 0 0; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.editorial-topic-list li { margin-bottom: 5px; }
.service-nav-card a { display: block; }
.service-nav-card a h2 { margin-top: 20px; }
.service-nav-card a:focus-visible { outline-offset: 7px; }

/* V2.2 — formulário e verificação de segurança. */
.form-instructions { color: var(--muted); font-size: 14px; }
.message-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 7px; color: var(--muted); font-size: 12px; }
.message-meta output { text-align: right; white-space: nowrap; }
.recaptcha-section { margin: 24px 0; padding: 20px; border: 1px solid var(--line); background: var(--soft); border-radius: 5px; }
.recaptcha-section > p:first-child { margin: 0 0 14px; }
.recaptcha-feedback { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 12px 0; }
.recaptcha-legal { color: var(--muted); font-size: 11px; line-height: 1.7; margin-bottom: 0; }
.recaptcha-legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.contact-form button[disabled] { cursor: not-allowed; opacity: .65; }
@media (max-width: 400px) {
  .recaptcha-section { padding: 15px; }
  .message-meta { flex-wrap: wrap; }
}
