/* ==========================================================================
   Dra. Aline Scarabelli — Landing Page
   --------------------------------------------------------------------------
   1. Reset e variáveis
   2. Componentes compartilhados (botões, animações)
   3. Seções — Desktop
      3.1 Primeira dobra (hero)
      3.2 Especialidades
      3.3 Sobre mim + depoimentos
      3.4 Localização (telemedicina + clínica)
      3.5 FAQ
      3.6 Contato e rodapé
   4. Tablet  (601px – 1170px)
   5. Mobile  (até 600px)
   6. Acessibilidade (movimento reduzido)
   ========================================================================== */


/* ==========================================================================
   1. RESET E VARIÁVEIS
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Só o html corta o excesso horizontal. O body usa "clip", que corta sem virar
   uma segunda caixa de rolagem — com "hidden" nos dois, o toque no celular
   podia rolar a caixa errada e a página "travava" dependendo de onde o dedo pegava. */
html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  max-width: 100%;
  overflow-x: clip;
}

body {
  background: var(--paper);
  color: var(--green-primary);
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

:root {
  /* Fontes */
  --title-font: 'Prata';
  --title-font-alt: 'Poppins', sans-serif;
  --script-font: 'Quintessential', 'Prata', cursive;

  /* Paleta (inalterada) */
  --rose-primary: #ee8db7;
  --rose-button: #BD668B;
  --rose-strong: #C70060;
  --rose-soft: #ead2dc;
  --rose-light: #EEBBD1;
  --rose-medium: #E9A6C3;
  --rose-wash: #f7e7ee;
  --green-primary: #315b55;
  --green-dark: #2F4F4F;
  --green-mint: #9DCDBD;
  --green-pale: #C8E3DA;
  --green-soft: #dceae4;
  --paper: #fbfaf8;
  --white-soft: #FAF9F6;
}

.container {
  display: grid;
  align-items: center;
  margin-inline: auto;
  text-align: center;
}


/* ==========================================================================
   2. COMPONENTES COMPARTILHADOS
   ========================================================================== */

/* ---- Botões de agendamento ---- */
.btn {
  display: flex;
  justify-content: center;
}

.btn button {
  position: relative;
  z-index: 2;
  width: 356px;
  max-width: calc(100vw - 40px);
  height: 62px;
  border: 0;
  border-radius: 999px;
  background: var(--rose-button);
  box-shadow: 0 15px 32px rgba(15, 43, 39, 0.28);
  color: #ffffff;
  font-family: 'Poppins';
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
}

.btn button,
.mapButton,
.scheduleBubble {
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease, background 220ms ease;
}

.btn button:hover,
.btn button:focus-visible,
.mapButton:hover,
.mapButton:focus-visible,
.scheduleBubble:hover,
.scheduleBubble:focus-visible {
  transform: translateY(-3px);
  filter: saturate(1.08);
  box-shadow: 0 18px 32px rgba(49, 49, 49, 0.22);
}

.btn button:focus-visible,
.mapButton:focus-visible,
.scheduleBubble:focus-visible,
.faqList summary:focus-visible {
  outline: 3px solid rgba(250, 249, 246, 0.82);
  outline-offset: 4px;
}

/* ---- Entrada suave ao rolar (classes aplicadas pelo config.js) ---- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .7, .2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}



/* ==========================================================================
   3.1 PRIMEIRA DOBRA (HERO)
   ========================================================================== */

.firstpage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: minmax(56px, 0.72fr) auto auto auto minmax(96px, 1fr);
  height: max(95vh, 720px);
  min-height: 720px;
  background: linear-gradient(145deg, var(--rose-wash) 0%, var(--paper) 58%, var(--rose-soft) 100%);
}

.firstpage::before {
  content: '';
  position: absolute;
  inset: 28px;
  z-index: -1;
  border: 1px solid rgba(189, 102, 139, 0.15);
  border-radius: 28px;
  pointer-events: none;
}

.flag {
  grid-area: 1 / 7 / 6 / 11;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.flag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.92) contrast(1.02);
  pointer-events: none;
  mask-image: linear-gradient(to top, transparent 0%, black 20%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, transparent 3%, black 40%);
}

.logo {
  grid-area: 2 / 3 / 3 / 7;
  position: relative;
  z-index: 1;
  width: 32.64vw;
  margin-bottom: 1.1rem;
  text-align: right;
}

.logo img {
  width: 25vw;
}

.titulo {
  grid-area: 3 / 2 / 4 / 7;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: min(48vw, 760px);
  margin-bottom: 0.3rem;
  text-align: right;
}

.titulo h1 {
  color: var(--green-primary);
  font: 400 clamp(2.15rem, 2.2vw + 1rem, 3.55rem)/1.08 var(--title-font);
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.firstpage .btn {
  grid-area: 4 / 3 / 5 / 7;
  position: relative;
  z-index: 1;
  justify-content: right;
  align-self: start;
  margin-top: 1.55rem;
}

.aviso {
  grid-area: 5 / 3 / 6 / 7;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-self: start;
  justify-self: end;
  width: min(32.64vw, 430px);
  margin-top: 1.8rem;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(189, 102, 139, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(49, 91, 85, 0.08);
}

.aviso img {
  grid-area: 1 / 1 / 3 / 2;
  width: auto;
  height: 48px;
  align-self: center;
}

.aviso h2 {
  grid-area: 1 / 2 / 2 / 3;
  margin-top: 0.15rem;
  color: var(--rose-button);
  font-family: 'Poppins';
  font-size: 16px;
  line-height: 1.2;
}

.aviso p {
  grid-area: 2 / 2 / 3 / 3;
  color: var(--rose-button);
  font-family: 'Poppins';
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}


/* ==========================================================================
   3.2 ESPECIALIDADES
   ========================================================================== */

.secundpage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 720px;
  padding: 76px 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--green-soft) 0%, var(--green-pale) 100%),
    var(--green-pale);
  text-align: center;
}

