/* Paleta Clínica Hartmann */
:root {
  --color-bg: #F7F5F2;
  --color-surface: #E9EFF0;
  --color-text: #000000;
  --color-muted: #43575c;
  --color-accent: #B5697A;
  --color-on-accent: #FFFFFF;
  --color-detail: #DBBC68;
}

body { background: var(--color-bg); }
.site-header { background: #FFFFFF; border-bottom-color: #dce3e4; }
.brand img { max-height: 96px; }
.button { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-on-accent); }
.button--outline { background: transparent; color: var(--color-accent); }
.eyebrow { color: var(--color-accent); }
.text-link { color: var(--color-accent); }
.section--soft, .connection { background: var(--color-surface); }
.team-card { border-top-color: var(--color-detail); }
.card { border-bottom-color: #cbd6d8; }
.notice { border-left-color: var(--color-detail); }
.hero { background-color: #000000; }
.hero .eyebrow { color: var(--color-detail); }
.site-footer { background: #000000; }
.site-footer .copyright { border-top-color: #3f3f3f; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--color-accent); }
:focus-visible { outline-color: var(--color-detail); }

/* Chamada para conversa: mais compacta e com o rosé institucional. */
.connection {
  padding-block: 3.5rem;
  background: #B5697A;
}
.connection .eyebrow,
.connection h2,
.connection p { color: #000000; }
.connection__content { max-width: 900px; }
.connection h2 { margin-bottom: 1rem; }
.connection .button {
  margin-top: .25rem;
  background: #000000;
  border-color: #000000;
  color: #FFFFFF;
}
.connection .button:hover,
.connection .button:focus-visible { background: #617A80; border-color: #617A80; }
@media (max-width: 540px) {
  .connection { padding-block: 2.75rem; }
}

/* Chamada de atendimento com acabamento editorial. */
.connection { position: relative; isolation: isolate; overflow: hidden; padding-block: 5.25rem; background: linear-gradient(118deg, #9d5669 0%, #B5697A 54%, #c17a89 100%); }
.connection::before { content: ''; position: absolute; z-index: -1; width: min(440px, 38vw); height: 250px; right: 4%; bottom: -54px; background: url("../../fotos/logotipo/Logo_2027_M_Hartmann_Express_Clinic_vetorizado_page-0001-removebg-preview.png") right bottom / contain no-repeat; opacity: .13; filter: brightness(0) invert(1); }
.connection::after { content: ''; position: absolute; z-index: -1; width: 250px; height: 180px; left: -34px; top: 28px; background: radial-gradient(circle at 28% 56%, rgba(97,122,128,.98) 0 13px, transparent 14px), radial-gradient(circle at 53% 40%, rgba(255,255,255,.98) 0 10px, transparent 11px), radial-gradient(circle at 77% 58%, rgba(219,188,104,.98) 0 12px, transparent 13px); opacity: .9; }
.connection__content { position: relative; max-width: 800px; padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 1px solid #DBBC68; }
.connection .eyebrow { margin-bottom: 1rem; color: #DBBC68; }
.connection h2 { max-width: 20ch; color: #fff; font-size: clamp(2.4rem, 4.5vw, 4.2rem); line-height: 1.07; }
.connection p { max-width: 48rem; color: rgba(255,255,255,.88) !important; font-size: 1.04rem; }
.connection .button { min-height: 52px; margin-top: 1.15rem; padding: .75rem 1.45rem; border: 1px solid #DBBC68; border-radius: 999px; background: linear-gradient(135deg, #eed488, #DBBC68); color: #173e5d; font-size: .88rem; font-weight: 800; box-shadow: 0 10px 22px rgba(23,62,93,.2); transition: transform .22s ease, box-shadow .22s ease; }
.connection .button::after { content: '→'; margin-left: .55rem; font-size: 1.05em; }
.connection .button:hover, .connection .button:focus-visible { transform: translateY(-3px); border-color: #fff; background: #fff; box-shadow: 0 14px 28px rgba(23,62,93,.28); }

/* CTAs de continuidade nas seções da página inicial. */
.home-section-cta { display: flex; justify-content: center; margin-top: 2rem; }
.home-section-cta .button { min-height: 52px; padding: .76rem 1.45rem; border-radius: 8px; background: #B5697A; border-color: #B5697A; color: #fff; font-size: .9rem; box-shadow: 0 8px 18px rgba(23,62,93,.14); }
.home-section-cta .button:hover, .home-section-cta .button:focus-visible { background: #617A80; border-color: #617A80; }
.home-section-cta .button::before, .connection .button::before, .site-header .header__cta::before { content: ''; width: 1.05rem; height: 1.05rem; flex: 0 0 1.05rem; margin-right: .55rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20.5 3.5A11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5c-.3-.2-1.9-.9-2.2-1s-.5-.1-.7.2-.8 1-1 1.2-.4.2-.7.1a8 8 0 0 1-2.3-1.4 8.6 8.6 0 0 1-1.6-2c-.2-.3 0-.5.1-.7l.5-.6c.1-.2.1-.4 0-.6l-1-2.3c-.2-.5-.5-.4-.7-.4h-.6c-.2 0-.6.1-.9.4s-1.2 1.2-1.2 2.8 1.2 3.1 1.4 3.3c.2.2 2.4 3.7 5.8 5.1.8.3 1.4.6 1.9.7.8.3 1.5.2 2.1.1.6-.1 1.9-.8 2.2-1.6.3-.8.3-1.5.2-1.6s-.3-.2-.6-.4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.home-section-cta--proof { margin-top: 3rem; margin-bottom: 2.6rem; }
.home-section-cta--proof .button { border-radius: 6px; }
.home-section-cta--treatments { margin-top: 3rem; }
.home-section-cta--treatments .button, .home-section-cta--team .button { background: #f1d27b; border-color: #f1d27b; color: #173e5d; }
.home-section-cta--gallery { margin-top: .25rem; }
#equipe .home-section-cta { width: min(100%, 1200px); justify-content: flex-start; margin-right: auto; margin-left: auto; }
#resultados .home-section-cta { justify-content: flex-start; }
@media (min-width: 1440px) { #equipe .home-section-cta { width: min(100%, 1260px); } }
@media (min-width: 1800px) { #equipe .home-section-cta { width: min(100%, 1380px); } }
@media (max-width: 540px) { .connection { padding-block: 3.5rem; } .connection__content { padding-left: 1.15rem; } .connection::before { width: 250px; height: 180px; right: -35px; bottom: -40px; } .connection h2 { font-size: clamp(2.15rem, 11vw, 3.1rem); } }

/* Casos autorizados: composição limpa e institucional. */
#resultados { padding-top: 5rem; background: linear-gradient(135deg, #edf4f4 0%, #f7f5f2 100%); }
#resultados::before { content: none; }
#resultados .container { position: relative; z-index: 1; }
#resultados { padding-top: 2.25rem; }
#resultados .section-heading { max-width: 760px; margin-bottom: 2rem; }
#resultados .section-heading h2 { color: #173e5d; font-size: clamp(2.4rem, 4vw, 3.7rem); line-height: 1.08; }
#resultados .section-heading > p:not(.eyebrow) { max-width: 46rem; color: #43575c; font-size: 1rem; }
#resultados .results-grid { gap: 1.35rem; }
#resultados .results-carousel { overflow: hidden; }
#resultados .results-carousel__track { display: flex; align-items: flex-start; gap: 1.35rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
#resultados .results-carousel__track::-webkit-scrollbar { display: none; }
#resultados .results-video { position: relative; flex: 0 0 clamp(155px, 14vw, 210px); width: clamp(155px, 14vw, 210px); aspect-ratio: 9 / 16; overflow: hidden; scroll-snap-align: start; border-top: 3px solid #DBBC68; background: #000; box-shadow: 0 12px 26px rgba(23,62,93,.07); }
#resultados .results-video iframe { display: block; width: 100%; height: 100%; border: 0; }
#resultados .results-photo { flex: 0 0 clamp(155px, 14vw, 210px); width: clamp(155px, 14vw, 210px); aspect-ratio: 1; margin: 0; padding: 0; overflow: hidden; scroll-snap-align: start; border: 0; border-top: 3px solid #DBBC68; background: #000; box-shadow: 0 12px 26px rgba(23,62,93,.07); cursor: zoom-in; }
#resultados .results-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
#resultados .results-photo--landscape { aspect-ratio: 1650 / 953; }
#resultados .results-photo--portraits { aspect-ratio: 1614 / 975; }
.results-lightbox { width: min(92vw, 780px); max-width: none; max-height: 92vh; padding: .75rem; border: 0; background: #111; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.results-lightbox::backdrop { background: rgba(0,0,0,.76); }
.results-lightbox img { display: block; max-width: 100%; max-height: calc(92vh - 1.5rem); margin: 0 auto; object-fit: contain; }
.results-lightbox__close { position: absolute; top: .25rem; right: .25rem; display: grid; width: 2.25rem; height: 2.25rem; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.72); color: #fff; cursor: pointer; font-size: 1.8rem; line-height: 1; }
#resultados .results-carousel__controls { display: flex; justify-content: flex-end; gap: .55rem; margin-top: 1rem; }
#resultados .results-carousel__controls button { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #173e5d; border-radius: 50%; background: #fff; color: #173e5d; cursor: pointer; font-size: 1.25rem; transition: background-color .2s ease, color .2s ease; }
#resultados .results-carousel__controls button:hover, #resultados .results-carousel__controls button:focus-visible { background: #173e5d; color: #fff; }
#resultados .media-placeholder { min-height: 300px; border: 1px solid rgba(23,62,93,.16); border-top: 3px solid #DBBC68; background: #fff; box-shadow: 0 12px 26px rgba(23,62,93,.07); }
#resultados .media-placeholder::before { content: none; }
#resultados .media-placeholder::after { background: linear-gradient(145deg, rgba(219,188,104,.14), transparent 54%), linear-gradient(0deg, rgba(23,62,93,.07), transparent 40%); }
#resultados .legal-note { max-width: 820px; margin-top: 2rem; padding: 1rem 1.15rem; border-left: 2px solid #B5697A; background: rgba(255,255,255,.5); color: #43575c; }
@media (max-width: 540px) { #resultados { padding-top: 2rem; } #resultados .section-heading { margin-bottom: 2rem; } #resultados .results-video, #resultados .results-photo { flex-basis: min(62vw, 210px); width: min(62vw, 210px); } #resultados .media-placeholder { min-height: 240px; } }

/* Rodapé institucional. */
.site-footer {
  padding: 3.8rem 0 1.4rem;
  border-top: 4px solid #B5697A;
  background: #617A80;
  color: #FFFFFF;
}
.footer-grid { gap: 2.5rem; }
.footer-brand { display: inline-flex; margin: 0 0 1.15rem; }
.footer-brand img { display: block; width: min(220px, 100%); height: auto; max-height: 105px; object-fit: contain; object-position: left center; }
.site-footer h2 { margin-bottom: .8rem; color: #DBBC68; font-family: var(--font-body); font-size: .88rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.site-footer p,
.site-footer li { color: rgba(255,255,255,.76); line-height: 1.65; }
.site-footer a { text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: #DBBC68; }
.site-footer .copyright { margin-top: 2.75rem; border-top-color: rgba(97,122,128,.65); color: rgba(255,255,255,.58); }
.site-footer .footer-credit { margin-left: .45rem; white-space: nowrap; }
.site-footer .footer-credit a { color: inherit; text-decoration: underline; text-underline-offset: .16em; }
.site-footer .footer-credit a:hover, .site-footer .footer-credit a:focus-visible { color: #DBBC68; }
@media (max-width: 540px) {
  .site-footer { padding-top: 3rem; }
  .footer-grid { gap: 1.8rem; }
  .footer-brand img { width: 185px; }
}

/* Rodapé da home com acabamento premium. */
body:not([data-treatment]) .site-footer { position: relative; isolation: isolate; overflow: hidden; padding: 4.6rem 0 1.55rem; border-top: 2px solid #DBBC68; background: #617A80; }
body:not([data-treatment]) .site-footer::before { content: ''; position: absolute; z-index: -1; width: 390px; height: 250px; right: -45px; bottom: -85px; background: url("../../fotos/logotipo/Logo_2027_M_Hartmann_Express_Clinic_vetorizado_page-0001-removebg-preview.png") right bottom / contain no-repeat; opacity: .07; filter: brightness(0) invert(1); }
body:not([data-treatment]) .site-footer .footer-grid { grid-template-columns: 1.35fr repeat(3, 1fr); gap: 0; }
body:not([data-treatment]) .site-footer .footer-grid > div { min-height: 155px; padding: .25rem clamp(1.35rem, 3vw, 3rem); }
body:not([data-treatment]) .site-footer .footer-grid > div:first-child { padding-left: 0; }
body:not([data-treatment]) .site-footer .footer-grid > div:not(:first-child) { border-left: 1px solid rgba(219,188,104,.3); }
body:not([data-treatment]) .site-footer .footer-brand { margin-bottom: 1.35rem; }
body:not([data-treatment]) .site-footer .footer-brand img { width: min(235px, 100%); max-height: 110px; }
body:not([data-treatment]) .site-footer h2 { margin-bottom: .95rem; color: #DBBC68; font-size: .76rem; font-weight: 800; letter-spacing: .15em; }
body:not([data-treatment]) .site-footer .footer-grid > div:first-child h2 { color: #fff; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
body:not([data-treatment]) .site-footer p,
body:not([data-treatment]) .site-footer li { color: rgba(255,255,255,.79); line-height: 1.7; }
body:not([data-treatment]) .site-footer li + li { margin-top: .55rem; }
body:not([data-treatment]) .site-footer a { transition: color .2s ease; }
body:not([data-treatment]) .site-footer a:hover,
body:not([data-treatment]) .site-footer a:focus-visible { color: #DBBC68; }
body:not([data-treatment]) .site-footer .copyright { margin-top: 2.5rem; padding-top: 1.25rem; border-top-color: rgba(219,188,104,.35); color: rgba(255,255,255,.62); }
@media (max-width: 850px) { body:not([data-treatment]) .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; } body:not([data-treatment]) .site-footer .footer-grid > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 540px) { body:not([data-treatment]) .site-footer { padding-top: 3.5rem; } body:not([data-treatment]) .site-footer .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; } body:not([data-treatment]) .site-footer .footer-grid > div, body:not([data-treatment]) .site-footer .footer-grid > div:not(:first-child) { min-height: auto; padding: 0; border-left: 0; } }

/* Diferenciais — seção institucional em rosé. */
.connection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.75rem, 6vw, 5.5rem);
  background:
    radial-gradient(ellipse at 86% 8%, rgba(255, 235, 207, .3) 0, rgba(255, 235, 207, 0) 28rem),
    radial-gradient(ellipse at 3% 102%, rgba(57, 19, 34, .34) 0, rgba(57, 19, 34, 0) 31rem),
    linear-gradient(118deg, #602b42 0%, #914960 43%, #bb7082 100%);
  box-shadow: inset 0 1px rgba(248, 218, 149, .44), inset 0 -1px rgba(255, 255, 255, .16);
}
.connection::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 1rem;
  left: clamp(2rem, 19vw, 19rem);
  width: 260px;
  height: 185px;
  right: auto;
  bottom: auto;
  border: 0;
  background-position: left top;
  background-size: contain;
  opacity: .08;
  pointer-events: none;
}
.connection::after { content: none; }
.connection__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr);
  align-items: center;
  gap: clamp(2.75rem, 7vw, 7rem);
  max-width: 1120px;
  padding: 0;
  border: 0;
}
.connection .eyebrow {
  margin-bottom: .85rem;
  color: #f1d27b;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .17em;
}
.connection h2 {
  max-width: none;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(1.95rem, 2.7vw, 2.75rem);
  line-height: .98;
}
.connection h2 em { color: #f0cc6b; font-style: normal; }
.connection .connection__intro {
  max-width: 35rem;
  margin-bottom: 2.2rem;
  color: rgba(255,255,255,.9) !important;
  font-size: 1rem;
  line-height: 1.58;
}
.connection-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.45rem 1.7rem;
}
.connection-benefits article { display: grid; grid-template-columns: 2.15rem 1fr; gap: .7rem; align-items: start; }
.connection-benefit__icon {
  display: grid;
  width: 2.05rem;
  height: 2.05rem;
  place-items: center;
  border-radius: 5px;
  background: rgba(57, 32, 39, .34);
  color: #f1d27b;
}
.connection-benefit__icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}
.connection-benefits h3 {
  margin: .1rem 0 .28rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.25;
}
.connection-benefits p {
  margin: 0;
  color: rgba(255,255,255,.8) !important;
  font-size: .77rem;
  line-height: 1.5;
}
.connection__media { position: relative; margin: 0; }
.connection__media img {
  display: block;
  width: 100%;
  min-height: 415px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 18px;
  box-shadow: 0 22px 42px rgba(70, 31, 44, .2);
}
.connection__media figcaption {
  position: absolute;
  right: -1.15rem;
  bottom: 1.4rem;
  max-width: 15rem;
  padding: .85rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,.95);
  color: #6f4451;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 10px 22px rgba(70, 31, 44, .16);
}
.connection .button { margin-top: 2.1rem; border-radius: 6px; }

/* Diferenciais: composição mais compacta com a foto institucional da equipe. */
.connection { padding-block: clamp(3.15rem, 4.4vw, 4.35rem); }
.connection__content { gap: clamp(2.25rem, 5vw, 4.5rem); }
.connection h2 { margin-bottom: .8rem; }
.connection-benefits { gap: 1.05rem 1.3rem; }
.connection__media img { min-height: 360px; aspect-ratio: 4 / 5; object-position: center 68%; }
.connection__media figcaption { bottom: 1rem; }
@media (max-width: 540px) { .connection { padding-block: 2.8rem; } .connection-benefits { gap: 1rem; } .connection__media img { min-height: 330px; } }
@media (max-width: 850px) {
  .connection__content { grid-template-columns: 1fr; gap: 2.6rem; }
  .connection__media { width: min(100%, 470px); }
}
@media (max-width: 540px) {
  .connection { padding-block: 3.25rem; }
  .connection::before { top: -4.25rem; left: .8rem; width: 210px; height: 150px; }
  .connection-benefits { grid-template-columns: 1fr; gap: 1.2rem; }
  .connection__media img { min-height: 310px; }
  .connection__media figcaption { right: .85rem; bottom: .85rem; }
}

@media (max-width: 540px) {
  .connection { padding-block: 2.8rem; }
  .connection-benefits { gap: 1rem; }
  .connection__media img { min-height: 0; height: 285px; }
}

.connection__media img { min-height: 0; height: clamp(320px, 25vw, 390px); aspect-ratio: auto; }
@media (max-width: 540px) { .connection__media img { height: 285px; } }
