/*
 * Health Fisioterapia e Bem Estar
 * Identidade premium aprovada: verde-eucalipto, azul institucional, rose gold e bege.
 */

:root {
  --navy: #112d49;
  --navy-deep: #091d31;
  --blue: #173e62;
  --eucalyptus: #29483f;
  --eucalyptus-deep: #203a34;
  --therapy: #bc7d70;
  --therapy-dark: #965f55;
  --therapy-pale: #f4e8e1;
  --rose: #bc7d70;
  --rose-deep: #915b52;
  --rose-soft: #dfb7aa;
  --champagne: #ead9cc;
  --beige: #f5eee7;
  --ivory: #fffaf6;
  --surface: #fbf6f0;
  --ink: #142b40;
  --muted: #6f6965;
  --line: rgba(145, 91, 82, 0.2);
  --shadow: 0 24px 70px rgba(22, 42, 59, 0.13);
  --shadow-soft: 0 14px 38px rgba(22, 42, 59, 0.08);
  --radius: 28px;
}

* {
  scrollbar-color: var(--rose-soft) var(--beige);
}

::selection {
  color: #fff;
  background: var(--rose);
}

html {
  background: var(--ivory);
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 3% 15%, rgba(188, 125, 112, 0.08), transparent 24rem),
    var(--ivory);
  font-family: "DM Sans", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(17, 45, 73, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 45, 73, 0.018) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.container {
  width: min(1180px, calc(100% - 48px));
}

h1,
h2,
h3,
.brand b {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 em,
h2 em {
  color: var(--rose);
  font-weight: inherit;
}

p {
  line-height: 1.72;
}

a {
  text-underline-offset: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose-deep);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.light {
  color: var(--champagne);
}

.button {
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid var(--rose);
  border-radius: 999px;
  color: #fff;
  background: var(--rose);
  box-shadow: 0 10px 28px rgba(150, 95, 85, 0.2);
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  border-color: var(--eucalyptus);
  background: var(--eucalyptus);
  box-shadow: 0 14px 34px rgba(32, 58, 52, 0.22);
  transform: translateY(-2px);
}

.button.button-outline {
  color: var(--navy);
  border-color: rgba(17, 45, 73, 0.35);
  background: rgba(255, 250, 246, 0.8);
  box-shadow: none;
}

.button.button-outline:hover,
.button.button-outline:focus-visible {
  color: #fff;
  border-color: var(--eucalyptus);
  background: var(--eucalyptus);
}

.button.button-light {
  color: var(--navy);
  border-color: var(--champagne);
  background: var(--ivory);
  box-shadow: 0 12px 30px rgba(4, 18, 32, 0.17);
}

.button.button-light:hover,
.button.button-light:focus-visible {
  color: #fff;
  border-color: var(--rose);
  background: var(--rose);
}

.text-link {
  color: var(--rose-deep);
  font-weight: 800;
}

/* Cabeçalho e navegação */
.site-header {
  height: 82px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 246, 0.94);
  box-shadow: 0 8px 30px rgba(17, 45, 73, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 82px;
  min-height: 82px;
  gap: clamp(18px, 2vw, 28px);
}

.site-header .brand {
  flex: 0 0 auto;
  width: 128px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(145, 91, 82, 0.12);
  border-radius: 12px;
  background: #eee2d8;
  box-shadow: 0 7px 20px rgba(17, 45, 73, 0.07);
}

.site-header .brand img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  background: #eee2d8;
}

.brand > span {
  display: none;
}

#main-nav {
  gap: clamp(16px, 1.65vw, 25px);
}

#main-nav > a,
.nav-accesses-toggle {
  position: relative;
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#main-nav > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 2px;
  background: var(--rose);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

#main-nav > a:hover,
#main-nav > a.active,
#main-nav > a[aria-current="page"] {
  color: var(--rose-deep);
}

#main-nav > a:hover::after,
#main-nav > a.active::after,
#main-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 46px;
  padding-inline: 21px;
  color: #fff !important;
  border-color: var(--eucalyptus);
  background: var(--eucalyptus);
  box-shadow: 0 10px 24px rgba(32, 58, 52, 0.2);
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--rose);
  background: var(--rose);
}

