/* ===== Mentalize Espaço de Bem-estar - réplica estática ===== */

:root {
  --teal: #18b6b9;
  --teal-dark: #149aa0;
  --green: #7acc00;
  --lime: #9dcb3b;
  --gray: #605e5e;
  --gray-soft: #7b7b7b;
  --topbar: #eff1f2;
  --light: #f2f2f2;
  --blue: #3c5e8c;
  --white: #ffffff;
  --text: #4a4a4a;
  --maxw: 1180px;
  --header-h: 92px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: "Raleway", Arial, sans-serif;
  text-wrap: balance;
  margin: 0;
}

p { text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Top bar (endereço) ===== */
.topbar {
  background: var(--topbar);
  color: #555;
  font-size: 13px;
}
.topbar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.topbar .pin { width: 15px; height: 15px; flex: none; color: var(--teal); }

/* ===== Header ===== */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.logo img { height: 56px; width: auto; }

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 42px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  color: #4a4a4a;
  text-transform: uppercase;
  transition: color .2s;
  padding: 6px 0;
}
.main-nav a:hover,
.main-nav a.active { color: var(--teal); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--teal);
  margin: 5px 0;
  border-radius: 2px;
  transition: .3s;
}

/* ===== Hero carrossel ===== */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #cfe6e7;
}
.hero-slides { height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.is-active { opacity: 1; }

/* forma teal diagonal */
.hero-shape {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-shape::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -5%;
  width: 70%;
  height: 130%;
  background: rgba(24, 182, 185, .82);
  transform: skewX(-12deg);
  transform-origin: top right;
  border-bottom-left-radius: 48% 60%;
}
.hero-content {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  bottom: 0;
  width: 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 0 7% 0 0;
  color: var(--white);
}
.hero-content .l1 {
  font-size: clamp(22px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.1;
}
.hero-content .l2 {
  font-family: "Dancing Script", cursive;
  font-size: clamp(44px, 6.5vw, 86px);
  font-weight: 700;
  line-height: .9;
  margin: 6px 0;
  position: relative;
  color: var(--white);
}
.hero-content .l2 span {
  background: var(--lime);
  padding: 0 .18em;
  border-radius: 4px;
  box-decoration-break: clone;
}
.hero-content .l3 {
  font-size: clamp(18px, 2.6vw, 32px);
  font-weight: 600;
  letter-spacing: .02em;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  padding: 0;
}
.hero-dots button.is-active { background: var(--white); }

/* ===== Faixa WhatsApp ===== */
.wa-strip {
  background: var(--teal);
  padding: 46px 24px;
  text-align: center;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  padding: 20px 46px;
  border-radius: 40px;
  transition: transform .15s, filter .2s;
}
.wa-btn:hover { filter: brightness(1.05); transform: translateY(-2px); }
.wa-btn .arrow { font-size: 1.3em; line-height: 1; }

/* ===== Seção "Cuide bem da sua saúde" ===== */
.cuide { padding: 76px 0 90px; text-align: center; }
.cuide h2 {
  color: var(--teal);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 54px;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 860px;
  margin: 0 auto;
}
.card-feat { display: flex; flex-direction: column; align-items: center; }
.card-feat .ic {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-feat .ic svg { width: 46px; height: 46px; color: var(--white); }
.card-feat h3 {
  color: var(--gray);
  font-weight: 400;
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 18px;
}
.saiba {
  color: var(--teal);
  font-weight: 600;
  font-size: 14px;
}
.saiba:hover { text-decoration: underline; }

/* ===== Banner de página interna ===== */
.page-banner {
  background: var(--teal);
  color: var(--white);
  padding: 60px 0;
}
.page-banner h1 {
  font-weight: 700;
  font-size: clamp(30px, 5vw, 46px);
}

/* ===== Sobre nós ===== */
.historia { padding: 70px 0; }
.historia .grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.historia img { margin: 0 auto; max-width: 420px; }
.historia h2 {
  color: var(--teal);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 20px;
}
.historia p { margin: 0 0 18px; color: #555; }

.profissionais {
  padding: 30px 0 80px;
  text-align: center;
}
.profissionais > h2 {
  color: var(--teal);
  font-weight: 700;
  font-size: clamp(24px, 4.2vw, 40px);
  margin-bottom: 56px;
}
.docs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 820px;
  margin: 0 auto;
}
.doc { text-align: center; }
.doc .photo {
  width: 210px;
  height: 210px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #d6eff0;
  background: #e6f6f6;
}
.doc .photo img { width: 100%; height: 100%; object-fit: cover; }
.doc h3 { color: var(--teal); font-weight: 600; font-size: 22px; margin-bottom: 12px; }
.doc p { color: var(--gray-soft); font-size: 15px; }

/* equipe */
.equipe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 280px;
}
.equipe .left {
  background: var(--blue);
  color: rgba(255, 255, 255, .22);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: clamp(50px, 9vw, 110px);
  letter-spacing: .08em;
}
.equipe .right {
  background: var(--teal);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px 8%;
}
.equipe .right h3 { font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.equipe .right ul { list-style: none; margin: 0; padding: 0; }
.equipe .right li { padding: 3px 0; font-size: 16px; }

/* atividades */
.atividades-hero {
  background:
    linear-gradient(rgba(124, 180, 30, .72), rgba(124, 180, 30, .72)),
    url("../assets/images/sobre-wallpaper.png");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 90px 24px;
}
.atividades-hero h2 {
  font-weight: 800;
  font-size: clamp(30px, 5vw, 48px);
}
.atividades-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin: -60px auto 80px;
  position: relative;
  z-index: 2;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}
.at-card {
  padding: 40px 26px;
  text-align: center;
  background: #eef9f9;
}
.at-card:nth-child(3) { background: var(--teal); }
.at-card:nth-child(3) h3 { color: var(--white); }
.at-card svg { width: 76px; height: 76px; color: var(--lime); margin-bottom: 20px; }
.at-card h3 {
  color: var(--teal);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ===== Convênios ===== */
.convenios { padding: 80px 0; text-align: center; }
.convenios h2 {
  color: var(--teal);
  font-weight: 400;
  font-size: clamp(24px, 4vw, 34px);
  margin-bottom: 30px;
}
.convenios .aguarde {
  color: var(--teal);
  font-weight: 400;
  font-size: clamp(22px, 4vw, 34px);
  max-width: 820px;
  margin: 0 auto 50px;
}
.convenios .obs { color: #777; font-size: 15px; }
.convenios .obs a { color: var(--teal); text-decoration: underline; }

/* ===== Contato ===== */
.contato { padding: 70px 0 90px; }
.contato .grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: start;
}
.contato .map {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}
.contato h2 {
  color: var(--teal);
  font-weight: 700;
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 26px;
}
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: 34px;
  margin-bottom: 16px;
}
.phone-btn .arrow { margin-left: auto; }
.contato .addr { margin-top: 26px; color: #666; font-size: 16px; max-width: 420px; }

/* ===== Galeria (Estrutura) ===== */
.galeria { padding: 0 0 70px; }
.galeria-main {
  position: relative;
  background: #000;
  height: clamp(320px, 56vw, 620px);
  overflow: hidden;
}
.galeria-main .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s;
}
.galeria-main .slide.is-active { opacity: 1; }
.galeria-main .slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, .85);
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--teal);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.gal-arrow.prev { left: 18px; }
.gal-arrow.next { right: 18px; }
.gal-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 18px 24px 0;
}
.gal-thumbs img {
  width: 120px;
  height: 78px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: .6;
  transition: opacity .2s;
}
.gal-thumbs img.is-active,
.gal-thumbs img:hover { opacity: 1; }

