/* ═══════════════════════════════════════════════════
   INOVAMENTE — PSICOLOGIA E SAÚDE
   Paleta: #009999 (teal), #CC0000 (vermelho), #FFFFFF
   ═══════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────── */
:root {
  --header-height: 84px;
  /* Cores base */
  --teal:        #009999;
  --teal-dark:   #007a7a;
  --teal-soft:   #e6f5f5;
  --teal-mid:    #b3dede;

  --red:         #CC0000;
  --red-dark:    #aa0000;
  --red-soft:    #fce8e8;

  --white:       #ffffff;
  --off-white:   #f9f8f6;
  --text:        #2d2d2d;
  --text-light:  #5a5a6a;
  --border:      #e4e4ee;

  /* Tipografia */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;

  /* Espaçamentos */
  --gap-xs:  .5rem;
  --gap-sm:  1rem;
  --gap-md:  1.5rem;
  --gap-lg:  2.5rem;
  --gap-xl:  4rem;
  --gap-2xl: 6rem;

  /* Layout */
  --max-width:  1160px;
  --radius-sm:  .5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.13);

  /* Transição padrão */
  --ease: .22s ease;
}

/* ─── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }
blockquote { quotes: none; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ─── UTILITÁRIOS ────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  margin-bottom: .75rem;
}

.section-title--left {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: .75rem;
}

.section-title--light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--gap-lg);
}

.section-subtitle--light {
  color: rgba(255,255,255,.8);
  margin-bottom: var(--gap-lg);
}

/* ─── BOTÕES ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: 3rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--primary:hover, .btn--primary:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,153,153,.3);
}

.btn--primary-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn--primary-red:hover, .btn--primary-red:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(204,0,0,.3);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}
.btn--secondary:hover, .btn--secondary:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-teal {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn--outline-teal:hover, .btn--outline-teal:focus-visible {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--cta {
  background: var(--teal);
  color: var(--white);
  padding: .65rem 1.4rem;
  font-size: .875rem;
}
.btn--cta:hover { background: var(--teal-dark); }

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn--submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 1rem;
}

/* ─── HEADER ─────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
}

/* Empurra o conteúdo para baixo do header fixo */
body { padding-top: var(--header-height); }

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--gap-lg);
  height: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo-img {
  height: 68px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
  background: transparent;
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  gap: var(--gap-md);

}

.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--ease);
  padding-block: .25rem;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width var(--ease);
  border-radius: 2px;
}

.nav__link:hover, .nav__link:focus-visible { color: var(--teal); }
.nav__link:hover::after { width: 100%; }

.header__cta { margin-left: var(--gap-sm); }

/* Botão fechar: oculto no desktop, visível só via CSS mobile */
.nav__close { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--ease);
}

/* Hamburger NÃO vira X — o X fica dentro do painel */


/* ─── HERO ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0d2b2b 0%, #0a3d3d 50%, #0f2e2e 100%);
  padding: var(--gap-xl) 0;          /* padding simétrico top e bottom */
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0,153,153,.15) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(204,0,0,.08) 0%, transparent 45%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;               /* alinha texto e imagem verticalmente */
  position: relative;
  z-index: 1;
}

.hero__text {
  padding-block: var(--gap-md);      /* respiro vertical no texto */
}

.hero__eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.15);
  padding: .35rem .9rem;
  border-radius: 2rem;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__title .highlight {
  color: var(--teal);
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__photo-wrapper {
  position: relative;
  display: inline-block;
}

.hero__img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));

  /* Placeholder enquanto a foto real não é inserida */
  min-height: 460px;
  background: linear-gradient(160deg, #1a4a4a, #0d3333);
}

/* badge removido — não renderizar */
.hero__badge { display: none; }


/* ─── DORES ──────────────────────────────────────── */
.dores {
  padding: var(--gap-2xl) 0;
  background: var(--off-white);
}

.dores__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--gap-sm);
  margin-bottom: var(--gap-lg);
}

.dores__item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  transition: all var(--ease);
}

.dores__item:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.dores__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  border-radius: 10px;
  color: var(--teal);
}

.dores__icon svg {
  width: 22px;
  height: 22px;
}

.dores__item p {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.5;
}

.dores__cta {
  text-align: center;
}

.dores__cta-text {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  font-style: italic;
}


/* ─── SERVIÇOS ───────────────────────────────────── */
.servicos {
  padding: var(--gap-2xl) 0;
  background: var(--white);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.servico-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  transition: all var(--ease);
  position: relative;
}

.servico-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--teal-mid);
}