.nav-accesses-menu {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.nav-accesses-menu a:hover {
  background: var(--therapy-pale);
}

.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--beige);
}

.menu-toggle i {
  background: var(--navy);
}

/* Home */
.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 52px 0 64px;
  background:
    radial-gradient(circle at 82% 18%, rgba(188, 125, 112, 0.19), transparent 22rem),
    linear-gradient(120deg, var(--ivory) 0%, var(--beige) 62%, #ead9cd 130%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(188, 125, 112, 0.2);
  border-radius: 50%;
}

.hero::before {
  top: -160px;
  right: -80px;
  width: 440px;
  height: 440px;
}

.hero::after {
  right: 18%;
  bottom: -210px;
  width: 390px;
  height: 390px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(42px, 6vw, 78px);
  align-items: center;
  padding-block: 0;
}

.hero-copy h1 {
  max-width: 700px;
  margin: 17px 0 21px;
  color: var(--navy);
  font-size: clamp(3.25rem, 5.25vw, 4.9rem);
  line-height: 0.97;
}

.hero-copy .lead {
  max-width: 610px;
  color: #625f5c;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

.hero-actions {
  gap: 12px;
  margin-top: 27px;
}

.hero-meta {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(145, 91, 82, 0.2);
  color: var(--navy);
}

.hero-meta span::before {
  background: var(--rose);
}

.hero-media {
  position: relative;
  height: clamp(430px, 56vh, 492px);
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(234, 217, 204, 0.32);
  border-radius: 38px 38px 104px 38px;
  background:
    radial-gradient(circle at 76% 20%, rgba(188, 125, 112, 0.34), transparent 16rem),
    linear-gradient(145deg, var(--eucalyptus-deep), var(--eucalyptus));
  box-shadow: 0 28px 72px rgba(32, 58, 52, 0.22);
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(234, 217, 204, 0.22);
  border-radius: 27px 27px 82px 27px;
}

.hero-media::after {
  display: none;
}

.hero-photo.owner-photo-slot {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: var(--eucalyptus-deep) !important;
  box-shadow: none !important;
}

.hero-photo.owner-photo-slot::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(32, 58, 52, 0.38));
}

.hero-photo.owner-photo-slot img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 50% 56% !important;
  filter: saturate(0.94) contrast(1.02) !important;
}

.hero-logo {
  position: absolute !important;
  inset: auto auto 24px 24px !important;
  z-index: 4;
  width: min(38%, 170px) !important;
  padding: 8px !important;
  border: 1px solid rgba(255, 250, 246, 0.34) !important;
  border-radius: 14px !important;
  background: rgba(255, 250, 246, 0.96) !important;
  box-shadow: 0 22px 55px rgba(4, 18, 32, 0.26) !important;
  opacity: 1 !important;
  transform: none;
}

.hero-logo img {
  width: 100% !important;
  height: auto !important;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: none;
  filter: none !important;
}

.services-home,
.pilates-feature,
.about-section,
.service-details,
.location,
.contact-form-section {
  background: var(--ivory);
}

.services-home,
.partners,
.pilates-feature,
.homecare-highlight,
.about-section,
.service-details,
.service-partners,
.professional-home,
.professional-section,
.location,
.schedule-section,
.contact-form-section {
  padding-top: 92px;
  padding-bottom: 92px;
}

.section-heading h2,
.feature-copy h2,
.partners-copy h2,
.homecare-highlight h2,
.home-cta h2,
.about-section h2,
.professional-copy h2,
.location-info h2,
.schedule-section h2,
.contact-form-section h2 {
  font-size: clamp(2.2rem, 4vw, 3.65rem);
  line-height: 1.04;
}

.service-grid {
  gap: 18px;
}

.service-grid article {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fffdfa, var(--beige));
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-grid article::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(188, 125, 112, 0.25);
  border-radius: 50%;
}

