/* ==========================================================================
   FLORA CLÍNICA INTEGRADA - DESIGN SYSTEM & STYLESHEET
   Paleta: Bege Areia (#FAF5EE), Verde Sálvia (#8AA089), Terracota (#C87459)
   ========================================================================== */

:root {
  /* Cores Principais */
  --bg-sand: #F9F0E7;
  --bg-sand-light: #F9F0E7;
  --bg-sand-card: #F4EFE6;
  
  --sage-primary: #8AA089;
  --sage-dark: #3F5943;
  --sage-light: #EBF1EA;
  --sage-deep: #2A3C2E;

  --terracotta-primary: #C87459;
  --terracotta-hover: #B56247;
  --terracotta-light: #F9ECE8;

  --text-dark: #242E24;
  --text-muted: #5E6D60;
  --text-light: #8E9E90;
  --white: #FFFFFF;

  /* Fontes */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Sombras e Bordas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  --shadow-sm: 0 2px 8px rgba(36, 46, 36, 0.04);
  --shadow-md: 0 8px 24px rgba(36, 46, 36, 0.07);
  --shadow-lg: 0 16px 36px rgba(36, 46, 36, 0.1);

  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-sand);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilitários de Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-w-800 {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

.section {
  padding: 96px 0;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--terracotta-primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  gap: 8px;
}

.btn-primary {
  background-color: var(--terracotta-primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200, 116, 89, 0.35);
}

.btn-primary:hover {
  background-color: var(--terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 116, 89, 0.45);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--text-dark);
  border: 1px solid rgba(36, 46, 36, 0.12);
}

.btn-secondary:hover {
  background-color: var(--bg-sand-card);
  border-color: var(--sage-primary);
}

.btn-terracotta {
  background-color: var(--terracotta-primary);
  color: var(--white);
}

.btn-terracotta:hover {
  background-color: var(--terracotta-hover);
}

.btn-sage {
  background-color: var(--sage-primary);
  color: var(--white);
}

.btn-sage:hover {
  background-color: var(--sage-dark);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER & NAVEGAÇÃO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(249, 240, 231, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(36, 46, 36, 0.05);
  padding: 16px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}



.desktop-nav ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
  color: var(--sage-dark);
  font-weight: 600;
}

.header-action {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.mobile-nav {
  display: none;
  padding: 20px 24px;
  background-color: var(--bg-sand-light);
  border-bottom: 1px solid rgba(36, 46, 36, 0.08);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--sage-light);
  color: var(--sage-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--sage-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(138, 160, 137, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(138, 160, 137, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(138, 160, 137, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(138, 160, 137, 0); }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  line-height: 1.18;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta-primary);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(36, 46, 36, 0.08);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-visual {
  position: relative;
}

.hero-shape-backdrop {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(138, 160, 137, 0.2) 0%, rgba(250, 245, 238, 0) 70%);
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
}

.hero-photo-container {
  width: 100%;
  height: 520px;
  position: relative;
  border-radius: var(--radius-xl);
  border-top-left-radius: 140px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  z-index: 1;
}

.hero-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.hero-real-photo {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  scroll-snap-align: start;
}

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 3;
  pointer-events: none;
}

.slider-btn {
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: var(--shadow-sm);
  color: var(--sage-dark);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: var(--white);
  transform: scale(1.1);
  color: var(--terracotta-primary);
}

.interior-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-top: -30px;
  margin-left: 20px;
  margin-right: 20px;
}

.interior-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--terracotta-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.interior-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.interior-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SECTION: VITRINE DE ABORDAGENS (DUAL PILLARS)
   ========================================================================== */
.vitrine-section {
  background-color: var(--bg-sand-light);
  border-top: 1px solid rgba(36, 46, 36, 0.05);
  border-bottom: 1px solid rgba(36, 46, 36, 0.05);
}

.vitrine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.vitrine-card {
  background: var(--bg-sand);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid rgba(36, 46, 36, 0.06);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.vitrine-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(138, 160, 137, 0.3);
}

.card-pill {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.card-psicologia .card-pill {
  background-color: var(--terracotta-light);
  color: var(--terracotta-primary);
}

.card-nutricao .card-pill {
  background-color: var(--sage-light);
  color: var(--sage-dark);
}

.card-icon-header {
  margin-bottom: 16px;
}

.icon-circle {
  width: 56px;
  height: 56px;
  background-color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.card-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.card-features li {
  font-size: 0.92rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 500;
}

/* ==========================================================================
   SECTION: SOBRE
   ========================================================================== */
.about-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-image-card {
  height: 420px;
  background: linear-gradient(135deg, #7F997E 0%, #4D684C 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.about-badge {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  display: inline-block;
  align-self: flex-start;
}

.about-badge strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.about-badge span {
  font-size: 0.8rem;
  opacity: 0.9;
}

.about-quote p {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.4;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.highlight-box {
  background: var(--bg-sand-card);
  padding: 20px;
  border-radius: var(--radius-md);
}

.highlight-box h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 6px;
}

.highlight-box p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   SECTION: CORPO CLÍNICO
   ========================================================================== */
.team-section {
  background-color: var(--bg-sand-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(36, 46, 36, 0.05);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.avatar-wrapper {
  margin: 0 auto 20px;
  width: 100px;
  height: 100px;
}

.avatar-placeholder, .avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background-color: var(--sage-light);
}

.team-role-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background-color: var(--terracotta-light);
  color: var(--terracotta-primary);
  margin-bottom: 8px;
}

.tag-nutri {
  background-color: var(--sage-light);
  color: var(--sage-dark);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.team-registry {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.team-action {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--sage-dark);
  display: inline-block;
}

.team-action:hover {
  color: var(--terracotta-primary);
}

/* ==========================================================================
   SECTION: FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(36, 46, 36, 0.08);
  padding: 20px 24px;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--sage-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sage-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION: CONTATO & AGENDAMENTO
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage-deep) 100%);
  color: var(--white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.text-white { color: var(--white); }
.text-white-opacity { color: rgba(255, 255, 255, 0.7); }
.text-white-soft { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 32px; }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.info-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.contact-form-wrapper {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-xl);
  color: var(--text-dark);
  box-shadow: var(--shadow-lg);
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(36, 46, 36, 0.15);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--bg-sand-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage-primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(138, 160, 137, 0.2);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-checkbox a {
  color: var(--terracotta-primary);
  text-decoration: underline;
}

.form-feedback {
  margin-top: 16px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  text-align: center;
}

.form-feedback.success {
  background-color: #E8F5E9;
  color: #2E7D32;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-sand);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(36, 46, 36, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.brand-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 16px 0;
  max-width: 280px;
}

.social-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.social-links a:hover {
  color: var(--terracotta-primary);
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: var(--text-dark);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--terracotta-primary);
}

.ethics-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(36, 46, 36, 0.06);
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ==========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-dark);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE & TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container,
  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .desktop-nav,
  .btn-header {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-photo-container {
    height: 380px;
    border-top-left-radius: 80px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