.servico-card--destaque {
  background: linear-gradient(160deg, #0d3333 0%, #0a2b2b 100%);
  border-color: transparent;
  color: var(--white);
}

.servico-card--destaque .servico-card__title { color: var(--white); }
.servico-card--destaque .servico-card__desc  { color: rgba(255,255,255,.78); }

/* Imagem no topo do card de serviço */
.servico-card__img-wrapper {
  margin: -2.25rem -2rem 0;   /* sangra até as bordas do card */
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.servico-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Placeholder visual enquanto a imagem real não é inserida */
  background: linear-gradient(135deg, var(--teal-soft) 0%, var(--teal-mid) 100%);
  min-height: 160px;
}

.servico-card--destaque .servico-card__img-wrapper {
  /* No card escuro, mantém o mesmo sangramento */
  margin: -2.25rem -2rem 0;
}

.servico-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.servico-card__desc {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}

.servico-card__badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 2rem;
  width: fit-content;
}


/* ─── AVALIAÇÃO NEUROPSICOLÓGICA ─────────────────── */
.avaliacao {
  padding: var(--gap-2xl) 0;
  background: linear-gradient(160deg, #072020 0%, #0a2b2b 60%, #061a1a 100%);
  position: relative;
}

.avaliacao::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 50%, rgba(0,153,153,.12) 0%, transparent 60%);
  pointer-events: none;
}

.avaliacao__header {
  text-align: center;
  margin-bottom: var(--gap-xl);
  position: relative;
  z-index: 1;
}

.avaliacao__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  position: relative;
  z-index: 1;
  margin-bottom: var(--gap-xl);
}

.avaliacao__bloco:last-child {
  grid-column: 1 / -1;
}

.avaliacao__bloco {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.avaliacao__bloco-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(0,153,153,.3);
}

.avaliacao__bloco p {
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: .75rem;
}
.avaliacao__bloco p:last-child { margin-bottom: 0; }

.avaliacao__lista {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.avaliacao__lista li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}

.avaliacao__lista-icon {
  color: var(--teal);
  font-style: normal;
  font-size: .85rem;
  margin-top: .3rem;
  flex-shrink: 0;
}

.avaliacao__lista strong {
  display: block;
  color: var(--white);
  font-size: .95rem;
  margin-bottom: .2rem;
}

.avaliacao__lista p {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  line-height: 1.5;
  margin: 0;
}

.avaliacao__cta {
  text-align: center;
  position: relative;
  z-index: 1;
}

.avaliacao__cta p {
  color: rgba(255,255,255,.75);
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  font-style: italic;
}


/* ─── ESTIMULAÇÃO COGNITIVA ──────────────────────── */
.estimulacao {
  padding: var(--gap-2xl) 0;
  background: var(--off-white);
}

.estimulacao__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-xl);
  align-items: center;
}

.estimulacao__text p {
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.estimulacao__text p:last-of-type { margin-bottom: 1.5rem; }

.estimulacao__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.estimulacao__card-decorativo {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--ease);
}

.estimulacao__card-decorativo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-mid);
}

.estimulacao__card-decorativo span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--teal-soft);
  border-radius: 14px;
  color: var(--teal);
  margin: 0 auto .8rem;
}

.estimulacao__card-decorativo span svg {
  width: 26px;
  height: 26px;
}

.estimulacao__card-decorativo p {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}


/* ─── SOBRE ──────────────────────────────────────── */
.sobre {
  padding: var(--gap-2xl) 0;
  background: var(--white);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--gap-xl);
  align-items: center;
}

.sobre__foto-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}

.sobre__foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  /* Placeholder enquanto a foto real não é inserida */
  background: linear-gradient(160deg, var(--teal-soft), var(--teal-mid));
  min-height: 400px;
}

.sobre__crp {
  font-size: .9rem;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.sobre__bio p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: .85rem;
  font-size: 1.025rem;
}
.sobre__bio p:last-child { margin-bottom: 1.75rem; }


/* ─── BENEFÍCIOS ─────────────────────────────────── */
.beneficios {
  padding: var(--gap-2xl) 0;
  background: var(--teal-soft);
}

.beneficios__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--gap-md);
  margin-top: var(--gap-lg);    /* espaço entre o título e os cards */
}

.beneficio-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--teal-mid);
  transition: all var(--ease);
}

.beneficio-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.beneficio-item__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  border-radius: 14px;
  color: var(--teal);
  margin: 0 auto .9rem;
}

.beneficio-item__icon svg {
  width: 26px;
  height: 26px;
}

.beneficio-item h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.beneficio-item p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
}


/* ─── DEPOIMENTOS — CARROSSEL ────────────────────── */
.depoimentos {
  padding: var(--gap-2xl) 0;
  background: var(--white);
}

