/* ============================================
   BRANDING 2026 — SAG Terapias
   Adicionado em cima do CSS base (não substitui).
   Fraunces serif em h1/h2/quote, ícones SVG novos,
   pattern decorativo, refinamentos de card.
   ============================================ */

/* === H1/H2/quote em Fraunces (serif moderna) === */
.hero h1,
.page-header h1,
.about-text h2,
.cta-section h2,
.problem-solution h2,
.services h2,
.reviews-section h2,
.contact-info h2,
.map-section h2,
.founder-text h2,
.about-approach h2,
.service-detail__content h2,
.section-header h2,
.error-404 h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-weight: 500;
  line-height: 1.08;
}

.founder-quote p,
.review-card__text {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.08rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.4rem;
    letter-spacing: -0.025em;
  }
}

/* === Hero: pattern de marca sutil no background === */
.hero {
  background:
    url('../img/icons/pattern-spine.svg') center/120px repeat,
    linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-peach) 100%);
  background-blend-mode: multiply, normal;
}

.hero::before {
  background: radial-gradient(circle, rgba(181, 41, 42, 0.07) 0%, transparent 70%);
}

/* === Page header: idem === */
.page-header {
  background:
    url('../img/icons/pattern-spine.svg') center/150px repeat,
    linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-peach) 100%);
  background-blend-mode: multiply, normal;
}

/* === Section divider em wave === */
.section-divider {
  width: 80px;
  height: 14px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16' fill='none' stroke='%23B5292A' stroke-width='2' stroke-linecap='round'><path d='M2 8c3-4 6 4 12 0s9 4 12 0 9-4 12 0 9 4 12 0 9-4 12 0 9 4 12 0'/></svg>")
    center/contain no-repeat;
  border-radius: 0;
  margin: 0 auto var(--space-5);
}

/* === Service card refinado (badge + ícones maiores + ondulação no hover) === */
.service-card {
  padding: var(--space-6) var(--space-5);
  position: relative;
}

.service-card--featured {
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-warm) 100%);
  border-color: var(--color-peach-deep);
}

.service-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: 0 4px 12px -2px rgba(181, 41, 42, 0.4);
}

.service-card__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-peach) 0%, rgba(181, 41, 42, 0.10) 100%);
  border-radius: 18px;
  margin-bottom: var(--space-5);
}

.service-card__icon svg {
  width: 38px;
  height: 38px;
  color: var(--color-primary);
}

.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-2deg);
}

.service-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
}

.service-card__text {
  line-height: 1.6;
}

/* === Icon circle refinements === */
.icon-circle--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  font-family: var(--font-serif);
  font-weight: 500;
}

.icon-circle--sage {
  background: linear-gradient(135deg, var(--color-sage), var(--color-sage-light));
  color: #fff;
}

/* === Service detail (página de serviços): ícone ao lado do título === */
.service-detail__title-row {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.service-detail__title-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-peach) 0%, rgba(181, 41, 42, 0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-detail__title-icon svg {
  width: 32px;
  height: 32px;
}

.service-detail__content h2 {
  margin-bottom: 0;
}

/* === Pull quote — bloco de citação destacado === */
.pull-quote {
  background: var(--color-bg-section);
  background-image: url('../img/icons/pattern-spine.svg');
  background-size: 180px;
  background-blend-mode: multiply;
  padding: var(--space-10) var(--space-5);
  text-align: center;
}

.pull-quote blockquote {
  max-width: 700px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.45rem;
  line-height: 1.4;
  color: var(--color-secondary);
}

.pull-quote blockquote::before,
.pull-quote blockquote::after {
  font-family: var(--font-serif);
  color: var(--color-primary);
  font-size: 2.6rem;
  line-height: 0.5;
  display: inline-block;
  position: relative;
  top: 16px;
}
.pull-quote blockquote::before { content: '\201C'; margin-right: 8px; }
.pull-quote blockquote::after  { content: '\201D'; margin-left: 8px; }

.pull-quote cite {
  display: block;
  margin-top: var(--space-4);
  font-family: var(--font-family);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* === Founder name em serif === */
.founder-text h2 {
  font-family: var(--font-serif);
  font-weight: 500;
}

/* === Mobile menu: usar variável de cor === */
.mobile-overlay__close svg,
.mobile-overlay__close,
.mobile-overlay__list a {
  color: var(--color-primary);
}
.mobile-overlay__close svg { stroke: var(--color-primary); }
.mobile-overlay__bottom .btn {
  background: var(--color-primary);
}

/* === WhatsApp float: tooltip sutil === */
.whatsapp-float::before {
  content: 'Agendar sessão';
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-secondary);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-secondary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .whatsapp-float::before,
  .whatsapp-float::after { display: none; }
}

/* === Section title alignment com wave divider === */
.section-header h2 {
  font-family: var(--font-serif);
  font-weight: 500;
}

/* === Service-detail h2 underline → wave === */
.service-detail__content h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 14px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16' fill='none' stroke='%23B5292A' stroke-width='2' stroke-linecap='round'><path d='M2 8c3-4 6 4 12 0s9 4 12 0 9-4 12 0 9 4 12 0 9-4 12 0 9 4 12 0'/></svg>")
    left center/contain no-repeat;
  margin-top: var(--space-3);
  border-radius: 0;
}