/* Marca d'água em SVG, com zoom controlado pelo config.js */
.mark {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* "contain" mantém o desenho sempre inteiro (sem bordas de recorte).
   O config.js começa pequeno e amplia até o desenho cobrir toda a seção. */
#zoom-element {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(.2, .7, .2, 1);
  will-change: transform;
}

#titleTwo,
#subTitletwo {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  text-align: center;
}

#titleTwo {
  color: var(--green-dark);
  font-family: 'Prata';
  font-size: 28px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

#sbtt {
  color: var(--rose-button);
  font-family: 'Prata';
  font-size: 58px;
  font-weight: 300;
}

#subTitletwo {
  max-width: 760px;
  color: rgba(47, 79, 79, 0.82);
  font-family: 'Poppins';
  font-size: 17px;
  line-height: 1.65;
}

.cardsTwo {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 20px;
  width: min(1080px, 100%);
  margin: 8px auto 0;
  font-family: 'Poppins';
}

#cardOne,
#cardTwo,
#cardThree {
  width: 100%;
  min-height: 188px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(47, 79, 79, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

#cardTwo {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 48px rgba(47, 79, 79, 0.12);
}

#cardOne:hover,
#cardTwo:hover,
#cardThree:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(189, 102, 139, 0.35);
}

.cardsTwo h2 {
  min-height: 64px;
  padding: 14px 16px 10px;
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(47, 79, 79, 0.08);
  color: var(--rose-button);
  font-family: 'Prata';
  font-size: 18px;
  font-weight: 300;
  line-height: 1.18;
}

#cardTwo h2 {
  font-size: 20px;
}

.cardsTwo p {
  height: 100%;
  padding: 16px 18px 20px;
  color: rgba(47, 79, 79, 0.85);
  font-size: 14px;
  line-height: 1.55;
}

.btn2 {
  width: 100%;
  margin-top: 6px;
}

.btn2 button {
  width: 406px;
  height: 63px;
}


/* ==========================================================================
   3.3 SOBRE MIM + DEPOIMENTOS
   ========================================================================== */

.threePage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(72px, 1fr) minmax(0, 1180px) minmax(72px, 1fr);
  grid-template-areas:
    ". title  ."
    ". about  about"
    ". button ."
    ". reviews .";
  min-height: 100vh;
  padding-top: 48px;
  overflow: hidden;
  background: linear-gradient(118deg, var(--green-mint) 0%, var(--green-mint) 62%, var(--green-pale) 100%);
}

.imagemFundo2 {
  position: absolute;
  top: 0;
  right: -8%;
  bottom: 0;
  z-index: 0;
  width: 54%;
  pointer-events: none;
}

.imagemFundo2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
  opacity: 0.42;
}

.titleThree {
  grid-area: title;
  position: relative;
  z-index: 1;
  padding-top: 18px;
  text-align: left;
}

.titleThree h1 {
  color: rgba(47, 79, 79, 0.62);
  font-family: var(--script-font);
  font-size: clamp(2.7rem, 4.1vw, 4rem);
  font-weight: 400;
  line-height: 1;
}

.titleThree h2 {
  margin-top: 8px;
  color: rgba(47, 79, 79, 0.82);
  font-family: 'Prata';
  font-size: clamp(1.5rem, 2.35vw, 2.1rem);
  font-weight: 400;
  line-height: 1.15;
}

.cardRigth {
  grid-area: about;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 980px;
  margin: 18px auto 0;
  padding: 32px 42px 26px;
  background: rgba(61, 126, 105, 0.68);
  border: 1px solid rgba(250, 249, 246, 0.23);
  border-radius: 22px;
  box-shadow: 0 24px 55px rgba(27, 71, 62, 0.16);
  color: var(--white-soft);
  font-family: 'Poppins';
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  font-weight: 300;
  line-height: 1.38;
}

.cardRigth p {
  max-width: 850px;
  margin-bottom: 20px;
}

.cardRigth strong {
  font-weight: 600;
}