/* Wrapper do carrossel */
.carrossel {
  position: relative;
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Área visível (overflow oculto) */
.carrossel__viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Trilho que se move */
.carrossel__track {
  display: flex;
  align-items: flex-start; /* cada card cresce apenas até sua própria altura */
  gap: 1.25rem;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Cards individuais */
.depoimento-card {
  /* largura calculada via JS — valor padrão para evitar CLS */
  flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
  min-width: 0;
  height: auto;          /* altura livre — cada card tem o tamanho do seu conteúdo */
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--ease), transform var(--ease);
}

.depoimento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.depoimento-card__stars {
  color: #f4a22d;
  font-size: 1.1rem;
  letter-spacing: .12em;
}

.depoimento-card__texto { flex: none; }

.depoimento-card__texto p {
  color: var(--text-light);
  font-size: .93rem;
  line-height: 1.78;
  font-style: italic;
}

.depoimento-card__autor {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

.depoimento-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-soft);
  border: 2px solid var(--teal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 700;
  color: var(--teal);
  flex-shrink: 0;
  text-transform: uppercase;
}

.depoimento-card__autor strong {
  display: block;
  font-size: .875rem;
  color: var(--text);
}

/* Botões prev / next */
.carrossel__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ease);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.carrossel__btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: var(--shadow-md);
}

.carrossel__btn:disabled {
  opacity: .35;
  cursor: default;
  pointer-events: none;
}

/* Dots */
.carrossel__dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.carrossel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-mid);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  padding: 0;
}

.carrossel__dot--active {
  background: var(--teal);
  width: 24px;
  border-radius: 4px;
}

/* Contador textual */
.carrossel__counter {
  text-align: center;
  font-size: .8rem;
  color: var(--text-light);
  margin-top: .6rem;
}

/* Swipe — sem transição durante drag */
.carrossel__track.dragging {
  transition: none;
  cursor: grabbing;
}

/* Responsivo */
@media (max-width: 860px) {
  .depoimento-card {
    flex: 0 0 calc((100% - 1.25rem) / 2);
  }
}

@media (max-width: 540px) {
  .depoimento-card {
    flex: 0 0 100%;
  }
  .carrossel__btn {
    width: 38px;
    height: 38px;
  }
  /* A seção em si não tem altura fixa — o JS atualiza o viewport */
  .carrossel__viewport {
    overflow-x: hidden;
    overflow-y: visible;
  }
}


/* ─── LOCALIZAÇÃO ────────────────────────────────── */
.localizacao {
  padding: var(--gap-2xl) 0;
  background: var(--off-white);
}

.localizacao__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--gap-xl);
  align-items: start;
}

.localizacao__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.localizacao__endereco,
.localizacao__contato-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.localizacao__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
  border-radius: 10px;
  color: var(--teal);
}

.localizacao__icon svg {
  width: 20px;
  height: 20px;
}

.localizacao__endereco strong,
.localizacao__contato-item strong {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .3rem;
}