.service-grid article:hover {
  border-color: rgba(188, 125, 112, 0.52);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-grid .service-homecare {
  color: #fff;
  border-color: rgba(234, 217, 204, 0.16);
  background: linear-gradient(145deg, var(--eucalyptus-deep), var(--eucalyptus));
  box-shadow: 0 18px 42px rgba(32, 58, 52, 0.18);
}

.service-grid .service-homecare:hover {
  border-color: rgba(234, 217, 204, 0.32);
  box-shadow: 0 24px 54px rgba(32, 58, 52, 0.24);
}

.service-grid article > span {
  display: grid;
  width: 39px;
  height: 39px;
  margin-bottom: 24px;
  border-radius: 50%;
  place-items: center;
  color: #fff;
  background: var(--rose);
  font-size: 0.72rem;
  font-weight: 800;
}

.service-grid h3 {
  font-size: 1.55rem;
}

.service-grid p {
  color: var(--muted);
}

.partners {
  position: relative;
  overflow: hidden;
  color: #f8eee8;
  background:
    radial-gradient(circle at 90% 10%, rgba(188, 125, 112, 0.3), transparent 23rem),
    linear-gradient(125deg, var(--eucalyptus-deep), var(--eucalyptus));
}

.partners::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(234, 217, 204, 0.16);
  border-radius: 50%;
}

.partners-copy h2,
.partners-copy p {
  color: #fff8f3;
}

.service-pills span,
.partner-list article {
  border-color: rgba(234, 217, 204, 0.24);
  background: rgba(255, 250, 246, 0.08);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.partner-list article b,
.partner-list article span {
  color: #fff8f3;
}

.partner-list .partner-aampesp img,
.service-partners-inner > img {
  border: 6px solid rgba(255, 250, 246, 0.82);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.pilates-feature {
  background:
    linear-gradient(90deg, rgba(188, 125, 112, 0.045), transparent 35%),
    var(--ivory);
}

.feature-photos figure {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--beige);
  box-shadow: var(--shadow-soft);
}

.feature-photos img {
  object-fit: cover;
}

.homecare-highlight {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(130deg, rgba(32, 58, 52, 0.99), rgba(41, 72, 63, 0.96)),
    var(--eucalyptus-deep);
}

.homecare-highlight::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  border: 80px solid rgba(188, 125, 112, 0.11);
  border-radius: 50%;
}

.homecare-highlight h2,
.homecare-highlight p,
.homecare-card,
.homecare-card li {
  color: #fff8f3;
}

.homecare-card {
  border: 1px solid rgba(234, 217, 204, 0.23);
  border-radius: 28px;
  background: rgba(255, 250, 246, 0.07);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.homecare-card li::before,
.credential-list li::before {
  color: var(--rose-soft);
}

.home-cta,
.gallery-bottom {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--rose-deep), var(--rose));
}

.home-cta::after,
.gallery-bottom::after {
  content: "";
  position: absolute;
  top: -130px;
  right: 5%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 250, 246, 0.25);
  border-radius: 50%;
}

.home-cta h2,
.gallery-bottom h2,
.home-cta .eyebrow,
.gallery-bottom .eyebrow {
  color: #fffaf6;
}

/* Páginas internas */
.page-hero,
.gallery-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 70px;
  background:
    radial-gradient(circle at 82% 0%, rgba(188, 125, 112, 0.34), transparent 22rem),
    linear-gradient(125deg, var(--eucalyptus-deep), var(--eucalyptus));
}

.page-hero::after,
.gallery-hero::after {
  content: "";
  position: absolute;
  top: -190px;
  right: -90px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(234, 217, 204, 0.18);
  border-radius: 50%;
}

.page-hero h1,
.gallery-hero h1 {
  max-width: 920px;
  color: #fffaf6;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1;
}

.page-hero p:not(.eyebrow),
.gallery-hero p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(255, 250, 246, 0.78);
  font-size: 1.08rem;
}

.about-intro-grid > img,
.contact-logo {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--beige);
  box-shadow: var(--shadow-soft);
}

.about-values article,
.contact-list article,
.schedule-card,
.contact-form,
.service-partners-inner,
.partner-words b {
  border-color: var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fffdfa, var(--beige));
  box-shadow: var(--shadow-soft);
}

.about-values b,
.contact-list b,
.schedule-card dt,
.contact-form label {
  color: var(--navy);
}

.professional-home,
.professional-section {
  background:
    radial-gradient(circle at 4% 10%, rgba(188, 125, 112, 0.11), transparent 25rem),
    var(--beige);
}

