#analytics-consent[hidden] { display: none !important; }
#analytics-consent { position: fixed; inset: auto 16px 16px; margin-inline: auto; max-width: 680px; z-index: 1000; padding: 24px 26px; border: 1px solid rgba(225, 174, 134, .45); background: #1d0b12; color: #f5eee6; box-shadow: 0 18px 48px rgba(0, 0, 0, .45); font: 400 14px/1.6 "Segoe UI", "Helvetica Neue", sans-serif; }
#analytics-consent p { margin: 0 0 20px; color: #c8b8b5; font: inherit; }
#analytics-consent strong { display: block; margin-bottom: 8px; color: #f5eee6; font: 400 21px/1.25 "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; letter-spacing: -.01em; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-actions button { flex: 1; min-height: 46px; padding: 10px 18px; border: 1px solid #cf9167; background: transparent; color: #e1ae86; font: 400 17px/1.2 "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif; cursor: pointer; transition: color .2s ease, background .2s ease; }
.analytics-actions button:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .analytics-actions button:hover { background: #e1ae86; color: #1d0b12; }
}

.footer-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.footer-links a { text-decoration: none; }
#analytics-settings { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0; border: 0; background: none; color: #c8b8b5; font: inherit; text-decoration: none; cursor: pointer; transition: color .2s ease; }
#analytics-settings:hover { color: #e1ae86; }
.back-top { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
@media (min-width: 641px) { .footer-inner { align-items: center; } }
.back-top span { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid rgba(207, 145, 103, .6); font: 300 14px/1 "Segoe UI", "Helvetica Neue", sans-serif; transition: transform .2s ease, background .2s ease, color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .back-top:hover span { transform: translateY(-2px); background: #e1ae86; color: #1d0b12; }
}
.analytics-actions button:focus-visible, #analytics-settings:focus-visible { outline: 2px solid #e1ae86; outline-offset: 4px; }
@media (max-width: 640px) { .footer-links { gap: 0 22px; } }
@media (max-width: 480px) { #analytics-consent { inset: auto 8px 8px; padding: 18px; } #analytics-consent strong { font-size: 19px; } .analytics-actions { gap: 10px; } .analytics-actions button { padding: 10px 8px; font-size: 15px; white-space: nowrap; } }

/* Bloco de contato: margens iguais e ritmo vertical progressivo */
#contato { padding: calc(clamp(80px, 7.5vw, 120px) - 8px) 0 clamp(80px, 7.5vw, 120px); }
#contato .section-label { margin: 0 0 24px; }
#contato h2 { margin: 0 auto 28px; }
#contato h2 + p { margin: 0 auto 36px; }
#contato .contact-links { gap: 14px 36px; margin-top: 40px; }
#contato .contact-links a { font-size: 14px; padding-bottom: 2px; }
#contato .contact-address { margin-top: 44px; padding-top: 32px; }
#contato .contact-address-label { margin-bottom: 12px; }
#contato .contact-address address { font-size: 16px; line-height: 1.7; }
#contato .contact-address-note { margin: 14px 0 0; font-size: 14px; }
@media (max-width: 640px) {
  #contato { padding: 64px 0 72px; }
  #contato .section-label { margin-bottom: 18px; }
  #contato h2 { margin-bottom: 22px; }
  #contato h2 + p { margin-bottom: 30px; }
  #contato .contact-links { gap: 16px 28px; margin-top: 32px; }
  #contato .contact-address { margin-top: 36px; padding-top: 28px; }
}
}

h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
@media (min-width: 751px) and (max-width: 960px) {
  .intro-grid, .service-detail { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 750px) { .intro-grid, .service-detail { grid-template-columns: minmax(0, 1fr); } }
.feature-list + p { margin-top: 24px; }
@media (max-width: 960px) {
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 26px 0; }
}
@media (min-width: 961px) {
  .intro-grid { grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr); gap: clamp(45px, 8vw, 115px); }
}
@media (max-width: 400px) { .nav > a[href="index.html"]:first-child { display: none; } }

/* Guias na home: seção clara para alternar com os blocos escuros */
.guides-home { background: var(--ivory, #f5eee6); color: var(--wine, #2b111b); }
.guides-home .section-label { color: #925939; }
.guides-home .section-label::before { background: #925939; }
.guides-home .section-intro { border-bottom-color: rgba(81, 37, 42, .24); }
.guides-home .section-intro > p, .guides-home .service p { color: #604b4b; }
.guides-home .accent { color: #a5663f; }
.guides-home .service { border-bottom-color: rgba(81, 37, 42, .24); }
.guides-home .service-symbol { color: #a5663f; }
.guides-home .service-link::before { background: #a5663f; }
@media (hover: hover) and (pointer: fine) {
  .guides-home .service-link:hover h3, .guides-home .service-link:hover .service-symbol { color: #925939; }
}
.guides-home .service-link:focus-visible { outline-color: #a5663f; }
.guides-home .service-link:focus-visible h3, .guides-home .service-link:focus-visible .service-symbol { color: #925939; }

/* Botão fixo de WhatsApp (celular e tablet) */
.wa-fab { display: none; }
@media (max-width: 960px) {
  .wa-fab { position: fixed; z-index: 900; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 58px; height: 58px; border: 1px solid #e1ae86; border-radius: 50%; background: #e1ae86; color: #1d0b12; box-shadow: 0 10px 28px rgba(0, 0, 0, .35), inset 0 0 0 4px rgba(29, 11, 18, .08); text-decoration: none; opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2, .8, .2, 1); }
  .wa-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
  .wa-fab svg { width: 28px; height: 28px; }
  .wa-fab:active { transform: scale(.97); transition-duration: .12s; }
  .wa-fab::after { position: absolute; inset: -1px; border: 1px solid #e1ae86; border-radius: 50%; content: ""; opacity: 0; pointer-events: none; }
  .wa-fab.is-shown::after { animation: wa-ring 8s ease-out 1.2s infinite; }
  #analytics-consent:not([hidden]) ~ .wa-fab { display: none; }
}
@keyframes wa-ring {
  0% { opacity: .9; transform: scale(1); }
  14% { opacity: 0; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1.5); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab { transition: none; }
  .wa-fab.is-shown::after { animation: none; }
}