.crmSobre {
  max-width: none;
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.btntr {
  grid-area: button;
  width: 100%;
  margin: 28px 0 36px;
}

/* ---- Carrossel de avaliações do Google ---- */
.cardsGoogle {
  grid-area: reviews;
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  margin-top: 56px;
  padding: 46px max(24px, calc((100vw - 1116px) / 2)) 76px;
  background: rgba(61, 126, 105, 0.76);
  color: var(--white-soft);
  text-align: center;
}

.cardsGoogle h3 {
  margin-bottom: 30px;
  font-family: 'Prata', serif;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  font-weight: 400;
  line-height: 1.15;
}

.reviewsCarousel {
  width: min(1116px, 100%);
  margin: 0 auto;
}

.carouselViewport {
  padding: 12px 0;
  overflow: hidden;
  border-radius: 20px;
  touch-action: pan-y;
}

.googleReviewsTrack {
  display: flex;
  gap: 42px;
  transition: transform 0.45s ease;
  will-change: transform;
}

.googleReviewCard {
  flex: 0 0 344px;
  display: flex;
  flex-direction: column;
  width: 344px;
  height: 192px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(49, 91, 85, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 0 rgba(200, 227, 218, 0.64), 0 18px 32px rgba(21, 56, 49, 0.13);
  color: #222222;
  font-family: 'Poppins';
  text-align: left;
  cursor: grab;
  user-select: none;
}

.googleReviewCard:active {
  cursor: grabbing;
}

.reviewHeader {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.reviewAvatar {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--rose-strong);
  font-weight: 700;
}

.reviewInfo {
  flex: 1;
  min-width: 0;
}

.reviewName {
  display: block;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.12;
}

.reviewMeta {
  display: block;
  margin-top: 1px;
  color: #777777;
  font-size: 11px;
  line-height: 1.2;
}

.reviewGoogleBadge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-left: auto;
}

.reviewGoogleBadge img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.reviewStars {
  margin-bottom: 6px;
  color: #F6B500;
  font-size: 20px;
  line-height: 1;
}

.reviewText {
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 6px;
  overflow-y: auto;
  color: #222222;
  font-size: 15px;
  line-height: 1.28;
}

.googleReviewsDots {
  display: none;
}


/* ==========================================================================
   3.4 LOCALIZAÇÃO (TELEMEDICINA + CLÍNICA)
   ========================================================================== */

.locationPage {
  width: 100%;
  background: var(--rose-light);
  color: var(--green-dark);
  font-family: 'Poppins';
  text-align: center;
}

/* ---- Telemedicina ---- */
.telemedicineBlock {
  padding: 76px 80px;
  background: linear-gradient(180deg, var(--rose-light) 0%, var(--rose-medium) 42%, var(--rose-medium) 100%);
}

.telemedicineBlock h1 {
  color: var(--white-soft);
  font-family: var(--script-font);
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
}

.locationSubtitle {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.telemedicineBlock h2 {
  margin-top: 16px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
}

.telemedicineImage {
  width: min(620px, 44vw);
  aspect-ratio: 3 / 2;
  margin: 38px auto 26px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--rose-medium);
  box-shadow: 0 24px 48px rgba(105, 47, 73, 0.16);
}

.telemedicineText {
  max-width: 850px;
  margin: 0 auto;
  color: var(--white-soft);
  font-size: 21px;
  line-height: 1.5;
}

.locationBtn,
.clinicBtn {
  width: 100%;
  margin-top: 30px;
}

.locationBtn button,
.clinicBtn button {
  width: min(430px, calc(100vw - 80px));
  height: 68px;
}

/* ---- Clínica: cabeçalho, cartão (endereço, horário, mapa) e galeria ----
   A versão anterior está preservada, comentada, no final do arquivo. */
.clinicBlock {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "header  header"
    "card    gallery"
    "button  button";
  gap: 44px 56px;
  align-items: center;
  max-width: 1340px;
  margin-inline: auto;
  padding: 96px 80px;
  background: var(--rose-light);
}

/* Painel do título: vidro claro + moldura fina externa (moldura dupla) */
.clinicHeader {
  grid-area: header;
  position: relative;
  justify-self: center;
  width: min(780px, 100%);
  padding: 40px 48px 36px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(250, 249, 246, 0.78) 0%, rgba(250, 249, 246, 0.5) 100%);
  box-shadow: 0 28px 60px rgba(105, 47, 73, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.clinicHeader::before {
  content: '';
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(199, 0, 96, 0.2);
  border-radius: 40px;
  pointer-events: none;
}

.clinicEyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid rgba(199, 0, 96, 0.16);
  border-radius: 999px;
  background: var(--rose-wash);
  color: var(--rose-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.clinicEyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose-strong);
}

/* Título em duas vozes: script rosa + serifada, com linha de apoio */
.clinicHeader h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 18px;
  font-weight: 400;
}

/* Script e nome em linhas próprias, sem sobreposição */
.clinicTitleScript {
  margin-bottom: 6px;
  color: var(--rose-strong);
  font-family: var(--script-font);
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  line-height: 1.15;
}

.clinicTitleMain {
  position: relative;
  z-index: 0;
  display: inline-block;
  color: var(--green-dark);
  font-family: var(--title-font);
  font-size: clamp(2.6rem, 4.4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Contorno colado nas letras: cópia do texto (data-text) atrás dele, com traço grosso.
   Metade do traço fica escondida sob as letras; a outra metade vira a borda visível. */
.clinicTitleScript {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.clinicTitleScript::before,
.clinicTitleMain::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Off-white do site */
  color: var(--white-soft);
  -webkit-text-stroke: 7px var(--white-soft);
  pointer-events: none;
}

/* A letra cursiva é mais fina: traço menor para não engolir o desenho */
.clinicTitleScript::before {
  -webkit-text-stroke-width: 6px;
}

.clinicTagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
  color: rgba(47, 79, 79, 0.72);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.clinicTagline::before,
.clinicTagline::after {
  content: '';
  width: 36px;
  height: 1px;
  background: rgba(199, 0, 96, 0.35);
}

/* Cartão claro que reúne as informações práticas e o mapa */
.clinicCard {
  grid-area: card;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  height: 100%;
  padding: 12px;
  border-radius: 30px;
  background: var(--white-soft);
  box-shadow: 0 30px 60px rgba(105, 47, 73, 0.14);
  text-align: left;
}

.clinicDetails {
  display: grid;
  gap: 18px;
  padding: 22px 20px 14px;
}

.clinicDetail {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 14px;
}

.clinicIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--rose-wash);
  color: var(--rose-strong);
}

