/* Ajustes visuais locais: escala, alinhamento e chamadas de contato. */
:root {
  --color-whatsapp: #075e54;
  --color-whatsapp-hover: #064c44;
  --whats: var(--color-whatsapp);
  --whatsapp: var(--color-whatsapp);
  --booking-whatsapp: var(--color-whatsapp);
  --contact-white: #fff;
}

.header-inner { gap: 1rem; flex-wrap: nowrap; }
.header-nav-list { gap: clamp(.8rem, 1.2vw, 1.1rem); }
.header-nav-link { white-space: nowrap; }
.btn-whatsapp-header { margin-left: auto; }
.header-toggle-btn { flex: 0 0 44px; width: 44px; height: 44px; }
.header-brand { min-width: 0; }

.btn-whatsapp-header,
.mobile-menu-dropdown .mobile-whatsapp-cta,
#hero-cta-btn,
.btn-whatsapp-modal,
.whatsapp-float,
.booking-whatsapp {
  color: var(--contact-white) !important;
  background: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
}
.btn-whatsapp-header:hover,
.mobile-menu-dropdown .mobile-whatsapp-cta:hover,
#hero-cta-btn:hover,
.btn-whatsapp-modal:hover,
.whatsapp-float:hover,
.booking-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  border-color: var(--color-whatsapp-hover);
}
.btn-whatsapp-header svg,
#hero-cta-btn svg,
.btn-whatsapp-modal svg,
.whatsapp-float svg { color: var(--contact-white); fill: currentColor; flex-shrink: 0; }
.btn, .cta, .button { max-width: 100%; white-space: normal; text-align: center; line-height: 1.45; }
.btn-text-desktop, .btn-text-mobile { min-width: 0; }

.hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2.5rem, 5vw, 4rem); }
.hero-content { min-width: 0; }
.hero-tagline { margin-bottom: 1.25rem; }
.hero-tagline .badge { font-size: .85rem; line-height: 1.4; }
.hero-title { width: 100%; max-width: 36rem; margin-bottom: 1.5rem; overflow-wrap: normal; }
.hero-title-service { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.4; margin-bottom: .9rem; text-wrap: balance; }
.hero-title-tagline { font-size: clamp(3rem, 4.7vw, 4.4rem); line-height: 1.08; text-wrap: balance; }
.hero-text { max-width: 34rem; font-size: 1.075rem; line-height: 1.75; text-align: left; margin-bottom: 1.75rem; }
.hero-cta { max-width: 100%; }
.hero-cta .btn { font-size: 1rem; padding: .9rem 1.5rem; }
.first-contact-intro h2 { font-size: clamp(2rem, 3vw, 2.8rem); line-height: 1.2; }

.booking-shell > .form-privacy {
  max-width: 48rem;
  margin: 1.5rem auto 0;
  padding-inline: 1rem;
  text-align: center;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.booking-terms-page p { overflow-wrap: anywhere; }
#btn-cookie-page-reset { background: var(--brand-yellow) !important; }

@media (max-width: 1150px) {
  .header-nav { display: none; }
  .header-toggle-btn { display: inline-flex; order: 2; }
  .header-inner > .btn-whatsapp-header,
  .header-inner > .appointment-header-cta { order: 3; margin-left: 0; }
  .header-brand { margin-right: auto; }
  .mobile-menu-dropdown { text-align: center; }
}

@media (max-width: 1050px) {
  .page-shell .hero, .page-shell .bio-header,
  .clinic-hero, .contact-guide, .cta-band,
  .contact-expectation, .map-copy, .photo-plan,
  .booking-intro { text-align: center; }
  .page-shell .hero .intro, .booking-lead { margin-inline: auto; }
  .legal-section p, .legal-section li, .legal-callout p,
  .legal-subtitle, .legal-card-content > p,
  .cookie-management-panel > p,
  .booking-terms-page .card { text-align: center; }
  .legal-header { text-align: center; }
  .legal-breadcrumb, .legal-meta, .legal-callout h4,
  .cookie-panel-actions { justify-content: center; }
  .cookie-status-display { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .hero-content { align-items: center; text-align: center; order: 1; }
  .hero-title, .hero-text { margin-inline: auto; }
  .hero-text { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-media { order: 2; }
  .hero-floating-badge { text-align: center; }
  .about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .about-content { display: flex; flex-direction: column; align-items: center; order: 1; }
  .about-media { order: 2; width: 100%; margin-top: 0; }
  .about-content > .section-tag { align-self: center; }
  .about-title, .about-subtitle, .about-paragraphs,
  .about-paragraphs p { text-align: center; }
  .about-content > .btn { align-self: center; order: initial; }
  .about-paragraphs { max-width: 44rem; }
  .first-contact-shell { grid-template-columns: minmax(0, 1fr); text-align: center; gap: 2rem; }
  .first-contact-intro h2, .first-contact-intro p { margin-inline: auto; }
  .first-contact-steps li { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
  .section-header, .section-subtitle, .clinic-info,
  .consultorio-text, .contact-card-info, .reference-points,
  .authority-list, .authority-item, .faq-question,
  .faq-panel p, .footer-desc, .site-footer .footer-grid,
  .site-footer p, .site-footer .footer-links,
  .cookie-text, .cookie-text p { text-align: center; }
  .contact-card { justify-content: center; }
  .authority-card { align-items: center; text-align: center; }
  .footer-contact-item { justify-content: center; }
  .footer-logo { margin-inline: auto; }
  .faq-question { flex: 1; }
}

@media (max-width: 768px) {
  .section.hero-section { padding-top: 6.75rem; }
  .btn-whatsapp-header { min-width: 44px; min-height: 44px; justify-content: center; }
  .hero-title-tagline { font-size: clamp(2.75rem, 9vw, 3.6rem); }
  .hero-title-service { font-size: 1.25rem; }
  .hero-title { max-width: 32rem; }
  .hero-text { font-size: 1rem; line-height: 1.7; }
  .hero-cta { width: 100%; max-width: 26rem; }
  .hero-cta .btn { width: 100%; padding-inline: 1rem; }
  .whatsapp-float { max-width: calc(100vw - 2rem); min-width: 0; padding-inline: 1rem; gap: .5rem; }
  .whatsapp-float-label { font-size: .875rem; line-height: 1.35; text-align: center; }
  .booking-emergency { text-align: center; }
}