.professional-photo.owner-photo-slot {
  min-height: 520px;
  border: 1px solid rgba(188, 125, 112, 0.34);
  border-radius: 32px;
  overflow: hidden;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.page-sobre .professional-photo.owner-photo-slot {
  min-height: 0;
}

.professional-photo.owner-photo-slot::after {
  display: none;
}

.professional-photo.owner-photo-slot img {
  width: 100% !important;
  height: 100% !important;
  min-height: 520px;
  display: block;
  object-fit: cover !important;
  object-position: 50% 44% !important;
  filter: saturate(0.96) contrast(1.015);
}

.page-sobre .professional-photo.owner-photo-slot img {
  min-height: 0;
  aspect-ratio: 3 / 4;
  object-position: 50% 31% !important;
}

.professional-role {
  color: var(--rose-deep);
}

.professional-role-specialties {
  color: var(--rose-deep);
}

.detail-list {
  gap: 16px;
}

.detail-list article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fffdfa, var(--beige));
  box-shadow: var(--shadow-soft);
}

.detail-list article > span {
  color: var(--rose-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
}

.detail-list h2 {
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.detail-list li,
.service-pills span {
  color: var(--navy);
  border-color: rgba(188, 125, 112, 0.18);
  background: rgba(244, 232, 225, 0.78);
}

.service-partners {
  background: var(--beige);
}

.contact-hero {
  padding: 84px 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(188, 125, 112, 0.2), transparent 22rem),
    linear-gradient(125deg, var(--ivory), var(--beige));
}

.contact-hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  align-items: center;
}

.contact-hero h1 {
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.15rem);
  line-height: 1;
}

.contact-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-logo img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  border-radius: 16px;
}

.contact-photo.owner-photo-slot {
  width: min(100%, 410px);
  aspect-ratio: 4 / 5;
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(188, 125, 112, 0.34);
  border-radius: 32px 32px 88px 32px;
  background: var(--beige);
  box-shadow: var(--shadow);
}

.contact-photo.owner-photo-slot::after {
  display: none;
}

.contact-photo.owner-photo-slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 55%;
  filter: saturate(0.96) contrast(1.015);
}