.clinicIcon svg,
.mapButton svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clinicDetail strong {
  display: block;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.clinicDetail span {
  display: block;
  margin-top: 2px;
  color: rgba(47, 79, 79, 0.68);
  font-size: 14px;
  line-height: 1.35;
}

.mapButton {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 10px;
  height: 46px;
  margin-top: 4px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--green-dark);
  color: var(--white-soft);
  font-size: 15px;
  font-weight: 500;
}

.mapButton svg {
  width: 18px;
  height: 18px;
  transition: transform 220ms ease;
}

.mapButton:hover svg,
.mapButton:focus-visible svg {
  transform: translateX(4px);
}

.mapPreview {
  min-height: 260px;
  overflow: hidden;
  border-radius: 20px;
  background: #E7FFF5;
}

.mapPreview iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}

/* Galeria em colagem: a segunda foto sobrepõe a primeira com um recorte claro */
.clinicGallery {
  grid-area: gallery;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(10, 1fr);
  aspect-ratio: 1 / 0.92;
}

.clinicPhoto {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--rose-medium);
  box-shadow: 0 24px 48px rgba(105, 47, 73, 0.16);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.clinicPhotoLeft {
  grid-column: 1 / 9;
  grid-row: 1 / 8;
}

.clinicPhotoRight {
  z-index: 2;
  grid-column: 5 / 11;
  grid-row: 5 / 11;
  border-radius: 24px;
  box-shadow: 0 34px 70px rgba(105, 47, 73, 0.3), 0 10px 22px rgba(105, 47, 73, 0.16);
}

/* Fio de luz interno: separa a foto da outra sem um contorno pesado */
.clinicPhoto::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.clinicPhotoRight:hover {
  transform: translateY(-6px);
  box-shadow: 0 42px 80px rgba(105, 47, 73, 0.34), 0 12px 26px rgba(105, 47, 73, 0.18);
}

/* Legenda discreta sobre a foto (texto vem do atributo data-label) */
.clinicPhoto::after {
  content: attr(data-label);
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(250, 249, 246, 0.92);
  box-shadow: 0 8px 18px rgba(105, 47, 73, 0.16);
  color: var(--rose-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.clinicPhotoRight::after {
  top: auto;
  left: auto;
  right: 14px;
  bottom: 14px;
}

.clinicBtn {
  grid-area: button;
  margin-top: 6px;
}

/* As imagens têm cantos escuros no arquivo: o leve zoom os mantém fora do quadro */
.clinicPhoto img,
.telemedicineImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 600ms ease;
}

.clinicPhoto:hover img,
.telemedicineImage:hover img {
  transform: scale(1.12);
}


/* ==========================================================================
   3.5 FAQ
   ========================================================================== */

.faqContactSection {
  position: relative;
  width: 100%;
}

.faqPage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 34%) minmax(520px, 760px);
  column-gap: 78px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 680px;
  padding: 150px 96px 104px;
  background: var(--green-dark);
  color: var(--white-soft);
  font-family: 'Poppins';
}

.faqBadge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(300px, 100%);
  height: 58px;
  margin-bottom: 30px;
  background: rgba(36, 75, 75, 0.68);
  border: 1px solid rgba(250, 249, 246, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  font-family: var(--script-font);
  font-size: 32px;
}

.faqPage h2 {
  grid-column: 1;
  max-width: 360px;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.15;
}

.faqList {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 18px;
}

.faqList summary {
  position: relative;
  padding: 18px 22px 18px 54px;
  list-style: none;
  cursor: pointer;
  background: rgba(250, 249, 246, 0.035);
  border: 1px solid rgba(250, 249, 246, 0.13);
  border-radius: 12px;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  font-weight: 500;
  line-height: 1.2;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faqList summary::-webkit-details-marker {
  display: none;
}

.faqList summary:hover {
  background: rgba(250, 249, 246, 0.07);
  border-color: rgba(250, 249, 246, 0.24);
}

.faqList details[open] summary {
  background: rgba(250, 249, 246, 0.1);
  border-color: rgba(250, 249, 246, 0.3);
}

/* Seta do acordeão */
.faqList summary::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 24px;
  width: 13px;
  height: 13px;
  border-right: 2px solid rgba(250, 249, 246, 0.72);
  border-bottom: 2px solid rgba(250, 249, 246, 0.72);
  transform: rotate(45deg);
}

.faqList details[open] summary::before {
  top: 30px;
  transform: rotate(225deg);
}

.faqList p {
  max-width: 660px;
  margin: 12px 22px 4px 54px;
  color: var(--green-pale);
  font-size: 16px;
  line-height: 1.45;
}

