/* ============================================================================
 * FALANDO NO DIVÃ · ESTILOS GERAIS
 * ARQUIVO: assets/css/style.css
 * VERSÃO: v3.1.0 - 2025-11-13
 * ========================================================================== */

/* RESET BÁSICO / BASE ------------------------------------------------------ */

:root {
  --fnd-roxo: #7B4BB7;
  --fnd-roxo-escuro: #4c3075;
  --fnd-dourado: #D8B045;
  --fnd-bg: #faf7fb;
  --fnd-texto: #262335;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--fnd-bg);
  color: var(--fnd-texto);
}

/* NAVBAR ------------------------------------------------------------------- */

.navbar {
  transition: box-shadow .2s ease, background-color .2s ease;
}

/* quando a nav estiver com classe scrolled (via JS) */
.navbar.sticky-top.scrolled {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

/* LOGO HEADER */
.navbar-brand img {
  display: block;
}

/* logo principal (classe usada no nav.php) */
.logo-falando {
  max-height: 52px;        /* desktop */
  height: auto;
  width: auto;
  object-fit: contain;     /* evita distorção */
}

/* texto ao lado do logo */
.logo-falando-text {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

/* ajuste para mobile */
@media (max-width: 767.98px) {
  .logo-falando {
    max-height: 44px;
  }

  .logo-falando-text {
    font-size: 0.88rem;
    letter-spacing: 0.10em;
  }
}

.navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
}

.navbar .nav-link.active,
.navbar .nav-link:focus,
.navbar .nav-link:hover {
  color: var(--fnd-roxo-escuro) !important;
}

.dropdown-menu {
  border-radius: 1rem;
}

/* HERO / BANNERS (ONE PAGE) ----------------------------------------------- */

#hero.hero-slider {
  min-height: 70vh;
  position: relative;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide-wrapper {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  max-height: 90vh;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      120deg,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0.3) 40%,
      rgba(0, 0, 0, 0.05) 100%
  );
}

.hero-caption-area {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  pointer-events: none;
}

.hero-caption-box {
  max-width: 520px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  pointer-events: auto;
  backdrop-filter: blur(8px);
  border-radius: 1.25rem;
}

.hero-caption-box h1 {
  font-weight: 700;
  letter-spacing: 0.03em;
}

.hero-caption-box p.lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-badge-pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #f5f5f5;
}

.hero-badge-pill i {
  color: var(--fnd-dourado);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-cta-group .btn {
  border-radius: 999px;
}

.hero-cta-group .btn-primary {
  background: var(--fnd-roxo);
  border-color: var(--fnd-roxo);
}

.hero-cta-group .btn-primary:hover {
  background: var(--fnd-roxo-escuro);
  border-color: var(--fnd-roxo-escuro);
}

/* Swiper bullets */
.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--fnd-dourado);
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
}

/* Responsivo hero --------------------------------------------------------- */

@media (max-width: 767.98px) {
  .hero-caption-area {
    padding: 0 6%;
    align-items: flex-end;
    padding-bottom: 12%;
  }

  .hero-caption-box {
    max-width: 100%;
  }

  .hero-caption-box h1 {
    font-size: 1.45rem;
  }

  .hero-caption-box p.lead {
    font-size: 0.95rem;
  }
}

@keyframes heroZoom {
  0% {
    transform: scale(1.03);
  }
  50% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1.03);
  }
}

/* SEÇÕES ONE PAGE --------------------------------------------------------- */

section {
  scroll-margin-top: 80px; /* para âncoras não ficarem escondidas sob a navbar */
}

.section-title {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: #6c6a80;
  margin-bottom: 2rem;
}

/* Cards genéricos de serviço */

.fnd-service-card {
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  background: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.fnd-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

.fnd-service-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 75, 183, 0.07);
  color: var(--fnd-roxo);
}

/* Equipe */

.fnd-team-card {
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  border: 0;
}

.fnd-team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  object-fit: cover;
}

/* Depoimentos */

.fnd-testimonial-card {
  border-radius: 1.25rem;
  background: #ffffff;
  border: 0;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

/* FOOTER ------------------------------------------------------------------ */

footer {
  font-size: 0.9rem;
}

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

footer a:hover {
  text-decoration: underline;
}

/* WHATSAPP FLOAT ---------------------------------------------------------- */

.fnd-whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

.fnd-whatsapp-float i {
  font-size: 1.7rem;
}

/* PÁGINAS INTERNAS (TERAPIAS, CONTATO ETC.) ------------------------------- */

.fnd-page-hero {
  padding: 4.5rem 0 2.5rem;
  background: radial-gradient(circle at top left, rgba(123, 75, 183, 0.18), transparent),
              #f5f2fb;
}

.fnd-breadcrumb {
  font-size: 0.85rem;
  color: #8c89a0;
}

/* Forms */

.fnd-form label {
  font-weight: 500;
}

.fnd-form .form-control:focus,
.fnd-form .form-select:focus {
  border-color: var(--fnd-roxo);
  box-shadow: 0 0 0 0.15rem rgba(123, 75, 183, 0.2);
}

/* Helpers ----------------------------------------------------------------- */

.badge-soft {
  background: rgba(123, 75, 183, 0.08);
  color: var(--fnd-roxo-escuro);
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
}

.fnd-nav-link {
  position: relative;
  transition: color .18s ease, transform .18s ease;
}

.fnd-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: .25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6b6b, #845ef7);
  transition: width .22s ease;
}

.fnd-nav-link:hover {
  color: #212529 !important;
  transform: translateY(-1px);
}

.fnd-nav-link:hover::after {
  width: 100%;
}

.fnd-nav-service-item {
  border-radius: .6rem;
  padding: .35rem .4rem;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.fnd-nav-service-item:hover {
  background: rgba(0,0,0,0.03);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15,23,42,0.08);
}