/* Página inicial: composição clara inspirada na referência, com a identidade VK. */
body { padding-left: 0; background: #fff; }
.home-skip { position: fixed; left: 16px; top: -80px; z-index: 10001; padding: 12px 20px; background: #0a1f44; color: #fff; }
.home-skip:focus { top: 12px; }
.home-header { position: relative; z-index: 10; background: #fff; border-bottom: 1px solid #e7ebef; }
.home-header-inner { max-width: 1280px; margin: auto; padding: 0 36px; display: flex; align-items: center; gap: 60px; min-height: 136px; }
.home-brand { flex: 0 0 180px; }
.home-brand img { width: 180px; height: 104px; object-fit: contain; filter: brightness(0) saturate(100%); }
.home-header-content { flex: 1; min-width: 0; }
.home-contact { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 24px; padding: 13px 0 19px; color: #4c5665; font-size: .875rem; }
.home-contact a { text-decoration: none; }
.home-contact i { color: #a57b22; margin-right: 6px; }
.home-nav { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0 24px; }
.home-nav > a, .home-services summary { color: #253247; text-decoration: none; font-size: .875rem; font-weight: 700; cursor: pointer; }
.home-nav > a:hover, .home-nav > a[aria-current], .home-services summary:hover { color: #976c15; }
.home-services { position: relative; }
.home-services summary { list-style: none; }
.home-services summary::-webkit-details-marker { display: none; }
.home-services summary i { margin-left: 6px; font-size: .65rem; }
.home-services-menu { position: absolute; top: 36px; left: -20px; width: 260px; padding: 12px; background: white; border-top: 3px solid #d7ac48; box-shadow: 0 12px 32px #0a1f4420; }
.home-services-menu a { display: block; padding: 10px; font-size: .9rem; text-decoration: none; }
.home-services-menu a:hover { background: #f1f4f8; }
.home-menu-toggle { display: none; }
.home-header :focus-visible, .home-service:focus-visible { outline: 3px solid #b38524; outline-offset: 5px; }
.hero-principal { min-height: 520px; padding: 54px 0 24px; color: #0a1f44; background: linear-gradient(90deg, #f7f8fa 0%, #f7f8faf5 31%, #f7f8fadc 43%, #f7f8fa18 69%, transparent 100%), url('assets/img/servicos2.png') right center / cover no-repeat; }
.hero-principal-overlay { background: none; }
.hero-elemento-01 { display: none; }
.hero-elemento-02 { width: 300px; height: 300px; left: -90px; bottom: -230px; border: 30px solid #d7ac48; }
.hero-principal-grid { display: block; max-width: 1280px; padding: 24px 36px; }
.hero-principal-conteudo { max-width: 650px; }
.hero-principal-tag { padding: 0; margin-bottom: 20px; border: 0; border-radius: 0; background: none; color: #83601c; font-size: .875rem; backdrop-filter: none; }
.hero-principal-tag i { display: none; }
.hero-principal h1, .hero-principal .destaque-titulo { color: #12243e; font-size: clamp(2.3rem, 3.6vw, 3.4rem); line-height: 1.13; letter-spacing: -.035em; margin-bottom: 22px; }
.hero-principal h1 strong, .hero-principal .destaque-titulo strong { color: #12243e; }
.hero-principal-descricao { max-width: 510px; color: #465365; font-size: 1rem; line-height: 1.75; margin-bottom: 25px; }
.hero-principal-acoes { margin-bottom: 0; gap: 12px; }
.btn-hero-principal, .btn-hero-secundario { border-radius: 3px; min-height: 48px; padding: 0 20px; font-size: .875rem; }
.btn-hero-principal { background: #0a1f44; color: #fff; box-shadow: none; }
.btn-hero-principal:hover { background: #16376b; box-shadow: none; }
.btn-hero-secundario { color: #0a1f44; border-color: #a3adba; background: #ffffff70; }
.btn-hero-secundario:hover { background: #fff; border-color: #0a1f44; }
.destaques-controles { max-width: 1280px; padding: 0 36px; margin-top: 12px; gap: 7px; }
.destaques-legenda { display: none; }
.destaques-controles button { border: 1px solid #a8b1be; border-radius: 3px; color: #0a1f44; background: #ffffffc9; font-size: .875rem; }
.destaques-controles button[aria-current='true'] { color: #fff; background: #0a1f44; border-color: #0a1f44; }
.destaques-status { color: #3d4d63; font-size: .875rem; margin-left: 8px; }
.home-service-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #0a1f44; }
.home-service { display: flex; gap: 24px; padding: 36px clamp(24px, 3.4vw, 60px); color: #fff; background: #173d70; text-decoration: none; transition: background .2s; }
.home-service:nth-child(2) { background: #102e57; }
.home-service:nth-child(3) { background: #0a2141; }
.home-service:hover { background: #214d82; }
.home-service > i { color: #efd28a; font-size: 2.5rem; margin-top: 6px; }
.home-service h2 { margin: 0 0 10px; font-size: 1.2rem; line-height: 1.4; }
.home-service p { font-size: 1rem; line-height: 1.6; color: #e2e9f3; }
.sobre-resumo { padding: 65px 24px; background: #fff; }
.sobre-resumo-grid { max-width: 1280px; grid-template-columns: 1.2fr .8fr; }
.sobre-resumo-texto { grid-column: 1; grid-row: 1; }
.sobre-resumo-img { grid-column: 2; grid-row: 1; max-width: 360px; }
.sobre-resumo-img img { min-height: 0; aspect-ratio: 1; border-radius: 50%; object-position: center 25%; box-shadow: none; }
.sobre-resumo-img::before { inset: -16px; width: auto; height: auto; border: 1px solid #b68c36; border-radius: 50%; }
.sobre-resumo-img::after { display: none; }
.sobre-resumo-texto h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
@media(max-width: 1050px) {
  .home-header-inner { gap: 26px; padding: 0 24px; }
  .home-brand { flex-basis: 145px; }
  .home-brand img { width: 145px; }
  .home-contact { gap: 14px; }
  .home-nav { gap: 12px; }
  .hero-principal-conteudo { max-width: 580px; }
  .home-service { gap: 16px; padding: 28px 22px; }
  .home-service > i { font-size: 1.8rem; }
}
@media(max-width: 800px) {
  .home-header-inner { min-height: 100px; gap: 20px; }
  .home-brand img { height: 85px; }
  .home-contact { padding: 8px 0; font-size: .875rem; }
  .home-contact span, .home-contact a:last-child { display: none; }
  .home-menu-toggle { display: flex; align-items: center; gap: 12px; margin: 0 0 10px auto; padding: 8px 14px; background: #0a1f44; color: white; border-radius: 3px; cursor: pointer; }
  .home-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 16px 24px; background: #fff; box-shadow: 0 16px 24px #0a1f441a; max-height: 75dvh; overflow-y: auto; }
  .home-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .home-nav > a, .home-services summary { display: block; padding: 12px 0; }
  .home-services-menu { position: static; width: 100%; box-shadow: none; border-top: 0; background: #f4f6f9; }
  .hero-principal { min-height: 0; padding: 35px 0 28px; background: linear-gradient(90deg,#f7f8faf5,#f7f8fada),url('assets/img/servicos2.png') center / cover; }
  .hero-principal-grid { padding: 20px 24px; }
  .hero-principal-conteudo { max-width: 620px; }
  .hero-principal h1, .hero-principal .destaque-titulo { font-size: clamp(2rem, 6vw, 3rem); }
  .hero-principal-acoes { flex-direction: row; }
  .btn-hero-principal, .btn-hero-secundario { width: auto; }
  .destaques-controles { padding: 0 24px; }
  .home-service-strip { grid-template-columns: 1fr; }
  .home-service { padding: 28px 24px; gap: 24px; }
  .home-service > i { width: 42px; flex-shrink: 0; font-size: 2rem; }
  .home-service h2 br { display: none; }
  .home-service h2 br::after { content: ' '; }
  .sobre-resumo-grid { grid-template-columns: 1fr; gap: 45px; }
  .sobre-resumo-texto, .sobre-resumo-img { grid-column: auto; grid-row: auto; }
  .sobre-resumo-img { width: 75%; }
  .sobre-resumo-texto { order: -1; }
}
@media(prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .home-service { transition: none; } }

/* Destaques com foto preenchendo a metade direita do banner. */
.hero-principal:has(.destaque-com-foto.is-active) { background: #f7f8fa; }
.hero-principal-grid.destaque-com-foto { position: static; display: block; }
.destaque-com-foto .hero-principal-conteudo { position: relative; z-index: 1; width: calc(50% - 32px); }
.hero-destaque-foto { position: absolute; top: 0; right: 0; display: block; width: 50%; height: 100%; object-fit: cover; object-position: center 45%; border-radius: 0; }
@media(max-width: 800px) {
  .hero-principal-grid.destaque-com-foto { position: relative; display: grid; grid-template-columns: 1fr; gap: 24px; }
  .destaque-com-foto .hero-principal-conteudo { width: 100%; }
  .hero-destaque-foto { position: static; width: 100%; height: 360px; object-position: center 45%; }
}