/* === Mobile font-size ajustes === */
@media (max-width: 767px) {
  .hero h1 { font-size: 2.1rem; line-height: 1.12; }
  .page-header h1 { font-size: 1.9rem; }
  .cta-section h2,
  .about-text h2,
  .section-header h2 { font-size: 1.7rem; }
  .service-card__title { font-size: 1.2rem; }
}

/* ============================================
   DRAWER LATERAL (substitui mobile-overlay legacy)
   ============================================ */
.sag-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(61, 31, 29, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9997;
}
.sag-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sag-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 85vw;
  height: 100vh;
  background: #fff;
  box-shadow: -20px 0 50px -10px rgba(91, 35, 32, 0.25);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9998;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
}
.sag-drawer.is-open {
  transform: translateX(0);
}

.sag-drawer__inner {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
  height: 100%;
}

.sag-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.sag-drawer__logo {
  height: 48px;
  width: auto;
}
.sag-drawer__close {
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-primary);
  transition: all 0.2s ease;
}
.sag-drawer__close:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: rotate(90deg);
}

.sag-drawer__nav {
  margin-bottom: 1.25rem;
}
.sag-drawer__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sag-drawer__list li {
  list-style: none;
  border-bottom: 1px solid var(--color-bg-section);
}
.sag-drawer__list li:last-child { border-bottom: none; }
.sag-drawer__list a {
  display: block;
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.85rem 0;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}
.sag-drawer__list a:hover,
.sag-drawer__list .current-menu-item a {
  color: var(--color-primary);
  transform: translateX(6px);
}
.sag-drawer__list .current-menu-item a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  width: 3px;
  height: 60%;
  background: var(--color-primary);
  border-radius: 2px;
  transform: translateY(-50%);
}

.sag-drawer__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}
.sag-drawer__rating:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.sag-drawer__rating-stars {
  color: var(--color-primary);
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.sag-drawer__rating strong {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary-dark);
}

.sag-drawer__divider {
  text-align: center;
  color: var(--color-primary);
  margin: 0.5rem 0 1.25rem;
}

.sag-drawer__contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.sag-drawer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.sag-drawer__contact-item:hover:not(.sag-drawer__contact-item--static) {
  color: var(--color-primary);
}
.sag-drawer__contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.sag-drawer__cta {
  margin-top: auto;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px -4px rgba(37, 211, 102, 0.4);
}
.sag-drawer__cta:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(37, 211, 102, 0.55);
}

body.drawer-open { overflow: hidden; }

/* Desktop: drawer ainda funciona se ativado, mas o nav desktop é o padrão */
@media (min-width: 769px) {
  .sag-drawer { width: 420px; }
}

/* Esconder o overlay legacy se ainda existir no DOM */
.mobile-overlay { display: none !important; }

/* ============================================
   RATING PILL — selo "5,0 ★ 606" no header desktop
   ============================================ */