/* CTA flutuante: acompanha FAQ e contato (classe .is-following via config.js) */
.scheduleBubble {
  position: absolute;
  top: 44px;
  right: clamp(18px, 6vw, 80px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 126px;
  height: 126px;
  border: 0;
  border-radius: 50%;
  background: rgba(199, 0, 96, 0.76);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  color: var(--white-soft);
  font-family: 'Poppins';
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
}

.scheduleBubble.is-following {
  position: fixed;
  top: auto;
  bottom: 34px;
}


/* ==========================================================================
   3.6 CONTATO E RODAPÉ
   ========================================================================== */

.contactPage {
  width: 100%;
  background: var(--green-mint);
  color: #404040;
  font-family: 'Poppins';
  text-align: center;
}

.contactPage::before {
  content: 'Informações de contato';
  display: block;
  padding-top: 42px;
  color: var(--white-soft);
  font-size: 20px;
  font-weight: 500;
}

.contactPage h2 {
  display: none;
}

.footerLogo {
  margin: -4px auto 38px;
}

.footerLogo img {
  width: 410px;
  max-width: 42vw;
}

.contactItem {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 0 62px 58px;
  vertical-align: middle;
  font-size: 20px;
  font-weight: 700;
}

.contactIcon {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--white-soft);
}

.contactIcon img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.whatsappContact strong {
  color: #28B53E;
  text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff;
}

.whatsappContact .contactIcon {
  border-radius: 50%;
  background: #28B53E;
}

