:root {
  --green-900: #003720;
  --green-700: #3c5945;
  --green-600: #516d4d;
  --olive-600: #757f64;

  --sand-100: #f6f5f1;
  --sand-150: #eae6e3;

  --text: #0f1b14;
  --muted: rgba(15, 27, 20, 0.7);

  --radius: 14px;
  --shadow-soft: 0 8px 18px rgba(0, 0, 0, 0.06);
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}

/* NAVBAR */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;

  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* IMPORTANTE: sem container central. Logo fica colado na lateral */
.nav-wrap {
  background: rgba(246, 245, 241, 0.88);
  position: relative;
  height: 62px;
  padding: 0 16px 0 12px;
  /* esquerda pequena para ficar “colado” */
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
}

/* Brand colado na esquerda */
.brand {
  background: rgba(246, 245, 241, 0.88);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  /* width: 34px; */
  /* height: 34px; */
  /* border-radius: 999px; */
  display: flex;
  place-items: center;
  /* background: rgba(246, 245, 241, 0.88); */
  /* color: var(--sand-100); */
  /* box-shadow: var(--shadow-soft); */
}

.name {
  color: var(--green-700);
  font-family: "Gravitas One", serif;
  font-weight: 400;
  font-style: normal;
  background-color: (246, 245, 241, 0.88);
}

/* Menu central */
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 18px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(117, 127, 100, 0.12);
  color: var(--text);
}

/* .nav-link.is-active {
  color: var(--green-900);
  background: rgba(0, 55, 32, 0.08);
} */

/* CTA direita */
.nav-cta {
  justify-self: end;
  text-decoration: none;
  background: var(--green-900);
  color: var(--sand-100);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 650;
  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease, filter 0.12s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Toggle mobile */
.nav-toggle {
  display: none;
  justify-self: end;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(234, 230, 227, 0.45);
  cursor: pointer;
}

.nav-toggle-lines {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green-900);
  margin: 0 auto;
  position: relative;
  border-radius: 2px;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
}

.nav-toggle-lines::before {
  top: -6px;
}

.nav-toggle-lines::after {
  top: 6px;
}

/* MOBILE: some links, mostra toggle; menu vira dropdown */
@media (max-width: 940px) {
  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .name {
    background: (246, 245, 241, 0.88);
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 62px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: rgba(246, 245, 241, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius);
    padding: 10px;
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link {
    padding: 12px 12px;
    border-radius: 12px;
  }
}

/* HERO */
.hero {
  background: white;
}

.hero-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 18px 56px;

  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}

/* Texto */
.hero-title {
  font-family: Georgia, "Times New Roman", Times, serif;
  margin: 0 0 18px;
  font-weight: 700;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.12;
  color: #0f1b14;
}

.hero-subtitle {
  margin: 0 0 20px;
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(15, 27, 20, 0.7);
}

/* Botão WhatsApp */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 36px;
  padding: 0 14px;
  border-radius: 999px;

  background: var(--green-900, #003720);
  color: #ffffff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1px;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.hero-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Imagem */
.hero-media {
  margin: 0;
  width: 100%;
}

.hero-img {
  width: 80%;
  max-width: 560px;
  display: block;
  margin-left: auto;

  border-radius: 10px;
  object-fit: cover;

  /* leve profundidade, bem parecida com o print */
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.1);
}

/* Responsivo */
@media (max-width: 920px) {
  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 42px 18px 44px;
  }

  .hero-img {
    max-width: 100%;
    margin: auto;
  }
}

/* ABOUT */
.about {
  background: #ffffff;
}

#terapiacognitiva {
  background-color: var(--sand-100, #f6f5f1);
}

.about-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 18px 60px;
}

/* Desktop (texto centralizado) */
.about-desktop {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--text, #0f1b14);
}

.about-text {
  margin: 0 auto 14px;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(15, 27, 20, 0.68);
}

/* Mobile card (hidden no desktop) */
.about-mobile {
  display: none;
  margin-top: 26px;
}

.about-card-title {
  margin: 0 0 14px;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--text, #0f1b14);
}