.sag-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--color-bg-warm);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.78rem;
  line-height: 1;
  transition: all 0.25s ease;
}
.sag-rating-pill:hover {
  background: #fff;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -4px rgba(181, 41, 42, 0.25);
}
.sag-rating-pill__stars {
  color: var(--color-primary);
  font-size: 0.95rem;
}
.sag-rating-pill__score {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}
.sag-rating-pill__count {
  color: var(--color-text-muted);
  font-size: 0.72rem;
}

@media (max-width: 1024px) {
  .sag-rating-pill__count { display: none; }
}
@media (max-width: 768px) {
  .sag-rating-pill { display: none; }
}

/* ============================================
   REVIEWS FEATURED (substitui carrossel Splide)
   ============================================ */
.reviews-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 700px) {
  .reviews-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .reviews-featured { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

.review-featured {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--color-border);
  padding: 2rem 1.75rem 1.5rem;
  text-align: left;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px -8px rgba(91, 35, 32, 0.12);
}
.review-featured:hover {
  border-color: var(--color-primary-light);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -12px rgba(181, 41, 42, 0.2);
}
.review-featured::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 22px;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.18;
  font-weight: 500;
}
.review-featured__stars {
  display: flex;
  gap: 3px;
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.review-featured__text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.review-featured__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--color-bg-section);
}
.review-featured__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-peach) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.review-featured__meta {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.review-featured__name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.review-featured__date {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.reviews-cta {
  text-align: center;
  margin-top: 2rem;
}
.reviews-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  transition: all 0.2s ease;
}
.reviews-cta a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   BLOCO "AMBIENTE ACOLHEDOR" (3 fotos lado a lado)
   ============================================ */
.environment {
  padding: var(--space-10) 0;
  background: var(--color-bg);
}
.environment__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}
@media (min-width: 768px) {
  .environment__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: var(--space-5);
  }
}
.environment__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  background: var(--color-bg-warm);
}
.environment__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.environment__photo:hover img {
  transform: scale(1.04);
}
.environment__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(91, 35, 32, 0.25) 100%);
  pointer-events: none;
}
.environment__photo .environment__caption {
  position: absolute;
  bottom: 14px;
  left: 16px;
  right: 16px;
  color: #fff;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  z-index: 1;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .environment__photo:first-child { aspect-ratio: 3/4; }
}

/* ============================================
   SERVICE DETAIL com foto lateral (/servicos/)
   ============================================ */
.service-detail__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
}
@media (min-width: 900px) {
  .service-detail__row {
    grid-template-columns: 1fr 0.85fr;
    gap: var(--space-10);
  }
  .service-detail--alt .service-detail__row {
    grid-template-columns: 0.85fr 1fr;
  }
  .service-detail--alt .service-detail__photo {
    order: -1;
  }
}
.service-detail__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 14px 38px -16px rgba(91, 35, 32, 0.3);
  aspect-ratio: 4/3;
}
.service-detail__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   PÁGINA /depoimentos/
   ============================================ */
.depoimentos-hero {
  padding: 2.5rem 0 1rem;
  text-align: center;
  background: var(--color-bg);
}
.depoimentos-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 8px 24px -12px rgba(91, 35, 32, 0.18);
  transition: all 0.25s ease;
}
.depoimentos-google-badge:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
  box-shadow: 0 16px 32px -10px rgba(181, 41, 42, 0.22);
}
.depoimentos-google-badge__rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.depoimentos-google-badge__stars {
  color: var(--color-primary);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.depoimentos-google-badge__score {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  line-height: 1;
}
.depoimentos-google-badge__meta {
  display: flex;
  flex-direction: column;
  text-align: left;
  border-left: 1px solid var(--color-border);
  padding-left: 18px;
}
.depoimentos-google-badge__meta strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text);
}
.depoimentos-google-badge__meta span {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.depoimentos-grid-section {
  padding: var(--space-8) 0 var(--space-10);
  background: var(--color-bg);
}
.depoimentos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .depoimentos-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .depoimentos-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.review-featured--in-grid {
  height: 100%;
}
.depoimentos-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.depoimentos-note a {
  color: var(--color-primary);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.depoimentos-note a:hover {
  color: var(--color-primary-dark);
}

/* ============================================
   ILUSTRAÇÃO DECORATIVA NO HERO (canto direito)
   ============================================ */
.hero__art {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
  color: var(--color-primary);
}
.hero .container { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hero__art { display: none; }
}