.map-frame {
  overflow: hidden;
  border: 8px solid var(--beige);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.location-info > h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.contact-list a,
.instagram-link {
  color: var(--rose-deep);
}

.schedule-section {
  background: var(--beige);
}

.schedule-row {
  border-color: rgba(145, 91, 82, 0.16);
}

.schedule-row dd.open-by-appointment {
  color: var(--rose-deep);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  border-color: rgba(145, 91, 82, 0.23);
  border-radius: 14px;
  background: rgba(255, 250, 246, 0.88);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(188, 125, 112, 0.13);
}

.form-success {
  color: var(--navy);
  border-color: rgba(188, 125, 112, 0.35);
  background: var(--therapy-pale);
}

.gallery-section {
  padding: 72px 0 88px;
  background: var(--ivory);
}

.gallery-empty {
  min-height: 390px !important;
  border: 1px dashed rgba(145, 91, 82, 0.32);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 40%, rgba(188, 125, 112, 0.12), transparent 14rem),
    linear-gradient(145deg, #fffdfa, var(--beige));
  box-shadow: inset 0 0 0 12px rgba(255, 250, 246, 0.5);
}

/* Rodapé e elementos flutuantes */
.site-footer {
  color: rgba(255, 250, 246, 0.75);
  border-top: 1px solid rgba(234, 217, 204, 0.12);
  background:
    radial-gradient(circle at 8% 100%, rgba(188, 125, 112, 0.18), transparent 20rem),
    var(--eucalyptus-deep);
}

.site-footer .brand {
  width: 215px;
}

.site-footer .brand img {
  width: 205px;
  height: 108px;
  padding: 7px;
  border-radius: 16px;
  background: var(--ivory);
}

.site-footer a,
.site-footer button {
  color: rgba(255, 250, 246, 0.82);
}

.site-footer a:hover,
.site-footer button:hover {
  color: var(--rose-soft);
}

.footer-bottom {
  border-color: rgba(234, 217, 204, 0.13);
}

.whatsapp-float {
  border: 6px solid rgba(255, 250, 246, 0.88);
  box-shadow: 0 16px 36px rgba(9, 29, 49, 0.24);
}

dialog {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.error-page {
  min-height: calc(100vh - 94px);
  color: var(--ink);
  background:
    radial-gradient(circle at 75% 25%, rgba(188, 125, 112, 0.16), transparent 22rem),
    var(--beige);
}

.error-page h1 {
  max-width: 720px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.98;
}

@media (max-width: 1100px) {
  .site-header {
    height: 78px;
  }

  .header-inner {
    height: 78px;
    min-height: 78px;
    gap: 17px;
  }

  .site-header .brand {
    width: 116px;
    height: 65px;
  }

  .site-header .brand img {
    width: 100%;
    height: 100%;
  }

  #main-nav {
    gap: 16px;
  }

  #main-nav > a,
  .nav-accesses-toggle {
    font-size: 0.69rem;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 16px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0 58px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
    gap: 42px;
  }

  .hero-media {
    height: 430px;
    min-height: 430px;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .partners-grid,
  .feature-grid,
  .professional-grid,
  .about-intro-grid,
  .about-grid,
  .homecare-grid,
  .contact-hero-grid,
  .location-grid,
  .schedule-grid,
  .contact-form-grid,
  .service-partners-inner {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-media {
    width: min(620px, 100%);
    height: 420px;
    min-height: 420px;
    margin-inline: auto;
  }

  .professional-photo.owner-photo-slot {
    width: min(430px, 100%);
    min-height: 520px;
    margin-inline: auto;
  }

  .page-sobre .professional-photo.owner-photo-slot {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .container {
    width: min(100% - 30px, 680px);
  }

  .site-header {
    height: 70px !important;
    min-height: 70px;
  }

  .header-inner {
    height: 70px !important;
    min-height: 70px !important;
    padding-block: 5px !important;
  }

  .site-header .brand {
    width: 107px !important;
    height: 60px !important;
    border-radius: 10px;
    box-shadow: 0 5px 14px rgba(17, 45, 73, 0.06);
  }

  .site-header .brand img {
    width: 100% !important;
    height: 100% !important;
    padding: 0;
    border-radius: inherit;
  }

  .site-footer .brand {
    width: 130px !important;
  }

  .site-footer .brand img {
    width: 125px !important;
    height: 84px !important;
    padding: 6px;
  }

  #main-nav {
    top: calc(100% + 1px) !important;
    right: 0 !important;
    left: 0 !important;
    gap: 0 !important;
    padding: 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0 0 22px 22px !important;
    background: rgba(255, 250, 246, 0.985) !important;
    box-shadow: 0 20px 42px rgba(17, 45, 73, 0.14) !important;
  }

  #main-nav > a,
  .nav-accesses-toggle {
    min-height: 48px;
    padding: 14px 12px !important;
    color: var(--navy) !important;
    border-bottom: 1px solid rgba(145, 91, 82, 0.1) !important;
    font-size: 0.77rem !important;
  }

  #main-nav > a::after {
    display: none;
  }

  .nav-accesses-menu {
    border-radius: 14px !important;
    background: var(--beige) !important;
  }

  .hero {
    min-height: 0 !important;
    display: block !important;
    padding: 32px 0 44px !important;
    background:
      radial-gradient(circle at 92% 8%, rgba(188, 125, 112, 0.2), transparent 15rem),
      linear-gradient(155deg, var(--ivory), var(--beige)) !important;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 27px !important;
    padding-block: 0 !important;
  }

  .hero-copy h1 {
    margin-block: 14px 17px;
    font-size: clamp(2.48rem, 11.7vw, 3.05rem) !important;
    line-height: 0.98 !important;
    overflow-wrap: normal;
  }

  .hero-copy h1 em {
    display: block;
  }

  .hero-copy .lead {
    font-size: 0.97rem;
    line-height: 1.62;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 9px;
    margin-top: 22px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 49px;
    padding: 11px 10px;
    font-size: 0.76rem;
  }

  .hero-actions .button:first-child {
    grid-column: 1 / -1;
  }

  .hero-meta {
    display: grid;
    gap: 8px;
    margin-top: 22px;
    padding-top: 17px;
  }

  .hero-media {
    width: 100% !important;
    max-width: 390px !important;
    height: 238px !important;
    min-height: 238px !important;
    border-radius: 26px 26px 62px 26px !important;
    box-shadow: 0 20px 50px rgba(9, 29, 49, 0.18);
  }

  .hero-media::before {
    inset: 12px !important;
    border-radius: 18px 18px 50px 18px !important;
  }

  .hero-media::after {
    right: 20px;
    bottom: 14px;
    left: 20px;
    font-size: 0.5rem;
    letter-spacing: 0.11em;
  }

  .hero-photo.owner-photo-slot {
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-photo.owner-photo-slot img {
    object-position: 50% 38% !important;
  }

  .hero-logo {
    inset: auto auto 12px 12px !important;
    width: 118px !important;
    padding: 6px !important;
    border-radius: 10px !important;
    transform: none !important;
  }

  .hero-logo img {
    height: auto !important;
    max-height: 70px !important;
    border-radius: 6px;
  }

  .services-home,
  .partners,
  .pilates-feature,
  .homecare-highlight,
  .about-section,
  .service-details,
  .service-partners,
  .professional-home,
  .professional-section,
  .location,
  .schedule-section,
  .contact-form-section {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .page-hero,
  .gallery-hero,
  .contact-hero {
    padding: 50px 0 48px !important;
  }

  .page-hero h1,
  .gallery-hero h1,
  .contact-hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem) !important;
  }

  .section-heading h2,
  .feature-copy h2,
  .partners-copy h2,
  .homecare-highlight h2,
  .home-cta h2,
  .about-section h2,
  .professional-copy h2,
  .location-info h2,
  .schedule-section h2,
  .contact-form-section h2 {
    font-size: clamp(2.05rem, 10vw, 3rem) !important;
  }

  .service-grid,
  .service-grid-five,
  .about-values,
  .feature-photos,
  .contact-list,
  .form-row {
    grid-template-columns: 1fr !important;
  }

  .service-grid article,
  .detail-list article,
  .contact-list article,
  .contact-form,
  .schedule-card {
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .detail-list article {
    grid-template-columns: 1fr !important;
  }

  .professional-photo.owner-photo-slot {
    width: min(100%, 300px) !important;
    min-height: 400px !important;
    border-radius: 24px !important;
  }

  .professional-photo.owner-photo-slot img {
    height: 100% !important;
    aspect-ratio: auto;
    object-position: 50% 43% !important;
  }

  .page-sobre .professional-photo.owner-photo-slot {
    width: min(100%, 210px) !important;
    min-height: 280px !important;
    aspect-ratio: 3 / 4;
  }

  .page-sobre .professional-photo.owner-photo-slot img {
    aspect-ratio: 3 / 4;
    object-position: 50% 31% !important;
  }

  .contact-logo {
    width: min(100%, 340px);
    margin-inline: auto;
  }

  .contact-photo.owner-photo-slot {
    width: min(100%, 310px);
    margin-inline: auto;
    border-radius: 24px 24px 62px 24px;
  }

  .contact-photo.owner-photo-slot img {
    object-position: 50% 54%;
  }

  .gallery-empty {
    min-height: 280px !important;
    border-radius: 24px;
  }

  .home-cta,
  .gallery-bottom {
    padding: 52px 0 !important;
  }

  .cta-inner {
    gap: 24px !important;
  }

  .cta-inner .button {
    width: 100%;
  }

  .footer-grid {
    gap: 24px !important;
  }

  .footer-grid nav {
    gap: 14px !important;
  }
}

/* Contact page: consistent editorial rhythm across desktop, tablet and mobile. */
.page-contato .location-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-contato .location-info > h2,
.page-contato .schedule-section h2,
.page-contato .contact-form-section h2 {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-contato .location-info > h2 {
  max-width: 14ch;
  margin-bottom: 18px;
  line-height: 1.02;
  text-wrap: initial;
}

.page-contato .location-info > p:not(.eyebrow) {
  margin: 0 0 20px;
  color: var(--muted);
}

.page-contato .location-info > .button {
  width: auto;
  max-width: 100%;
  margin: 0;
}

.page-contato .contact-list {
  width: 100%;
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.page-contato .contact-list article {
  min-width: 0;
  min-height: 78px;
  padding: 15px 18px !important;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid rgba(145, 91, 82, 0.16) !important;
  border-radius: 18px !important;
  background: linear-gradient(145deg, #fffdfa, rgba(244, 232, 225, 0.72));
  box-shadow: 0 10px 28px rgba(39, 25, 20, 0.055);
}

.page-contato .contact-list small {
  line-height: 1.3;
}

.page-contato .contact-list b,
.page-contato .contact-list b a {
  min-width: 0;
  font-size: 0.96rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.page-contato .contact-list article > a,
.page-contato .contact-list article > span {
  line-height: 1.45;
}

.page-contato .schedule-card {
  padding: 0 !important;
  overflow: hidden;
}

.page-contato .schedule-row {
  min-width: 0;
  padding: 17px 20px;
  grid-template-columns: minmax(145px, 0.72fr) minmax(0, 1.28fr);
  gap: 20px;
}

.page-contato .schedule-row dt,
.page-contato .schedule-row dd {
  min-width: 0;
  margin: 0;
}

.page-contato .contact-form {
  min-width: 0;
}

.page-contato .form-row,
.page-contato .form-field {
  min-width: 0;
}

.page-contato .contact-form input,
.page-contato .contact-form select,
.page-contato .contact-form textarea {
  width: 100%;
  min-width: 0;
}

.page-contato .whatsapp-float {
  display: none !important;
}

@media (min-width: 1024px) {
  .page-contato .location,
  .page-contato .schedule-section,
  .page-contato .contact-form-section {
    padding-top: clamp(82px, 7vw, 104px);
    padding-bottom: clamp(82px, 7vw, 104px);
  }

  .page-contato .location-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: clamp(48px, 5vw, 72px);
    align-items: stretch;
  }

  .page-contato .map-frame {
    width: 100%;
    height: 100% !important;
    min-height: 600px;
    border-width: 1px;
  }

  .page-contato .map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    display: block;
  }

  .page-contato .location-info > h2 {
    max-width: none;
    font-size: clamp(2.55rem, 3.25vw, 3rem);
  }

  .page-contato .schedule-grid,
  .page-contato .contact-form-grid {
    grid-template-columns: minmax(0, 0.76fr) minmax(540px, 1.24fr);
    gap: clamp(52px, 6vw, 78px);
    align-items: start;
  }

  .page-contato .schedule-section h2 {
    max-width: 11.5ch;
    font-size: clamp(2.55rem, 3.8vw, 3.45rem);
    line-height: 1.03;
  }

  .page-contato .contact-form-section h2 {
    max-width: 14ch;
    font-size: clamp(2.55rem, 3.8vw, 3.45rem);
    line-height: 1.03;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-contato .location,
  .page-contato .schedule-section,
  .page-contato .contact-form-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .page-contato .location-grid,
  .page-contato .schedule-grid,
  .page-contato .contact-form-grid {
    width: min(100%, 760px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 44px;
  }

  .page-contato .map-frame {
    width: 100%;
    height: 420px !important;
  }

  .page-contato .location-info > h2,
  .page-contato .schedule-section h2,
  .page-contato .contact-form-section h2 {
    max-width: 13ch;
    font-size: clamp(2.45rem, 5.8vw, 3rem) !important;
    line-height: 1.04;
  }

  .page-contato .contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-contato .contact-form-intro {
    max-width: 640px;
  }
}

@media (max-width: 767px) {
  .page-contato .location-info > h2 {
    max-width: none;
    font-size: clamp(2rem, 7.7vw, 2.7rem) !important;
    line-height: 1.04;
  }

  .page-contato .schedule-section h2,
  .page-contato .contact-form-section h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 7.7vw, 2.7rem) !important;
    line-height: 1.04;
  }

  .page-contato .location-info > .button {
    width: fit-content !important;
    min-height: 50px;
    padding-inline: 22px;
  }

  .page-contato .map-frame {
    height: clamp(260px, 55vw, 340px) !important;
  }

  .page-contato .contact-list {
    gap: 10px;
  }

  .page-contato .contact-list article {
    min-height: 0;
    padding: 15px 17px !important;
  }

  .page-contato .schedule-row {
    padding: 15px 16px;
    grid-template-columns: minmax(105px, 0.72fr) minmax(0, 1.28fr);
    gap: 12px;
  }

  .page-contato .contact-form {
    padding: 22px !important;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