/* ===== Footer ===== */
.site-footer {
  background: var(--light);
  border-top: 5px solid var(--teal);
  padding: 34px 0;
  color: #777;
  font-size: 14px;
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer .pin { color: var(--teal); width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.site-footer .copy { margin-top: 6px; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal);
  display: grid;
  place-items: center;
}
.socials a img { width: 20px; height: 20px; }

/* ===== WhatsApp flutuante ===== */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: var(--green);
  color: var(--white);
  border-radius: 40px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  max-width: 240px;
}
.wa-float img { width: 24px; height: 24px; }
.wa-float .txt { display: none; }

/* ===== Responsivo ===== */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 340px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav li { border-bottom: 1px solid #eee; }
  .main-nav a { display: block; padding: 14px 0; }

  .hero { height: 440px; }
  .hero-shape::before { width: 100%; right: -20%; border-radius: 0; opacity: .9; }
  .hero-content { width: 86%; padding-right: 7%; }

  .cards-2,
  .docs,
  .atividades-cards,
  .historia .grid,
  .contato .grid,
  .equipe { grid-template-columns: 1fr; }

  .atividades-cards { margin: -40px 16px 60px; }
  .equipe .left { min-height: 160px; }
}

@media (min-width: 861px) {
  .wa-float .txt { display: inline; }
}