.instagramContact strong {
  background: linear-gradient(90deg, #F58529 0%, #FD5949 28%, #DD2A7B 56%, #C13584 78%, #8134AF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.instagramContact .contactIcon {
  background: radial-gradient(circle at 30% 107%, #FDF497 0 5%, #FDF497 6% 12%, #FD5949 36%, #D6249F 60%, #285AEB 90%);
}

.hoursBlock {
  margin: 0 auto 86px;
  font-size: 21px;
  line-height: 1.45;
}

/* Ícone de relógio em SVG, no mesmo traço fino dos ícones da clínica */
.clockIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: rgba(250, 249, 246, 0.75);
  box-shadow: 0 12px 26px rgba(47, 79, 79, 0.12);
  color: var(--green-dark);
}

.clockIcon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contactPage footer {
  padding: 76px 12px 50px;
  background: #DDF1EC;
  color: #000;
  font-size: 13px;
}


/* ==========================================================================
   4. TABLET (601px – 1170px)
   ========================================================================== */

@media screen and (min-width: 601px) and (max-width: 1170px) {

  /* ---- Hero ---- */
  .firstpage {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    align-items: center;
    justify-items: center;
    width: 100%;
    background: linear-gradient(145deg, var(--rose-wash) 0%, var(--paper) 58%, var(--rose-soft) 100%);
  }

  .flag {
    grid-area: 3 / 1 / 7 / 3;
    width: 100%;
    margin-bottom: 5vh;
  }

  .flag img {
    width: 380px;
    height: auto;
    opacity: 0.8;
  }

  .logo {
    grid-area: 1 / 1 / 2 / 4;
    align-self: center;
    width: 100%;
    text-align: center;
  }

  .logo img {
    width: 250px;
  }

  .titulo {
    grid-area: 2 / 1 / 3 / 4;
    align-self: center;
    width: 100%;
    text-align: center;
  }

  .titulo h1 {
    max-width: calc(100% - 48px);
    margin-inline: auto;
    font-size: clamp(2.15rem, 4.8vw, 3.35rem);
  }

  .firstpage .btn {
    grid-area: 4 / 1 / 5 / 4;
    justify-content: center;
    width: 100%;
    z-index: 2;
  }

  .firstpage .btn button {
    width: min(342px, calc(100% - 48px));
    margin-top: 50px;
    box-shadow: 0 14px 30px rgba(88, 52, 65, 0.18);
  }

  .aviso {
    grid-area: 5 / 1 / 6 / 4;
    align-items: center;
    justify-self: center;
    width: min(430px, calc(100% - 48px));
    margin-inline: auto;
    padding: 14px 16px;
    text-align: left;
  }

  .aviso img {
    height: 46px;
  }

  .aviso h2 {
    font-weight: 600;
  }

  .aviso h2,
  .aviso p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* ---- Localização: mapa em largura total, fotos lado a lado ---- */
  .telemedicineBlock {
    padding: 72px 48px;
  }

  .telemedicineImage {
    width: min(620px, 78vw);
  }

  .clinicBlock {
    grid-template-columns: minmax(0, 680px);
    grid-template-areas:
      "header"
      "card"
      "gallery"
      "button";
    justify-content: center;
    gap: 40px;
    padding: 80px 40px;
  }

  .clinicCard {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .clinicGallery {
    aspect-ratio: 16 / 12;
  }

  /* Contorno do título proporcional às letras menores do tablet */
  .clinicTitleScript {
    margin-bottom: 8px;
  }

  .clinicTitleScript::before {
    -webkit-text-stroke-width: 5px;
  }

  .clinicTitleMain::before {
    -webkit-text-stroke-width: 6px;
  }

  /* ---- FAQ em uma coluna ---- */
  .faqPage {
    grid-template-columns: minmax(0, 760px);
    padding: 150px 48px 96px;
  }

  .faqBadge,
  .faqPage h2 {
    margin-inline: auto;
    text-align: center;
  }

  .faqPage h2 {
    max-width: none;
    margin-bottom: 36px;
  }

  .faqList {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }
}


/* ==========================================================================
   5. MOBILE (até 600px)
   ========================================================================== */

@media screen and (max-width: 600px) {

  /* ---- Hero ---- */
  .firstpage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    align-items: center;
    width: 100%;
    height: auto;
    min-height: 690px;
    background: linear-gradient(165deg, var(--rose-wash) 0%, var(--paper) 62%, var(--rose-soft) 100%);
  }

  .firstpage::before {
    inset: 12px;
    border-radius: 20px;
  }

  .flag {
    grid-area: 3 / 1 / 7 / 3;
    width: 100%;
    margin-bottom: 5vh;
  }

  .flag img {
    width: min(380px, 100%);
    height: auto;
    opacity: 0.8;
  }

  .logo {
    grid-area: 1 / 1 / 2 / 3;
    width: 100%;
    text-align: center;
  }

  .logo img {
    width: 250px;
  }

  .titulo {
    grid-area: 2 / 1 / 3 / 3;
    align-self: center;
    width: 100%;
    text-align: center;
  }

  .titulo h1 {
    max-width: calc(100% - 36px);
    margin-inline: auto;
    font-size: clamp(2rem, 7.4vw, 2.85rem);
  }

  .firstpage .btn {
    grid-area: 4 / 1 / 5 / 3;
    justify-content: center;
    width: 100%;
    z-index: 2;
  }

  .firstpage .btn button {
    width: min(342px, calc(100% - 48px));
    margin-top: 50px;
    box-shadow: 0 14px 30px rgba(88, 52, 65, 0.18);
  }

  .aviso {
    grid-area: 5 / 1 / 6 / 3;
    align-items: center;
    width: min(430px, calc(100% - 28px));
    margin-inline: auto;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.58);
    text-align: left;
  }

  .aviso img {
    height: 46px;
  }

  .aviso h2 {
    font-weight: 600;
  }

  .aviso h2,
  .aviso p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  /* ---- Especialidades ---- */
  .secundpage {
    gap: 18px;
    min-height: 0;
    padding: 58px 18px;
    background:
      linear-gradient(180deg, var(--green-soft) 0%, var(--green-pale) 100%),
      var(--green-pale);
  }

  /* No celular não há zoom: o desenho já preenche a seção desde o início */
  #zoom-element {
    flex: 0 0 auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none !important;
    transition: none;
  }

  #titleTwo {
    font-size: 20px;
    line-height: 1.2;
  }

  #titleTwo h2 {
    font-weight: 400;
  }

  #sbtt {
    display: block;
    margin-top: 2px;
    font-size: 36px;
    line-height: 1.15;
  }

  #subTitletwo {
    color: rgba(47, 79, 79, 0.82);
    font-size: 13px;
    line-height: 1.55;
  }

  .cardsTwo {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 4px;
  }

  #cardOne,
  #cardTwo,
  #cardThree {
    min-height: 130px;
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 14px 34px rgba(47, 79, 79, 0.1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  #cardOne:hover,
  #cardTwo:hover,
  #cardThree:hover {
    transform: none;
  }

  #cardTwo   { order: 1; min-height: 147px; }
  #cardOne   { order: 2; min-height: 147px; }
  #cardThree { order: 3; }

  .cardsTwo h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 12px 9px;
    color: var(--rose-button);
    font-weight: 400;
    line-height: 1.15;
  }

  .cardsTwo p {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 84px;
    height: auto;
    padding: 10px 14px 14px;
    color: rgba(47, 79, 79, 0.85);
    line-height: 1.35;
  }

  #cardOne p,
  #cardThree p {
    font-size: 16px;
  }

  .btn2 {
    margin-top: 2px;
  }

  .btn2 button {
    width: min(306px, 100%);
    box-shadow: 0 14px 30px rgba(8, 27, 24, 0.2);
  }

  /* ---- Sobre mim ---- */
  .threePage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "title"
      "about"
      "reviews"
      "button";
    padding-top: 34px;
    text-align: left;
  }

  .imagemFundo2 {
    display: none;
  }

  .titleThree {
    padding: 18px 18px 0;
    color: rgba(47, 79, 79, 0.9);
    text-align: center;
  }

  .titleThree h1 {
    color: rgba(47, 79, 79, 0.64);
    line-height: 0.98;
  }

  .titleThree h2 {
    margin-top: 13px;
    color: rgba(47, 79, 79, 0.78);
  }

  .cardRigth {
    width: auto;
    margin: 18px 18px 0;
    padding: 26px 22px 22px;
    background: transparent;
    border-radius: 18px;
    font-weight: 400;
    line-height: 1.43;
  }

  .cardRigth p {
    margin-bottom: 13px;
  }

  .cardRigth strong {
    font-weight: 700;
  }

  .crmSobre {
    margin-top: 28px;
    text-align: right;
  }

  .cardsGoogle {
    grid-column: auto;
    min-height: 350px;
    margin-top: 42px;
    padding: 38px 18px 56px;
  }

  .cardsGoogle h3 {
    line-height: 1.5;
  }

  .reviewsCarousel {
    width: min(365px, calc(100vw - 28px));
  }

  .carouselViewport {
    padding: 8px;
    border-radius: 18px;
    background: rgba(200, 227, 218, 0.82);
  }

  .googleReviewsTrack {
    gap: 18px;
    width: max-content;
  }

  .googleReviewCard {
    max-width: calc(100vw - 44px);
    color: var(--green-dark);
  }

  .reviewText {
    font-size: 14px;
  }

  .btntr {
    margin: 26px 0 32px;
  }

  /* ---- Localização: telemedicina ---- */
  .telemedicineBlock {
    padding: 58px 20px;
    background: linear-gradient(180deg, var(--rose-light) 0%, var(--rose-medium) 37%);
  }

  .telemedicineBlock h1 {
    font-size: 48px;
  }

  .locationSubtitle {
    margin-top: 12px;
    font-size: 19px;
  }

  .telemedicineBlock h2 {
    margin-top: 14px;
    font-size: 26px;
  }

  .telemedicineImage {
    width: 100%;
    max-width: 420px;
    margin: 28px auto 22px;
    border-radius: 22px;
  }

  .telemedicineText {
    max-width: 420px;
    font-size: 17px;
    line-height: 1.55;
  }

  .locationBtn,
  .clinicBtn {
    margin-top: 26px;
  }

  .locationBtn button,
  .clinicBtn button {
    width: min(384px, 100%);
    height: 63px;
  }

  /* ---- Localização: clínica em coluna única (cabeçalho, cartão, galeria) ---- */
  .clinicBlock {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "header"
      "card"
      "gallery"
      "button";
    gap: 32px;
    padding: 64px 16px;
  }

  .clinicHeader {
    width: calc(100% - 12px);
    padding: 28px 18px 24px;
    border-radius: 24px;
  }

  .clinicHeader::before {
    inset: -6px;
    border-radius: 30px;
  }

  .clinicEyebrow {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .clinicHeader h2 {
    margin-top: 16px;
  }

  .clinicTitleScript {
    margin-bottom: 8px;
    font-size: 1.9rem;
  }

  .clinicTitleMain {
    font-size: 2.45rem;
  }

  .clinicTitleMain::before {
    -webkit-text-stroke-width: 5px;
  }

  .clinicTitleScript::before {
    -webkit-text-stroke-width: 4px;
  }

  .clinicTagline {
    display: block;
    max-width: 280px;
    margin-inline: auto;
    font-size: 14px;
    line-height: 1.45;
    text-wrap: balance;
  }

  .clinicTagline::before,
  .clinicTagline::after {
    content: none;
  }

  .clinicCard {
    gap: 10px;
    padding: 10px;
    border-radius: 26px;
  }

  .clinicDetails {
    gap: 16px;
    padding: 18px 12px 12px;
  }

  .clinicDetail {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .clinicIcon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .clinicDetail strong {
    font-size: 15px;
  }

  .clinicDetail span {
    font-size: 13px;
  }

  .mapButton {
    justify-self: stretch;
    justify-content: center;
    height: 50px;
  }

  .mapPreview,
  .mapPreview iframe {
    min-height: 220px;
  }

  .mapPreview {
    border-radius: 18px;
  }

  .clinicGallery {
    aspect-ratio: 1 / 1;
  }

  .clinicPhoto {
    border-radius: 20px;
  }

  .clinicPhotoRight:hover,
  .clinicPhoto:hover img {
    transform: none;
  }

  .clinicPhoto:hover img {
    transform: scale(1.08);
  }

  /* ---- FAQ ---- */
  .faqPage {
    display: block;
    min-height: 0;
    padding: 82px 18px 64px;
    text-align: center;
  }

  .faqBadge {
    width: min(420px, calc(100vw - 56px));
    height: 62px;
    margin: 0 auto 26px;
    background: var(--green-dark);
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 12px rgba(28, 33, 33, 0.34);
    font-size: 38px;
  }

  .faqPage h2 {
    max-width: none;
    margin-bottom: 48px;
    font-weight: 400;
  }

  .faqList {
    gap: 14px;
  }

  .faqList summary {
    padding: 15px 16px 15px 48px;
    border-color: rgba(250, 249, 246, 0.14);
    background: rgba(250, 249, 246, 0.04);
    line-height: 1.25;
    text-align: left;
  }

  .faqList summary::before {
    left: 20px;
    top: 20px;
    width: 12px;
    height: 12px;
  }

  .faqList details[open] summary::before {
    top: 25px;
  }

  .faqList p {
    margin: 10px 16px 4px 48px;
    font-size: 15px;
    text-align: left;
  }

  .scheduleBubble {
    top: 24px;
    right: 18px;
    display: block;
    width: 112px;
    height: 112px;
    background: rgba(199, 0, 96, 0.75);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25) inset;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
  }

  .scheduleBubble.is-following {
    bottom: 22px;
  }

  /* ---- Contato ---- */
  .contactPage::before {
    content: none;
  }

  .footerLogo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 128px;
    margin: 0;
    background: #D4EBE3;
  }

  .footerLogo img {
    width: 260px;
    max-width: 80vw;
  }

  .contactPage h2 {
    display: block;
    margin: 54px 0 30px;
    color: var(--white-soft);
    font-size: 22px;
    font-weight: 500;
  }

  .contactItem {
    display: flex;
    margin: 0 auto 32px;
    font-size: 18px;
  }

  .instagramContact {
    color: var(--rose-strong);
  }

  .hoursBlock {
    margin: 44px auto 58px;
  }

  .clockIcon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .clockIcon svg {
    width: 30px;
    height: 30px;
  }

  .contactPage footer {
    padding: 12px 6px;
    background: #FDFAFA;
    font-size: 11px;
  }
}