.localizacao__endereco address,
.localizacao__contato-item a {
  font-size: .95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.localizacao__contato-item a:hover { color: var(--teal); }

.localizacao__mapa {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}


/* ─── FORMULÁRIO DE CONTATO ──────────────────────── */
.contato {
  padding: var(--gap-2xl) 0;
  background: var(--white);
}

.contato__header {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.contato__form {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group label span { color: var(--red); }

.form-group input,
.form-group textarea {
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text);
  background: var(--off-white);
  transition: all var(--ease);
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,153,153,.12);
}

.form-group input.invalid,
.form-group textarea.invalid {
  border-color: var(--red);
  background: var(--red-soft);
}

.form-group input.valid { border-color: var(--teal); }

.form-group textarea { resize: vertical; }

.form-error {
  font-size: .8rem;
  color: var(--red);
  min-height: 1.1em;
}

.form-hint {
  font-size: .78rem;
  color: var(--text-light);
}

.form-footer {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.form-privacy {
  font-size: .8rem;
  color: var(--text-light);
  text-align: center;
}


/* ─── CTA FINAL ──────────────────────────────────── */
.cta-final {
  padding: var(--gap-2xl) 0;
  background: linear-gradient(135deg, #0a2b2b 0%, #0d3333 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,153,153,.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-final__inner { position: relative; z-index: 1; }

.cta-final__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-final__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem;
}


/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: #061515;
  color: rgba(255,255,255,.7);
  padding-top: var(--gap-xl);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--gap-xl);
  padding-bottom: var(--gap-xl);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo-img {
  height: 68px;
  width: auto;
  max-width: 240px;
  display: block;
  margin-bottom: .9rem;
  object-fit: contain;
  background: transparent;
  /* Inverte para fundo escuro — remover se a logo já tiver versão branca */
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer__bio {
  font-size: .875rem;
  line-height: 1.7;
  margin-top: .75rem;
  color: rgba(255,255,255,.55);
}

.footer__nav-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer__nav a,
.footer__contato a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: color var(--ease);
}
.footer__nav a:hover,
.footer__contato a:hover { color: var(--teal); }

.footer__contato address {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer__contato p { font-size: .9rem; }

.footer__bottom {
  /* Usa o mesmo container dos demais blocos do footer */
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}

.footer__bottom a {
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.footer__bottom a:hover { color: var(--teal); }


/* ─── WHATSAPP FLUTUANTE ─────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 200;
  background: #25D366;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: all var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}


/* ─── ANIMAÇÃO DE ENTRADA ────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}


/* ─── RESPONSIVO — TABLET ────────────────────────── */
@media (max-width: 960px) {

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text { padding-bottom: 0; order: 1; }
  .hero__photo { order: 2; }

  .hero__actions { justify-content: center; }

  .hero__img { max-width: 340px; min-height: 320px; }

  .avaliacao__content { grid-template-columns: 1fr; }
  .avaliacao__bloco:last-child { grid-column: auto; }

  .servicos__grid { grid-template-columns: 1fr; max-width: 500px; margin-inline: auto; }

  .sobre__inner { grid-template-columns: 1fr; }
  .sobre__foto-wrapper { max-width: 380px; margin-inline: auto; }

  .estimulacao__inner { grid-template-columns: 1fr; }

  .depoimentos__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .localizacao__inner { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}


/* ─── RESPONSIVO — MOBILE ────────────────────────── */
@media (max-width: 640px) {

  :root {
    --gap-xl:  2.5rem;
    --gap-2xl: 4rem;
  }

  /* ── Menu mobile ───────────────────────────────── */

  /* Overlay escuro atrás do menu */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 99;   /* abaixo do header e do painel */
    /* SEM backdrop-filter — evita borrar o painel do menu */
  }
  .nav-overlay.open { display: block; }

  /* Painel lateral — desliza da direita, acima de tudo */
  .nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: auto;
    width: 240px;
    background: var(--white);
    box-shadow: -8px 0 32px rgba(0,0,0,.18);
    padding: 1rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 9999;   /* garante que fica acima de qualquer stacking context */
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    display: block;
  }

  /* Linha com botão fechar — alinhado à direita do painel */
  .nav__close {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
  }

  .nav__close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--border);
    border-radius: 50%;
    background: none;
    cursor: pointer;
    color: var(--text-light);
    transition: all var(--ease);
    flex-shrink: 0;
  }

  .nav__close-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-soft);
  }

  .nav__close-btn svg {
    width: 18px;
    height: 18px;
    pointer-events: none;
  }

  .nav.open { transform: translateX(0); height: 100vh;}

  .nav__list {
    flex-direction: column;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: .95rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    color: var(--text);
  }

  .nav__link:last-child::after { display: none; }

  .header__cta { display: none; }
  .hamburger   { display: flex; }

  /* ── Hero mobile ─────────────────────────────── */

  /* Empilha em coluna única e inverte a ordem: foto cima, texto baixo */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    padding-block: var(--gap-md);
  }

  .hero__photo { order: -1; }   /* foto aparece primeiro */
  .hero__text  { order:  1; padding-block: 0; }

  /* Foto: altura limitada para não dominar a tela */
  .hero__photo-wrapper { width: 100%; }

  .hero__img {
    max-width: 240px;            /* largura máxima contida */
    min-height: unset;           /* remove o min-height do desktop */
    height: auto;
    max-height: 300px;           /* nunca mais alto que 300px */
    object-fit: cover;
    object-position: top center;
    margin-inline: auto;
    display: block;
  }

  .hero__title  { font-size: 1.75rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* ── Dores ───────────────────────────────────── */
  .dores__grid { grid-template-columns: 1fr; }

  /* ── Form ────────────────────────────────────── */
  .form-row { grid-template-columns: 1fr; }

  /* ── Footer ──────────────────────────────────── */
  .footer__inner  { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  /* ── Benefícios ──────────────────────────────── */
  .beneficios__grid { grid-template-columns: 1fr 1fr; }

  /* ── Estimulação ─────────────────────────────── */
  .estimulacao__visual { grid-template-columns: 1fr 1fr; }

  /* ── Avaliação lista ─────────────────────────── */
  .avaliacao__lista { grid-template-columns: 1fr; }

  /* ── Carrossel mobile: altura adaptativa ─────── */
  .carrossel__viewport {
    overflow-x: hidden;
    overflow-y: visible; /* permite que o card cresça na vertical */
  }
  .carrossel {
    align-items: flex-start; /* botões ficam no topo, não no meio do card */
  }
  .carrossel__btn {
    position: relative;
    top: 2.5rem; /* alinha verticalmente com o topo do card */
  }
}

@media (max-width: 400px) {
  .beneficios__grid { grid-template-columns: 1fr; }
}