.about-avatar {
  width: 150px;
  height: 150px;
  margin: 0 auto 14px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card-body p {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(15, 27, 20, 0.7);
}

.about-card-body p:last-child {
  margin-bottom: 0;
}

/* Responsivo: no mobile some o desktop e aparece o card */
@media (max-width: 860px) {
  .about-wrap {
    padding: 5px 16px 44px;
  }

  .about-desktop {
    display: none;
  }

  .about-mobile {
    display: block;
  }

  .about-img,
  .about-section {
    display: none;
  }
}

/* SERVICES */
.services {
  background: var(--sand-100, #f6f5f1);
}

.services-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 18px 72px;
}

.services-title {
  margin: 0 0 36px;
  text-align: center;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--text, #0f1b14);
}

/* DESKTOP: grade 3x2 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  justify-items: center;
}

/* Card base */
.service-card {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 22px 18px 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

/* Ícone em cima (desktop) */
.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 12px;
  /* border-radius: 999px; */
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(0, 55, 32, 0.06);
  /* border: 1px solid rgba(0, 0, 0, 0.06); */
}

.service-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.service-name {
  margin: 0 0 8px;
  text-align: center;
  font-size: 13px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  color: rgba(15, 27, 20, 0.92);
}

.service-desc {
  margin: 0;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(15, 27, 20, 0.6);
}

/* MOBILE: lista vertical (ícone ao lado do título) */
@media (max-width: 860px) {
  .services-wrap {
    padding: 46px 16px 54px;
  }

  .services-title {
    margin-bottom: 22px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    max-width: 100%;
    padding: 16px 14px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 10px 12px;
    align-items: start;
  }

  /* Ícone vira “de lado” */
  .service-icon {
    margin: 0;
    width: 58px;
    height: 58px;
  }

  .service-name {
    text-align: left;
    margin: auto;
    margin-left: 5%;
    font-size: 20px;
  }

  .service-desc {
    grid-column: 2 / 3;
    text-align: left;
    font-size: 16px;
  }
}

/* CONTACT */
.contact {
  background: var(--sand-100, #f6f5f1);
}

.contact-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 18px 56px;
  text-align: center;
  display: grid;
}

.contact-title {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--text, #0f1b14);
}

.contact-subtitle {
  margin: 0 auto 18px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(15, 27, 20, 0.68);
}

/* Email */
.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 14px;
  text-decoration: none;
  color: var(--green-900, #003720);
  font-size: 13px;
  font-weight: 650;
}

.contact-email-ico {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 55, 32, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: var(--green-900, #003720);
}

/* CTA WhatsApp */
.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  width: 40%;
  margin: auto;
  border-radius: 999px;
  background: var(--green-900, #003720);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.contact-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.contact-cta-ico {
  display: inline-grid;
  place-items: center;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(234, 230, 227, 0.18);
}

.footer-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-copy {
  margin: 0;
  font-size: 11px;
  color: rgba(15, 27, 20, 0.55);
}

/* Crédito discreto do dev */
.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: rgba(15, 27, 20, 0.55);
  white-space: nowrap;
}

.footer-dev-text {
  color: rgba(15, 27, 20, 0.55);
}

.footer-dev-link {
  color: rgba(15, 27, 20, 0.62);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 27, 20, 0.2);
}

.footer-dev-link:hover {
  color: var(--green-900, #003720);
  border-bottom-color: rgba(0, 55, 32, 0.35);
}

.footer-dev-dot {
  opacity: 0.6;
}

/* Mobile: empilha e centraliza */
@media (max-width: 860px) {
  .contact-wrap {
    padding: 56px 16px 44px;
  }

  .footer-wrap {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-dev {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =========================
   Scroll profissional (offset do header)
========================= */
:root {
  --header-h: 62px;
  /* sua nav-wrap tem height: 62px */
}

/* Faz o browser respeitar o offset do header ao navegar por #hash */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

/* Garante que cada seção “pare” abaixo do header mesmo em outros casos */
section[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

/* =========================
   Reveal suave por seção
========================= */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}

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

/* Respeita acessibilidade: se usuário preferir reduzir animações */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

#contato {
  padding-bottom: 40px;
  /* ou aumentar o padding do .contact-wrap */
}

.img-logo {
  width: 66px;
  height: 50px;
  border-radius: 30%;
}

/* =========================
   WhatsApp Floating (mobile)
========================= */

/* Base */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 99999;

  display: none;
  /* só no mobile */

  width: 54px;
  height: 54px;
  border-radius: 999px;

  background: #18a558;
  color: #fff;
  text-decoration: none;

  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.18);

  align-items: center;
  justify-content: center;

  -webkit-tap-highlight-color: transparent;
}

/* Mostra no mobile */
@media (max-width: 860px) {
  .wa-float {
    display: flex;
  }
}

/* Ícone centralizado e com tamanho consistente */
.wa-float__icon {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.wa-float svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Feedback de toque */
.wa-float:active {
  transform: scale(0.98);
}

/* =========================
   Instagram Section
========================= */

.instagram-section {
  background: #ffffff;
}

.instagram-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 18px 70px;
}

.instagram-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 28px;

  background: var(--sand-100, #f6f5f1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 24px 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.instagram-photo {
  width: 170px;
  height: 170px;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
}

.instagram-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.instagram-content {
  max-width: 680px;
}

.instagram-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-900, #003720);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.instagram-title {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  color: var(--olive-600, #757f64);
}

.instagram-text {
  margin: 0 0 18px;
  max-width: 620px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(15, 27, 20, 0.68);
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 18px;
  border-radius: 999px;

  background: var(--green-900, #003720);
  color: #ffffff;
  text-decoration: none;

  font-size: 13px;
  font-weight: 700;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.instagram-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 860px) {
  .instagram-wrap {
    padding: 28px 16px 54px;
  }

  .instagram-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px;
    gap: 18px;
  }

  .instagram-photo {
    width: 130px;
    height: 130px;
    margin: 0 auto;
    border-radius: 999px;
  }

  .instagram-content {
    max-width: 100%;
  }

  .instagram-text {
    font-size: 15px;
  }
}