/* ==========================================================================
   6. ACESSIBILIDADE — MOVIMENTO REDUZIDO
   ========================================================================== */

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* ==========================================================================
   VERSÃO ANTERIOR — CLÍNICA (desativada)
   --------------------------------------------------------------------------
   Layout com marca d'água "LOCAL", texto rosa centralizado, mapa com borda
   e fotos soltas. Para reativar: remova as aberturas/fechamentos deste
   comentário, apague o bloco "Clínica: cabeçalho, cartão..." da seção 3.4
   e as regras da clínica nos blocos tablet/mobile, e restaure o HTML antigo
   que está comentado no Index.html.
   ==========================================================================

.clinicBlock {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 470px) minmax(500px, 700px);
  grid-template-areas:
    "info   map"
    "photoA photoB"
    "button button";
  gap: 34px 46px;
  justify-content: center;
  align-items: stretch;
  padding: 88px 80px;
  overflow: hidden;
  background: var(--rose-light);
}

.localWatermark {
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  z-index: 0;
  color: rgba(233, 166, 195, 0.72);
  font-size: 118px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.clinicInfo,
.mapPreview,
.clinicPhoto,
.clinicBtn {
  position: relative;
  z-index: 1;
}

.clinicInfo {
  grid-area: info;
  min-height: 318px;
  padding-top: 84px;
}

.clinicInfo h2 {
  color: var(--rose-strong);
  font-size: 31px;
  font-weight: 700;
  line-height: 1.2;
}

.clinicInfo p {
  margin: 14px 0 20px;
  color: var(--rose-strong);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.42;
}

.mapButton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 260px;
  height: 48px;
  margin: 0 auto;
  border-radius: 22px;
  background: var(--green-dark);
  color: var(--white-soft);
  font-size: 18px;
  font-weight: 500;
}

