html { scroll-behavior: smooth; }
body { min-width: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px; color: #fff; background: #111; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, summary:focus-visible { outline: 3px solid #ffcf18; outline-offset: 4px; }
.nav a { color: #d3d3d5; }
.nav a:first-child { color: #fff; position: relative; }
.nav a:first-child::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--red); }
.nav a:hover { color: #fff; }
.mobile-nav { display: none; }
.hero { padding: 0; }
.hero-actions .number { display: inline-block; }
.coverage-number, .closing-number { display: block; }
.gallery-category { color: #a9abb3; font-size: 15px; margin: 0; }
.gallery-grid figure:nth-child(3) img { object-position: center 42%; }
.gallery-next { position: absolute; right: 12px; bottom: 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; background: rgba(9,10,12,.88); color: #fff; padding: 9px 12px; font: inherit; font-size: 12px; cursor: pointer; }
.gallery-next:focus-visible { outline: 3px solid #ffcf18; outline-offset: 2px; }
.map { position: relative; }
.map-credit { position: absolute; right: 8px; bottom: 8px; padding: 4px 6px; font-size: 11px; background: rgba(255,255,255,.94); color: #222; border-radius: 2px; }
.question summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: '+'; color: var(--red); font-size: 23px; line-height: 1; }
.question[open] summary::after { content: '−'; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 72px); }
  .nav { gap: 16px; }
  .header .button { padding: 12px; }
  .hero h1 { font-size: 62px; }
  .section-title { font-size: 45px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card { min-height: 0; }
  .coverage-grid { gap: 35px; }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: 76px; }
  .header .wrap { gap: 12px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy { font-size: 20px; }
  .brand-copy span { font-size: 10px; letter-spacing: 4px; }
  .nav, .header-cta { display: none !important; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid #3d3d41; border-radius: 8px; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 23px; height: 2px; background: #fff; box-shadow: 0 -7px #fff,0 7px #fff; }
  .mobile-nav[open] summary span { box-shadow: none; transform: rotate(45deg); }
  .mobile-nav[open] summary span::after { content: ''; display: block; width: 23px; height: 2px; background: #fff; transform: rotate(-90deg); }
  .mobile-nav nav { position: absolute; z-index: 20; right: 0; top: 56px; width: min(270px,calc(100vw - 40px)); padding: 8px; border: 1px solid #34353a; border-radius: 10px; background: #191a1d; box-shadow: 0 12px 32px rgba(0,0,0,.45); }
  .mobile-nav nav a { display: block; padding: 13px 14px; color: #fff; font-weight: 700; }
  .mobile-nav nav a:hover { background: #292a2d; }
  .hero-photo { inset: 0; width: 100%; height: 100%; object-position: center; }
  .hero-shade { background: linear-gradient(90deg,rgba(9,9,11,.95),rgba(9,9,11,.72)),linear-gradient(0deg,#09090b,transparent 65%); }
  .hero .wrap { height: auto; min-height: 510px; padding-top: 68px; padding-bottom: 58px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(42px,10vw,56px); line-height: 1.02; margin: 22px 0 18px; }
  .hero p { font-size: 18px; line-height: 1.5; margin-bottom: 22px; }
  .hero-actions { flex-wrap: wrap; gap: 19px; }
  .hero-actions .button { padding: 17px 19px; font-size: 16px; }
  .hero-actions .number { font-size: 19px; }
  .proof .wrap { height: auto; display: grid; grid-template-columns: 1fr; padding: 7px 0; }
  .proof-item, .proof-item:first-child { min-height: 77px; padding: 12px 0; border-right: 0; border-bottom: 1px solid #343438; }
  .proof-item:last-child { border-bottom: 0; }
  section, .coverage, .faq { padding: 64px 0; }
  .how { padding: 64px 0; }
  .tag { font-size: 11px; letter-spacing: 1.6px; gap: 10px; }
  .tag::before { width: 28px; }
  .section-title { font-size: clamp(34px,8.5vw,45px); }
  .sub { font-size: 16px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head > .sub, .gallery-category { margin-top: 14px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .service-photo, .service-visual { height: 135px; }
  .service-content { padding: 17px 14px 20px; }
  .service-card h3 { font-size: 17px; line-height: 1.2; }
  .service-card p { font-size: 14px; }
  .services-extra { flex-wrap: wrap; gap: 12px 18px; padding: 16px; }
  .services-extra strong { width: 100%; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(3,190px); gap: 10px; }
  .gallery-grid figure { border-radius: 8px; }
  .steps { grid-template-columns: 1fr; gap: 15px; margin-top: 25px; }
  .step { padding-top: 15px; }
  .coverage-grid { grid-template-columns: 1fr; gap: 30px; }
  .coverage-cities { margin: 22px 0; }
  .map { height: auto; aspect-ratio: 1 / 1; }
  .map img { object-fit: contain; }
  .localities-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 25px; }
  .location-card { min-height: 0; padding: 20px; }
  .other-areas { font-size: 14px; }
  .faq-grid { grid-template-columns: 1fr; }
  .closing { padding: 62px 0; }
  .closing .wrap { display: block; }
  .closing h2 { font-size: 39px; }
  .closing-right { text-align: left; margin-top: 25px; }
  .footer .wrap { display: block; }
  .footer p { text-align: left; margin-top: 20px; }
}

@media (max-width: 359px) {
  .hero h1 { font-size: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-photo, .service-visual { height: 160px; }
  .gallery-grid { grid-template-rows: repeat(3,160px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Contato fixo e disponível durante toda a navegação. */
.whatsapp-floating { position: fixed; z-index: 90; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 11px; padding: 9px 16px 9px 9px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: #087d34; color: #fff; box-shadow: 0 8px 26px rgba(0,0,0,.38), 0 0 0 4px rgba(31,201,91,.20); }
.whatsapp-floating-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 50%; background: #fff; color: #087d34; }
.whatsapp-floating-icon svg { width: 27px; height: 27px; }
.whatsapp-floating-copy { display: grid; gap: 3px; line-height: 1.1; }
.whatsapp-floating-copy strong { font-size: 14px; }
.whatsapp-floating-copy small { font-size: 11px; font-weight: 700; color: #e2f7e9; }
@media (max-width: 480px) {
  .whatsapp-floating { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); padding: 8px 13px 8px 8px; }
  .whatsapp-floating-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .whatsapp-floating-copy strong { font-size: 12px; }
  .whatsapp-floating-copy small { font-size: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes whatsapp-attention { 0%, 75%, 100% { box-shadow: 0 8px 26px rgba(0,0,0,.38), 0 0 0 4px rgba(31,201,91,.20); } 85% { box-shadow: 0 8px 26px rgba(0,0,0,.38), 0 0 0 10px rgba(31,201,91,.08); } }
  .whatsapp-floating { animation: whatsapp-attention 3s ease-in-out infinite; transition: transform .2s ease, background .2s ease; }
  @media (hover: hover) { .whatsapp-floating:hover { transform: translateY(-3px); background: #066b2c; } }
}
