/* Incite Filmes — revisão 45. Estilos compartilhados, sem build. */
:root { --incite-orange: #ff4b12; }
html { scroll-padding-top: 96px; }
[id] { scroll-margin-top: 96px; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #ff7549; outline-offset: 5px; }
header nav a { white-space: nowrap; }
#mobile-menu { height: 100dvh; overflow-y: auto; overscroll-behavior: contain; }
#mobile-menu[aria-hidden="true"] { visibility: hidden; }
body.mobile-menu-open { touch-action: auto; }
.v43-section { padding: 72px 0; }
.v43-section-heading { margin-bottom: 32px; }
.v43-intro { color: #b7b7bf; font-size: 1.08rem; line-height: 1.65; margin-top: 16px; max-width: 680px; }
.v43-secondary { border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.24); }
.v43-secondary:hover { background: rgba(255,255,255,.14); }
#home-portfolio-grid.v43-cases-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.v43-case { display: block; min-width: 0; width: 100%; padding: 0; overflow: hidden; text-align: left; border: 1px solid #303030; border-radius: 16px; background: #141414; color: white; cursor: pointer; transition: border-color .2s, transform .2s; }
.v43-case:hover { border-color: #ff4b12; transform: translateY(-3px); }
.v43-case-image { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; background: #222; }
.v43-case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.v43-case:hover img { transform: scale(1.035); }
.v43-play { position: absolute; display: flex; align-items: center; justify-content: center; inset: auto 12px 12px auto; width: 42px; height: 42px; border-radius: 50%; background: rgba(10,10,10,.84); border: 1px solid rgba(255,255,255,.65); box-shadow: 0 3px 12px #0008; color: #fff; }
.v43-play svg { margin-left: 2px; }
.v43-case-info { display: flex; flex-direction: column; gap: 6px; padding: 15px 16px 18px; }
.v43-case-category { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: #ff865f; font-weight: 800; }
.v43-case-info strong { font-size: 1.05rem; line-height: 1.3; font-weight: 800; }
.v43-case-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.v43-text-link { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: #eee; font-size: .94rem; font-weight: 700; line-height: 1.5; background: transparent; border: 0; cursor: pointer; padding: 6px 0; }
.v43-text-link:hover { color: #ff865f; }
#logos-section { padding-top: 36px; padding-bottom: 36px; }
#logos-section h2 { font-size: clamp(1.3rem,2.7vw,2rem); }
.v43-service-description { color: #e2e2e2; font-size: .98rem; line-height: 1.5; margin: 10px 0 18px; max-width: 340px; }
.home-service-card, .home-service-content, .home-service-featured, .home-service-featured .home-service-content { min-height: 360px !important; }
.home-service-card:before { background: linear-gradient(180deg,rgba(0,0,0,.02) 0%,rgba(0,0,0,.45) 35%,rgba(0,0,0,.95) 100%) !important; }
.home-service-title { font-size: clamp(1.7rem,2.5vw,2.5rem) !important; }
.v43-strategy { padding: 36px; border-radius: 24px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 36px; }
.v43-strategy > a { white-space: nowrap; }
.v43-strategy-note { color: #aaa; font-size: .82rem; margin-top: 14px; }
.v43-optional { margin-top: 20px; padding: 18px 0; border-top: 1px solid #333; border-bottom: 1px solid #333; }
.v43-optional summary { cursor: pointer; font-weight: 700; color: white; }
.v43-optional summary span { color: #b3b3b3; font-size: .85rem; font-weight: 400; }
.v43-optional[open] .strategy-form-grid { margin-top: 20px; }
#direct-submit-button { white-space: normal; flex-shrink: 0; }
#direct-success:focus { outline: none; }
#direct-success:focus-visible { outline: 2px solid #ff7549; outline-offset: 10px; }
.v43-modal { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,.88); backdrop-filter: blur(8px); padding: 24px; overflow-y: auto; display: flex; align-items: center; justify-content: center; overscroll-behavior: contain; }
.v43-modal.hidden { display: none; }
.v43-modal-panel { width: min(100%,1000px,calc((100dvh - 245px)*1.7778)); min-width: min(100%,300px); border: 1px solid #393939; border-radius: 20px; background: #101010; overflow: hidden; margin: auto; box-shadow: 0 25px 100px #000b; }
.v43-modal-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 20px; }
.v43-modal-top h2 { font-size: 1.1rem; font-weight: 800; margin: 0; color: #fff; }
#modal-close { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #454545; border-radius: 50%; color: white; background: #252525; font-size: 30px; line-height: 1; cursor: pointer; }
#modal-close:hover { background: #414141; }
.v43-modal-video { aspect-ratio: 16/9; width: 100%; background: #000; }
.v43-modal-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.v43-modal-bottom { display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 24px; }
.v43-modal-bottom p { color: #c4c4c4; line-height: 1.6; font-size: .96rem; margin: 0; }
.v43-modal-cta { display: inline-flex; align-items: center; justify-content: center; gap: 16px; border-radius: 30px; padding: 14px 20px; font-weight: 800; white-space: nowrap; }
.v43-process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin-top: 30px; }
.v43-process article { border-top: 1px solid #393939; padding-top: 24px; }
.v43-process b { color: #ff7549; font-size: .85rem; }
.v43-process h3 { font-size: 1.18rem; font-weight: 800; margin: 10px 0; }
.v43-process p { color: #aaa; line-height: 1.7; }
.v43-service-faq { max-width: 820px; margin: auto; }
.v43-service-faq details { border-bottom: 1px solid #333; padding: 20px 0; }
.v43-service-faq summary { font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.v43-service-faq details p { margin-top: 15px; color: #b7b7bf; line-height: 1.7; }
@media(min-width:768px) { #logos-section .incite-logo-card { width: 150px; height: 68px; } }
@media(max-width:1023px) {
  #home-portfolio-grid.v43-cases-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v43-strategy { grid-template-columns: 1fr; gap: 24px; }
  .v43-strategy > a { justify-self: start; }
}
@media(max-width:767px) {
  html { scroll-padding-top: 80px; }
  [id] { scroll-margin-top: 80px; }
  .v43-section { padding: 48px 0; }
  #home-portfolio-grid.v43-cases-grid { gap: 12px; }
  .v43-case { border-radius: 12px; }
  .v43-case-info { padding: 12px 10px 14px; gap: 5px; }
  .v43-case-info strong { font-size: .94rem; }
  .v43-case-category { font-size: .6rem; letter-spacing: .04em; }
  .v43-play { width: 32px; height: 32px; right: 8px; bottom: 8px; }
  .v43-play svg { width: 16px; height: 16px; }
  .v43-intro { font-size: .98rem; }
  .v43-case-links { flex-direction: column; align-items: flex-start; gap: 12px; }
  .v43-strategy { padding: 26px 22px; }
  .v43-strategy > a { white-space: normal; width: 100%; }
  .home-service-card, .home-service-content, .home-service-featured, .home-service-featured .home-service-content { min-height: 330px !important; }
  .v43-modal { padding: 12px; }
  .v43-modal-panel { width: 100%; border-radius: 14px; }
  .v43-modal-top { padding: 10px 14px; }
  .v43-modal-bottom { flex-direction: column; align-items: stretch; gap: 18px; padding: 20px; }
  .v43-process { grid-template-columns: 1fr; gap: 16px; }
  .v43-process article { padding-top: 18px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .animate-marquee, .animate-marquee-reverse, .animate-marquee-mobile-third { animation-play-state: paused !important; }
  .v43-case, .v43-case img { transition: none; }
}

/* V44: serviços antes dos cases, com menos rolagem no celular. */
@media(max-width:767px) {
  #services-section { padding-top: 48px; padding-bottom: 48px; }
  #services-section .home-services-header { margin-bottom: 28px; }
  #home-services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  #home-services-grid .home-service-card,
  #home-services-grid .home-service-content { min-height: 270px !important; }
  #home-services-grid .home-service-card { min-width: 0; border-radius: 16px; }
  #home-services-grid .home-service-content { padding: 16px 12px; }
  #home-services-grid .home-service-kicker { display: none; }
  #home-services-grid .home-service-title {
    font-size: clamp(1.125rem,5.2vw,1.45rem) !important;
    line-height: 1.12;
    letter-spacing: -.03em;
    overflow-wrap: anywhere;
    margin-top: 0;
  }
  #home-services-grid .v43-service-description { font-size: .875rem; line-height: 1.4; margin: 10px 0 14px; }
  #home-services-grid .home-service-link { font-size: .8125rem; gap: 6px; margin-top: 0; padding: 10px 12px; }
}

/* V45: todos os acessos disponíveis, com espaço para o menu completo. */
#desktop-nav { display: none; gap: clamp(14px,1.7vw,24px); }
#desktop-quote { display: none; }
#mobile-menu-controls { display: flex; }
.incite-menu-toggle { gap: 7px; padding: 0 13px; color: #fff; font-size: .875rem; font-weight: 700; }
#mobile-menu { display: block; padding-bottom: max(20px,env(safe-area-inset-bottom)); }
@media(min-width:1024px) {
  #desktop-nav, #desktop-quote { display: flex; }
  #mobile-menu-controls, #mobile-menu { display: none; }
}