.mapPreview {
  grid-area: map;
  width: 100%;
  height: 318px;
  overflow: hidden;
  border: 10px solid var(--rose-medium);
  border-radius: 14px;
  background: #E7FFF5;
  box-shadow: 0 24px 48px rgba(105, 47, 73, 0.16);
}

.mapPreview iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.clinicPhoto {
  height: 322px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--rose-medium);
  box-shadow: 0 18px 38px rgba(105, 47, 73, 0.14);
}

.clinicPhotoLeft  { grid-area: photoA; }
.clinicPhotoRight { grid-area: photoB; }

.clinicPhoto::after {
  content: attr(data-label);
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(250, 249, 246, 0.92);
  box-shadow: 0 8px 18px rgba(105, 47, 73, 0.16);
  color: var(--rose-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.clinicBtn {
  grid-area: button;
  margin-top: 10px;
}

@media screen and (min-width: 601px) and (max-width: 1170px) {
  .clinicBlock {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "info   info"
      "map    map"
      "photoA photoB"
      "button button";
    gap: 28px 24px;
    padding: 72px 40px;
  }

  .clinicInfo {
    min-height: 0;
    padding-top: 76px;
  }

  .clinicPhoto {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

@media screen and (max-width: 600px) {
  .clinicBlock {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "info"
      "map"
      "photoA"
      "photoB"
      "button";
    gap: 0;
    padding: 58px 20px;
  }

  .localWatermark {
    top: 40px;
    color: rgba(233, 166, 195, 0.68);
    font-size: 72px;
  }

  .clinicInfo {
    min-height: 0;
    padding-top: 22px;
  }

  .clinicInfo h2 {
    font-size: 25px;
  }

  .clinicInfo p {
    max-width: 350px;
    margin: 12px auto 18px;
    font-size: 18px;
    line-height: 1.4;
  }

  .mapButton {
    width: 251px;
    height: 46px;
    border-radius: 20px;
    font-size: 17px;
  }

  .mapPreview {
    width: 100%;
    max-width: 420px;
    height: 240px;
    margin: 28px auto 0;
    border-width: 8px;
    border-radius: 18px;
  }

  .clinicPhoto {
    width: calc(100% - 36px);
    max-width: 400px;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .clinicPhotoLeft {
    margin-top: 40px;
    justify-self: start;
  }

  .clinicPhotoRight {
    z-index: 2;
    margin-top: -56px;
    justify-self: end;
    border: 6px solid var(--rose-light);
    border-radius: 26px;
  }

  .clinicPhotoLeft::after {
    left: 14px;
    bottom: auto;
    top: 14px;
  }

  .clinicPhotoRight::after {
    left: auto;
    right: 14px;
    bottom: 14px;
  }

  .clinicPhoto::after {
    padding: 6px 12px;
    font-size: 12px;
  }

  .clinicPhoto:hover img {
    transform: scale(1.08);
  }
}

   FIM DA VERSÃO ANTERIOR — CLÍNICA
   ========================================================================== */
